/* Fuentes alojadas en el sitio (subset latin de Google Fonts: cubre inglés y español) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/montserrat-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Kaushan Script"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/kaushan-script-latin.woff2) format("woff2"); }
:root {
  /* Colores de marca (DESING.MD) */
  --color-primary-dark: #0B3960;
  --color-primary-main: #146EBE;
  --color-primary-light: #2AA9E0;
  --color-footer-bg: #072742;
  --color-accent-yellow: #F4C430;
  --color-accent-teal: #38A89D;
  --bg-white: #FFFFFF;
  --bg-ice-blue: #EBF3F9;
  --border-card: #E2E8F0;
  --text-heading: #0B3960;
  --text-body: #4A5568;
  --text-light: #FFFFFF;
  --gradient-contact: linear-gradient(90deg, #072742 0%, #0B3960 45%, rgba(11, 57, 96, 0.15) 100%);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-script: "Kaushan Script", cursive;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 57, 96, .28);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; } /* Lenis 1.3 ya no pone .lenis-smooth; con smooth activo ScrollTrigger mide mal al recalcular */
body { margin: 0; background: var(--bg-white); color: var(--text-body); font: 400 1rem/1.65 var(--font-head); overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--text-heading); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-primary-dark); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Botones: al pasar el mouse un círculo crece desde el ícono y rellena el botón (como la referencia) */
.btn { --fill: var(--color-primary-dark); --fill-ink: #fff; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.5em 0 1.2em; border-radius: 999px; font: 700 1rem/1 var(--font-head); text-decoration: none; transition: color .35s, transform .2s; }
.btn::after { content: ""; position: absolute; z-index: -1; left: 1.8em; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--fill); transform: scale(0); transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .btn:hover { color: var(--fill-ink); } .btn:hover::after { transform: scale(60); } }
.btn:active { transform: scale(.97); }
.btn--main { background: var(--color-primary-main); color: var(--text-light); }
/* Enlace con flecha y subrayado que se dibuja */
.link { display: inline-flex; align-items: center; gap: .45em; font: 700 clamp(1.05rem, 1.45vw, 1.3rem)/1.2 var(--font-head); color: var(--color-primary-dark); text-decoration: none; }
.link__label { position: relative; padding-block: 3px; }
.link__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.link .ico { width: .9em; height: .9em; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .link:hover .link__label::after { transform: scaleX(1); } .link:hover .ico { transform: translateX(4px); } }
/* Texto mediano compartido (párrafos guía de cada sección) */
.lead { font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--color-primary-dark); }

