/* =========================================================
   LEGIS COMPLIANCE — Sistema de diseño
   Tono: institucional, sobrio, editorial. Acentos mínimos.
   ========================================================= */

:root {
  /* —— Paleta ——————————————————————————————— */
  --ink:        #0A0E2E;   /* azul marino del logo, casi negro */
  --ink-2:      #161A3A;   /* variante para hover/depth         */
  --paper:      #F5F2EB;   /* blanco hueso cálido (papel)        */
  --paper-2:    #EDE8DA;   /* fondo alterno                      */
  --paper-3:    #E1DAC6;   /* fondo más cálido                   */
  --stone:      #5A574E;   /* texto secundario                   */
  --stone-2:    #8C8676;   /* texto terciario                    */
  --rule:       #C9C2AC;   /* hairlines                          */
  --gold:       #B8945C;   /* dorado contenido                   */
  --gold-deep:  #8B6F3D;   /* dorado oscuro para texto pequeño   */
  --white:      #FFFFFF;

  /* —— Tipografía ——————————————————————————— */
  --serif:  "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:   "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* —— Espaciado ——————————————————————————— */
  --pad-x:   clamp(20px, 5vw, 72px);
  --pad-y:   clamp(72px, 12vw, 140px);
  --maxw:    1240px;

  /* —— Misc ———————————————————————————————— */
  --rad:     2px;
  --easing:  cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .25s var(--easing);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

.muted { color: var(--stone); font-weight: 400; }

::selection { background: var(--ink); color: var(--paper); }

/* Skip link (accesibilidad) */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 1000; font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* =========================================================
   Tipografía utilitaria
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}
.eyebrow__num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--gold-deep);
  text-transform: none;
  padding-right: 12px;
  border-right: 1px solid var(--rule);
}

/* =========================================================
   Botones
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--rad);
  cursor: pointer;
  transition: all .35s var(--easing);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--ghost svg { transition: transform .35s var(--easing); }
.btn--ghost:hover svg { transform: translateX(4px); }

.btn--block { width: 100%; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 235, .85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(245, 242, 235, .96);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
}
.nav__brand-sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
}
.nav__links a:not(.nav__cta) {
  position: relative;
  color: var(--ink);
  font-weight: 400;
  padding: 4px 0;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--easing);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--rad);
  transition: background .3s ease;
}
.nav__cta:hover { background: var(--ink-2); }

.nav__burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all .3s var(--easing);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--pad-x) 28px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.nav__mobile a {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  font-family: var(--serif);
}
.nav__mobile a:last-child {
  border-bottom: none;
  margin-top: 20px;
}
.nav__mobile.is-open {
  display: flex;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin: 0;
  padding: clamp(120px, 18vw, 200px) var(--pad-x) clamp(140px, 20vw, 220px);
  overflow: hidden;
  min-height: clamp(560px, 88vh, 820px);
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img,
.hero__bg picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 14, 46, 0.96) 0%,
    rgba(10, 14, 46, 0.88) 30%,
    rgba(10, 14, 46, 0.62) 65%,
    rgba(10, 14, 46, 0.45) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

/* Sobrescribir colores del contenido del hero (ahora sobre fondo oscuro) */
.hero .hero__meta { color: rgba(245, 242, 235, 0.78); }
.hero .hero__meta-dot { background: var(--gold); }
.hero .hero__title { color: var(--paper); }
.hero .hero__title em { color: var(--gold); font-style: italic; }
.hero .hero__body { color: rgba(245, 242, 235, 0.85); }
.hero .hero__body strong { color: var(--paper); }
.hero .hero__lede { color: var(--paper); }

.hero .btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero .btn--primary:hover {
  background: transparent;
  color: var(--paper);
}
.hero .btn--ghost {
  border-color: var(--paper);
  color: var(--paper);
}
.hero .btn--ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 48px;
  animation: fadeIn .8s var(--easing) both;
}
.hero__meta-dot {
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 8.5vw, 124px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 56px;
  max-width: 13ch;
  font-variation-settings: "opsz" 144;
  animation: rise .9s .1s var(--easing) both;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  position: relative;
}

.hero__body {
  max-width: 56ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--stone);
  animation: rise .9s .25s var(--easing) both;
}
.hero__body strong { color: var(--ink); }
.hero__lede {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
  animation: rise .9s .4s var(--easing) both;
}

/* Sello decorativo del hero (SVG circular) */
.hero__seal {
  position: absolute;
  top: 70px;
  right: var(--pad-x);
  width: 180px;
  height: 180px;
  pointer-events: none;
  animation: fadeIn 1.4s .6s var(--easing) both;
}
.hero__seal-svg {
  width: 100%;
  height: 100%;
  animation: spin 60s linear infinite;
}
.hero__seal-text {
  font-family: var(--sans);
  fill: var(--stone);
  text-transform: uppercase;
  font-weight: 500;
}
.hero__seal-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  fill: var(--gold-deep);
  font-weight: 400;
  animation: spin 60s linear infinite reverse;
  transform-origin: 100px 100px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero__seal { display: none; }
}

/* =========================================================
   Secciones base
   ========================================================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--rule);
}

.section__head {
  max-width: 880px;
  margin-bottom: 80px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 20px 0 28px;
  font-variation-settings: "opsz" 144;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
}
.section__intro {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--stone);
  max-width: 62ch;
}

/* =========================================================
   Filosofía / Institucional
   ========================================================= */
.section--inst {
  background: var(--paper);
}

