/* =================================================================
   Viajes con Sentido — Sistema visual
   Paleta tierra · Serif editorial (Fraunces) + sans humanista (Mulish)
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --sand:        #F4EDE1;   /* fondo base */
  --cream:       #FBF6EE;   /* fondo claro / tarjetas */
  --sand-deep:   #EADDC7;   /* sección alterna */
  --sage:        #7C8B6F;   /* verde musgo/salvia */
  --sage-deep:   #55624A;
  --terra:       #C0693F;   /* terracota (acción) */
  --terra-deep:  #A5522F;
  --ink:         #37291D;   /* texto principal (marrón cálido) */
  --ink-soft:    #6E5E4E;   /* texto secundario */
  --line:        rgba(55, 41, 29, 0.14);
  --line-soft:   rgba(55, 41, 29, 0.08);

  /* Tipografía */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala / ritmo */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -24px rgba(55, 41, 29, 0.45);
  --shadow-soft: 0 10px 30px -20px rgba(55, 41, 29, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  font-weight: 400;
  -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; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1rem; }
::selection { background: var(--terra); color: var(--cream); }

/* ---------- Utilidades de layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.section--sand { background: var(--sand-deep); }
.section--cream { background: var(--cream); }

/* Eyebrow (etiqueta de sección) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--terra);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.35rem);
  max-width: 18ch;
}
.section-intro {
  color: var(--ink-soft);
  max-width: 56ch;
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--terra); color: var(--cream); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--block { width: 100%; justify-content: center; }

/* =================================================================
   Navegación
   ================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--sand) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled { border-color: var(--line-soft); background: color-mix(in srgb, var(--sand) 94%, transparent); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__logo { height: 50px; width: auto; display: block; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__tag { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; white-space: nowrap; }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.7rem); }
.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3rem;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--terra);
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__cta { display: inline-flex; align-items: center; gap: 1rem; }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px; width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }

/* =================================================================
   Hero
   ================================================================= */
.hero { position: relative; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--sage-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Slider del hero: crossfade suave entre imágenes */
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  filter: brightness(0.82) saturate(1.02);
  transform: scale(1.04);
  transition: opacity 1s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; animation: heroKen 6s var(--ease) forwards; }
@keyframes heroKen { from { transform: scale(1.04); } to { transform: scale(1.1); } }

.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(38,28,20,0.42) 0%, rgba(38,28,20,0.22) 40%, rgba(38,28,20,0.62) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  min-height: min(92vh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: clamp(3rem, 8vh, 7rem);
  color: var(--cream);
}
.hero__eyebrow {
  color: var(--cream);
  opacity: 0.92;
}
.hero__eyebrow::before { background: var(--cream); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 1.2rem + 6.4vw, 5.6rem);
  font-weight: 400;
  max-width: 15ch;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: #F0C9A8; }
.hero__sub {
  color: var(--cream);
  opacity: 0.94;
  max-width: 46ch;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);
  margin-top: 1.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__scroll {
  margin-top: 3rem;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); opacity: 0.8;
}
.hero__scroll .dot { width: 34px; height: 34px; border: 1px solid rgba(251,246,238,.5); border-radius: 999px; display: grid; place-items: center; }
.hero__scroll svg { width: 14px; height: 14px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%,100%{ transform: translateY(-2px);} 50%{ transform: translateY(3px);} }

/* =================================================================
   Filosofía + Pilares
   ================================================================= */
.philo__head { max-width: var(--maxw); }
.philo__lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.32;
  color: var(--ink);
  max-width: 22ch;
}
.philo__body { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; }

.pillars {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.pillar {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terra);
  display: block;
  margin-bottom: 1.2rem;
}
.pillar__icon {
  width: 46px; height: 46px; color: var(--sage-deep);
  margin-bottom: 1rem;
}
.pillar__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* =================================================================
   Próximos viajes
   ================================================================= */
.trips-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.trips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.trip {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.trip:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.trip__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.trip__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* Filtro uniforme cálido/editorial para emparejar todas las fotos */
  filter: saturate(0.86) contrast(1.05) brightness(1.02) sepia(0.10);
  transition: transform 0.8s var(--ease);
}
.trip:hover .trip__media img { transform: scale(1.06); }

/* Sello postal circular con el mes — elemento firma */
.stamp {
  position: absolute; top: 14px; right: 14px;
  width: 74px; height: 74px; border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(3px);
  border: 1.5px dashed var(--terra);
  color: var(--terra-deep);
  display: grid; place-content: center; text-align: center;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-soft);
}
.stamp b { font-family: var(--serif); font-size: 1.05rem; line-height: 1; display: block; }
.stamp small { font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; }

