/* Derecho en México — hoja de estilos
   Concepto: despacho luminoso. Fondos marfil y arena, texto azul marino profundo y el dorado
   de RÜM como acento; el logo plateado aporta el brillo metálico. Un solo bloque marino por página. */
:root {
  --navy: #0f1d2b;        /* texto principal y bloques de contraste */
  --navy-2: #1b2e41;
  --gold: #c39a5b;        /* acento principal */
  --gold-2: #a98143;      /* dorado profundo para texto sobre claro */
  --gold-soft: #e9cf9f;
  --sand: #f6f2ec;        /* fondo de secciones alternas */
  --paper: #fffdf9;       /* fondo principal */
  --white: #ffffff;
  --text: #1d2730;
  --muted: #5d6a76;
  --line: rgba(15, 29, 43, .12);
  --line-light: rgba(255, 253, 249, .18);
  --wa: #25d366;
  --gold-sheen: linear-gradient(110deg, #a98143 0%, #e9cf9f 30%, #c39a5b 50%, #f3e2bf 68%, #a98143 100%);
  --shadow: 0 24px 50px -28px rgba(15, 29, 43, .45);

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.8rem, .78rem + .1vw, .88rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.08rem + .55vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 4.1rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); font-size: var(--step-0); line-height: 1.7;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.06; margin: 0; text-wrap: balance; letter-spacing: -.01em; color: var(--navy); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.stack { display: grid; gap: 1.1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .22em; font-weight: 700;
  color: var(--gold-2); display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 2.4em; height: 1.5px; background: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  --b: var(--gold); --f: var(--navy);
  display: inline-flex; align-items: center; gap: .65em; padding: 1em 1.6em; border-radius: 999px;
  font: 700 var(--step--1)/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid var(--b); color: var(--f); background: var(--b);
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .4s var(--ease), transform .4s var(--ease), box-shadow .4s;
  box-shadow: 0 12px 26px -14px rgba(169, 129, 67, .9);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit;
}
.btn:hover { color: var(--paper); transform: translateY(-2px); }
.btn:hover::before { transform: none; }
.btn--ghost { --b: transparent; border-color: var(--navy); box-shadow: none; }
.btn--ghost:hover { border-color: var(--navy); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Progreso y encabezado ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; background: var(--gold-sheen); transform-origin: left; transform: scaleX(0); }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, box-shadow .4s; }
.site-header.is-scrolled {
  background: rgba(255, 253, 249, .88); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(15, 29, 43, .35);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 78px; }
.wordmark {
  font-family: var(--display); font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); color: var(--navy);
  letter-spacing: .06em; text-decoration: none; white-space: nowrap; line-height: 1; display: flex; flex-direction: column; gap: .32em; margin-right: auto;
}
.wordmark .en { color: var(--gold-2); }
.wordmark small { font-family: var(--body); font-size: .48em; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.header-actions { order: 3; display: flex; align-items: center; gap: .5rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .45em; padding: .55em .95em; border-radius: 999px;
  border: 1.5px solid var(--gold); color: var(--navy); background: rgba(233, 207, 159, .25);
  font: 700 .78rem/1 var(--body); letter-spacing: .08em; text-decoration: none; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.lang-switch:hover { background: var(--gold); }
.lang-switch svg { width: 1.15em; height: 1.15em; }
.lang-short { display: none; }
.nav { order: 2; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a:not(.btn) { text-decoration: none; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--navy); position: relative; padding-block: .4em; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .85em 1.25em; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--navy); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem; background: var(--sand);
    clip-path: circle(0% at calc(100% - 38px) 38px); transition: clip-path .7s var(--ease); z-index: -1;
  }
  .nav a:not(.btn) { font-family: var(--display); font-size: var(--step-2); text-transform: none; letter-spacing: 0; font-weight: 500; }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 38px) 38px); }
}
@media (max-width: 520px) { .lang-long { display: none; } .lang-short { display: inline; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: calc(78px + clamp(2.5rem, 7vw, 6rem)) clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 207, 159, .75) 0%, rgba(233, 207, 159, 0) 62%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 50%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 50%);
}
@keyframes drift { to { transform: translate(-6vmax, 5vmax) scale(1.08); } }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero-copy { display: grid; gap: 1.6rem; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 3.4vw, 5rem); }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero-lead { max-width: 48ch; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: var(--step--1); color: var(--muted); }
.hero-meta strong { color: var(--navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-logo { perspective: 1200px; min-width: 0; }
.hero-logo .tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; position: relative; }
.hero-logo img { width: 100%; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(169, 129, 67, .22)); }
.hero-logo .glint {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.9) 50%, transparent 60%); background-size: 250% 100%;
  animation: glint 6s var(--ease) infinite 1.2s;
  -webkit-mask: url("logo-derecho-en-mexico.webp") center / contain no-repeat; mask: url("logo-derecho-en-mexico.webp") center / contain no-repeat;
}
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes glint { 0% { background-position: 150% 0; } 45%, 100% { background-position: -100% 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; width: 1.5px; height: 54px; background: linear-gradient(var(--gold), transparent); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: var(--navy); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 520px; }
  .scroll-cue { display: none; }
}