.inst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 96px;
}
.inst-grid__col .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
}
.inst-grid__col p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pillars li {
  padding: 28px 24px 28px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-right: 1px solid var(--rule);
}
.pillars li:last-child { border-right: none; padding-right: 0; }
.pillars__n {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold-deep);
  font-weight: 500;
}

@media (max-width: 800px) {
  .inst-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars li:nth-child(2) { border-right: none; }
  .pillars li:nth-child(1), .pillars li:nth-child(2) {
    border-bottom: 1px solid var(--rule);
  }
}

/* =========================================================
   Servicios
   ========================================================= */
.section--services {
  background: var(--paper-2);
}

.services {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.service {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .4s var(--easing);
}
.service:hover {
  background: linear-gradient(to right, transparent, rgba(184, 148, 92, .04), transparent);
}
.service__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(38px, 4.5vw, 56px);
  color: var(--gold-deep);
  line-height: 1;
  letter-spacing: 0;
}
.service__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  margin: 8px 0 0;
  color: var(--ink);
  letter-spacing: -.005em;
}
.service__body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--stone);
  margin-top: 8px;
  max-width: 56ch;
}

.services__cta {
  margin-top: 64px;
  padding: 48px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  border-radius: var(--rad);
  position: relative;
  overflow: hidden;
}
.services__cta::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(184, 148, 92, .18), transparent 70%);
  pointer-events: none;
}
.services__cta p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.35;
  font-style: italic;
  max-width: 30ch;
  margin: 0;
  position: relative;
}
.services__cta .btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  position: relative;
}
.services__cta .btn--primary:hover {
  background: transparent;
  color: var(--paper);
}

@media (max-width: 800px) {
  .service {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .service__body { grid-column: 1 / -1; max-width: none; }
  .services__cta { padding: 32px 24px; }
}

/* =========================================================
   Valores / Nosotros
   ========================================================= */
.section--values {
  background: var(--paper);
}

.values {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}

.values__quote {
  position: sticky;
  top: 120px;
  padding: 48px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--rule);
}
.values__mark {
  font-family: var(--serif);
  font-size: 100px;
  line-height: .6;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}
.values__quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.values__quote p em {
  font-weight: 500;
  font-style: italic;
}

.values__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 24px 0 32px;
}
.values__body > p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--stone);
  max-width: 62ch;
}

.values__list {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.values__list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  position: relative;
  padding-left: 28px;
}
.values__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-deep);
}

@media (max-width: 900px) {
  .values { grid-template-columns: 1fr; gap: 48px; }
  .values__quote { position: static; padding: 32px 0; }
  .values__list { grid-template-columns: 1fr; }
}

/* =========================================================
   Contacto
   ========================================================= */
.section--contact {
  background: var(--paper-3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 72px;
  align-items: start;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.contact-info li {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-info__label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
}
.contact-info__value {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}
.contact-info__value a {
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--easing);
}
.contact-info__value a:hover { border-bottom-color: var(--gold); }
.contact-info__link {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
  transition: gap .3s var(--easing);
}
.contact-info__link:hover { color: var(--ink); }

/* Form */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 44px;
  border-radius: var(--rad);
}
.contact-form__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-row .field { margin-bottom: 22px; }
.field label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}
.field .optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--stone-2);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  width: 100%;
  transition: border-color .3s var(--easing);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--sans);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}

.contact-form__hint {
  font-size: 12px;
  color: var(--stone-2);
  margin-top: 16px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--pad-x) 36px;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 3fr;
  gap: 48px;
  align-items: start;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__brand img {
  border-radius: 50%;
}
.footer__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}
.footer__sub {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone-2);
  margin: 6px 0 0;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav a {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--paper);
  opacity: .8;
  transition: opacity .3s ease, color .3s ease;
}
.footer__nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer__legal {
  font-size: 13px;
  line-height: 1.7;
  color: var(--paper);
  opacity: .75;
}
.footer__legal a:hover { color: var(--gold); opacity: 1; }

.footer__bottom {
  grid-column: 1 / -1;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 235, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--stone-2);
  letter-spacing: .03em;
}
.footer__motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  margin: 0;
}

@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 14px; align-items: flex-start; margin-top: 24px; }
}

/* =========================================================
   Responsive nav
   ========================================================= */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* =========================================================
   Reveal on scroll (clase añadida vía JS)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--easing), transform .9s var(--easing);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Media helpers (figuras de secciones interiores)
   ========================================================= */
.section__media {
  margin: 0 0 64px;
  overflow: hidden;
  border-radius: var(--rad);
  position: relative;
}
.section__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.section__media--right {
  float: right;
  width: 44%;
  margin-left: 48px;
  margin-bottom: 32px;
  max-width: 540px;
}
.section__media--full {
  width: 100%;
  max-height: 420px;
  margin-bottom: 56px;
}
.section__media--full img {
  max-height: 420px;
  object-fit: cover;
  object-position: center 60%;
}

.section__band {
  margin: 0 0 72px;
  overflow: hidden;
  border-radius: var(--rad);
  max-height: 320px;
  position: relative;
}
.section__band img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.section__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(237, 232, 218, 0) 60%,
    rgba(237, 232, 218, 0.4) 100%
  );
  pointer-events: none;
}

/* Responsive: en mobile las imágenes laterales pasan a full width arriba */
@media (max-width: 800px) {
  .section__media--right {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 36px;
  }
  .section__band { max-height: 220px; }
  .section__band img { max-height: 220px; }
  .section__media--full { max-height: 260px; }
  .section__media--full img { max-height: 260px; }
  .hero {
    min-height: 600px;
    padding: clamp(100px, 20vw, 140px) var(--pad-x);
  }
}