/* Destello al final de cada título (sustituye el punto de la referencia) */
.spark { display: inline-block; width: .42em; height: .42em; margin-left: .12em; vertical-align: .55em; fill: var(--color-primary-light); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s; }
.nav.is-solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border-card); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav__logo img { height: 58px; width: auto; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--color-primary-dark); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-primary-light); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { min-height: 46px; font-size: .95rem; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; color: var(--color-primary-dark); cursor: pointer; }
.nav__toggle .ico { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .nav__bar { height: 64px; }
  .nav__logo img { height: 48px; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; background: #fff; padding: 8px var(--gutter) 20px; box-shadow: 0 18px 30px -18px rgba(11, 57, 96, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--border-card); }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav.is-open { background: #fff; }
}

/* ---------- Intro con el video del logo ---------- */
/* El video ya viene con el fondo blanqueado (flat-field) para fundirse con la página; la máscara solo suaviza bordes por si algún navegador convierte el color distinto */
.intro { position: relative; z-index: 2; min-height: 100svh; display: grid; place-items: center; background: var(--bg-white); overflow-x: clip; padding: 76px 0 40px; }
.intro__inner { position: relative; display: grid; justify-items: center; width: 100%; }
.intro__media { width: min(1080px, 94vw, (100svh - 300px) * 1.778); aspect-ratio: 16 / 9; }
.intro__video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 90%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 90%); }
.intro__text { position: relative; margin-top: clamp(-90px, -7vw, -40px); text-align: center; padding-inline: var(--gutter); max-width: 760px; }
.intro__script { font: 400 clamp(1.5rem, 3.2vw, 2.2rem)/1.2 var(--font-script); color: var(--color-primary-main); }
.intro h1 { font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 700; margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }
.intro__lead { margin-top: 10px; font-size: clamp(.95rem, 1.4vw, 1.05rem); }
.intro__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-content: center; margin-top: 22px; }
.intro__cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(11, 57, 96, .35); border-radius: 14px; }
.intro__cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--color-primary-main); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
/* El texto espera a que el logo termine de dibujarse (solo con JS; sin JS se ve todo de una vez) */
/* Columnas de fotos a los lados: encima del video (su fondo es blanco) y se apagan cuando el logo viaja al header */
.intro__rails { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.intro__rail { display: none; }
@media (min-width: 1000px) {
  .intro__rail { display: block; position: absolute; top: 76px; bottom: 0; width: clamp(130px, 13vw, 250px); overflow: hidden; pointer-events: none; -webkit-mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
  .intro__rail--l { left: var(--gutter); }
  .intro__rail--r { right: var(--gutter); }
  .intro__rail-track { display: grid; gap: 16px; padding-bottom: 16px; animation: rail 48s linear infinite; }
  .intro__rail--r .intro__rail-track { animation-direction: reverse; animation-duration: 56s; }
  .intro__rail img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 34px -20px rgba(11, 57, 96, .5); }
  .js .intro__rail { opacity: 0; translate: 0 40px; transition: opacity 1.2s ease .2s, translate 1.4s cubic-bezier(.2, .8, .2, 1) .2s; }
  .js .intro.is-ready .intro__rail { opacity: 1; translate: none; }
}
@keyframes rail { to { transform: translateY(-50%); } }
.js .intro__text > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .intro.is-ready .intro__text > * { opacity: 1; transform: none; }
.js .intro.is-ready .intro__text > :nth-child(2) { transition-delay: .12s; }
.js .intro.is-ready .intro__text > :nth-child(3) { transition-delay: .24s; }
.js .intro.is-ready .intro__text > :nth-child(4) { transition-delay: .36s; }
@media (max-width: 700px) {
  .intro { padding-top: 64px; }
  .intro__media { width: 140vw; margin-inline: -20vw; }
  .intro__text { margin-top: -9vw; }
  .intro__cue { display: none; }
}

/* ---------- Frase principal ---------- */
.statement { padding: clamp(48px, 9vh, 110px) 0 clamp(70px, 12vh, 140px); }
.eyebrow { font: 700 .8rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--color-primary-main); }
.statement__title { font-size: clamp(3rem, 10.4vw, 10rem); font-weight: 800; line-height: .9; letter-spacing: -.055em; margin-top: 22px; }
.statement__line { display: block; }
.statement__line--script { font: 400 1.05em/1.05 var(--font-script); color: var(--color-primary-main); letter-spacing: 0; }
.statement__body { display: grid; gap: 40px; margin-top: clamp(40px, 8vh, 90px); }
.statement__lead { max-width: 38rem; font-size: clamp(1.2rem, 2.3vw, 2rem); line-height: 1.22; letter-spacing: -.025em; }
.statement__index { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .statement__body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

/* Títulos grandes de sección y cabecera título + párrafo lado a lado (como "Never a one-off") */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 48px; margin-bottom: clamp(36px, 7vh, 80px); }
.section-head .lead { max-width: 27rem; }
.h-big { font-size: clamp(3rem, 8.6vw, 8.6rem); font-weight: 800; line-height: .9; letter-spacing: -.055em; }