.trip__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.trip__place { font-size: 1.42rem; margin-bottom: 0.2rem; }
.trip__meta { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; margin-bottom: 0.8rem; }
.trip__desc { color: var(--ink-soft); font-size: 0.96rem; flex: 1; }
.trip__cta { margin-top: 1.2rem; }
.trip__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.92rem; color: var(--terra-deep);
}
.trip__link svg { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.trip__link:hover svg { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(3rem, 6vw, 5rem); }
.faq__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 1.6rem; }
.faq__list { border-top: 1px solid var(--line); max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 1.4rem 3rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.32rem);
  color: var(--ink); font-weight: 500;
}
.faq__q::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 13px; height: 13px; margin-top: -6px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5522F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 0.4s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(135deg); }
.faq__a { padding: 0 3rem 1.5rem 0; color: var(--ink-soft); max-width: 68ch; }
.faq__a p { margin: 0; }
/* details animación de apertura suave del texto */
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

/* =================================================================
   Galería (experiencias pasadas)
   ================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.gallery figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  position: relative;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.86) contrast(1.05) brightness(1.02) sepia(0.10);
  transition: transform 0.9s var(--ease);
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::after {
  content: attr(data-caption);
  position: absolute; left: 14px; bottom: 12px;
  color: var(--cream); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery figure:hover::after { opacity: 1; transform: translateY(0); }
.g-a { grid-column: span 3; grid-row: span 2; }
.g-b { grid-column: span 3; grid-row: span 1; }
.g-c { grid-column: span 2; grid-row: span 1; }
.g-d { grid-column: span 1; grid-row: span 1; }
.g-e { grid-column: span 3; grid-row: span 1; }

/* =================================================================
   Banda Viajes a Medida / CTA
   ================================================================= */
.band {
  background:
    linear-gradient(160deg, var(--sage-deep) 0%, var(--sage) 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: no-repeat right -60px bottom -80px / 420px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23FBF6EE' stroke-opacity='0.14' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='36'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Ccircle cx='100' cy='100' r='84'/%3E%3C/svg%3E");
  pointer-events: none;
}
.band > * { position: relative; }
.band .eyebrow { color: #F0C9A8; }
.band .eyebrow::before { background: #F0C9A8; }
.band h2 { color: var(--cream); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); max-width: 16ch; }
.band p { color: rgba(251,246,238,.9); max-width: 44ch; margin-top: 1rem; }
.band__actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.band--terra { background: linear-gradient(160deg, var(--terra-deep) 0%, var(--terra) 100%); }
.band--terra .eyebrow, .band--terra .eyebrow::before { color: #F6E7D3; background-color: #F6E7D3; }
.band--terra .eyebrow { background: none; color: #F6E7D3; }

/* =================================================================
   Sobre mí
   ================================================================= */
.about { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__media::before {
  content: ""; position: absolute; inset: -14px -14px 24px 24px;
  border: 1px solid var(--terra); border-radius: var(--radius-lg); z-index: -1;
}
.about__quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  line-height: 1.28; color: var(--ink); margin-bottom: 1.5rem;
}
.about__body p { color: var(--ink-soft); font-size: 1.05rem; }
.about__sign {
  margin-top: 1.6rem; font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--terra-deep);
}
.about__role { display: block; font-family: var(--sans); font-style: normal; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.3rem; }

/* =================================================================
   Footer
   ================================================================= */
.footer { background: var(--ink); color: #E7D9C8; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer a { color: #E7D9C8; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer .brand__logo { height: 56px; }
.footer .brand__name, .footer .brand__tag { color: var(--cream); }
.footer .brand__tag { color: #B9A88F; }
.footer__blurb { color: #C4B39C; max-width: 34ch; margin-top: 1.2rem; }
.footer__col h4 { color: var(--cream); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: 0.35rem 0; color: #C4B39C; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--cream); }
.footer__social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(231,217,200,.24);
  display: grid; place-items: center; transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__social a:hover { background: var(--terra); border-color: var(--terra); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(231,217,200,.15);
  margin-top: 3rem; padding-top: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: #A8977E;
}

/* =================================================================
   WhatsApp flotante
   ================================================================= */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  width: 60px; height: 60px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform 0.4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  border: 2px solid #25D366; animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%{ transform: scale(1); opacity: .6;} 100%{ transform: scale(1.5); opacity: 0;} }

/* =================================================================
   Divisor sendero (firma) — línea orgánica entre secciones
   ================================================================= */
.trail { display: block; width: 100%; height: 60px; color: var(--line); }
.trail path { stroke: currentColor; stroke-width: 2; fill: none; stroke-dasharray: 2 10; stroke-linecap: round; }

/* =================================================================
   Reveal al hacer scroll
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .trips-grid { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
  .g-a { grid-column: span 4; grid-row: span 2; }
  .g-b, .g-e { grid-column: span 2; }
  .g-c { grid-column: span 2; }
  .g-d { grid-column: span 2; }
}

/* Colapso del menú a hamburguesa (antes de que se amontone) */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav[data-open="true"] .nav__links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0.4rem;
    background: var(--cream); padding: 1.2rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav[data-open="true"] .nav__link { font-size: 1.1rem; padding-block: 0.5rem; white-space: normal; }
}

@media (max-width: 720px) {
  .brand__logo { height: 44px; }
  .trips-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g-a { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* =================================================================
   Accesibilidad
   ================================================================= */
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.7rem 1.1rem; border-radius: 8px;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