/* ---------- Franja ---------- */
.ticker { background: var(--gold); padding-block: 1.3rem; overflow: hidden; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-track span {
  font-family: var(--display); font-style: italic; font-size: var(--step-2); white-space: nowrap; color: var(--navy);
  padding-inline: 1.4rem; display: inline-flex; align-items: center; gap: 2.8rem;
}
.ticker-track span::after { content: "§"; font-style: normal; color: var(--paper); font-size: .6em; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--step-3); max-width: 16ch; }
.section-head p { max-width: 44ch; color: var(--muted); }

/* Despacho */
.about .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; margin: 0; border-radius: var(--radius); background: linear-gradient(160deg, var(--gold-soft), var(--gold-2)); }
.frame img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 253, 249, .55); border-radius: calc(var(--radius) - 6px); pointer-events: none; }
.frame-caption { position: absolute; left: 14px; bottom: 14px; background: var(--paper); padding: .7rem 1.1rem; border-radius: 999px; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--navy); z-index: 1; }
.collage { position: relative; padding-bottom: 12%; min-width: 0; }
.collage .frame--small { position: absolute; right: -6%; bottom: 0; width: 46%; aspect-ratio: 3 / 4; outline: 10px solid var(--paper); z-index: 2; box-shadow: var(--shadow); }
.about-copy { display: grid; gap: 1.5rem; min-width: 0; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy p { max-width: 58ch; color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .6rem; }
.pillars div { padding: 1.2rem; display: grid; gap: .4rem; align-content: start; background: var(--sand); border-radius: var(--radius); border-top: 3px solid var(--gold); }
.pillars h3 { font-size: var(--step-1); }
.pillars p { font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
@media (max-width: 880px) {
  .about .wrap { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 4 / 3; }
  .collage .frame--small { right: 0; width: 42%; }
  .pillars { grid-template-columns: 1fr; }
}

/* Galería */
.gallery { background: var(--sand); position: relative; padding-block: clamp(3rem, 7vw, 6rem); }
.gallery-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gallery-head h2 { font-size: var(--step-3); max-width: 20ch; }
.gallery-track { display: flex; gap: clamp(1rem, 2.2vw, 2rem); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1rem; }
.gallery-track::-webkit-scrollbar { display: none; }
.g-card { margin: 0; flex: none; width: clamp(240px, 26vw, 400px); scroll-snap-align: start; display: grid; gap: .9rem; }
.g-card:nth-child(even) { padding-top: clamp(1.5rem, 5vw, 4.5rem); }
.g-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; max-width: 100%; border-radius: var(--radius); background: linear-gradient(160deg, var(--gold-soft), var(--gold)); box-shadow: var(--shadow); }
.g-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.g-card:hover .g-img img { transform: scale(1); }
.g-card figcaption { font-size: .92rem; color: var(--muted); line-height: 1.5; display: grid; gap: .25rem; }
.g-card figcaption span { font-family: var(--display); font-size: var(--step-1); color: var(--navy); }
.gallery.is-pinned { padding-block: 0; }
.gallery.is-pinned .gallery-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.gallery.is-pinned .gallery-track { overflow: visible; width: max-content; will-change: transform; scroll-snap-type: none; }
.gallery.is-pinned .g-card { width: clamp(240px, 22vw, 360px); }

/* Áreas */
.areas { background: var(--paper); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.area {
  --mx: 50%; --my: 50%; position: relative; overflow: hidden; padding: clamp(1.5rem, 2.6vw, 2.3rem);
  display: grid; gap: .9rem; align-content: start; min-width: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.area::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(233, 207, 159, .45), transparent 60%); }
.area:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.area:hover::before { opacity: 1; }
.area > * { position: relative; }
.area-icon { width: 46px; height: 46px; color: var(--gold-2); transition: transform .6s var(--ease); }
.area:hover .area-icon { transform: rotate(-8deg) scale(1.08); }
.area h3 { font-size: var(--step-2); }
.area p { color: var(--muted); font-size: .97rem; }
.area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: var(--step--1); color: var(--text); }
.area li { display: flex; gap: .7em; }
.area li::before { content: "—"; color: var(--gold); }
.area--featured { grid-column: 1 / -1; grid-template-columns: auto 1.2fr 1fr; align-items: center; gap: 1.2rem 2.4rem; background: var(--navy); border-color: var(--navy); }
.area--featured h3 { color: var(--paper); }
.area--featured p { color: #c9d1d9; }
.area--featured ul { color: var(--paper); }
.area--featured .area-icon { width: 64px; height: 64px; color: var(--gold); animation: spin 24s linear infinite; }
.area--featured::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(195, 154, 91, .28), transparent 60%); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) { .area-grid { grid-template-columns: repeat(2, 1fr); } .area--featured { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .area-grid { grid-template-columns: 1fr; } }

/* Contratos */
.deals { background: var(--sand); overflow: hidden; }
.deals .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.deals-copy { grid-row: 1 / 3; display: grid; gap: 1.4rem; min-width: 0; }
.deals-copy h2 { font-size: var(--step-3); }
.deals-copy p { color: var(--muted); max-width: 50ch; }
.deal-img { margin: 0; position: relative; overflow: hidden; max-width: 100%; border-radius: var(--radius); background: linear-gradient(160deg, var(--gold-soft), var(--gold-2)); }
.deal-img img { position: absolute; inset: -14% 0; width: 100%; height: 128%; object-fit: cover; }
.deal-img--a { grid-column: 2; aspect-ratio: 4 / 3; }
.deal-img--b { grid-column: 2; aspect-ratio: 16 / 10; width: 60%; margin-top: -20%; margin-left: -4%; outline: 10px solid var(--sand); z-index: 2; box-shadow: var(--shadow); }
@media (max-width: 880px) {
  .deals .wrap { grid-template-columns: 1fr; }
  .deals-copy { grid-row: auto; }
  .deal-img--a, .deal-img--b { grid-column: 1; }
  .deal-img--b { margin-left: auto; margin-top: -18%; width: 70%; }
}

/* Alcance internacional */
.global { background: var(--paper); overflow: hidden; }
.global .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.globe-wrap { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; position: relative; }
.globe-wrap::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--sand) 55%, var(--gold-soft) 100%); box-shadow: inset -20px -30px 60px rgba(169, 129, 67, .25), var(--shadow); }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.global-copy { display: grid; gap: 1.4rem; min-width: 0; }
.global-copy h2 { font-size: var(--step-3); }
.global-copy > p { color: var(--muted); max-width: 50ch; }
.global-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.global-items div { display: grid; gap: .35rem; align-content: start; padding-top: 1rem; border-top: 2px solid var(--gold); }
.global-items h3 { font-size: var(--step-1); }
.global-items p { font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
@media (max-width: 880px) { .global .wrap { grid-template-columns: 1fr; } .global-items { grid-template-columns: 1fr; } }

/* Declaración */
.statement { position: relative; overflow: hidden; background: var(--navy); isolation: isolate; }
.statement-bg { position: absolute; inset: -20% 0; z-index: -2; }
.statement-bg img { width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 29, 43, .9) 0%, rgba(27, 46, 65, .55) 60%, rgba(195, 154, 91, .35) 100%); }
.statement blockquote { margin: 0; max-width: 22ch; font-family: var(--display); font-size: var(--step-3); line-height: 1.12; color: var(--paper); }
.statement blockquote .w { opacity: .22; transition: opacity .25s; }
.statement blockquote .w.on { opacity: 1; }
.statement cite { display: block; margin-top: 2rem; font-style: normal; font-family: var(--body); font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }

/* Proceso */
.process { background: var(--sand); }
.process .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.process-intro { position: sticky; top: 120px; align-self: start; display: grid; gap: 1.4rem; min-width: 0; }
.process-intro h2 { font-size: var(--step-3); }
.process-intro p { color: var(--muted); max-width: 44ch; }
.steps { list-style: none; margin: 0; padding: 0 0 0 3.4rem; position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4rem); counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 1.15rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.steps .rail { counter-increment: none; list-style: none; position: absolute; left: 1.15rem; top: .4rem; width: 2px; height: calc(100% - .8rem); background: var(--gold); transform-origin: top; transform: scaleY(0); }
.steps li:not(.rail) { position: relative; display: grid; gap: .6rem; counter-increment: s; min-width: 0; }
.steps li:not(.rail)::before {
  content: counter(s, upper-roman); position: absolute; left: -3.4rem; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  font-family: var(--display); font-size: .95rem; background: var(--paper); color: var(--navy); border: 2px solid var(--gold); border-radius: 50%; transition: background .4s, color .4s;
}
.steps li.done::before { background: var(--gold); color: var(--navy); }
.steps h3 { font-size: var(--step-2); }
.steps p { color: var(--muted); max-width: 50ch; }
@media (max-width: 880px) { .process .wrap { grid-template-columns: 1fr; } .process-intro { position: static; } }

