/* BYTA TECH LLC — estilos
   Paleta: azul marino (principal), blanco cálido (fondo), carbón (texto), dorado del logo (solo acento). */

:root {
  --navy: #0E1F3A;
  --navy-2: #16294A;
  --navy-3: #1E3459;
  --cream: #FAF7F0;
  --surface: #F1ECE1;
  --white: #FFFFFF;
  --ink: #24272C;
  --ink-2: #4E535C;
  --on-navy: #F4F1EA;
  --on-navy-2: #B9C0CD;
  --gold: #B68A2D;          /* dorado exacto del logo */
  --gold-ink: #7A5A14;      /* dorado oscuro para texto sobre fondo claro (AA) */
  --gold-soft: rgba(182, 138, 45, .35);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .8vw, 1.875rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 3.2vw, 4.5rem);
  --fs-hero: clamp(3rem, 1.6rem + 7vw, 8.5rem);

  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --max: 1320px;
  --section: clamp(5.5rem, 4rem + 7vw, 11rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--fs-h2); color: var(--navy); }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--cream); padding: .75rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 34ch; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.5rem; border: 0; border-radius: var(--radius);
  font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.55); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: #C49838; }
  .btn-navy:hover { background: var(--navy-3); }
  .btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--on-navy); background: rgba(244,241,234,.08); }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem;
  font-weight: 500; text-decoration: none; color: var(--navy);
  border-bottom: 1.5px solid var(--gold); padding-bottom: .25rem;
}
.link-arrow .ic { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ic { transform: translateX(4px); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 247, 240, 0); color: var(--on-navy);
  transition: background-color 280ms ease, color 280ms ease;
}
.site-header.is-solid { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 rgba(14,31,58,.08); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 132px; height: auto; }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.lang { display: inline-flex; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9; }
.lang button { background: none; border: 0; padding: .45rem .7rem; font-size: .875rem; font-weight: 500; cursor: pointer; color: inherit; min-width: 44px; min-height: 40px; transition: background-color 180ms ease, color 180ms ease; }
.lang button[aria-pressed="true"] { background: currentColor; }
.lang button[aria-pressed="true"] { color: var(--navy); background: var(--on-navy); }
.site-header.is-solid .lang button[aria-pressed="true"] { color: var(--cream); background: var(--navy); }
.hide-m { display: none; }

.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: inherit; }
.menu-icon { width: 22px; height: 12px; position: relative; display: block; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 260ms var(--ease-out), top 260ms var(--ease-out); }
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); color: var(--on-navy);
  display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.nav a { text-decoration: none; font-size: 1.5rem; padding: .7rem 0; }
.nav .nav-cta-m { margin-top: 1rem; background: var(--gold); color: var(--navy); text-align: center; font-size: 1.05rem; font-weight: 500; border-radius: var(--radius); padding: 1rem; }
.site-header.menu-open { background: var(--navy); color: var(--on-navy); box-shadow: none; }
.site-header.menu-open .lang button[aria-pressed="true"] { color: var(--navy); background: var(--on-navy); }

@media (min-width: 1000px) {
  :root { --header-h: 84px; }
  .brand img { width: 168px; }
  .menu-btn { display: none; }
  .hide-m { display: inline-flex; }
  .nav { position: static; flex-direction: row; gap: 2rem; padding: 0; background: none; color: inherit; transform: none; opacity: 1; visibility: visible; transition: none; }
  .nav a { font-size: .975rem; padding: .25rem 0; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
  .nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
  .nav .nav-cta-m { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.35) contrast(1.05); transform: scale(1.06); animation: heroIn 1800ms var(--ease-out) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(14, 31, 58, .78); mix-blend-mode: multiply; }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: rgba(14, 31, 58, .38); }
