/* ==========================================================================
   THE CLASSIFIED — stylesheet
   Quiet-luxury editorial: warm paper, ink, and a whisper of taupe-gold.
   Large serif type, generous negative space, slow reveals — the hero
   keeps a cinematic dark moment, everything after lives in warm light.
   ========================================================================== */

:root{
  --ink:        #201d19;
  --ink-soft:   #4a443b;
  --paper:      #f7f2e9;
  --paper-dim:  #efe6d6;
  --card:       #fbf8f2;
  --accent:     #96805d;
  --accent-soft:#b7a37f;
  --line:       rgba(32,29,25,0.13);
  --line-soft:  rgba(32,29,25,0.08);
  --serif:      'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --display:    'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --container:  1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; background:none; border:none; color:inherit; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,blockquote,p{ margin:0; }

/* ---- grain overlay ----------------------------------------------------- */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:9999;
  opacity:.035; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- preloader ---------------------------------------------------------- */
.preloader{
  position:fixed; inset:0; background:var(--ink); z-index:10000;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
  transition:opacity .8s var(--ease), visibility .8s var(--ease);
}
.preloader.is-hidden{ opacity:0; visibility:hidden; }
.preloader__mark{ font-family:var(--serif); font-size:13px; letter-spacing:.34em; color:var(--paper); padding-left:.34em; }

/* Subtle, compact barcode: real barcodes vary bar WIDTH, not height, so
   this reads as an actual barcode rather than an audio equalizer. Bars sit
   quietly at low opacity; a single soft light passes over them once per
   loop — understated, not a flashing scanner. */
.preloader__barcode{
  position:relative; width:150px; height:16px; /* width overridden by JS to match .preloader__mark exactly */
  display:flex; align-items:stretch; gap:2px;
  overflow:hidden;
}
/* flex-grow (not a fixed px width) so the bars always stretch to fill the
   container edge-to-edge, whatever width JS sets — varying ratios keep the
   real-barcode look of alternating thin/thick bars. */
.preloader__barcode span{ display:block; background:var(--paper); opacity:.32; flex:1 1 0; min-width:0; }
.preloader__barcode span:nth-child(4n+1){ flex-grow:1; }
.preloader__barcode span:nth-child(4n+2){ flex-grow:2; }
.preloader__barcode span:nth-child(4n+3){ flex-grow:1; }
.preloader__barcode span:nth-child(4n+4){ flex-grow:3; }
/* A soft, narrow light sweeps across once every cycle — quiet, not glowing.
   Uses `left` in % so it always spans the full bar width, whatever that
   width is (the container is sized by JS to match the mark above it). */
.preloader__barcode::after{
  content:""; position:absolute; top:0; bottom:0; left:-15%; width:15%;
  background:linear-gradient(90deg, transparent, rgba(247,242,233,.5), transparent);
  animation:barcodeSweep 3.2s ease-in-out infinite;
}
@keyframes barcodeSweep{
  0%{ left:-15%; }
  60%{ left:100%; }
  100%{ left:100%; }
}

/* ---- placeholder (shown wherever a real photo/video hasn't been dropped in) --- */
.placeholder{
  width:100%; height:100%; min-height:80px; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:16px; background:var(--paper-dim);
  font-family:var(--sans); font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ink-soft); line-height:1.6;
}
.placeholder span{ display:block; margin-top:4px; opacity:.6; text-transform:none; letter-spacing:0; font-size:9px; }

/* ---- typography helpers -------------------------------------------------- */
.eyebrow{
  font-family:var(--sans); font-size:11px; letter-spacing:.24em; text-transform:uppercase;
  color:var(--accent); font-weight:500; margin-bottom:18px;
}
.section-title{
  font-family:var(--serif); font-weight:500; font-size:clamp(34px,4.6vw,58px);
  line-height:1.05; letter-spacing:.002em; margin-bottom:26px; color:var(--ink);
}
.section-intro{ font-family:var(--display); font-style:normal; font-size:20px; line-height:1.7; color:var(--ink-soft); max-width:560px; font-weight:400; }
.section-intro--accent{ font-style:italic; color:var(--accent-soft); font-size:clamp(20px,2.2vw,26px); }

.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 34px; border-radius:999px;
  font-family:var(--sans); font-size:11px; letter-spacing:.18em; text-transform:uppercase; font-weight:500;
  border:1px solid var(--ink); color:var(--ink); transition:all .4s var(--ease);
}
.btn:hover{ background:var(--ink); color:var(--paper); }
.btn--ghost{ border-color:rgba(247,242,233,.55); color:var(--paper); }
.btn--ghost:hover{ background:var(--paper); color:var(--ink); }
.btn--dark{ border-color:var(--ink); color:var(--ink); }
.btn--dark:hover{ background:var(--ink); color:var(--paper); }
.btn--outline{ border-color:var(--accent); color:var(--accent); padding:13px 30px; font-size:10px; }
.btn--outline:hover{ background:var(--accent); color:var(--card); }

/* ---- layout helpers -------------------------------------------------- */
.section{ position:relative; padding:140px 0; background:var(--paper); }
.section__inner{ max-width:var(--container); margin:0 auto; padding:0 6vw; }
.section--dim{ background:var(--paper-dim); }
.section--brief{ background:var(--paper-dim); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); }

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---- header ------------------------------------------------------------ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:500;
  padding:26px 6vw; display:flex; justify-content:center;
  transition:background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.is-scrolled{ background:rgba(247,242,233,.9); backdrop-filter:blur(10px); padding:16px 6vw; border-color:var(--line-soft); }
.site-header.is-scrolled .brand,
.site-header.is-scrolled .main-nav a:not(.nav-cta),
.site-header.is-scrolled .lang-toggle,
.site-header.is-scrolled .menu-toggle span{ color:var(--ink); }
.site-header.is-scrolled .menu-toggle span{ background:var(--ink); }
.site-header.is-scrolled .nav-cta{ border-color:var(--ink); color:var(--ink); }

.site-header__inner{ width:100%; max-width:1440px; display:flex; align-items:center; justify-content:space-between; }
.brand{ font-family:var(--serif); font-size:15px; letter-spacing:.32em; color:var(--paper); transition:color .4s var(--ease); }
.brand--small{ font-size:13px; color:var(--ink); }

.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav a{
  font-family:var(--sans); font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:500;
  color:rgba(247,242,233,.82); position:relative; padding-bottom:4px; transition:color .4s var(--ease);
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--accent-soft);
  transition:width .35s var(--ease);
}
.main-nav a:hover::after{ width:100%; }
.main-nav a.nav-cta{
  border:1px solid rgba(247,242,233,.6); border-radius:999px; padding:10px 22px; color:var(--paper);
}
.main-nav a.nav-cta::after{ display:none; }
.main-nav a.nav-cta:hover{ background:var(--paper); color:var(--ink); }

.header-tools{ display:flex; align-items:center; gap:22px; }
.lang-toggle{ font-family:var(--sans); font-size:11px; letter-spacing:.08em; color:var(--paper); transition:color .4s var(--ease); }
.lang-toggle span{ opacity:.45; transition:opacity .3s; }
.lang-toggle span.is-active{ opacity:1; color:var(--accent-soft); }

.menu-toggle{ display:none; flex-direction:column; gap:5px; width:26px; }
.menu-toggle span{ display:block; height:1px; background:var(--paper); width:100%; transition:transform .3s, opacity .3s, background .4s; }

.mobile-nav{
  position:fixed; inset:0; background:var(--paper); z-index:400;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:34px;
  transform:translateY(-100%); transition:transform .5s var(--ease); opacity:0;
}
.mobile-nav.is-open{ transform:translateY(0); opacity:1; }
.mobile-nav a{ font-family:var(--serif); font-size:28px; color:var(--ink); }

/* ---- hero (kept as a dark cinematic moment) ------------------------------ */
.hero{ position:relative; height:100svh; min-height:640px; display:flex; align-items:flex-end; overflow:hidden; background:var(--ink); }
.hero__media{ position:absolute; inset:0; z-index:0; }
/* Explicit stack inside hero__media: fallback (bottom) < video (middle) < scrim (top).
   The video needs position+z-index of its own — without it, browsers paint the
   positioned fallback/scrim siblings above the statically-positioned <video>
   regardless of DOM order, which is what made the footage disappear. */
.hero__fallback{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(150,128,93,.18), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(150,128,93,.12), transparent 60%),
    linear-gradient(160deg, #201d19 0%, #2b2620 55%, #201d19 100%);
}
.hero__video{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; display:block; }
/* A quiet fade (~8%) over the footage, plus just enough of a bottom
   gradient to keep the small wordmark and copy legible. */
.hero__scrim{
  position:absolute; inset:0; z-index:2;
  background:
    linear-gradient(180deg, rgba(20,18,15,.08) 0%, rgba(20,18,15,.06) 45%, rgba(20,18,15,.55) 100%);
}

.hero__content{ position:relative; z-index:2; padding:0 6vw 120px; max-width:760px; }
.hero__tagline{ font-family:var(--display); font-style:italic; font-weight:400; font-size:clamp(20px,2.2vw,28px); color:var(--accent-soft); margin:0 0 18px; max-width:640px; }
.hero__body{ font-family:var(--display); font-style:normal; font-size:19px; line-height:1.8; color:rgba(247,242,233,.85); max-width:520px; margin-bottom:40px; font-weight:400; }

.scroll-cue{ position:absolute; bottom:36px; left:50%; transform:translateX(-50%); z-index:2; }
.scroll-cue span{ display:block; width:1px; height:52px; background:linear-gradient(var(--accent-soft), transparent); animation:scrollcue 2s ease-in-out infinite; }
@keyframes scrollcue{ 0%{ transform:scaleY(0); transform-origin:top; } 50%{ transform:scaleY(1); transform-origin:top; } 51%{ transform-origin:bottom; } 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* ---- about ---------------------------------------------------------------- */
.about{ display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:center; }
.about__media{ text-align:center; }
.about__photo{
  aspect-ratio:4/5; overflow:hidden; background:var(--paper-dim); border:1px solid var(--line-soft);
  cursor:pointer;
}
.about__photo img{ filter:grayscale(1) contrast(1.02); transition:filter .7s var(--ease), transform .9s var(--ease); }
.about__photo:hover img{ filter:grayscale(0) contrast(1.02); transform:scale(1.03); }
.about__photo .placeholder{ background:var(--paper-dim); }
.about__caption{ margin-top:18px; font-family:var(--sans); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-soft); }
.about__copy{ max-width:600px; }
.about__body p{
  font-family:var(--display); font-style:normal; font-size:21px; line-height:1.75;
  color:var(--ink-soft); margin-bottom:26px; font-weight:400;
}

/* ---- about breakout: full-bleed image between About and Services ------- */
.about-breakout{ position:relative; height:92vh; min-height:600px; max-height:900px; overflow:hidden; }
.about-breakout__media{ position:absolute; inset:0; }
.about-breakout__media img{ width:100%; height:100%; object-fit:cover; }
.about-breakout__media .placeholder{ width:100%; height:100%; }
.about-breakout__scrim{
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(20,17,14,.55) 0%, rgba(20,17,14,.08) 38%, rgba(20,17,14,0) 60%);
}
.about-breakout__caption{
  position:absolute; left:50%; bottom:9%; transform:translateX(-50%); z-index:2;
  width:88%; max-width:820px; text-align:center;
  font-family:var(--display); font-style:italic; font-weight:400;
  font-size:clamp(24px,3.4vw,42px); line-height:1.35; color:var(--paper);
  text-shadow:0 2px 18px rgba(0,0,0,.35);
}

/* ---- brief / services: numbered editorial list with divider lines ------ */
.brief{ text-align:left; }
.brief__head{ max-width:620px; margin:0 0 48px; }
.brief__list{
  max-width:680px; border-top:1px solid var(--line-soft); list-style:none; padding:0; margin:0;
}
.brief__item{
  display:flex; align-items:baseline; gap:22px;
  padding:30px 0; border-bottom:1px solid var(--line-soft);
}
.brief__index{
  flex-shrink:0; width:40px; font-family:var(--sans); font-size:13px; letter-spacing:.04em;
  color:var(--accent); padding-top:3px;
}
.brief__copy{ flex:1; }
.brief__item h3{
  font-family:var(--serif); font-size:clamp(19px,2vw,23px); font-weight:500; color:var(--ink);
  letter-spacing:.01em; margin-bottom:8px;
}
.brief__item h3 em{ font-family:var(--display); font-style:italic; font-weight:400; color:var(--accent); }
.brief__item p{
  font-family:var(--display); font-style:normal; font-size:16px; line-height:1.7; color:var(--ink-soft);
  font-weight:400; max-width:460px;
}
.brief__cta{ margin-top:36px; font-family:var(--display); font-style:italic; font-size:18px; color:var(--accent); }
.brief__book{ display:inline-flex; margin-top:26px; }

/* ---- destinos ----------------------------------------------------------- */
.destinos__headrow{ margin-bottom:44px; }
.destinos__head{ max-width:640px; margin-bottom:0; }
.destinos__carousel{
  position:relative;
  overflow:hidden; scrollbar-width:none; -ms-overflow-style:none;
}
.destinos__carousel::-webkit-scrollbar{ display:none; }
/* Round "next" button — mainly for touch devices, where there's no mouse to
   drag with, so tapping it steps the slow auto-drift forward by one card at
   a time. See the click handler in setupDestinosMarquee (main.js). */
.destinos__next{
  position:absolute; right:6vw; top:50%; transform:translateY(-50%); z-index:5;
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line);
  background:var(--paper); color:var(--ink); display:flex; align-items:center; justify-content:center;
  cursor:pointer; box-shadow:0 4px 16px rgba(20,18,15,.12);
  transition:background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.destinos__next svg{ width:17px; height:17px; }
.destinos__next:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); }
.destinos__next:active{ transform:translateY(-50%) scale(.94); }
.destinos__grid{
  display:flex; gap:14px; width:max-content;
  padding-left:max(6vw, calc((100vw - var(--container)) / 2 + 6vw));
  padding-right:14px;
  will-change:transform;
  cursor:grab;
}
/* Brief eased transition only while the "next" button is animating a jump —
   the continuous auto-drift (main.js tick()) sets transform every frame
   without a transition, so this class is added/removed around each tap. */
.destinos__grid.is-jumping{ transition:transform .4s var(--ease); }
/* While dragging: kill the transition so the track tracks the pointer
   1:1, and block text/image selection + card hover affordances so the
   drag reads as a drag rather than an accidental text-select. */
.destinos__grid.is-dragging{ cursor:grabbing; user-select:none; }
.destinos__grid.is-dragging .destino-card{ pointer-events:none; }
.destino-card{
  position:relative; aspect-ratio:3/4; overflow:hidden; background:var(--paper-dim);
  border:1px solid var(--line-soft); cursor:pointer;
  flex:0 0 clamp(220px, 22vw, 300px);
}
.destino-card__bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  background-color:var(--paper-dim);
  transition:transform .8s var(--ease);
}
.destino-card:hover .destino-card__bg{ transform:scale(1.06); }
.destino-card__scrim{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,18,15,.75) 8%, rgba(20,18,15,.05) 55%); }
.destino-card__content{ position:absolute; left:0; right:0; bottom:0; padding:20px; }
.destino-card__region{ font-family:var(--sans); font-size:9px; letter-spacing:.18em; text-transform:uppercase; color:var(--accent-soft); display:block; margin-bottom:6px; }
.destino-card__name{ font-family:var(--serif); font-size:19px; color:var(--paper); }
.destino-card__view{
  position:absolute; top:16px; right:16px; width:32px; height:32px; border:1px solid rgba(247,242,233,.45);
  border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; opacity:0; color:var(--paper);
  transition:opacity .35s var(--ease), border-color .35s;
}
.destino-card:hover .destino-card__view{ opacity:1; border-color:var(--accent-soft); }

/* ---- testimonios ---------------------------------------------------------- */
.testimonios__head{ max-width:640px; margin-bottom:56px; }
.testimonios__grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:3px; padding:0 3px; }
.testimonio-card{ cursor:pointer; border:none; background:none; padding:0; display:block; width:100%; }
.testimonio-card__cover{
  position:relative; height:88vh; min-height:560px; overflow:hidden;
  background:var(--card);
}
.testimonio-card__cover img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease), filter .6s; filter:grayscale(.25) contrast(1.02); }
.testimonio-card:hover .testimonio-card__cover img{ transform:scale(1.045); filter:grayscale(0) contrast(1.02); }
.testimonio-card__fileno{ position:absolute; top:26px; left:26px; z-index:2; font-family:var(--sans); font-size:10px; letter-spacing:.14em; color:var(--paper); text-transform:uppercase; text-shadow:0 1px 6px rgba(0,0,0,.4); }
.testimonio-card__placeholder{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; padding:16px; font-family:var(--sans); font-size:10px; letter-spacing:.1em; color:var(--ink-soft); text-transform:uppercase; }
.testimonio-card__scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to top, rgba(20,17,14,.62) 0%, rgba(20,17,14,.18) 32%, rgba(20,17,14,0) 55%);
}
.testimonio-card__caption{ position:absolute; left:26px; right:26px; bottom:28px; z-index:2; text-align:left; }
.testimonio-card__names{ font-family:var(--display); font-style:italic; font-weight:500; font-size:clamp(26px,2.6vw,36px); margin-bottom:6px; color:var(--paper); }
.testimonio-card__date{ font-family:var(--sans); font-size:11px; letter-spacing:.14em; color:rgba(247,242,233,.82); text-transform:uppercase; }

@media (max-width:900px){
  .testimonios__grid{ grid-template-columns:1fr; gap:3px; }
  .testimonio-card__cover{ height:78vh; min-height:460px; }
}

/* ---- reconocimientos -------------------------------------------------------- */
/* Vertical (portrait) cards, two visible at a time. A single round "next"
   button pages forward through the full RECOGNITIONS list (see
   renderReconocimientos in main.js), keeping the section from turning into
   a wall of text — body copy is clamped to a handful of lines per card. */
.reconocimientos__head{ max-width:640px; margin-bottom:56px; }
.reconocimientos__carousel{ display:flex; flex-direction:column; align-items:center; gap:40px; width:100%; }
/* Organic version — just a top rule and a single vertical divider between
   the two cards, no boxed/grid look. */
.reconocimientos__list{
  display:grid; grid-template-columns:1fr 1fr; gap:0;
  border-top:1px solid var(--line-soft); align-items:stretch; width:100%;
  transition:opacity .18s ease;
}
.reconocimientos__list.is-paging{ opacity:0; }
.reconocimiento{
  padding:44px 44px 44px 0; border-bottom:1px solid var(--line-soft);
  display:flex; flex-direction:column; align-items:flex-start;
}
.reconocimiento:nth-child(odd){ border-right:1px solid var(--line-soft); }
.reconocimiento:nth-child(even){ padding-left:44px; }
.reconocimiento__source{ font-family:var(--sans); font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.reconocimiento__headline{ font-family:var(--serif); font-style:italic; font-size:clamp(20px,2vw,24px); color:var(--ink); margin-bottom:18px; line-height:1.35; }
/* Only the first paragraph is ever injected here (see renderReconocimientos
   in main.js), and the clamp lives on the container itself rather than on
   the <p>, so there's exactly one predictable box height per card instead
   of it varying by how many paragraphs an entry happens to have. */
.reconocimiento__body{
  width:100%; font-family:var(--display); font-style:normal; font-size:16px;
  line-height:1.75; color:var(--ink-soft); font-weight:400;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; overflow:hidden;
}
.reconocimiento__body p{ margin:0; }
.reconocimiento__body a{ color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.reconocimiento .btn--outline{ margin-top:auto; align-self:flex-start; flex-shrink:0; padding-top:24px; }

.reconocimientos__next{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--line);
  background:transparent; color:var(--ink); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.reconocimientos__next svg{ width:18px; height:18px; }
.reconocimientos__next:hover{ background:var(--ink); border-color:var(--ink); color:var(--paper); transform:translateX(2px); }

/* ---- contact ---------------------------------------------------------- */
.section--contact{ background:var(--paper-dim); }
.contact{ display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; align-items:start; }
.contact__intro{ position:sticky; top:140px; }
.social-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:40px; }
.social-btn{
  display:flex; align-items:center; gap:9px; padding:12px 20px; border:1px solid var(--line); border-radius:999px;
  font-family:var(--sans); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink);
  transition:all .3s var(--ease);
}
.social-btn:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.social-btn--disabled{ opacity:.4; cursor:not-allowed; }
.social-btn--disabled:hover{ background:none; color:var(--ink); }

.contact-form{
  background:var(--card); border:1px solid var(--line-soft); padding:52px 46px;
  box-shadow:0 40px 90px -50px rgba(32,29,25,.28);
}
.field{ display:block; margin-bottom:26px; }
/* .field's own display:block above overrides the browser's default
   [hidden]{display:none} rule (author CSS beats the UA stylesheet), which
   is exactly why the "¿Cuál locación?" field was showing regardless of
   the hidden attribute set on it. This restores the expected behavior. */