/* Contacto */
.contact { background: var(--paper); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.contact h2 { font-size: var(--step-3); }
.contact-info { display: grid; gap: 2rem; align-content: start; min-width: 0; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); align-items: start; }
.contact-item svg { width: 26px; height: 26px; color: var(--gold-2); margin-top: .2rem; }
.contact-item .label { font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-item .value { font-size: var(--step-1); font-family: var(--display); line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.map { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, var(--sand); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map a { position: absolute; right: .8rem; bottom: .8rem; z-index: 1; padding: .6em 1em; border-radius: 999px; background: var(--navy); color: var(--paper); font-size: var(--step--1); text-decoration: none; font-weight: 600; }
.form { display: grid; gap: 1.1rem; background: var(--white); padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: calc(var(--radius) + 6px); border-top: 4px solid var(--gold); box-shadow: 0 40px 80px -40px rgba(15, 29, 43, .4); align-content: start; min-width: 0; }
.form h3 { font-size: var(--step-2); }
.form > p { color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--sand); border: 1.5px solid transparent;
  padding: .75rem .9rem; border-radius: 10px; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.consent { display: flex; gap: .7rem; font-size: var(--step--1); color: var(--muted); line-height: 1.5; align-items: flex-start; }
.consent input { margin-top: .25rem; accent-color: var(--gold); width: 1rem; height: 1rem; flex: none; }
.form .btn { justify-self: start; }
.form-note { font-size: var(--step--1); color: var(--gold-2); min-height: 1.4em; font-weight: 600; }
@media (max-width: 880px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Pie */
.site-footer { background: var(--navy); color: #c9d1d9; padding-block: 3.5rem 2.2rem; font-size: var(--step--1); }
.site-footer .wrap { display: grid; gap: 2.4rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: start; }
.site-footer .wordmark { color: var(--paper); font-size: 1.5rem; margin-right: 0; }
.site-footer .wordmark .en { color: var(--gold); }
.site-footer .wordmark small { color: var(--gold-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.footer-links a { text-decoration: none; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line-light); padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #9aa6b2; }

/* Flotantes */
.wa-float {
  position: fixed; right: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: .6rem; padding: .85rem; border-radius: 999px; background: var(--wa); color: var(--navy);
  text-decoration: none; box-shadow: 0 14px 30px -10px rgba(15, 29, 43, .45); transition: transform .4s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: .9rem; transition: max-width .5s var(--ease); }
.wa-float:hover span { max-width: 12rem; padding-right: .3rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.cookie {
  position: fixed; left: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + env(safe-area-inset-bottom, 0px)); z-index: 45;
  max-width: min(420px, calc(100% - 110px)); background: var(--white); color: var(--text); padding: 1.1rem 1.2rem; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: var(--step--1); line-height: 1.5; display: grid; gap: .8rem;
}
.cookie a { font-weight: 700; color: var(--gold-2); }
.cookie button { justify-self: start; font: 700 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--navy); border: 0; padding: .8em 1.3em; border-radius: 999px; cursor: pointer; }

/* Animación de entrada */
.anim [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-reveal].in { opacity: 1; transform: none; }
.anim .hero h1 .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.anim body.loaded .hero h1 .line > span { transform: none; }
.anim [data-wipe] { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.anim [data-wipe].in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* Aviso de privacidad */
.legal-hero { padding-block: calc(78px + clamp(2.5rem, 6vw, 5rem)) clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, var(--paper), var(--sand)); }
.legal-hero h1 { font-size: var(--step-3); margin-top: 1rem; }
.legal-hero p { margin-top: 1rem; color: var(--muted); }
.legal .wrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 5rem); }
.toc { position: sticky; top: 100px; align-self: start; display: grid; gap: .5rem; font-size: var(--step--1); }
.toc a { text-decoration: none; color: var(--muted); padding-left: .9rem; border-left: 2px solid var(--line); line-height: 1.4; }
.toc a:hover { color: var(--navy); border-color: var(--gold); }
.legal-body { max-width: 72ch; display: grid; gap: 1.1rem; min-width: 0; }
.legal-body h2 { font-size: var(--step-2); margin-top: 2rem; scroll-margin-top: 100px; }
.legal-body h3 { font-family: var(--body); font-weight: 700; font-size: var(--step-0); margin-top: .6rem; }
.legal-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-body .box { background: var(--sand); padding: 1.3rem 1.4rem; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; }
.legal-body .note { font-size: var(--step--1); color: var(--muted); font-style: italic; }
@media (max-width: 880px) { .legal .wrap { grid-template-columns: 1fr; } .toc { position: static; } }

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