/* ---------- ¿Cansado de este desastre? (túnel 3D de fotos) ---------- */
.mess { position: relative; background: var(--color-footer-bg); color: #cfe3f3; }
.mess__stage { position: relative; padding: clamp(80px, 12vh, 140px) var(--gutter); overflow: clip; }
.mess__copy { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 22px; }
.mess__title { display: grid; color: #fff; font-size: clamp(1.9rem, 7.4vw, 7.4rem); font-weight: 800; line-height: .92; letter-spacing: -.05em; }
.mess__q, .mess__a { grid-area: 1 / 1; display: block; }
.mess__a { font-size: max(1em, 3rem); color: var(--color-primary-light); margin-top: .9em; }
.mess__a em { font-style: normal; color: var(--color-primary-main); }
.mess__more { display: grid; justify-items: center; gap: 8px; margin-top: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary-main); text-decoration: none; }
.mess__more .ico { width: 46px; height: 46px; padding: 12px; border-radius: 50%; border: 2px solid currentColor; rotate: 90deg; stroke-width: 2.2; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(7px); } }
@media (hover: hover) { .mess__more:hover .ico { background: var(--color-primary-main); color: #fff; } }
.mess.is-tunnel .mess__more { opacity: 0; }
.mess__cards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mess__card { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #0d3150; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); outline: 1px solid rgba(255, 255, 255, .14); }
.mess__card img { width: 100%; height: 100%; object-fit: cover; }
.mess__fx { display: none; }
/* Con JS: escena fija mientras las fotos vuelan desde el fondo hacia la cámara */
.mess.is-tunnel { height: 380svh; }
.mess.is-tunnel .mess__stage { position: sticky; top: 0; height: 100svh; padding: 0; display: grid; place-items: center; perspective: 1200px; }
.mess.is-tunnel .mess__copy { padding-inline: var(--gutter); }
.mess.is-tunnel .mess__title { margin-top: 0; }
.mess.is-tunnel .mess__stage { background: var(--color-footer-bg); }
.mess.is-tunnel .mess__a { margin-top: 0; opacity: 0; color: var(--color-primary-dark); }
.mess.is-tunnel .mess__copy .btn { opacity: 0; }
@media (max-width: 767px) {
  .mess.is-tunnel { height: 300svh; }
  .mess.is-tunnel .mess__stage { perspective: 900px; }
  .mess__title { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: .95; }
  .mess__a { font-size: max(1em, 3.5rem); }
}
.mess.is-tunnel .mess__cards { position: absolute; inset: 0; margin: 0; display: block; transform-style: preserve-3d; pointer-events: none; }
.mess.is-tunnel .mess__card { position: absolute; left: 50%; top: 50%; width: var(--card, 240px); opacity: 0; will-change: transform, opacity; }
.mess.is-tunnel .mess__fx { display: block; position: absolute; inset: 0; pointer-events: none; }
.mess__fx::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(42, 169, 224, .22) 1px, transparent 1px) 0 0 / 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 55%, transparent 100%); }
.mess__fx::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(42, 169, 224, .22), transparent 65%); }
.mess__clean { display: none; }
.mess.is-tunnel .mess__clean { display: block; position: absolute; inset: 0; z-index: 1; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.mess__shot { position: absolute; left: var(--x); top: var(--y); width: calc(clamp(96px, min(14.5vw, 20svh), 250px) * var(--s, 1)); aspect-ratio: 4 / 5; translate: -50% -50%; rotate: var(--r); border-radius: 20px; overflow: hidden; opacity: 0; box-shadow: 0 30px 50px -22px rgba(11, 57, 96, .45); }
.mess__shot img { width: 100%; height: 100%; object-fit: cover; }
/* Collage alrededor de "Déjanoslo a nosotros": 4 por lado y 2 arriba/abajo del centro */
.mess__shot:nth-child(1)  { --x: 8%;  --y: 25%; --r: -6deg; }
.mess__shot:nth-child(2)  { --x: 21%; --y: 44%; --r: 4deg;  --s: .85; }
.mess__shot:nth-child(3)  { --x: 7%;  --y: 64%; --r: 3deg;  --s: 1.1; }
.mess__shot:nth-child(4)  { --x: 22%; --y: 75%; --r: -5deg; --s: .9; }
.mess__shot:nth-child(5)  { --x: 92%; --y: 26%; --r: 5deg;  --s: 1.05; }
.mess__shot:nth-child(6)  { --x: 79%; --y: 45%; --r: -4deg; --s: .85; }
.mess__shot:nth-child(7)  { --x: 93%; --y: 66%; --r: -3deg; }
.mess__shot:nth-child(8)  { --x: 78%; --y: 76%; --r: 6deg;  --s: .9; }
.mess__shot:nth-child(9)  { --x: 35%; --y: 20%; --r: 3deg;  --s: .75; }
.mess__shot:nth-child(10) { --x: 65%; --y: 20%; --r: -4deg; --s: .75; }
@media (max-width: 767px) {
  .mess__shot { width: calc(clamp(84px, 25vw, 130px) * var(--s, 1)); }
  .mess__shot:nth-child(1)  { --x: 16%; --y: 21%; }
  .mess__shot:nth-child(5)  { --x: 50%; --y: 18%; }
  .mess__shot:nth-child(9)  { --x: 84%; --y: 22%; }
  .mess__shot:nth-child(4)  { --x: 17%; --y: 80%; }
  .mess__shot:nth-child(8)  { --x: 50%; --y: 83%; }
  .mess__shot:nth-child(7)  { --x: 83%; --y: 79%; }
  .mess__shot:nth-child(2), .mess__shot:nth-child(3), .mess__shot:nth-child(6), .mess__shot:nth-child(10) { display: none; }
}
.mess__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; }
.mess__ring--1 { width: 48vmin; height: 48vmin; border: 1px solid rgba(42, 169, 224, .25); }
.mess__ring--2 { width: 78vmin; height: 78vmin; border: 1px dashed rgba(255, 255, 255, .14); }

/* ---------- Servicios: tarjetas que se apilan con el scroll (scene "capabilities" de la referencia) ---------- */
.services { padding: clamp(60px, 10vh, 130px) 0; background: var(--bg-ice-blue); }
.deck { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.service { position: relative; display: grid; gap: 24px; padding: clamp(18px, 2.4vw, 34px); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 -18px 50px -20px rgba(11, 57, 96, .35); }
.service__text { display: flex; flex-direction: column; gap: 16px; }
.service__num { font: 700 .9rem/1 var(--font-head); letter-spacing: .08em; color: var(--color-primary-main); }
.service h3 { font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; }
.service p { max-width: 30rem; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.4; color: var(--text-body); }
.service__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 8px 0 0; list-style: none; }
.service__tags li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid rgba(11, 57, 96, .22); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--color-primary-dark); white-space: nowrap; }
.service__media { overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 3; background: var(--bg-ice-blue); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
/* Servicios sin foto todavía: ícono grande sobre degradado de marca */
.service__media--ico { display: grid; place-items: center; background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-main) 70%, var(--color-primary-light)); }
.service__media--ico .ico { width: clamp(90px, 14vw, 180px); height: auto; aspect-ratio: 1; stroke-width: 1; color: #fff; }
.service__shade { position: absolute; inset: 0; background: var(--color-primary-dark); opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3vw, 48px); height: min(62svh, 560px); min-height: 400px; }
  .service__media { aspect-ratio: auto; height: 100%; }
}
/* Con JS: cada tarjeta queda fija y la siguiente la tapa; la de abajo se achica y oscurece */
.deck.is-deck .service { position: sticky; top: calc(96px + var(--i) * 14px); transform-origin: 50% 0; }
.svc__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(32px, 5vh, 56px); }
.svc__more p { font: 400 clamp(1.8rem, 3.6vw, 3rem)/1.1 var(--font-script); color: var(--color-primary-main); }

/* ---------- Nuestro trabajo: rueda de fotos que gira con el scroll (scene "again" de la referencia) ---------- */
.wheel { position: relative; background: var(--color-footer-bg); color: #cfe3f3; }
.wheel__stage { position: relative; padding: clamp(70px, 11vh, 140px) 0 clamp(90px, 14vh, 180px); }
.wheel .h-big { color: #fff; }
.wheel .lead { color: #a9c6de; }
.wheel__swing { margin-top: clamp(40px, 7vh, 72px); padding-inline: var(--gutter); }
.wheel__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.photo { position: relative; display: block; overflow: hidden; border-radius: 28px; background: #0d3150; aspect-ratio: 4 / 5; margin: 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(7, 39, 66, .85), transparent); }
.photo figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: grid; justify-items: start; gap: 8px; color: #fff; font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.photo small { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(7, 39, 66, .5); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
/* Última tarjeta de la rueda: lleva a la galería */
.photo--more { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; text-decoration: none; color: #fff; background: linear-gradient(160deg, var(--color-primary-main), var(--color-primary-dark) 75%); }
.photo--more::after { content: none; }
.photo--more__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo--more__thumbs img { position: static; aspect-ratio: 1; border-radius: 16px; }
.photo--more__thumbs img:first-child { filter: saturate(.6) brightness(.85); }
.photo--more__text { display: grid; justify-items: start; gap: 10px; padding-right: 60px; font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.photo--more small { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.photo--more__go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-accent-yellow); color: var(--color-primary-dark); transition: transform .4s cubic-bezier(.7, 0, .2, 1); }
.photo--more__go .ico { width: 22px; height: 22px; stroke-width: 2.2; }
@media (hover: hover) { .photo--more:hover .photo--more__go { transform: scale(1.12) rotate(-45deg); } }
@media (min-width: 640px) { .wheel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .wheel__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wheel.is-wheel { height: calc(100svh + var(--spin, 0px)); }
.wheel.is-wheel .wheel__stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: clip; padding-top: clamp(84px, 13svh, 120px); }
.wheel.is-wheel .wheel__swing { position: absolute; left: 50%; top: calc(var(--arc-top) + var(--radius)); width: 0; height: 0; margin: 0; padding: 0; }
.wheel.is-wheel .wheel__list { position: absolute; left: 0; top: 0; display: block; width: 0; height: 0; }
.wheel.is-wheel .wheel__item { position: absolute; left: 0; top: 0; width: 0; height: 0; rotate: calc(var(--i) * var(--step)); }
.wheel.is-wheel .photo { position: absolute; left: calc(var(--card) / -2); top: calc(var(--radius) * -1); width: var(--card); }

/* ---------- Zona de servicio: ciudades en letra grande ---------- */
.area { padding: clamp(60px, 10vh, 120px) 0; }
.area__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
.area__head { display: grid; gap: 20px; justify-items: start; }
.area__title { font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 800; line-height: .9; letter-spacing: -.055em; }
.nowrap { white-space: nowrap; }
.area__hours { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--bg-ice-blue); font-weight: 700; color: var(--color-primary-dark); }
.area__hours .ico { color: var(--color-primary-main); }
.area__list { list-style: none; margin: 0; padding: 0; display: grid; }
.area__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: clamp(12px, 1.8vh, 20px) 0; border-bottom: 1px solid rgba(11, 57, 96, .14); font-size: clamp(1.25rem, 3vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; color: var(--color-primary-dark); transition: color .3s, padding .4s cubic-bezier(.7, 0, .2, 1); }
.area__list li:first-child { border-top: 1px solid rgba(11, 57, 96, .14); }
.area__list small { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--color-primary-light); }
@media (hover: hover) { .area__list li:hover { color: var(--color-primary-main); padding-left: 10px; } }
@media (min-width: 900px) { .area__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .area__head { position: sticky; top: 110px; } }

/* ---------- Sobre nosotros + valores ---------- */
.about { padding: clamp(70px, 12vh, 140px) 0; background: var(--bg-ice-blue); }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about__title { margin-bottom: 28px; font-size: clamp(3rem, 6.2vw, 6.4rem); }
.about__text p:not(.about__script) { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--color-primary-dark); }
.about__text p + p { margin-top: 14px; }
.about__text .about__script { font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.2 var(--font-script); color: var(--color-primary-main); margin-top: 20px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value { background: #fff; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 12px; box-shadow: 0 1px 0 var(--border-card); }
.value .ico { width: 34px; height: 34px; color: var(--color-primary-main); }
.value strong { color: var(--color-primary-dark); font-weight: 700; line-height: 1.35; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .values { grid-template-columns: 1fr; } }

/* ---------- Nuestro equipo: texto + dos fotos en escalón ---------- */
.team { padding: clamp(70px, 12vh, 140px) 0 0; }
.team__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.team__title { margin-bottom: 24px; font-size: clamp(3rem, 6.2vw, 6.4rem); }
.team__text p:not(.lead) { margin-top: 14px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.45; }
.team__photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); padding-bottom: clamp(30px, 6vw, 70px); }
.team__photos .photo { box-shadow: var(--shadow); }
.team__photos .photo::after { content: none; }
.team__photos .photo:nth-child(2) { translate: 0 clamp(30px, 6vw, 70px); }
@media (max-width: 860px) { .team__grid { grid-template-columns: 1fr; } }

/* ---------- Preguntas frecuentes (<details> nativo: el texto está en el HTML aunque esté cerrado, Google y las IA lo leen) ---------- */
.faq { padding: clamp(60px, 10vh, 120px) 0; }
.faq__list { border-top: 1px solid rgba(11, 57, 96, .14); }
.faq details { border-bottom: 1px solid rgba(11, 57, 96, .14); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(16px, 2.4vh, 24px) 0; cursor: pointer; list-style: none; font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--color-primary-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5em; font-weight: 400; line-height: 1; color: var(--color-primary-main); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
@media (hover: hover) { .faq summary:hover { color: var(--color-primary-main); } }
.faq details p { max-width: 46rem; padding: 0 0 24px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.5; }

/* ---------- Contacto ---------- */
.contact { position: relative; overflow: hidden; padding: 0 0 clamp(80px, 12vh, 150px); color: #d6e6f3; background: radial-gradient(120% 90% at 85% 10%, #146EBE 0%, transparent 55%), linear-gradient(160deg, #0B3960 0%, #072742 70%); }
/* Franja de servicios que corre de lado */
.contact__band { position: relative; z-index: 1; margin-bottom: clamp(56px, 9vh, 110px); padding: 16px 0; background: var(--color-accent-yellow); color: var(--color-primary-dark); rotate: -1.5deg; scale: 1.04; overflow: hidden; }
.contact__band-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: band 38s linear infinite; font: 800 clamp(1.1rem, 2vw, 1.7rem)/1 var(--font-head); letter-spacing: -.02em; white-space: nowrap; }
.contact__band .spark { margin: 0; vertical-align: 0; width: .8em; height: .8em; fill: var(--color-primary-main); }
@keyframes band { to { transform: translateX(-50%); } }
/* Burbujas */
.contact__bubbles { position: absolute; inset: 0; pointer-events: none; }
.contact__bubbles i { position: absolute; left: var(--x); bottom: -80px; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 38%, rgba(42, 169, 224, .14) 70%, rgba(255, 255, 255, .35) 100%); box-shadow: inset 0 0 6px rgba(255, 255, 255, .25); animation: bubble var(--d) linear var(--w) infinite; opacity: 0; }
@keyframes bubble { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(18px, -55vh); } 90% { opacity: .7; } 100% { transform: translate(-12px, -110vh); opacity: 0; } }
.contact__grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact__main { display: grid; justify-items: start; gap: clamp(16px, 2.4vh, 26px); }
.contact h2 { color: #fff; font-size: clamp(2.8rem, 6.6vw, 6.6rem); font-weight: 800; line-height: .92; letter-spacing: -.055em; }
.contact h2 em { font: 400 1.08em/1 var(--font-script); letter-spacing: 0; color: var(--color-accent-yellow); }
.contact__phone { position: relative; display: inline-flex; align-items: center; gap: .25em; font-size: clamp(2.4rem, 6vw, 5.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--color-primary-light); text-decoration: none; }
.contact__phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; border-radius: 4px; background: var(--color-accent-yellow); transform: scaleX(.18); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
.contact__phone .ico { width: .55em; height: .55em; stroke-width: 2.4; rotate: -45deg; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .contact__phone:hover { color: #fff; } .contact__phone:hover::after { transform: scaleX(1); } .contact__phone:hover .ico { transform: translate(6px, 0); } }
.contact__lead { max-width: 33rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: #a9c6de; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__call { --fill: #fff; --fill-ink: var(--color-primary-dark); background: var(--color-accent-yellow); color: var(--color-primary-dark); }
.contact__ghost { --fill: #fff; --fill-ink: var(--color-primary-dark); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); word-break: break-all; }
/* Foto del lugar como postal */
.postcard { margin: 0; justify-self: center; width: min(100%, 560px); padding: 12px 12px 22px; background: #fff; border-radius: 22px; color: var(--color-primary-dark); rotate: 2.5deg; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); transition: rotate .6s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .postcard:hover { rotate: 0deg; } }
.postcard__photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1200 / 704; background: #cfe0ec; }
.postcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.postcard__pin { position: absolute; left: 40%; top: 43%; display: grid; place-items: center; width: 46px; height: 46px; translate: -50% -100%; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--color-primary-main); box-shadow: 0 10px 20px -6px rgba(7, 39, 66, .6); animation: pin 2.4s cubic-bezier(.5, 0, .5, 1) infinite; }
.postcard__pin .ico { rotate: 45deg; width: 22px; height: 22px; color: #fff; }
.postcard__pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 2px solid var(--color-primary-main); animation: ring 2.4s ease-out infinite; }
@keyframes pin { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -6px); } }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.postcard__credit { position: absolute; right: 8px; bottom: 6px; font-size: .62rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.postcard figcaption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding: 16px 10px 0; }
.postcard__hi { grid-column: 1 / -1; font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--font-script); color: var(--color-primary-main); }
.postcard address { font-style: normal; font-weight: 700; line-height: 1.35; }
.postcard .link { font-size: 1rem; }
@media (max-width: 520px) { .postcard figcaption { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--color-footer-bg); color: #a9c6de; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 30px 60px; justify-content: space-between; align-items: center; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo img { height: 92px; width: auto; }
.footer__nap { display: grid; gap: 6px; font-style: normal; }
.footer__nap a { text-decoration: none; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.footer__nav a { text-decoration: none; color: #fff; font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: .85rem; }
.footer__bottom a { color: #fff; text-decoration: none; }
.footer__motto { font-family: var(--font-script); font-size: 1.15rem; color: #fff; }

/* Botón de llamada fijo en celular */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: flex; position: fixed; z-index: 40; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 60px; height: 60px; border-radius: 50%; align-items: center; justify-content: center; background: var(--color-accent-teal); color: #fff; box-shadow: 0 12px 26px -8px rgba(7, 39, 66, .6); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
  .callbar.is-visible { transform: scale(1); }
  .callbar .ico { width: 28px; height: 28px; }
}

/* Movimiento reducido: todo se lee sin animaciones */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .intro__text > * { opacity: 1; transform: none; }
  .js .intro__rail { opacity: 1; translate: none; }
}