.field[hidden]{ display:none; }
.field span, .field legend{
  display:block; font-family:var(--sans); font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent); margin-bottom:10px; font-weight:500;
}
.field input, .field select, .field textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--line);
  padding:11px 2px; font-family:var(--sans); font-size:15px; color:var(--ink); font-weight:400;
  transition:border-color .3s;
}
.field textarea{ resize:vertical; }
.field select{ appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2396805d'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--accent); }
.field--radios legend{ margin-bottom:12px; }
.radio-row{ display:flex; gap:26px; flex-wrap:wrap; }
.radio-row label{ display:flex; align-items:center; gap:8px; font-size:14px; color:var(--ink); cursor:pointer; }
.radio-row input{ width:auto; accent-color:var(--accent); }

.form-note{ font-family:var(--sans); font-size:10px; letter-spacing:.04em; color:var(--ink-soft); margin-bottom:22px; }
.form-success{ margin-top:18px; font-family:var(--sans); font-size:12px; color:#5c7a52; }
.form-error{ margin-top:18px; font-family:var(--sans); font-size:12px; color:#a3453a; }

/* ---- footer --------------------------------------------------------------- */
.site-footer{ background:var(--ink); padding:60px 6vw; text-align:center; }
.site-footer .brand{ display:block; margin-bottom:16px; color:var(--paper); }
.site-footer__inner p{ font-size:12px; color:rgba(247,242,233,.5); margin-top:8px; letter-spacing:.02em; }
.site-footer__established{ font-family:var(--sans); letter-spacing:.14em; text-transform:uppercase; font-size:10px !important; color:rgba(247,242,233,.65) !important; }
.footer-policies-link{
  display:inline-block; margin-top:18px; font-family:var(--sans); font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(247,242,233,.5); border-bottom:1px solid rgba(247,242,233,.3); padding-bottom:2px; background:none; border-top:none; border-left:none; border-right:none; cursor:pointer;
}
.footer-policies-link:hover{ color:var(--accent); border-color:var(--accent); }

/* ---- policies modal -------------------------------------------------------- */
.modal__panel--policies{ text-align:left; }
.policies-content h4{ font-family:var(--serif); font-size:20px; color:var(--ink); margin:34px 0 6px; }
.policies-content h4:first-child{ margin-top:0; }
.policies-content .policies-updated{ font-family:var(--sans); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:14px; }
.policies-content p{ font-family:var(--sans); font-size:13px; line-height:1.7; color:var(--ink-soft); margin-bottom:14px; }
.policies-content ol{ margin:0 0 14px; padding-left:20px; }
.policies-content li{ font-family:var(--sans); font-size:13px; line-height:1.7; color:var(--ink-soft); margin-bottom:12px; }
.policies-content li strong{ color:var(--ink); font-weight:600; }

/* ---- modal shared --------------------------------------------------------- */
.modal{ position:fixed; inset:0; z-index:2000; visibility:hidden; opacity:0; transition:opacity .45s var(--ease), visibility .45s var(--ease); }
.modal.is-open{ visibility:visible; opacity:1; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(20,18,15,.82); backdrop-filter:blur(6px); }
.modal__panel{
  position:relative; z-index:1; max-width:1040px; width:92vw; max-height:88vh; margin:6vh auto;
  background:var(--card); border:1px solid var(--line-soft); padding:56px; overflow-y:auto;
  transform:translateY(24px) scale(.98); transition:transform .5s var(--ease);
}
.modal.is-open .modal__panel{ transform:translateY(0) scale(1); }
.modal__close{ position:absolute; top:20px; right:24px; font-size:30px; color:var(--ink-soft); line-height:1; z-index:2; }
.modal__close:hover{ color:var(--accent); }
.modal__title{ font-family:var(--serif); font-size:clamp(28px,4vw,42px); margin-bottom:22px; color:var(--ink); }

/* gallery tabs + lightbox */
.gallery-tabs{ display:flex; gap:10px; margin-bottom:22px; }
.gallery-tab{
  font-family:var(--sans); font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:500;
  padding:9px 20px; border-radius:999px; border:1px solid var(--line); color:var(--ink-soft);
  transition:all .3s var(--ease);
}
.gallery-tab.is-active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

.lightbox{ position:relative; display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.lightbox__stage{
  flex:1; aspect-ratio:16/10; background:var(--paper-dim); border:1px solid var(--line-soft);
  display:flex; align-items:stretch; justify-content:center; overflow:hidden; gap:2px;
}
.lightbox__stage img, .lightbox__stage video{ width:100%; height:100%; object-fit:contain; background:var(--paper-dim); }
.lightbox__stage .placeholder{ text-align:center; padding:20px; font-family:var(--sans); font-size:11px; letter-spacing:.08em; color:var(--ink-soft); text-transform:uppercase; }
.lightbox__nav{ font-size:32px; color:var(--ink-soft); padding:10px; flex-shrink:0; }
.lightbox__nav:hover{ color:var(--accent); }
.lightbox__thumbs{ display:flex; gap:8px; flex-wrap:wrap; }
.lightbox__thumbs span{ width:56px; height:56px; border:1px solid var(--line-soft); background:var(--paper-dim); opacity:.55; cursor:pointer; transition:opacity .3s; background-size:cover; background-position:center; }
.lightbox__thumbs span.is-active{ opacity:1; border-color:var(--accent); }
.gallery-couple{ margin-top:26px; margin-bottom:0; font-family:var(--serif); font-size:14px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); font-weight:500; }
.gallery-description{ margin-top:10px; font-family:var(--display); font-style:normal; font-size:19px; line-height:1.8; color:var(--ink-soft); max-width:760px; font-weight:400; text-align:justify; text-justify:inter-word; white-space:pre-line; }
.gallery-description:first-of-type{ margin-top:26px; }

/* case file modal */
.modal__back{ font-family:var(--sans); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); margin-bottom:34px; display:inline-block; }
.modal__back::before{ content:"\2190  "; }
.case-file__head{ margin-bottom:30px; }
.case-file__names{ font-family:var(--display); font-style:italic; font-weight:500; font-size:clamp(32px,4.4vw,48px); margin:8px 0 6px; color:var(--ink); }
.case-file__date{ font-family:var(--sans); font-size:11px; letter-spacing:.12em; color:var(--ink-soft); text-transform:uppercase; }
.case-file__cover{ background:var(--paper-dim); border:1px solid var(--line-soft); overflow:hidden; margin-bottom:34px; }
.case-file__cover img{ width:100%; height:auto; display:block; }
.case-file__pullquote{
  font-family:var(--display); font-style:italic; font-size:clamp(20px,2.6vw,28px); color:var(--accent);
  line-height:1.5; border-left:2px solid var(--accent); padding-left:26px; margin-bottom:40px;
}
.case-file__video{ margin-bottom:40px; }
.case-file__video video{ width:100%; aspect-ratio:16/9; background:var(--paper-dim); border:1px solid var(--line-soft); margin-top:10px; }
.case-file__pending{ margin-top:10px; font-family:var(--sans); font-size:11px; color:var(--ink-soft); }
.case-file__letter{ margin-bottom:40px; }
.case-file__letter p:not(.eyebrow){ font-family:var(--display); font-style:normal; font-size:19px; line-height:1.8; color:var(--ink-soft); font-weight:400; text-align:justify; text-justify:inter-word; margin-bottom:20px; }
.case-file__letter p:not(.eyebrow):last-child{ margin-bottom:0; }
.case-file__gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:14px; }
.case-file__gallery-grid .thumb{ aspect-ratio:3/4; background:var(--paper-dim); border:1px solid var(--line-soft); overflow:hidden; }
.case-file__gallery-grid .thumb img{ width:100%; height:100%; object-fit:cover; }
.case-file__gallery-grid .thumb .placeholder{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; text-align:center; font-family:var(--sans); font-size:9px; color:var(--ink-soft); padding:6px; }

/* ---- responsive ------------------------------------------------------------- */
@media (max-width:1080px){
  .about, .contact{ grid-template-columns:1fr; gap:44px; }
  .contact__intro{ position:relative; top:0; }
  .reconocimientos__list{ grid-template-columns:1fr; }
  .reconocimiento:nth-child(odd){ border-right:none; }
  .reconocimiento:nth-child(even){ padding-left:0; }
  .reconocimiento{ padding-right:0; }
}
@media (max-width:760px){
  .main-nav{ display:none; }
  .menu-toggle{ display:flex; }
  .destino-card{ flex-basis:62vw; }
  .section{ padding:96px 0; }
  .modal__panel{ padding:32px 22px; }
  .case-file__gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .destinos__next{ width:40px; height:40px; right:4vw; }
  .destinos__next svg{ width:15px; height:15px; }
}
@media (max-width:520px){
  .destino-card{ flex-basis:74vw; }
}

.menu-toggle.is-active span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2){ opacity:0; }
.menu-toggle.is-active span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