.hero-inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(6rem, 12vw, 11rem); }
.hero-title { font-size: var(--fs-hero); font-weight: 500; letter-spacing: -.04em; line-height: .95; max-width: 11ch; color: var(--white); }
.hero-lead { margin-top: 2rem; font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); line-height: 1.4; max-width: 32ch; color: var(--on-navy); font-weight: 300; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-facts { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: var(--on-navy-2); font-size: .95rem; }
.hero-facts li { position: relative; padding-left: 1rem; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-arc { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(36px, 6vw, 90px); fill: var(--cream); z-index: 1; }

@media (min-width: 760px) {
  .hero-actions .btn { flex: 0 0 auto; padding: 0 1.9rem; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }

/* Dos líneas de negocio */
.lines-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.lines-grid { display: grid; gap: 1rem; }
.line { --pad: clamp(1.5rem, 4vw, 3.5rem); padding: var(--pad); border-radius: var(--radius); overflow: hidden; }
.line-media { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) clamp(1.75rem, 3vw, 2.5rem); aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-2); }
.line-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.02); transform: scale(1.001); transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .line:hover .line-media img { transform: scale(1.035); } }
.line h3 { color: inherit; }
.line > p { margin-top: 1.25rem; font-size: 1.125rem; max-width: 40ch; }
.line-us { background: var(--white); color: var(--ink); }
.line-us h3 { color: var(--navy); }
.line-latam { background: var(--navy); color: var(--on-navy); }
.line-latam h3 { color: var(--white); }
.line-latam .link-arrow { color: var(--on-navy); }
.ticks { margin-top: 2rem; display: grid; gap: .75rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.line-us .ticks li::before { border-color: var(--gold-ink); }
@media (min-width: 900px) {
  .lines-head { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .lines-grid { grid-template-columns: 1fr 1fr; }
  .line { display: flex; flex-direction: column; }
  .line .link-arrow { margin-top: auto; align-self: flex-start; }
  .line .ticks { margin-bottom: 2.5rem; }
}

/* Servicios */
.services { background: var(--surface); }
.services-grid { display: grid; gap: 3rem; }
.services-head .lead { margin-top: 1.25rem; }
.services-list { display: grid; }
.svc { display: grid; gap: .5rem; padding: 1.75rem 0; border-top: 1px solid rgba(182,138,45,.55); }
.svc:last-child { border-bottom: 1px solid rgba(182,138,45,.55); }
.svc dt { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; color: var(--navy); }
.svc dd { color: var(--ink); max-width: 46ch; }
@media (min-width: 900px) {
  .services-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .services-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .svc { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.25rem 0; align-items: baseline; }
}

/* Categorías */
.cats { background: var(--navy); color: var(--on-navy); }
.cats h2 { color: var(--white); }
.cats .lead { color: var(--on-navy); }
.cats-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cat { background: var(--navy-2); padding: 1.5rem 1.1rem 1.4rem; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; font-size: 1.05rem; line-height: 1.3; transition: background-color 240ms ease; }
.cat-ic { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .cat:hover { background: var(--navy-3); }
  .cat:hover .cat-ic { transform: translateY(-3px); }
}
.cat-ask { background: var(--gold); padding: 0; }
.cat-ask a { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 1.5rem 1.1rem 1.4rem; color: var(--navy); text-decoration: none; font-weight: 500; gap: 1.5rem; }
.cat-ask a .ic { order: -1; width: 28px; height: 28px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cat-ask:hover { background: #C49838; } .cat-ask a:hover .ic { transform: translateX(4px); } }
.cats-note { margin-top: 2rem; color: var(--on-navy-2); font-size: .95rem; max-width: 70ch; }
@media (min-width: 640px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .cats-head { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .cat { min-height: 200px; padding: 2rem 1.6rem; font-size: 1.15rem; }
  .cat-ask a { padding: 2rem 1.6rem; }
}

/* Cobertura */
.coverage-grid { display: grid; gap: 3rem; }
.cov-text .lead { margin-top: 1.25rem; }
.cov-picker { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cov-picker button {
  min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--navy); font-weight: 500; font-size: .975rem;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.cov-picker button:active { transform: scale(.96); }
.cov-picker button[aria-checked="true"] { background: var(--navy); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .cov-picker button:hover:not([aria-checked="true"]) { background: #E6DFCF; } }
.cov-panel { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(182,138,45,.55); }
.cov-line { margin-top: .5rem; color: var(--gold-ink); font-weight: 500; font-size: 1.125rem; }
.cov-name { margin-top: .25rem; font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; color: var(--navy); }
.cov-desc { margin-top: 1rem; max-width: 44ch; min-height: 3.1em; }
.cov-panel .btn { margin-top: 1.75rem; }
.cov-panel .is-swap { animation: swapIn 420ms var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cov-map { margin: 0; background: var(--navy); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2.5rem); }
#routes { width: 100%; height: auto; overflow: visible; --fs: 24px; --halo: 8px; }
#routes .c { fill: transparent; stroke: var(--on-navy); stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: stroke-opacity 300ms ease, fill 300ms ease; }
#routes .c.target { stroke-opacity: .42; cursor: pointer; }
#routes .c.on { stroke-opacity: 1; fill: rgba(244,241,234,.06); }
@media (hover: hover) and (pointer: fine) { #routes .c.target:not(.on):hover { stroke-opacity: .7; } }
#routes .route { fill: none; stroke: var(--gold); stroke-opacity: .38; stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-opacity 300ms ease, stroke-width 300ms ease; }
#routes.drawn .route { animation: drawRoute 1100ms var(--ease-in-out) forwards; animation-delay: calc(var(--i) * 160ms); }
#routes.no-anim .route { animation: none; stroke-dashoffset: 0; }
#routes .route.is-active { stroke-opacity: 1; stroke-width: 2.25; }
@keyframes drawRoute { to { stroke-dashoffset: 0; } }
#routes .dot { fill: var(--on-navy-2); opacity: 0; transition: fill 300ms ease, r 300ms var(--ease-out); }
#routes.drawn .dot { animation: fadeDot 300ms ease forwards; animation-delay: calc(var(--i) * 160ms + 900ms); }
#routes.no-anim .dot { animation: none; opacity: 1; }
#routes .dot.is-active { fill: var(--gold); r: 9; }
#routes .origin { fill: var(--gold); }
#routes .halo { fill: none; stroke: var(--gold); stroke-width: 1.25; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.6); opacity: 0; } }
@keyframes fadeDot { to { opacity: 1; } }
#routes text { font-family: var(--font); font-size: var(--fs); paint-order: stroke; stroke: var(--navy); stroke-width: var(--halo); stroke-linejoin: round; pointer-events: none; }
#routes .map-label { fill: var(--white); font-weight: 500; }
#routes .map-label.is-swap { animation: fadeDot 360ms ease; }
#routes .origin-label { fill: var(--gold); font-weight: 500; }
@media (min-width: 900px) {
  .coverage-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

/* Cómo trabajamos */
.process { background: var(--surface); }
.process-head { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 5vw, 5rem); }
.steps { display: grid; gap: 2.5rem; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 4.75rem; }
.step::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font-size: 3.5rem; line-height: 1; font-weight: 300; letter-spacing: -.04em; color: var(--gold-ink);
}
.step::after { content: ""; position: absolute; left: 0; right: 0; top: 4rem; height: 1.5px; background: var(--gold); transform-origin: left; }
.step h3 { margin-top: 1rem; color: var(--navy); }
.step p { margin-top: .75rem; max-width: 30ch; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; } }
@media (min-width: 1000px) {
  .process-head { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .step::before { font-size: 4.5rem; }
  .step { padding-top: 5.75rem; }
  .step::after { top: 5rem; }
}

/* Preguntas frecuentes */
.faq-grid { display: grid; gap: 2.5rem; }
.faq-head .lead { margin-top: 1.25rem; }
.qa { border-top: 1px solid rgba(182,138,45,.55); }
.qa:last-child { border-bottom: 1px solid rgba(182,138,45,.55); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); font-weight: 500; color: var(--navy); line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink);
  transform: rotate(45deg) translateY(-3px); transition: transform 280ms var(--ease-out);
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.qa-body { padding: 0 2.5rem 1.75rem 0; max-width: 60ch; }
.qa[open] .qa-body { animation: swapIn 360ms var(--ease-out); }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

/* Contacto */
.contact { background: var(--navy); color: var(--on-navy); }
.contact h2 { color: var(--white); }
.contact .lead { color: var(--on-navy); margin-top: 1.25rem; }
.contact-grid { display: grid; gap: 3.5rem; }
.mail-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.mail-label { color: var(--on-navy-2); font-size: .95rem; }
.mail-big {
  display: inline-block; margin-top: .35rem; color: var(--white); text-decoration: none;
  font-size: clamp(1.75rem, .8rem + 5.4vw, 4.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1;
  overflow-wrap: anywhere;
}
.mail-big span {
  background-image: linear-gradient(var(--gold), var(--gold)); background-repeat: no-repeat;
  background-size: 0% 2px; background-position: 0 100%; padding-bottom: .08em;
  transition: background-size 420ms var(--ease-out);
}
.mail-big:hover span, .mail-big:focus-visible span { background-size: 100% 2px; }
.mail-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.mail-actions .btn { flex: 1 1 210px; }
#copy-mail { min-width: 12rem; }
.copy-ic { position: relative; width: 20px; height: 20px; display: inline-block; }
.copy-ic .ic { position: absolute; inset: 0; transition: opacity 180ms ease, transform 240ms var(--ease-out); }
.ic-check { opacity: 0; transform: scale(.6); stroke-width: 2.2; }
.ic-check path { stroke-dasharray: 1; stroke-dashoffset: 1; }
#copy-mail.is-copied { background: var(--navy-3); color: var(--on-navy); box-shadow: inset 0 0 0 1.5px var(--gold); }
#copy-mail.is-copied .ic-copy { opacity: 0; transform: scale(.6); }
#copy-mail.is-copied .ic-check { opacity: 1; transform: none; color: var(--gold); }
#copy-mail.is-copied .ic-check path { animation: drawRoute 380ms var(--ease-out) 60ms forwards; }
.wa-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.wa-link {
  margin-top: .5rem; display: inline-flex; align-items: center; gap: .75rem; min-height: 48px;
  color: var(--white); text-decoration: none; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -.015em;
}
.wa-link .ic { width: 26px; height: 26px; color: var(--gold); }
.wa-link .ic-arrow { width: 22px; height: 22px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .wa-link:hover .ic-arrow { transform: translateX(4px); } }
.contact-side { background: var(--navy-2); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); align-self: start; }
.contact-side h3 { color: var(--white); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.include-list { margin-top: 1.5rem; }
.include-list li { color: var(--on-navy); }
.company { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(182,138,45,.4); color: var(--on-navy-2); display: grid; gap: .25rem; }
.company-name { color: var(--white); font-weight: 500; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 5rem; align-items: start; } .contact-side { margin-top: 5.5rem; } }

/* Footer (centrado, en filas) */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding: 0 0 2rem; }
.foot-inner { border-top: 1px solid rgba(182,138,45,.4); padding-top: clamp(4rem, 7vw, 6rem); display: flex; flex-direction: column; align-items: center; text-align: center; }
.foot-brand { display: grid; justify-items: center; gap: 1rem; }
.foot-logo { width: min(72vw, 340px); height: auto; }
.foot-slogan { color: var(--on-navy); font-size: var(--fs-lead); font-weight: 300; }
.foot-nav { margin-top: clamp(2.75rem, 5vw, 3.5rem); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-contact { margin-top: 1.75rem; font-style: normal; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 2rem; line-height: 1.5; }
.foot-countries { margin-top: 1.25rem; max-width: 46rem; line-height: 1.5; }
.foot-countries .foot-h { color: var(--white); font-weight: 500; margin-right: .35rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; transition: color 180ms ease; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot-bottom { width: 100%; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(244,241,234,.08); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem 1.5rem; font-size: .9rem; }
.foot-privacy { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 639px) {
  .foot-links { gap: 0 1.25rem; max-width: 22rem; }
  .foot-contact { flex-direction: column; gap: .35rem; }
  .foot-address { max-width: 16rem; }
  .site-footer { padding-bottom: 5.5rem; }
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--navy);
  box-shadow: 0 6px 20px rgba(14,31,58,.28);
  transform: translateY(20px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform 300ms var(--ease-out), opacity 250ms ease;
}
.wa-float.is-shown { transform: none; opacity: 1; pointer-events: auto; }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-float:active { transform: scale(.94); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .step.reveal::after { transform: scaleX(0); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0ms) + 200ms); }
.js .step.reveal.is-in::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; transition: opacity 200ms ease; }
  .js .step.reveal::after { transform: none; transition: none; }
  .hero-media img { transform: none; animation: none; }
  #routes .halo { display: none; }
  #routes .route, #routes .dot { animation: none !important; stroke-dashoffset: 0; opacity: 1; }
  .line-media img { transition: none; }
}

/* ---------- Página de privacidad ---------- */
.back-home { display: none; text-decoration: none; font-size: .975rem; color: inherit; min-height: 44px; align-items: center; }
.back-home:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (min-width: 640px) { .back-home { display: inline-flex; } }
.legal { padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)); padding-bottom: var(--section); }
.legal-text { max-width: 44rem; }
.legal-text h1 { font-size: var(--fs-h2); color: var(--navy); }
.legal-date { margin-top: 1rem; color: var(--ink-2); }
.legal-text p + p { margin-top: 1.4rem; }
.legal-text .legal-date + p { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.legal-text p { font-size: 1.125rem; line-height: 1.65; }
.legal-text a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }
