/* Mendieta's shared site furniture. Kept in sync with the approved Home. */
/* Local, licensed Latin fonts avoid a third-party stylesheet/font waterfall. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'Prata'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/prata-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/ibm-plex-mono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/ibm-plex-mono-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/ibm-plex-mono-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/ibm-plex-mono-700-latin.woff2') format('woff2'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #eee9df; color: #252c2b; font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
body:has(.lightbox:not([hidden])), body:has(.mobile-nav.open) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #a77a4d; color: #f7f2e9; }
:focus-visible { outline: 2px solid #bc8150; outline-offset: 4px; }
.shell { width: min(100% - 96px, 1512px); margin-inline: auto; }
.eyebrow { font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 600; line-height: 1.6; }
.serif { font-family: 'Prata', Georgia, serif; font-weight: 400; letter-spacing: -.065em; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 30; color: #eee9df; }
.header-inner { height: 101px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid rgba(237,230,217,.24); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-width: 215px; }
.brand img { width: 49px; height: 49px; object-fit: contain; mix-blend-mode: screen; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: 'Prata', Georgia, serif; font-size: 22px; letter-spacing: .09em; font-weight: 400; }
.brand-text small { margin-top: 7px; font-size: 8px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 1.5vw, 27px); flex: 1; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link { background: none; border: 0; color: inherit; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-family: 'Manrope', sans-serif; font-size: 10px; letter-spacing: .1em; font-weight: 800; text-transform: uppercase; transition: color .25s; padding: 12px 0; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #d4a87a; }
.nav-link svg { transition: transform .25s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: 79px; left: -23px; width: 325px; padding: 12px; background: #eee9df; color: #252c2b; box-shadow: 0 20px 50px rgba(10,20,18,.28); animation: drop .25s both; }
.dropdown[hidden], .mobile-sub[hidden], .mobile-nav[hidden] { display: none !important; }
.dropdown.gallery-dropdown { width: 365px; max-height: min(70vh, 590px); overflow-y: auto; }
.dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 13px; font-size: 12px; border-bottom: 1px solid #d8d1c5; transition: background .2s, padding-left .2s; }
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: #e1d8c8; padding-left: 19px; }
.header-cta { border: 1px solid #b78a59; color: #efe6d5; padding: 13px 18px; display: inline-flex; gap: 17px; align-items: center; white-space: nowrap; font: 600 10px 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s; }
.header-cta:hover { background: #b78a59; color: #252c2b; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; font: 700 10px 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn:hover { transform: translateY(-3px); }
.btn-copper { background: #b48352; color: #1d2827; }
.btn-copper:hover { background: #d2a775; }
.btn-light { background: #eee9df; color: #252c2b; }
.btn-light:hover { background: #d6c9b6; }
.footer { background: #202827; color: #d7d7cd; padding: 78px 0 27px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 45px; padding-bottom: 75px; }
.footer .brand { margin-bottom: 24px; }
.footer-blurb { color: #9da8a2; max-width: 290px; font-size: 13px; line-height: 1.8; }
.footer h4 { color: #bd946b; margin: 5px 0 25px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a, .footer-links button { border: 0; background: none; color: #c4c9c1; padding: 0; text-align: left; font-size: 12px; line-height: 1.5; transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: #d3a879; }
.footer-bottom { border-top: 1px solid #46504c; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: #8e9992; font: 10px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.footer-credit { color: #d4b28b; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: .02em; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit:hover, .footer-credit:focus-visible { color: #eee9df; }
.socials { display: flex; gap: 15px; margin-top: 28px; }
.socials a { border: 1px solid #5b6560; width: 36px; height: 36px; display: grid; place-items: center; transition: background .2s, color .2s; }
.socials a:hover { background: #b48352; color: #202827; }
.floating-actions { position: fixed; z-index: 25; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.floating-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 48px; min-height: 48px; padding: 11px 14px; background: #087a53; color: #fff; border: 1px solid #087a53; box-shadow: 0 7px 20px rgba(27,35,33,.2); font: 600 10px 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .04em; transition: transform .2s, background .2s; }
.floating-actions a + a { background: #b48352; border-color: #b48352; color: #1d2827; }
.floating-actions a:hover { background: #066341; transform: translateX(-3px); }
.floating-actions a + a:hover { background: #d2a775; }
.floating-actions a svg, .floating-actions a img { flex: none; width: 18px; height: 18px; }
.floating-actions a:focus-visible { outline: 2px solid #eee9df; outline-offset: -4px; }
.mobile-nav { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1250px) {
  .shell { width: min(100% - 64px, 1512px); }
  .desktop-nav { gap: 12px; }
  .nav-link { font-size: 9px; }
  .header-cta { padding: 12px; gap: 8px; }
  .brand { min-width: 185px; gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 7px; }
}
/* The ninth desktop item (Inicio) needs more room than the original eight. */
@media (max-width: 1160px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 82px; }
  .mobile-nav { position: fixed; inset: 0; z-index: 60; background: #202827; color: #eee9df; display: block; padding: 0 32px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); visibility: hidden; }
  .mobile-nav.open { transform: translateX(0); visibility: visible; }
  .mobile-nav-head { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #54605a; margin-bottom: 20px; }
  .mobile-nav-head button { border: 0; color: inherit; background: none; padding: 10px; }
  .mobile-nav-link, .mobile-nav-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 17px 0; border: 0; border-bottom: 1px solid #46504c; color: #eee9df; background: none; text-transform: uppercase; font: 500 18px 'Prata', serif; text-align: left; }
  .mobile-nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mobile-sub { display: grid; padding: 8px 0 12px 18px; }
  .mobile-sub a { padding: 10px 0; color: #b9bfb9; font-size: 13px; }
  .mobile-sub a:hover { color: #d3a879; }
  .mobile-nav .btn { width: 100%; margin-top: 27px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 2 / span 2; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 36px, 1512px); }
  .footer { padding-bottom: calc(91px + env(safe-area-inset-bottom)); }
  .header-inner { height: 72px; }
  .brand { min-width: auto; }
  .brand img { width: 39px; height: 39px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 6px; letter-spacing: .12em; }
  .mobile-nav { padding-inline: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px 20px; padding-bottom: 45px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-top > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; line-height: 1.6; }
  .floating-actions { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding-bottom: env(safe-area-inset-bottom); background: linear-gradient(90deg, #087a53 50%, #b48352 50%); box-shadow: 0 -7px 20px rgba(27,35,33,.2); }
  .floating-actions a { width: 100%; min-width: 0; min-height: 64px; padding: 10px 8px; gap: 10px; border: 0; box-shadow: none; font-size: 12px; }
  .floating-actions a + a { border-left: 1px solid rgba(238,233,223,.65); }
  .floating-actions a:hover { transform: none; }
  .floating-actions a svg, .floating-actions a img { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}