/* =========================================================
   C.F.C.P Marchica — estilos
   Colores del logo: ámbar (sol), gris (carretera) y verde (laguna)
   sobre papel cálido y tinta verde muy oscura.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0E1A1C;
  --ink-2: #12242A;
  --ink-3: #1B3036;
  --paper: #F6F2EA;
  --paper-2: #EDE6D9;
  --white: #FFFDF9;
  --sun: #E7963F;
  --sun-2: #C9761F;
  --sun-soft: #F3C38C;
  --road: #7A7A7A;
  --lagoon: #348F82;
  --lagoon-2: #1F6E63;
  --lagoon-soft: #DCEFEA;
  --text: #0E1A1C;
  --text-2: #4A5658;
  --cream: #F3EEE4;
  --cream-2: rgba(243, 238, 228, .74);
  --line: rgba(14, 26, 28, .14);
  --line-light: rgba(243, 238, 228, .16);
  --ko: #B93D12;

  --serif: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --arabic-serif: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --max: 1320px;
  --sec: clamp(5rem, 11vw, 9.5rem);
  --hdr: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr);
  overflow-x: clip;
}
body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.menu-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 3px; }
[lang="ar"] { font-family: var(--arabic-serif); }

[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: -100px; inset-inline-start: 1rem; z-index: 300;
  padding: .7rem 1.1rem; background: var(--sun); color: var(--ink); font-weight: 700; border-radius: 6px;
}
.skip:focus { top: 1rem; }
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.ico--arrow { transition: transform .45s var(--ease-out); }
.ico--back { transform: scaleX(-1); }
[dir="rtl"] .ico--arrow { transform: scaleX(-1); }
[dir="rtl"] .ico--back { transform: none; }

/* ---------- 3. Tipografía ---------- */
.kicker {
  display: flex; align-items: center; gap: .9rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--lagoon-2);
  margin-bottom: 1.5rem;
}
.kicker > span:first-child {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0; color: var(--sun-2);
}
.kicker > span:first-child::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .6; }
.kicker--light { color: var(--sun-soft); }
.kicker--light > span:first-child { color: var(--sun); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.015em;
  font-weight: 500;
}
.h2 em { color: var(--lagoon-2); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--text-2); max-width: 38rem; }

/* ---------- 4. Botones y enlaces ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream); --hv: var(--lagoon); --hfg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--hv); border-radius: inherit;
  transform: translateY(102%);
  transition: transform .55s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover { color: var(--hfg); border-color: var(--hv); }
  .btn:hover::before { transform: none; }
  .btn:hover .ico--arrow { transform: translateX(4px); }
  [dir="rtl"] .btn:hover .ico--arrow { transform: scaleX(-1) translateX(4px); }
}
.btn:active { transform: scale(.98); }
.btn--sun { --bg: var(--sun); --fg: var(--ink); --hv: var(--ink); --hfg: var(--cream); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); --hv: var(--lagoon); --hfg: #fff; }
.btn--line { --bg: transparent; --fg: var(--ink); --hv: var(--ink); --hfg: var(--cream); border-color: var(--ink); }
.btn--sm { min-height: 2.65rem; padding: .55rem 1.15rem; font-size: .68rem; }

.u-link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.u-link:hover { background-size: 0 1px; background-position: 100% 100%; }

.round {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out);
}
.round .ico { width: 20px; height: 20px; }
@media (hover: hover) { .round:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); } }
.round:active { transform: scale(.94); }

.status { display: inline-flex; align-items: center; gap: .55rem; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--road); flex: none; }
.status.is-open i { background: #4FC6AE; box-shadow: 0 0 0 0 rgba(79, 198, 174, .6); animation: pulse 2.4s var(--ease-out) infinite; }
.status.is-closed i { background: var(--sun); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 198, 174, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(79, 198, 174, 0); } }

/* ---------- 5. Entrada (splash) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-io), visibility 0s linear 1.1s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }
html:not(.js) .splash { display: none; }
.splash__inner { text-align: center; }
.splash__logo {
  width: clamp(104px, 15vw, 150px); height: auto; margin-inline: auto;
  border-radius: 50%; background: #fff; padding: 8px;
  animation: splashDisc .9s var(--ease-out) both;
}
.splash__logo path { animation: .95s var(--ease-out) both; }
.splash__logo .p-sun { animation-name: pSun; animation-delay: .25s; }
.splash__logo .p-road { animation-name: pRoad; animation-delay: .4s; }
.splash__logo .p-lagoon { animation-name: pLagoon; animation-delay: .55s; }
@keyframes splashDisc { from { transform: scale(.6); opacity: 0; } }
@keyframes pSun { from { transform: translateY(70px); } }
@keyframes pRoad { from { transform: translateX(-120px); } }
@keyframes pLagoon { from { transform: translate(90px, 60px); } }
.splash__word {
  margin-top: 1.4rem;
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: .05em;
  animation: fadeUp .9s .85s var(--ease-out) both;
}
.splash__word b { font-weight: 600; color: var(--sun); }
.splash__sub {
  margin-top: .3rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-2);
  animation: fadeUp .9s 1.05s var(--ease-out) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 6. Cabecera ---------- */
.hdr {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  color: var(--cream);
  transition: transform .6s var(--ease-out), background-color .45s, color .45s, box-shadow .45s;
}
.hdr::before {
  content: ""; position: absolute; inset: 0 0 -50px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 13, 16, .55), rgba(5, 13, 16, 0));
  transition: opacity .45s;
}
.hdr.is-solid {
  background-color: rgba(246, 242, 234, .9);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
@supports (backdrop-filter: blur(10px)) {
  .hdr.is-solid { background-color: rgba(246, 242, 234, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
}
.hdr.is-solid::before { opacity: 0; }
.hdr.is-hidden { transform: translateY(-101%); }
html:not(.js-ok) .hdr { position: absolute; }
.hdr__bar {
  height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad);
}
.hdr__menu {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .85rem; min-height: 44px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.burger { position: relative; display: block; width: 26px; height: 11px; }
.burger i { position: absolute; inset-inline-start: 0; height: 1.5px; width: 100%; background: currentColor; transition: width .45s var(--ease-out); }
.burger i:first-child { top: 0; }
.burger i:last-child { bottom: 0; width: 62%; }
.hdr__menu:hover .burger i:last-child { width: 100%; }
.hdr__brand { justify-self: center; display: inline-flex; align-items: center; gap: .7rem; }
.hdr__emblem { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 3px; flex: none; transition: transform .8s var(--ease-out); }
.hdr__brand:hover .hdr__emblem { transform: rotate(-12deg); }
.hdr__word { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .04em; white-space: nowrap; line-height: 1; }
.hdr__word b { font-weight: 600; }
.hdr__end { justify-self: end; display: flex; align-items: center; gap: .6rem; }
.lang {
  display: grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 .4rem; border-radius: 999px;
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  transition: background .3s, color .3s, border-color .3s;
}
.lang:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.hdr__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr__progress span { display: block; height: 100%; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .hdr__progress span { transform-origin: 100% 50%; }

/* ---------- 7. Menú ---------- */
.menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink); color: var(--cream);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .85s var(--ease-io), visibility 0s linear .85s;
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .85s var(--ease-io), visibility 0s; }
.menu__inner {
  height: 100%; overflow: auto;
  display: grid; align-content: center; gap: 3rem;
  max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto;
  padding: calc(var(--hdr) + 1rem) var(--pad) 2.5rem;
}
.menu__nav { display: grid; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1.2rem;
  font-family: var(--serif); font-size: clamp(2.1rem, 5.4vw, 4.2rem); line-height: 1.12; font-weight: 500;
  color: var(--cream-2);
  opacity: 0; transform: translateY(24px);
  transition: color .35s, opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: 0s, calc(var(--i, 0) * 45ms + .3s), calc(var(--i, 0) * 45ms + .3s); }
@media (hover: hover) {
  .menu.is-open .menu__nav a:hover { color: var(--cream); transform: translateX(12px); transition-delay: 0s; }
  [dir="rtl"] .menu.is-open .menu__nav a:hover { transform: translateX(-12px); }
}
.menu__num { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--sun); }
.menu__side { display: none; }
.menu__fig { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.menu__fig img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.4s var(--ease-out); }
.menu__fig img.is-swap { opacity: 0; transform: scale(1.06); }
.menu__info { margin-top: 1.6rem; display: grid; gap: .6rem; color: var(--cream-2); justify-items: start; }
.menu__info .btn { margin-top: .8rem; }
.menu__close {
  position: absolute; top: 14px; inset-inline-end: var(--pad);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-light); color: var(--cream);
  transition: transform .5s var(--ease-out), background .3s;
}
.menu__close span::before, .menu__close span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__close:hover { transform: rotate(90deg); background: rgba(243, 238, 228, .08); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto auto;
  color: var(--cream);
  background: #0a1b21;
}
.hero__media {
  position: absolute; inset: 0; z-index: -3; overflow: hidden;
  background: #0a1b21 url("assets/video/clip-bus.webp") center / cover no-repeat;
}
.hero { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 540px) { .hero .status { white-space: nowrap; } }
/* los planos se apilan y se funden; el activo se acerca muy despacio */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s cubic-bezier(.65, 0, .35, 1), transform 9s linear;
}
.hero__video.is-active { opacity: 1; transform: scale(1); }
.hero__video:nth-child(3) { object-position: 50% 70%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 13, 16, .5) 0%, rgba(5, 13, 16, .12) 26%, rgba(5, 13, 16, 0) 46%, rgba(5, 13, 16, .2) 66%, rgba(5, 13, 16, .86) 100%),
    radial-gradient(55% 38% at 50% 34%, rgba(5, 13, 16, .3), rgba(5, 13, 16, 0) 75%),
    radial-gradient(130% 80% at 50% 38%, rgba(5, 13, 16, 0) 45%, rgba(5, 13, 16, .4) 100%);
}
.grain {
  position: absolute; inset: -60%; z-index: -1; pointer-events: none;
  opacity: .13; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-4%, 3%); } 33% { transform: translate(3%, -4%); }
  50% { transform: translate(-3%, -2%); } 67% { transform: translate(4%, 4%); } 83% { transform: translate(-2%, 5%); } 100% { transform: translate(0, 0); }
}
.hero__content {
  align-self: start;
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding: calc(var(--hdr) + clamp(1.5rem, 9vh, 6.5rem)) var(--pad) clamp(1.5rem, 4vh, 3rem);
  text-align: center;
}
.hero__eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sun-soft); margin-bottom: clamp(1rem, 2.4vh, 1.8rem);
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.3rem, 10.5vw, 9.6rem); line-height: .9; letter-spacing: -.02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .25);
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { color: var(--sun); }
.hero__lead {
  max-width: 40rem; margin: clamp(1.1rem, 2.6vh, 1.8rem) auto 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(243, 238, 228, .92);
  text-shadow: 0 1px 18px rgba(5, 13, 16, .75), 0 0 3px rgba(5, 13, 16, .45);
}
.hero__eyebrow { text-shadow: 0 1px 14px rgba(5, 13, 16, .6); }
@media (min-width: 1100px) and (min-aspect-ratio: 13 / 10) {
  .hero__title { font-size: clamp(4.6rem, 7.3vw, 8.6rem); }
  .hero__title .ln { display: inline-block; vertical-align: top; }
}
.js-ok:not(.is-loaded) .hero__title .ln > span { transform: translateY(108%); }
.js-ok .hero__title .ln > span { transition: transform 1.4s var(--ease-out); }
.js-ok .hero__title .ln:nth-child(2) > span { transition-delay: .12s; }
.js-ok:not(.is-loaded) .reveal-hero { opacity: 0; transform: translateY(18px); }
.js-ok .reveal-hero { transition: opacity 1.2s var(--ease-out) .45s, transform 1.2s var(--ease-out) .45s; }
.js-ok .hero__lead.reveal-hero { transition-delay: .6s; }
.js-ok .booking.reveal-hero { transition-delay: .8s; }

/* barra de reserva */
.booking { width: min(100% - var(--pad) * 2, 1000px); margin-inline: auto; }
.booking__bar {
  display: grid; grid-template-columns: 1fr;
  background: rgba(246, 242, 234, .97); color: var(--ink);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.booking__field {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .85rem 1.4rem; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .3s;
}
.booking__field:hover, .booking__field:focus-within { background: rgba(14, 26, 28, .04); }
.booking__label { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lagoon-2); }
.booking select, .booking input {
  width: 100%; border: 0; background: transparent; outline: none;
  font-size: 1rem; font-weight: 600; padding: .15rem 0; appearance: none; -webkit-appearance: none; border-radius: 0;
}
.booking input::placeholder { color: rgba(14, 26, 28, .45); font-weight: 500; }
.select { position: relative; display: block; }
.select select { padding-inline-end: 1.6rem; cursor: pointer; }
.select::after {
  content: ""; position: absolute; inset-inline-end: .2rem; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); pointer-events: none; opacity: .7;
}
.booking__go { margin: .6rem; border-radius: 16px; }
.booking__note {
  display: flex; align-items: center; justify-content: center; gap: .45rem; flex-wrap: wrap;
  margin-top: .8rem; font-size: .78rem; color: rgba(243, 238, 228, .8);
}
.booking__note .ico { color: #5ee08f; }

.hero__foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem;
  padding: clamp(1rem, 3vh, 2rem) var(--pad) 1.3rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(243, 238, 228, .82);
}
.hero__place { display: inline-flex; align-items: center; gap: .5rem; }
.hero__tools { grid-column: -2; justify-self: end; display: flex; align-items: center; gap: 1.4rem; }
/* indicador de planos: cada barra se llena mientras dura su plano y lleva a él al pulsarla */
.hero__clips { display: flex; gap: 6px; }
.hero__clips button { position: relative; width: 34px; height: 22px; }
.hero__clips button::before, .hero__clips button::after {
  content: ""; position: absolute; inset-inline: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
}
.hero__clips button::before { background: rgba(243, 238, 228, .28); transition: background .2s ease; }
.hero__clips button::after { background: var(--sun); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
[dir="rtl"] .hero__clips button::after { transform-origin: 100% 50%; }
@media (hover: hover) and (pointer: fine) { .hero__clips button:hover::before { background: rgba(243, 238, 228, .6); } }

/* ---------- 9. Secciones comunes ---------- */
.sec { position: relative; padding-block: var(--sec); }
.head { margin-bottom: clamp(2.6rem, 6vw, 5rem); }
.head .lead { margin-top: 1.4rem; }
.head--center { text-align: center; }
.head--center .kicker { justify-content: center; }
.head--center .lead { margin-inline: auto; }
.head--split { display: grid; gap: 1.4rem; align-items: end; }

.js-ok .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js-ok .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- 10. 01 · Le centre ---------- */
.intro__grid { display: grid; gap: 3.5rem; align-items: center; }
.intro__words {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.95rem, 3.7vw, 3.4rem); line-height: 1.16; letter-spacing: -.01em;
}
.intro__words .w { opacity: .17; transition: opacity .45s ease; }
.intro__words .w.on { opacity: 1; }
.intro__emblem { --k: 0; width: min(100%, 360px); margin-inline: auto; }
.intro__emblem svg { width: 100%; height: auto; border-radius: 50%; background: var(--white); box-shadow: 0 40px 80px -40px rgba(14, 26, 28, .35); padding: 6%; }
.js-ok .intro__emblem { --k: 1; }
.intro__emblem path { transition: transform .1s linear; }
.a-sun { transform: translateY(calc(var(--k) * -110px)); }
.a-road { transform: translateX(calc(var(--k) * -150px)); }
.a-lagoon { transform: translate(calc(var(--k) * 120px), calc(var(--k) * 90px)); }
.intro__legend { display: grid; gap: .5rem; margin-top: 1.8rem; justify-content: center; font-size: .9rem; color: var(--text-2); }
.intro__legend li { display: flex; align-items: center; gap: .7rem; opacity: calc(1 - var(--k) * 1.6); transform: translateY(calc(var(--k) * 10px)); }
.intro__legend li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--road); flex: none; }
.intro__legend .l-sun::before { background: var(--sun); }
.intro__legend .l-lagoon::before { background: var(--lagoon); }

/* tres razones con foto: composición asimétrica (una grande, dos apiladas) */
.facts { display: grid; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(4rem, 8vw, 7rem); }
.fact {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(22rem, 52vw, 26rem); padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 18px; color: var(--cream); background: var(--ink);
  box-shadow: 0 30px 60px -34px rgba(14, 26, 28, .55);
}
.fact__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.fact__img img { width: 100%; height: 118%; object-fit: cover; transform: translate3d(0, var(--py, -6%), 0) scale(1.04); transition: scale .9s cubic-bezier(.23, 1, .32, 1); }
.fact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 18, 21, .05) 30%, rgba(8, 18, 21, .82) 100%);
}
/* brillo que sigue al puntero (lo mueve initTilt) */
.fact::before, .card .card__shine {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 236, 205, .22), transparent 55%);
  transition: opacity .3s ease;
}
.fact__body { position: relative; z-index: 2; max-width: 30rem; }
.fact__mark {
  display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding-inline: .6rem;
  border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .8rem; font-weight: 700;
}
.fact h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 600; margin: .9rem 0 .4rem; }
.fact p { color: rgba(243, 238, 228, .86); font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .fact:hover::before, .card:hover .card__shine { opacity: 1; }
  .fact:hover .fact__img img { scale: 1.06; }
}

/* cifras */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: clamp(2.6rem, 5vw, 4rem); }
.stat { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.stat__n { font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__n sup { font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--sun-2); vertical-align: super; margin-inline-start: .08em; }
.stat dd { margin-top: .5rem; color: var(--text-2); font-size: .95rem; line-height: 1.4; }

/* ---------- 11. 02 · Formations ---------- */
.formations { background: var(--paper-2); }
.cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); gap: 1rem;
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: .5rem var(--pad) 2rem; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 30rem; padding: 1.6rem 1.6rem 1.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  scroll-snap-align: start;
  transition: color .6s var(--ease-out), border-color .6s, box-shadow .6s, opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .75s var(--ease-io);
}
.card::after {
  content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(231, 150, 63, .28), transparent 70%);
  opacity: 0; transition: opacity .8s;
}
.card__num { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.15rem; color: var(--sun-2); transition: color .5s; }
.veh {
  width: 100%; height: auto; margin: 2.2rem 0 1.8rem; overflow: visible;
  color: var(--ink); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: color .6s, transform 1s var(--ease-out);
}
.veh .glass { stroke-width: 1.5; }
.veh .ground { stroke: var(--road); stroke-width: 1.6; stroke-dasharray: 10 8; }
.veh .sign { fill: var(--sun); stroke: none; }
.veh .wheel { transform-box: fill-box; transform-origin: center; }
.js-ok .veh .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-io); }
.js-ok .veh .wheel, .js-ok .veh .sign { opacity: 0; transform: scale(.4); transition: opacity .6s, transform .9s var(--ease-out); }
.js-ok .card.is-in .veh .dr { stroke-dashoffset: 0; }
.js-ok .card.is-in .veh .dr:nth-of-type(2) { transition-delay: .15s; }
.js-ok .card.is-in .veh .dr:nth-of-type(3) { transition-delay: .3s; }
.js-ok .card.is-in .veh .dr:nth-of-type(4) { transition-delay: .45s; }
.js-ok .card.is-in .veh .dr:nth-of-type(5) { transition-delay: .6s; }
.js-ok .card.is-in .veh .wheel, .js-ok .card.is-in .veh .sign { opacity: 1; transform: none; transition-delay: .9s; }
.card h3 { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.card__sub { margin-top: .55rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lagoon-2); transition: color .5s; }
.card__txt { margin-top: 1rem; flex: 1; color: var(--text-2); font-size: .98rem; transition: color .5s; }
.card__go {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  transition: border-color .5s;
}
.card__go::after { content: ""; position: absolute; inset: 0; }
.card.is-picked { border-color: var(--sun); box-shadow: 0 0 0 2px var(--sun); }
@media (hover: hover) {
  .card:hover { color: var(--cream); border-color: var(--ink); }
  .card:hover::before { transform: scaleY(1); }
  .card:hover::after { opacity: 1; }
  .card:hover .card__num, .card:hover .veh { color: var(--sun); }
  .card:hover .card__sub { color: var(--sun-soft); }
  .card:hover .card__txt { color: var(--cream-2); }
  .card:hover .card__go { border-color: var(--line-light); }
  .card:hover .card__go .ico--arrow { transform: translateX(5px); }
  [dir="rtl"] .card:hover .card__go .ico--arrow { transform: scaleX(-1) translateX(5px); }
  .card:hover .veh { transform: translateX(10px); }
  .card:hover .veh .wheel { animation: spin .9s linear infinite; }
  .card:hover .veh .ground { animation: roadMove .5s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes roadMove { to { stroke-dashoffset: 18; } }

/* ---------- 12. 03 · Programme: acordeón + panel visual ---------- */
.prog { display: grid; gap: clamp(1.6rem, 4vw, 4.5rem); align-items: center; }
.prog__frame {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 11; border-radius: 22px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 40px 80px -40px rgba(14, 26, 28, .6);
}
.prog__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.7); transform: scale(1.06); transition: transform 6s linear; }
.prog__frame:hover .prog__photo { transform: scale(1.12); }
.prog__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 55% at 50% 52%, rgba(231, 150, 63, .28), transparent 70%),
    linear-gradient(180deg, rgba(14, 26, 28, .55), rgba(14, 26, 28, .88));
}
.prog__big {
  position: absolute; top: 1.2rem; inset-inline-start: 1.5rem;
  font-family: var(--serif); font-weight: 800; font-size: clamp(3.6rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--sun);
}
.prog__of { position: absolute; top: 1.6rem; inset-inline-end: 1.5rem; font-size: .85rem; font-weight: 600; color: var(--cream-2); }
.prog__icon {
  position: absolute; width: 36%; height: auto; aspect-ratio: 1;
  fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(.92) translateY(8px);
  transition: opacity .35s ease-out, transform .6s cubic-bezier(.23, 1, .32, 1);
}
.prog__icon.is-on { opacity: 1; transform: none; }
.prog__icon .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s cubic-bezier(.77, 0, .175, 1); }
.prog__icon.is-on .dr { stroke-dashoffset: 0; }
.prog__icon .acc { stroke: var(--sun); stroke-width: 3; }
.prog__icon .teeth { stroke-width: 9; opacity: 0; transition: opacity .6s .5s; transform-origin: 54px 56px; }
.prog__icon.is-on .teeth { opacity: 1; animation: spin 14s linear infinite; }
.prog__timer { position: absolute; inset-inline: 1.5rem; bottom: 1.3rem; height: 3px; border-radius: 3px; background: rgba(243, 238, 228, .16); overflow: hidden; }
.prog__timer i { display: block; height: 100%; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .prog__timer i { transform-origin: 100% 50%; }
.prog__timer i.is-run { transform: scaleX(1); transition: transform var(--prog-time, 6s) linear; }

.prog__list { border-top: 1px solid var(--line); }
.chap { border-bottom: 1px solid var(--line); }
.chap__head { font: inherit; }
.chap__btn {
  display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: .6rem;
  width: 100%; padding: 1.35rem 0; text-align: start;
  font-family: var(--serif); font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
  color: var(--text-2); transition: color .25s ease;
}
.chap__num { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--sun-2); }
.chap.is-active .chap__btn { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .chap__btn:hover { color: var(--ink); } }
.chap__plus { position: relative; width: 14px; height: 14px; }
.chap__plus::before, .chap__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.23, 1, .32, 1); }
.chap__plus::after { transform: rotate(90deg); }
.chap.is-active .chap__plus::after { transform: rotate(0deg); }
.chap.is-active .chap__plus { color: var(--sun-2); }
/* sin JS todos abiertos; con JS solo el activo (altura animada con grid 0fr → 1fr) */
.chap__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s cubic-bezier(.23, 1, .32, 1); }
.chap__body > div { overflow: hidden; }
.chap__body p { padding: 0 0 1.4rem 3.6rem; color: var(--text-2); max-width: 36rem; }
.js-ok .chap:not(.is-active) .chap__body { grid-template-rows: 0fr; }
.chap { position: relative; }
.chap::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.23, 1, .32, 1); }
[dir="rtl"] .chap::after { transform-origin: 100% 50%; }
.chap.is-active::after { transform: scaleX(1); }

/* ---------- 13. 04 · Parcours (firma) ---------- */
.route { background: var(--ink); color: var(--cream); overflow: clip; }
.route::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(52, 143, 130, .22), transparent 70%), radial-gradient(50% 30% at 50% 100%, rgba(231, 150, 63, .12), transparent 70%);
}
.route .kicker { color: var(--sun-soft); }
.route .kicker > span:first-child { color: var(--sun); }
.route .h2 em { color: var(--sun); }
.route__body { position: relative; padding-block: 1rem 2rem; }
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route__asphalt { fill: none; stroke: #22363C; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.route__line { fill: none; stroke: rgba(243, 238, 228, .38); stroke-width: 1.6; stroke-dasharray: 12 14; }
.route__done { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; }
.route__car rect { fill: var(--sun); }
.route__car .route__car-glass { fill: var(--ink); }
.route__car-light { fill: #FFF3D6; filter: drop-shadow(0 0 4px #FFE3A8) drop-shadow(0 0 8px rgba(255, 220, 150, .8)); }
.route__steps { position: relative; display: grid; gap: clamp(4rem, 12vh, 8rem); padding-inline-start: 3.6rem; }
.step { position: relative; }
.step__dot {
  position: absolute; top: 2.1rem; inset-inline-start: -3.6rem; margin-inline-start: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); border: 2px solid rgba(243, 238, 228, .45);
  transition: background .5s, border-color .5s, box-shadow .6s, transform .6s var(--ease-out);
}
.step.is-reached .step__dot { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 9px rgba(231, 150, 63, .18); transform: scale(1.1); }
.step__card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line-light); border-radius: 8px;
  background: rgba(243, 238, 228, .03);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), border-color .6s, background .6s;
}
.js-ok .step:not(.is-reached) .step__card { opacity: .38; transform: translateY(16px); }
.step.is-reached .step__card { border-color: rgba(231, 150, 63, .35); background: rgba(243, 238, 228, .05); }
.step__km { font-size: .7rem; font-weight: 700; letter-spacing: .24em; color: var(--sun); }
.step h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 600; margin: .3rem 0 .6rem; }
.step p { color: var(--cream-2); }
.step .btn { margin-top: 1.4rem; }
.step--end .btn--ink { --bg: var(--sun); --fg: var(--ink); --hv: var(--cream); --hfg: var(--ink); }

/* lista de documentos */
.docs { margin-top: 1.2rem; }
.docs__list label {
  display: flex; align-items: center; gap: .85rem; cursor: pointer;
  padding: .7rem 0; border-bottom: 1px solid var(--line-light);
  transition: color .3s;
}
.docs__list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.docs__box {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid rgba(243, 238, 228, .5);
  transition: background .3s, border-color .3s, transform .4s var(--ease-out);
}
.docs__box::after {
  content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) scale(0); transition: transform .35s var(--ease-out);
}
.docs__list input:checked + .docs__box { background: var(--sun); border-color: var(--sun); transform: scale(1.06); }
.docs__list input:checked + .docs__box::after { transform: rotate(45deg) scale(1); }
.docs__list input:checked ~ span:last-child { color: var(--cream); }
.docs__list input:focus-visible + .docs__box { outline: 2px solid var(--sun); outline-offset: 3px; }
.docs__gauge { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; font-size: .85rem; }
.docs__gauge svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.docs__gauge circle { fill: none; stroke: rgba(243, 238, 228, .15); stroke-width: 3; }
.docs__gauge .docs__arc { stroke: var(--sun); stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-out); }
.docs__gauge b { font-family: var(--serif); font-size: 1.5rem; }
.docs__msg { margin-top: .5rem; font-size: .9rem; color: var(--cream-2); }

/* la carta profesional */
.pcard {
  position: relative; overflow: hidden;
  width: min(100%, 320px); aspect-ratio: 1.586; margin-top: 1.4rem; padding: .9rem 1rem;
  border-radius: 12px; color: var(--ink);
  background: linear-gradient(135deg, #F8F4EC 0%, #E4EFEC 55%, #F3E1C8 100%);
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .6);
  transform: perspective(900px) rotateX(16deg) rotateY(-18deg) translateY(16px);
  transition: transform 1.4s var(--ease-out), opacity 1s;
  direction: ltr;
}
.js-ok .step--end:not(.is-reached) .pcard { opacity: 0; }
.step--end.is-reached .pcard { transform: perspective(900px) rotateX(0) rotateY(0); }
.pcard::after {
  content: ""; position: absolute; inset: -50%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .7) 50%, transparent 60%);
  transform: translateX(-60%); transition: transform 1.6s var(--ease-out) .5s;
}
.step--end.is-reached .pcard::after { transform: translateX(60%); }
.pcard__top { display: flex; justify-content: space-between; font-size: .55rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon-2); border-bottom: 1px solid rgba(31, 110, 99, .3); padding-bottom: .35rem; }
.pcard__top span[lang] { letter-spacing: 0; font-size: .75rem; text-transform: none; line-height: 1; }
.step .pcard__title { color: var(--ink); }
.pcard__title { margin-top: .5rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.pcard__photo { width: 42px; height: 52px; border-radius: 4px; background: linear-gradient(180deg, #C9D6D3, #A9BCB8); position: relative; overflow: hidden; }
.pcard__photo::before { content: ""; position: absolute; left: 50%; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: #7E9692; transform: translateX(-50%); }
.pcard__photo::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 32px; height: 22px; border-radius: 50%; background: #7E9692; transform: translateX(-50%); }
.pcard__lines { flex: 1; display: grid; gap: 6px; padding-bottom: 4px; }
.pcard__lines i { height: 5px; border-radius: 3px; background: rgba(14, 26, 28, .16); }
.pcard__lines i:nth-child(2) { width: 75%; }
.pcard__lines i:nth-child(3) { width: 55%; }
.pcard__emblem { width: 40px; height: 40px; border-radius: 50%; background: #fff; padding: 2px; }

/* ---------- 14. 05 · La salle ---------- */
.gallery { --gh: min(64vw, 66vh, 640px); }
.gallery__track {
  display: flex; gap: clamp(.8rem, 2vw, 1.6rem);
  overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--pad) 1rem; scroll-padding-inline: var(--pad);
  scrollbar-width: none; outline-offset: -2px;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery__track.is-drag .shot__btn { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .gallery__track { cursor: grab; } }
.shot { flex: none; scroll-snap-align: start; }
.shot__btn {
  display: block; position: relative; overflow: hidden;
  height: var(--gh); aspect-ratio: 4 / 3; border-radius: 6px;
  background: var(--paper-2); cursor: zoom-in;
}
.shot--tall .shot__btn { aspect-ratio: 3 / 4; }
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14) translateX(var(--px, 0%));
  transition: transform 1.2s var(--ease-out), filter .6s;
  will-change: transform;
}
@media (hover: hover) { .shot__btn:hover img { transform: scale(1.19) translateX(var(--px, 0%)); } }
.shot figcaption { display: flex; gap: .8rem; align-items: baseline; margin-top: 1rem; font-size: .95rem; color: var(--text-2); max-width: 30rem; }
.shot__n { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.1rem; color: var(--sun-2); }
.gallery__ui { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.6rem; }
.gallery__count { font-size: .85rem; letter-spacing: .1em; white-space: nowrap; }
.gallery__count b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.gallery__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.gallery__bar span { position: absolute; inset-block: -.5px; inset-inline-start: 0; width: 20%; background: var(--ink); transition: width .5s var(--ease-out); }
.gallery__arrows { display: flex; gap: .6rem; }

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(7, 15, 17, .97); color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .4s ease; }
.lightbox::backdrop { background: rgba(7, 15, 17, .85); }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__fig { display: grid; justify-items: center; gap: 1rem; padding: 4.5rem 1rem 2rem; }
.lightbox__fig img { max-width: min(92vw, 1600px); max-height: 80vh; max-height: 80svh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__fig figcaption { font-size: .95rem; color: var(--cream-2); text-align: center; }
.lightbox .round { position: absolute; top: 50%; color: var(--cream); border-color: var(--line-light); background: rgba(7, 15, 17, .5); }
.lightbox .round:hover { background: var(--cream); color: var(--ink); }
.lightbox__prev { inset-inline-start: 1rem; }
.lightbox__next { inset-inline-end: 1rem; }
.lightbox__close { top: 1rem; inset-inline-end: 1rem; position: absolute; }

/* ---------- 15. 06 · Quiz ---------- */
.quiz { background: var(--ink-2); color: var(--cream); overflow: clip; }
.quiz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 30%, rgba(52, 143, 130, .25), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(231, 150, 63, .14), transparent 70%);
}
.quiz .h2 em { color: var(--sun); }
.quiz .lead { color: var(--cream-2); }
.quiz__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.quiz__intro .lead { margin-top: 1.4rem; }
.qbox {
  background: var(--paper); color: var(--ink);
  border-radius: 12px; padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
  min-height: 25rem; display: flex; flex-direction: column;
}
.qbox__top { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.qbox__top b { color: var(--ink); font-size: .9rem; }
.qbox { --p: 0%; }
.qbox__road {
  position: relative; height: 24px; margin: 1rem 0 1.8rem; border-radius: 5px; overflow: hidden;
  background: #2C3A3E;
}
.qbox__road::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1.5px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, rgba(243, 238, 228, .6) 0 10px, transparent 10px 20px); }
.qbox__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); background: rgba(231, 150, 63, .28); transition: width .9s var(--ease-out); }
.qbox__car {
  position: absolute; top: 50%; inset-inline-start: max(2px, calc(var(--p) - 28px)); width: 26px; height: 12px;
  border-radius: 4px 6px 6px 4px; background: var(--sun);
  transform: translateY(-50%); transition: inset-inline-start .9s var(--ease-out);
  box-shadow: 6px 0 10px rgba(255, 230, 170, .6);
}
.qbox__car::after { content: ""; position: absolute; inset-inline-end: 5px; top: 2px; width: 5px; height: 8px; border-radius: 1px; background: var(--ink); }
[dir="rtl"] .qbox__car { box-shadow: -6px 0 10px rgba(255, 230, 170, .6); border-radius: 6px 4px 4px 6px; }
.qbox__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.qbox__body.is-in > * { animation: qIn .6s var(--ease-out) both; }
.qbox__body.is-in > *:nth-child(2) { animation-delay: .06s; }
.qbox__body.is-in > *:nth-child(3) { animation-delay: .12s; }
@keyframes qIn { from { opacity: 0; transform: translateY(14px); } }
.qbox__q { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.15; margin-bottom: 1.4rem; }
.qbox__start .btn { align-self: flex-start; }
.qbox__sign { width: 92px; margin-bottom: 1.1rem; }
.qbox__sign svg { width: 100%; height: auto; }
.qbox__answers { display: grid; gap: .6rem; }
.ans {
  display: flex; align-items: center; gap: .9rem; width: 100%;
  padding: .95rem 1.1rem; text-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  font-weight: 500; line-height: 1.35;
  transition: border-color .3s, background .3s, transform .4s var(--ease-out), opacity .3s;
}
.ans__k { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: .78rem; font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
@media (hover: hover) {
  .ans:not(:disabled):hover { border-color: var(--ink); transform: translateX(5px); }
  [dir="rtl"] .ans:not(:disabled):hover { transform: translateX(-5px); }
  .ans:not(:disabled):hover .ans__k { background: var(--ink); color: var(--cream); border-color: var(--ink); }
}
.ans:disabled { cursor: default; }
.ans:disabled:not(.is-ok):not(.is-ko) { opacity: .5; }
.ans.is-ok { border-color: var(--lagoon); background: #E2F1ED; }
.ans.is-ok .ans__k { background: var(--lagoon); border-color: var(--lagoon); color: #fff; }
.ans.is-ko { border-color: var(--ko); background: #FBEBE3; animation: shake .45s var(--ease-out); }
.ans.is-ko .ans__k { background: var(--ko); border-color: var(--ko); color: #fff; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.qbox__why {
  margin-top: 1.1rem; padding: 1rem 1.15rem; font-size: .98rem;
  background: var(--paper-2); border-inline-start: 3px solid var(--sun); border-radius: 6px;
  animation: qIn .5s var(--ease-out) both;
}
.qbox__why b { display: block; margin-bottom: .2rem; }
.qbox__next { margin-top: 1.1rem; align-self: flex-start; animation: qIn .5s .1s var(--ease-out) both; }
.qbox__result { text-align: start; }
.qbox__score { font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 6.5rem); font-weight: 600; line-height: .9; color: var(--lagoon-2); }
.qbox__score small { font-size: .4em; color: var(--text-2); }
.qbox__msg { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.25; margin: .8rem 0 1.4rem; }
.qbox__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- 16. 07 · Contact ---------- */
.contact__grid { display: grid; gap: 3rem; }
.status--ink { color: var(--ink); font-weight: 600; }

.composer {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 40px 70px -40px rgba(14, 26, 28, .3);
}
.composer__title { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.2; margin-bottom: 1.4rem; }
.composer__title .ico { color: #1FAF5A; width: 1.2em; height: 1.2em; }
.composer__set { border: 0; }
.composer__set legend, .field > span:first-child {
  display: block; margin-bottom: .55rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.composer__row { display: grid; gap: 1rem; margin-top: 1.3rem; }
.field { display: block; margin-top: 1.3rem; }
.composer__row .field { margin-top: 0; }
.field input, .field textarea, .select--light select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); font-size: 1rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.select--light select { padding-inline-end: 2.4rem; }
.select--light::after { inset-inline-end: 1rem; }
.field textarea { resize: vertical; min-height: 4.4rem; }
.field input:focus, .field textarea:focus, .select--light select:focus { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(52, 143, 130, .18); }
.bubble {
  position: relative; margin-top: 1.4rem; padding: .9rem 1.1rem 1.5rem;
  background: var(--lagoon-soft); border-radius: 14px 14px 14px 3px;
  font-size: .98rem;
}
.bubble p { white-space: pre-line; }
[dir="rtl"] .bubble { border-radius: 14px 14px 3px 14px; }
.bubble__label { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lagoon-2); margin-bottom: .25rem; white-space: normal; }
.bubble__time { position: absolute; bottom: .4rem; inset-inline-end: .8rem; font-size: .7rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.composer__send { width: 100%; margin-top: 1.4rem; }


/* ---------- 17. 08 · FAQ ---------- */

/* ---------- 18. Pie ---------- */
.foot { background: var(--ink); color: var(--cream); padding-top: clamp(4.5rem, 9vw, 7rem); padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
.foot__emblem { width: clamp(84px, 10vw, 124px); height: auto; aspect-ratio: 1; margin: 0 auto 1.6rem; border-radius: 50%; background: #fff; padding: 6px; }
.foot__tag { margin-top: 1.1rem; font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-2); }
.foot__cols { display: grid; gap: 2rem; margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2.6rem; border-top: 1px solid var(--line-light); }
.foot h3 { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--sun-soft); margin-bottom: .8rem; }
.foot p { color: var(--cream-2); line-height: 1.85; }
.foot a { transition: color .3s; }
.foot a:hover { color: var(--cream); }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: .88rem; color: var(--cream-2); }

/* barra fija en móvil */
.mbar {
  position: fixed; inset-inline: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .35rem;
  background: rgba(14, 26, 28, .94); border-radius: 999px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .45);
  transform: translateY(170%);
  transition: transform .7s var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) { .mbar { background: rgba(14, 26, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.mbar.is-on { transform: none; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 999px; color: var(--cream); font-size: .85rem; font-weight: 700; letter-spacing: .06em; }
.mbar__wa { background: var(--sun); color: var(--ink) !important; }

/* ---------- 19. Responsive ---------- */
@media (max-width: 539px) {
  .hdr__cta { display: none; }
  .hdr__word { font-size: 1.15rem; }
  .hdr__emblem { width: 36px; height: 36px; }
  .hero__place { display: none; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__tools { grid-column: 1; justify-self: stretch; justify-content: space-between; gap: 1rem; }
  .hero__clips { gap: 4px; flex: none; }
  .hero__clips button { width: 20px; }
  .booking__note { font-size: .72rem; }
}
@media (max-width: 719px) {
  .hdr__menu-label { display: none; }
  .hero__lead { font-size: .98rem; }
  .booking__bar { grid-template-columns: 1fr 1fr; }
  .booking__field:first-child { grid-column: 1 / -1; }
  .booking__field:nth-child(2) { border-bottom: 0; }
  .booking__go { margin: .45rem; }
  .booking__go .ico { display: none; }
}
@media (max-width: 419px) {
  .booking__go { padding-inline: .7rem; font-size: .64rem; letter-spacing: .06em; white-space: normal; text-align: center; line-height: 1.25; }
  .hero__eyebrow { letter-spacing: .2em; }
}
@media (max-height: 700px) and (max-width: 719px) {
  .hero__lead { display: none; }
}
@media (min-width: 540px) {
  .composer__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .booking__bar { grid-template-columns: 1.35fr 1fr auto; align-items: center; border-radius: 999px; padding-inline-start: .6rem; }
  .booking__field { border-bottom: 0; border-inline-end: 1px solid var(--line); padding: .7rem 1.6rem; }
  .booking__field:first-child { border-start-start-radius: 999px; border-end-start-radius: 999px; }
  .booking__go { border-radius: 999px; margin: .55rem; min-height: 3.4rem; padding-inline: 1.8rem; }
  .facts { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .fact { min-height: 19rem; }
  .fact--big { grid-row: span 2; min-height: 40rem; }
  .foot__cols { grid-template-columns: repeat(4, 1fr); }
  .route__steps { padding-inline-start: 4.4rem; }
  .step__dot { inset-inline-start: -4.4rem; }
}
@media (min-width: 960px) {
  :root { --hdr: 84px; }
  .menu__inner { grid-template-columns: 1.25fr .75fr; gap: 5rem; align-items: center; align-content: center; }
  .menu__side { display: block; }
  .head--split { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .intro__grid { grid-template-columns: 1.5fr .5fr; gap: 6rem; }
  .cards {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible; padding-block: .5rem 0;
    max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto;
  }
  .cards .card:nth-child(2) { transition-delay: 0s, 0s, 0s, .1s, .1s; }
  .cards .card:nth-child(3) { transition-delay: 0s, 0s, 0s, .2s, .2s; }
  .cards .card:nth-child(4) { transition-delay: 0s, 0s, 0s, .3s, .3s; }
  .prog { grid-template-columns: 1fr 1.05fr; }
  .prog__list { order: -1; }
  .prog__frame { aspect-ratio: 1 / 1.02; }
  .route__steps { padding-inline-start: 0; gap: clamp(2rem, 6vh, 4rem); }
  .step { width: min(44%, 30rem); }
  .step:nth-child(even) { margin-inline-start: auto; }
  .step__dot { inset-inline-start: auto; inset-inline-end: -4.5rem; margin: 0; }
  .step:nth-child(even) .step__dot { inset-inline-end: auto; inset-inline-start: -4.5rem; }
  .route__asphalt { stroke-width: 44; }
  .quiz__grid { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .mbar { display: none; }
  .foot { padding-bottom: 2.5rem; }
  .gallery { --gh: min(46vw, 68vh, 640px); }
}

/* ---------- 20. Movimiento reducido: solo lo intrusivo ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .status.is-open i, .prog__frame::before, .prog__icon.is-on .teeth { animation: none; }
  .hero__video { transition: opacity 1.4s ease; transform: none; }
}

/* ---------- 21. Legibilidad (alfabeto latino) ----------
   Titulares en Plus Jakarta Sans y texto en Inter: más fáciles de leer que
   una serif fina. Se reducen el espaciado y las mayúsculas diminutas. */
html:not(:lang(ar)) body { line-height: 1.7; font-feature-settings: "cv11", "ss01"; }
html:not(:lang(ar)) :is(.h2, .hero__title, .menu__nav a, .intro__words, .fact h3, .card h3, .chap h3, .step h3,
  .qbox__q, .qbox__msg, .composer__title, .qa summary, .foot__word, .prog__big, .qbox__score, .hdr__word) {
  font-weight: 700; letter-spacing: -.025em;
}
html:not(:lang(ar)) :is(.h2, .hero__title, .intro__words, .card h3, .chap h3, .step h3, .qbox__q, .qa summary, .menu__nav a) em {
  font-style: normal;
}
html:not(:lang(ar)) .h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.08; }
html:not(:lang(ar)) .hero__title { font-size: clamp(2.7rem, 8vw, 6.6rem); line-height: 1.02; }
@media (min-width: 1100px) and (min-aspect-ratio: 13 / 10) {
  html:not(:lang(ar)) .hero__title { font-size: clamp(3.6rem, 5.6vw, 6.6rem); }
}
html:not(:lang(ar)) .hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.65; }
html:not(:lang(ar)) .intro__words { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.3; font-weight: 600; }
html:not(:lang(ar)) .menu__nav a { font-size: clamp(1.8rem, 4.4vw, 3.4rem); line-height: 1.2; }
html:not(:lang(ar)) :is(.card h3) { font-size: 2rem; }
html:not(:lang(ar)) :is(.fact h3, .chap h3, .step h3) { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
html:not(:lang(ar)) :is(.qbox__q, .composer__title) { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; }
html:not(:lang(ar)) .hdr__word { font-size: 1.2rem; letter-spacing: -.01em; }
html:not(:lang(ar)) :is(.kicker > span:first-child, .card__num, .chap__num, .shot__n) { font-style: normal; font-weight: 700; }
html:not(:lang(ar)) :is(.kicker, .hero__eyebrow, .booking__label, .card__sub, .card__go, .qbox__top, .info dt,
  .composer__set legend, .field > span:first-child, .bubble__label, .foot h3, .foot__tag, .hero__foot, .btn,
  .hdr__menu, .step__km, .menu__num) {
  letter-spacing: .06em;
}
html:not(:lang(ar)) :is(.booking__label, .bubble__label, .composer__set legend, .field > span:first-child, .foot h3, .hero__foot, .card__sub, .card__go, .qbox__top, .info dt) {
  font-size: .78rem;
}
html:not(:lang(ar)) :is(.kicker, .hero__eyebrow, .hdr__menu, .btn) { font-size: .82rem; }
html:not(:lang(ar)) .lead { line-height: 1.7; }

/* ---------- 22. Selector de idioma ---------- */
.langs { position: relative; }
.langs .lang { grid-auto-flow: column; gap: .35rem; padding: 0 .85rem; }
.langs .lang svg { width: 10px; height: 10px; transition: transform .3s; }
.langs .lang[aria-expanded="true"] svg { transform: rotate(180deg); }
.langs__list {
  position: absolute; top: calc(100% + .5rem); inset-inline-end: 0; z-index: 160;
  min-width: 11rem; padding: .4rem; border-radius: 14px;
  background: var(--white); color: var(--ink); box-shadow: 0 18px 50px rgba(5, 13, 16, .25);
  display: grid; gap: 2px;
}
.langs__list button {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; padding: .6rem .8rem; border-radius: 9px; text-align: start;
  font-size: .95rem; font-weight: 500;
}
.langs__list button small { font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--text-2); }
.langs__list button:hover { background: var(--paper-2); }
.langs__list button[aria-current="true"] { background: var(--ink); color: var(--cream); }
.langs__list button[aria-current="true"] small { color: var(--sun-soft); }
.foot__langs { display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.foot__langs button { font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: transparent; transition: color .3s, text-decoration-color .3s; }
.foot__langs button:hover { color: var(--sun); }
.foot__langs button[aria-current="true"] { color: var(--sun); text-decoration-color: currentColor; }
.langs__list { transform-origin: 100% 0; transition: opacity .18s ease-out, transform .18s cubic-bezier(.23, 1, .32, 1); }
[dir="rtl"] .langs__list { transform-origin: 0 0; }
@starting-style { .langs__list:not([hidden]) { opacity: 0; transform: scale(.96) translateY(-4px); } }

/* ---------- 23. La salle en grand: la foto crece hasta llenar la pantalla ---------- */
.zoom { position: relative; background: var(--paper); --iy: 0%; --ix: 0%; --ir: 0px; --zs: 1; --to: 1; }
.zoom__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom.zb-active { height: 250vh; height: 250svh; }
.zoom.zb-active .zoom__pin { position: sticky; top: 0; }
.zoom__frame {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  clip-path: inset(var(--iy) var(--ix) round var(--ir));
  will-change: clip-path;
}
.zoom__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zs)); will-change: transform; }
.zoom__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 55%, rgba(8, 18, 21, .62), rgba(8, 18, 21, .35) 70%), linear-gradient(180deg, rgba(8, 18, 21, .25), rgba(8, 18, 21, .55));
  opacity: var(--to);
}
.zoom__copy {
  position: relative; z-index: 2; width: min(100% - var(--pad) * 2, 60rem); text-align: center; color: var(--cream);
  opacity: var(--to); transform: translate3d(0, calc((1 - var(--to)) * 40px), 0);
}
.zoom__kicker { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sun-soft); }
.zoom__title {
  margin-top: 1rem; font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}
.zoom__title em { font-style: normal; color: var(--sun); }
.zoom__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.8rem; }
.zoom__tags li {
  padding: .5rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: rgba(243, 238, 228, .12); border: 1px solid rgba(243, 238, 228, .28);
}
@supports (backdrop-filter: blur(8px)) { .zoom__tags li { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }

/* ---------- 24. Cinta de oficios ---------- */
.ribbon { direction: ltr; overflow: hidden; background: var(--ink); color: var(--cream); padding-block: clamp(1.4rem, 3.4vw, 2.4rem); }
.ribbon__skew { will-change: transform; }
.ribbon__track { display: flex; width: max-content; will-change: transform; }
.ribbon__set {
  display: flex; align-items: center; flex: none;
  gap: clamp(1.4rem, 3.6vw, 3.2rem); padding-inline-end: clamp(1.4rem, 3.6vw, 3.2rem);
  font-family: "Plus Jakarta Sans", var(--sans); font-weight: 800; font-size: clamp(2.6rem, 7.5vw, 6.4rem);
  letter-spacing: -.035em; line-height: 1.1; white-space: nowrap;
}
.ribbon__set span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--sun); }
.ribbon__mark { width: .62em; height: .62em; flex: none; border-radius: 50%; background: #fff; padding: .06em; }

/* ---------- 25. Galería fijada: avanza en horizontal con el scroll vertical ---------- */
.gallery.is-pinned { --gh: min(64vh, 40vw, 680px); }
.gallery.is-pinned .gallery__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hdr) * .6);
}
.gallery.is-pinned .gallery__track { overflow: visible; scroll-snap-type: none; cursor: default; width: max-content; will-change: transform; }
.gallery.is-pinned .gallery__ui { width: 100%; }
.js-ok .shot__btn { clip-path: inset(0 0 100% 0 round 6px); transition: clip-path 1.1s cubic-bezier(.77, 0, .175, 1); }
.js-ok .shot.is-in .shot__btn { clip-path: inset(0 0 0 0 round 6px); }
.js-ok .shot figcaption { opacity: 0; transform: translateY(10px); transition: opacity .6s ease-out .45s, transform .6s cubic-bezier(.23, 1, .32, 1) .45s; }
.js-ok .shot.is-in figcaption { opacity: 1; transform: none; }

/* ---------- 26. Microinteracciones ---------- */
.card__shine { border-radius: inherit; }
[data-tilt] { transform-style: preserve-3d; }
.btn[data-magnetic], .round[data-magnetic] { transition: color .45s var(--ease-out), border-color .45s var(--ease-out), transform .16s ease-out, translate .5s cubic-bezier(.23, 1, .32, 1), background .35s; }
.btn:active { transform: scale(.97); }
.js-ok .facts .reveal:nth-child(2) { transition-delay: .08s; }
.js-ok .facts .reveal:nth-child(3) { transition-delay: .16s; }
.js-ok .stats .reveal:nth-child(2) { transition-delay: .06s; }
.js-ok .stats .reveal:nth-child(3) { transition-delay: .12s; }

@media (max-width: 719px) {
  .zoom__tags li { font-size: .82rem; padding: .4rem .8rem; }
  .stats { gap: .8rem; }
  .stat dd { font-size: .82rem; }
}
/* la columna de pasos no crece por un botón largo (alemán, móvil) */
.route__steps { grid-template-columns: minmax(0, 1fr); }
.step .btn { white-space: normal; text-align: center; }

/* ---------- 27. Recorrido compacto ---------- */
.route__steps { gap: 2.2rem; }
.step h3 { margin-bottom: .45rem; }
/* escritorio: los cuatro pasos en fila, la carretera pasa por encima con una ligera ola */
@media (min-width: 960px) {
  .route .head { margin-bottom: 1.5rem; }
  .route__body { padding-block: 0 .5rem; }
  .route__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; padding: 5.6rem 0 0; align-items: start; }
  .step, .step:nth-child(even) { width: auto; margin: 0; }
  .step:nth-child(even) { margin-top: 2.4rem; }
  .step__dot, .step:nth-child(even) .step__dot { top: -3.7rem; inset-inline-start: 1.5rem; inset-inline-end: auto; margin: 0; }
  .route__asphalt { stroke-width: 34; }
  .step__card { padding: 1.5rem 1.4rem; }
  .step h3 { font-size: 1.45rem; }
  .step p { font-size: .95rem; line-height: 1.6; }
  .docs__list label { padding: .5rem 0; font-size: .92rem; }
  .js-ok .step:not(.is-reached) .step__card { transform: translateY(12px); }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .route__steps { gap: 1rem; }
  .step__card { padding: 1.25rem 1.1rem; }
  .step h3 { font-size: 1.25rem; }
  .step p, .docs__list label { font-size: .88rem; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .step .btn { padding-inline: 1.1rem; }
}

/* ---------- 28. Más animación ---------- */
/* titulares: cada palabra sube desde detrás de una máscara */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-w > span { display: inline-block; transition: transform .9s cubic-bezier(.23, 1, .32, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.js-ok .reveal[data-split]:not(.is-in) .split-w > span { transform: translateY(105%); }
/* letras del nombre en el pie */
.split-c { display: inline-block; transition: transform 1s cubic-bezier(.23, 1, .32, 1), opacity .6s ease-out; transition-delay: calc(var(--i, 0) * 35ms); }
/* la línea del kicker se dibuja al aparecer */
.kicker > span:first-child::after { transform-origin: 0 50%; transition: transform .8s cubic-bezier(.23, 1, .32, 1) .25s; }
[dir="rtl"] .kicker > span:first-child::after { transform-origin: 100% 50%; }
.js-ok .kicker.reveal:not(.is-in) > span:first-child::after { transform: scaleX(0); }
/* fotos de las tarjetas: se descubren como un telón y se alejan */
.js-ok .fact .fact__img { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.77, 0, .175, 1); }
.js-ok .fact.is-in .fact__img { clip-path: inset(0 0 0 0); }
.js-ok .fact .fact__img img { scale: 1.25; transition: scale 1.6s cubic-bezier(.23, 1, .32, 1); }
.js-ok .fact.is-in .fact__img img { scale: 1.04; }
@media (hover: hover) and (pointer: fine) { .js-ok .fact.is-in:hover .fact__img img { scale: 1.09; } }
/* destello que cruza los botones naranjas */
.btn--sun::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg) translateX(0); opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn--sun:hover::after { opacity: 1; transform: skewX(-20deg) translateX(420%); transition: transform .9s cubic-bezier(.23, 1, .32, 1), opacity .2s; }
}
/* el mapa se descubre */

/* ---------- 29. Cifras: banda oscura con cuentakilómetros ---------- */
.stats {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  margin-top: clamp(2.6rem, 5vw, 4rem); border-radius: 24px;
  background: rgba(243, 238, 228, .1);
  box-shadow: 0 40px 80px -40px rgba(14, 26, 28, .6);
}
.stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 120% at 0% 0%, rgba(52, 143, 130, .35), transparent 60%), radial-gradient(50% 100% at 100% 100%, rgba(231, 150, 63, .22), transparent 60%), var(--ink);
}
.stat {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "n label go" "n fig go"; align-items: center; column-gap: 1.2rem;
  padding: 1.5rem 1.4rem; color: var(--cream); background: var(--ink);
  transition: background .3s ease;
}
.stat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(231, 150, 63, .2), transparent 60%);
  transition: opacity .3s ease;
}
.stat__n {
  grid-area: n; display: inline-flex; align-items: flex-start;
  font-family: var(--serif); font-weight: 800; font-size: clamp(3.6rem, 9vw, 6.8rem); line-height: 1; letter-spacing: -.05em;
  color: var(--cream); font-variant-numeric: tabular-nums; transition: color .3s ease;
}
.stat__n sup { font-size: .32em; font-weight: 700; letter-spacing: 0; color: var(--sun); margin: .2em 0 0 .08em; }
.stat__label { grid-area: label; align-self: end; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--cream); }
.stat__fig { grid-area: fig; align-self: start; margin-top: .7rem; display: flex; align-items: center; gap: .45rem; color: var(--sun); }
.stat__go {
  grid-area: go; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(243, 238, 228, .25); color: var(--cream);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .3s cubic-bezier(.23, 1, .32, 1);
}
/* cuentakilómetros: una columna de cifras que rueda hasta el número */
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo__col { display: flex; flex-direction: column; transition: transform 1.8s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.odo__col span { display: block; height: 1em; line-height: 1; }
/* vehículos que aparecen uno a uno */
.stat__veh svg { width: 34px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s cubic-bezier(.23, 1, .32, 1), opacity .4s ease-out; }
.js-ok .stat:not(.is-in) .stat__veh svg { opacity: 0; transform: translateX(-12px); }
.stat__veh svg:nth-child(2) { transition-delay: .55s; }
.stat__veh svg:nth-child(3) { transition-delay: .7s; }
.stat__veh svg:nth-child(4) { transition-delay: .85s; }
.stat__veh svg:nth-child(1) { transition-delay: .4s; }
/* barra de capítulos que se llena por tramos */
.stat__bars i { position: relative; width: 34px; height: 6px; border-radius: 3px; background: rgba(243, 238, 228, .14); overflow: hidden; }
.stat__bars i::after { content: ""; position: absolute; inset: 0; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.23, 1, .32, 1); }
.stat.is-in .stat__bars i::after { transform: scaleX(1); }
.stat__bars i:nth-child(1)::after { transition-delay: .5s; }
.stat__bars i:nth-child(2)::after { transition-delay: .75s; }
.stat__bars i:nth-child(3)::after { transition-delay: 1s; }
.stat__bars i:nth-child(4)::after { transition-delay: 1.25s; }
/* chincheta con onda */
.stat__pin { position: relative; font-size: .88rem; font-weight: 600; color: var(--cream-2); }
.stat__pin .ico { position: relative; color: var(--sun); width: 1.3em; height: 1.3em; }
.stat__pin i { position: absolute; inset-inline-start: .05em; top: 50%; width: 1.2em; height: 1.2em; margin-top: -.6em; border-radius: 50%; border: 1.5px solid var(--sun); animation: pinPulse 2.4s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .stat:hover::before { opacity: 1; }
  .stat:hover .stat__n { color: var(--sun-soft); }
  .stat:hover .stat__go { background: var(--sun); border-color: var(--sun); color: var(--ink); transform: rotate(-45deg); }
  [dir="rtl"] .stat:hover .stat__go { transform: rotate(45deg); }
  .stat:hover .stat__veh svg { transform: translateX(6px); }
  .stat:hover .stat__veh svg:nth-child(odd) { transform: translateX(10px); }
  .stat:hover .stat__bars i::after { background: var(--sun-soft); }
}
.stat:active { transform: scale(.985); }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { grid-template-columns: 1fr auto; grid-template-areas: "n go" "label label" "fig fig"; align-items: start; padding: 1.8rem 1.8rem 2rem; row-gap: .4rem; }
  .stat__label { align-self: start; margin-top: .6rem; }
}
@media (max-width: 539px) {
  .stat { column-gap: 1rem; padding: 1.25rem 1.1rem; }
  .stat__go { width: 38px; height: 38px; }
  .stat__veh svg { width: 28px; height: 18px; }
  .stat__bars i { width: 26px; }
}

.stat__n { height: 1em; }

/* ---------- 30. Tarjeta profesional: todo se mide en cqw, así escala a cualquier ancho ---------- */
.step .pcard {
  container-type: inline-size;
  width: min(100%, 300px); aspect-ratio: 1.586; height: auto; padding: 0;
  border-radius: 6.5cqw; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(231, 150, 63, .28), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(52, 143, 130, .3), transparent 60%),
    linear-gradient(135deg, #FBF8F1 0%, #EAF3F0 55%, #F6E6CF 100%);
  border: 1px solid rgba(255, 255, 255, .6);
}
.step .pcard > * { position: absolute; }
.step .pcard .pcard__top {
  inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center;
  padding: 4.5cqw 6cqw 3cqw; border-bottom: 1px solid rgba(31, 110, 99, .22);
  font-size: 3.6cqw; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; color: var(--lagoon-2);
}
.step .pcard .pcard__top span[lang] { font-size: 4.6cqw; letter-spacing: 0; text-transform: none; line-height: 1; }
.step .pcard .pcard__body { inset: 19cqw 6cqw auto; display: flex; gap: 5cqw; align-items: flex-start; }
.step .pcard .pcard__photo { position: relative; flex: none; width: 19cqw; height: 24cqw; border-radius: 2.4cqw; background: linear-gradient(180deg, #C9D6D3, #A3B8B3); overflow: hidden; }
.step .pcard .pcard__photo::before { content: ""; position: absolute; left: 50%; top: 18%; width: 40%; height: 32%; border-radius: 50%; background: #7E9692; transform: translateX(-50%); }
.step .pcard .pcard__photo::after { content: ""; position: absolute; left: 50%; bottom: -14%; width: 78%; height: 46%; border-radius: 50%; background: #7E9692; transform: translateX(-50%); }
.step .pcard .pcard__info { flex: 1; display: grid; gap: 2.6cqw; min-width: 0; }
.step .pcard .pcard__title { margin: 0; font-family: var(--serif); font-size: 5.4cqw; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.step .pcard .pcard__lines { display: grid; gap: 2cqw; }
.step .pcard .pcard__lines i { height: 1.9cqw; border-radius: 1cqw; background: rgba(14, 26, 28, .16); }
.step .pcard .pcard__lines i:nth-child(2) { width: 62%; }
.step .pcard .pcard__chip {
  width: 13cqw; height: 9.5cqw; border-radius: 2cqw;
  background: linear-gradient(135deg, #F3D28E, #C99A45 60%, #E9C27A);
  box-shadow: inset 0 0 0 .6cqw rgba(120, 80, 20, .25);
}
.step .pcard .pcard__emblem { inset: auto 5cqw 5cqw auto; width: 15cqw; height: 15cqw; border-radius: 50%; background: #fff; padding: .8cqw; box-shadow: 0 1cqw 3cqw rgba(14, 26, 28, .15); }
/* reflejo holográfico que barre la tarjeta al llegar y sigue al ratón */
.step .pcard::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: conic-gradient(from 200deg at var(--hx, 70%) var(--hy, 30%), rgba(255, 120, 200, .35), rgba(120, 220, 255, .35), rgba(255, 240, 150, .35), rgba(255, 120, 200, .35));
  opacity: .55;
}

/* ---------- 31. Equipamiento de la sala: fichas con icono que entran una a una ---------- */
.zoom__tags { gap: .7rem; margin-top: 2rem; }
.zoom__tags li {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .7rem 1.15rem .7rem .75rem; border-radius: 16px;
  font-size: .98rem; font-weight: 600; letter-spacing: -.005em;
  background: linear-gradient(180deg, rgba(243, 238, 228, .16), rgba(243, 238, 228, .06));
  border: 1px solid rgba(243, 238, 228, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 30px -14px rgba(0, 0, 0, .5);
  opacity: clamp(0, calc(var(--to) * 4 - var(--k, 0)), 1);
  transform: translateY(calc((1 - clamp(0, calc(var(--to) * 4 - var(--k, 0)), 1)) * 18px));
  transition: background .25s ease, border-color .25s ease, transform .3s cubic-bezier(.23, 1, .32, 1);
}
.zoom__tags li:nth-child(2) { --k: .5; }
.zoom__tags li:nth-child(3) { --k: 1; }
.zoom__tags li:nth-child(4) { --k: 1.5; }
.zoom__tags svg {
  width: 34px; height: 34px; padding: 7px; flex: none; border-radius: 10px;
  background: var(--sun); color: var(--ink);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: hover) and (pointer: fine) {
  .zoom__tags li:hover { background: rgba(243, 238, 228, .24); border-color: rgba(231, 150, 63, .7); }
}
@media (max-width: 719px) {
  .zoom__tags { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .zoom__tags li { font-size: .84rem; padding: .55rem .7rem .55rem .55rem; gap: .5rem; }
  .zoom__tags svg { width: 28px; height: 28px; padding: 5px; }
}

/* ---------- 32. Marca de la cabecera: nombre + línea de apoyo ---------- */
.hdr__word { display: grid; gap: .28rem; line-height: 1; }
.hdr__word b { font-family: var(--serif); font-size: 1.32rem; font-weight: 800; letter-spacing: -.025em; }
.hdr__word small { font-size: .6rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .72; }
html:not(:lang(ar)) .hdr__word { font-size: inherit; letter-spacing: 0; }
.hdr__brand { gap: .75rem; }
.hdr__emblem { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 6px 16px -6px rgba(0, 0, 0, .4); }
@media (max-width: 539px) {
  .hdr__word b { font-size: 1.12rem; }
  .hdr__word small { font-size: .52rem; letter-spacing: .18em; }
}

/* ---------- 33. La salle: título fijo a la izquierda, fotos que desfilan a la derecha ---------- */
.salle { padding-block: clamp(4rem, 8vw, 7rem); }
.gallery__pin { display: flex; flex-direction: column; }
.gallery__side { display: contents; }
.gallery__head, .gallery__ui { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.gallery__head { order: 0; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.gallery__head .lead { margin-top: 1.2rem; }
.gallery__view { order: 1; }
.gallery__ui { order: 2; }
.gallery.is-pinned { --gh: min(66vh, 36vw, 640px); }
.gallery.is-pinned .gallery__pin {
  display: grid; grid-template-columns: minmax(280px, 31%) minmax(0, 1fr); align-items: center;
  column-gap: clamp(2rem, 4vw, 4.5rem); padding: calc(var(--hdr) * .6) 0 0;
  padding-inline-start: max(var(--pad), calc((100vw - var(--max)) / 2));
}
.gallery.is-pinned .gallery__side { display: flex; flex-direction: column; justify-content: center; gap: 2.6rem; }
.gallery.is-pinned .gallery__head, .gallery.is-pinned .gallery__ui { margin: 0; padding: 0; max-width: none; }
.gallery.is-pinned .gallery__ui { flex-wrap: wrap; gap: 1rem 1.2rem; }
.gallery.is-pinned .h2 { font-size: clamp(2.1rem, 3.5vw, 3.6rem); }
.gallery.is-pinned .gallery__view {
  overflow: hidden; align-self: stretch; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96%, transparent 100%);
}
.gallery.is-pinned .gallery__track { padding-inline: 1.4rem var(--pad); }

.gallery.is-pinned { --gh: min(70vh, 46vw, 680px); }

/* ---------- 34. Contacto: mosaico de fichas + WhatsApp ---------- */
.contact__grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: stretch; } }
.cbento { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.ctile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .45rem;
  min-height: 14rem; padding: 1.4rem; border-radius: 22px;
  background: var(--white); border: 1px solid var(--line);
}
.ctile__icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 13px; background: var(--ink); color: var(--sun); flex: none; }
.ctile__icon .ico { width: 1.3rem; height: 1.3rem; }
.ctile__label { margin-top: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lagoon-2); }
.ctile__cta { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 700; }
/* dirección: foto de fondo */
.ctile--addr { grid-column: 1 / -1; min-height: 17rem; justify-content: flex-end; border: 0; color: var(--cream); background: var(--ink); }
.ctile--addr .ctile__icon { position: absolute; top: 1.4rem; inset-inline-start: 1.4rem; background: var(--sun); color: var(--ink); }
.ctile__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: scale .9s cubic-bezier(.23, 1, .32, 1); }
.ctile--addr::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 26, 28, .15) 0%, rgba(14, 26, 28, .88) 75%); }
.ctile--addr .ctile__label { color: var(--sun-soft); }
.ctile__text { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.ctile--addr .ctile__cta { color: var(--sun); flex: none; }
/* teléfonos: ficha naranja */
.ctile--tel { border: 0; background: var(--sun); color: var(--ink); }
.ctile--tel .ctile__label { color: rgba(14, 26, 28, .68); }
.ctile__phone { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s cubic-bezier(.23, 1, .32, 1); }
.ctile__phone:hover { background-size: 100% 2px; }
/* horario: reloj en directo y barra del día */
.ctile--hours { border: 0; background: var(--ink); color: var(--cream); }
.ctile--hours .ctile__icon { background: rgba(243, 238, 228, .1); }
.ctile--hours .ctile__label { color: var(--sun-soft); }
.ctile__clock { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ctile__small { font-size: .8rem; color: var(--cream-2); }
.daybar { position: relative; display: block; height: 6px; margin: .9rem 0 1.5rem; border-radius: 3px; background: rgba(243, 238, 228, .14); }
.daybar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--d, 0) * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--lagoon), var(--sun)); transition: width .6s ease; }
.daybar b { position: absolute; top: 50%; inset-inline-start: calc(var(--d, 0) * 100%); width: 14px; height: 14px; margin: -7px -7px 0; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgba(231, 150, 63, .25); animation: pulse 2.4s cubic-bezier(.23, 1, .32, 1) infinite; }
.daybar.is-closed b { background: var(--road); box-shadow: none; animation: none; }
.daybar small { position: absolute; top: 12px; font-size: .68rem; color: var(--cream-2); }
.daybar small:nth-of-type(1) { inset-inline-start: 0; }
.daybar small:nth-of-type(2) { inset-inline-end: 0; }
.ctile--hours .status { margin-top: auto; font-size: .84rem; font-weight: 600; color: var(--cream); }
/* correo y redes */
.ctile--social { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; padding: 1rem; gap: .5rem; border: 0; background: var(--paper-2); }
.cpill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.05rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .16s ease-out;
}
.cpill:active, .ctile__cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .ctile--addr:hover .ctile__bg { scale: 1.07; }
  .ctile:hover .ctile__cta .ico--arrow { transform: translateX(5px); }
  [dir="rtl"] .ctile:hover .ctile__cta .ico--arrow { transform: scaleX(-1) translateX(5px); }
  .cpill:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
}
@media (max-width: 539px) {
  .cbento { grid-template-columns: 1fr; }
  .ctile { min-height: 0; }
}
/* formulario de WhatsApp más presente */
.composer { position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 40px 80px -45px rgba(14, 26, 28, .45); }
.composer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #25D366, var(--lagoon), var(--sun)); }
.composer__title .ico { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: #25D366; color: #fff; flex: none; }

/* títulos centrados donde la composición lo pide */
.formations .head, .programme .head { text-align: center; }
.formations .head .kicker, .programme .head .kicker { justify-content: center; }
.formations .head .lead, .programme .head .lead { margin-inline: auto; }

.ctile--addr .ctile__label { margin-top: auto; }
.ctile--addr .ctile__cta { margin-top: .5rem; }

/* tarjeta: rectangular (esquinas fijas) y texto legible aunque sea estrecha */
.step .pcard { width: 100%; max-width: 320px; border-radius: 12px; }
.step .pcard .pcard__top { font-size: 4.3cqw; padding: 4cqw 5.5cqw 3cqw; }
.step .pcard .pcard__top span[lang] { font-size: 5.4cqw; }
.step .pcard .pcard__body { inset: 17cqw 5.5cqw auto; gap: 4.5cqw; }
.step .pcard .pcard__photo { width: 18cqw; height: 23cqw; }
.step .pcard .pcard__title { font-size: 7.2cqw; line-height: 1.12; }
.step .pcard .pcard__info { gap: 2.4cqw; }
.step .pcard .pcard__emblem { width: 14cqw; height: 14cqw; inset: auto 4.5cqw 4.5cqw auto; }
@container (max-width: 240px) {
  .step .pcard .pcard__lines { display: none; }
}

/* ---------- 35. Señales de tráfico decorativas junto a los títulos ---------- */
.formations .head, .programme .head { position: relative; }
.rsign { position: absolute; top: -1rem; width: clamp(64px, 7vw, 96px); display: none; pointer-events: none; transform-origin: 50% 100%; }
.rsign svg { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(14, 26, 28, .22)); animation: signSway 5s ease-in-out infinite; transform-origin: 50% 100%; }
.rsign i { position: absolute; left: 50%; top: 70%; width: 6px; height: clamp(70px, 9vw, 120px); margin-left: -3px; border-radius: 3px; background: linear-gradient(90deg, #8d9497, #c9cfd1 45%, #7a8285); }
.rsign--l { inset-inline-start: var(--pad); }
.rsign--r { inset-inline-end: var(--pad); }
.rsign--r svg { animation-delay: -2.5s; }
@keyframes signSway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.js-ok .rsign { transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease-out; }
.js-ok .head:not(:has(.reveal.is-in)) .rsign { opacity: 0; transform: translateY(30px) scale(.85); }
@media (min-width: 1100px) { .rsign { display: block; } }

/* ---------- 36. Semáforo (pie y final del recorrido) ---------- */
.tlight {
  display: grid; gap: 7px; padding: 9px; flex: none;
  border-radius: 16px; background: linear-gradient(180deg, #1d2a2e, #0b1416);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 30px -12px rgba(0, 0, 0, .55);
}
.tlight i { display: block; width: 26px; height: 26px; border-radius: 50%; background: #2a3437; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); transition: background .25s ease, box-shadow .25s ease; }
.tlight.is-r .tl-r { background: #ff4b3a; box-shadow: 0 0 14px 3px rgba(255, 75, 58, .7), inset 0 -2px 4px rgba(0, 0, 0, .25); }
.tlight.is-a .tl-a { background: #ffb02e; box-shadow: 0 0 14px 3px rgba(255, 176, 46, .7), inset 0 -2px 4px rgba(0, 0, 0, .25); }
.tlight.is-g .tl-g { background: #3ee08f; box-shadow: 0 0 16px 4px rgba(62, 224, 143, .75), inset 0 -2px 4px rgba(0, 0, 0, .25); }

/* ---------- 37. Pie profesional ---------- */
.foot { padding-top: clamp(3rem, 6vw, 5rem); }
.fcta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem 2rem; align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem); border-radius: 28px;
  background: radial-gradient(70% 140% at 100% 0%, rgba(231, 150, 63, .3), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(52, 143, 130, .35), transparent 60%), #16262b;
  border: 1px solid var(--line-light);
}
.fcta__title { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--cream); }
.fcta__title em { font-style: normal; color: var(--sun); }
.fcta__lead { margin-top: .6rem; color: var(--cream-2); max-width: 34rem; }
.fcta__btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .7rem; }
.btn--light { --fg: var(--cream); --hv: var(--cream); --hfg: var(--ink); border-color: rgba(243, 238, 228, .45); }
@media (min-width: 960px) {
  .fcta { grid-template-columns: auto 1fr auto; }
  .fcta__btns { grid-column: auto; flex-direction: column; align-items: stretch; }
}
.foot__cols { margin-top: clamp(3rem, 6vw, 4.5rem); }
.foot__brand { display: grid; gap: 1rem; align-content: start; }
.foot__logo { display: inline-flex; align-items: center; gap: .8rem; color: var(--cream); }
.foot__logo .foot__emblem { width: 52px; height: 52px; margin: 0; border-radius: 50%; background: #fff; padding: 3px; }
.foot__logo span { display: grid; gap: .3rem; line-height: 1; }
.foot__logo b { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; }
.foot__logo small { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.foot__brand .foot__tag { margin: 0; max-width: 18rem; font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--cream-2); line-height: 1.5; }
@media (min-width: 960px) { .foot__cols { grid-template-columns: 1.5fr repeat(4, 1fr); } }

/* ---------- 38. Semáforo al final de la carretera del recorrido ---------- */
.route__light { position: absolute; z-index: 2; transform: translate(-50%, -100%) scale(.82); transform-origin: 50% 100%; pointer-events: none; }
.route__light::after { content: ""; position: absolute; left: 50%; top: 100%; width: 6px; height: 26px; margin-left: -3px; background: #5d676a; border-radius: 0 0 3px 3px; }

.foot__logo small { white-space: nowrap; }
@media (max-width: 1199px) { .foot__brand { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 2rem; } }
@media (min-width: 960px) and (max-width: 1199px) { .foot__cols { grid-template-columns: 1.3fr 1.2fr .9fr .9fr; } }

/* ---------- 39. Más señales: cinta, títulos y reacción al scroll ---------- */
.ribbon__sign {
  width: .74em; height: .74em; flex: none; overflow: visible;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35));
  animation: signWobble 2.8s ease-in-out infinite alternate;
}
.ribbon__set .ribbon__sign:nth-of-type(2) { animation-delay: -.7s; }
.ribbon__set .ribbon__sign:nth-of-type(3) { animation-delay: -1.4s; }
.ribbon__set .ribbon__sign:nth-of-type(4) { animation-delay: -2.1s; }
@keyframes signWobble { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@media (hover: hover) and (pointer: fine) {
  .ribbon:hover .ribbon__sign { animation: signSpin 1.1s cubic-bezier(.23, 1, .32, 1) both; }
}
@keyframes signSpin { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(200deg) scale(1.12); } to { transform: rotate(360deg) scale(1); } }

.route .head, .contact .head { position: relative; }
.rsign--dark svg { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.rsign--dark i { background: linear-gradient(90deg, #5d676a, #9aa3a6 45%, #4f585b); }
/* las señales se inclinan con la velocidad del scroll (lo mueve initSignLean) */
.rsign { rotate: var(--lean, 0deg); }

@media (min-width: 960px) { .rsign { display: block; } }
@media (min-width: 960px) and (max-width: 1199px) { .rsign { width: 60px; top: -.5rem; } .rsign i { height: 70px; } }

/* ---------- 40. Tarjetas del recorrido: separadas de la carretera, mismas bases y animadas ---------- */
.step__card { display: flex; flex-direction: column; border-radius: 16px; transition: opacity .9s cubic-bezier(.23, 1, .32, 1), transform .9s cubic-bezier(.23, 1, .32, 1), border-color .4s ease, background .4s ease, box-shadow .4s ease; }
.step__km { align-self: flex-start; padding: .3rem .65rem; border-radius: 999px; background: rgba(231, 150, 63, .14); letter-spacing: .12em; }
.step h3 { padding-inline-end: 2.9rem; }
.step__card > .btn, .step__card > .pcard { align-self: flex-start; }
.step__link {
  margin-top: auto; padding-top: 1.1rem; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 700; color: var(--sun);
}
.step__link .ico { width: 1.05em; height: 1.05em; }
.step__card > .btn { margin-top: auto; }
.step__card > .pcard + .btn { margin-top: 1.2rem; }
/* icono animado de cada paso */
.step__icon {
  position: absolute; top: 1rem; inset-inline-end: 1rem;
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: rgba(231, 150, 63, .12); color: var(--sun);
  box-shadow: inset 0 0 0 1px rgba(231, 150, 63, .3);
  transform: scale(.6); opacity: 0; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .2s, opacity .3s ease-out .2s;
}
.step__icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.step.is-reached .step__icon, html:not(.js-ok) .step__icon { transform: none; opacity: 1; }
.step__icon--chat circle { fill: currentColor; stroke: none; animation: typing 1.2s ease-in-out infinite; }
.step__icon--chat circle:nth-of-type(2) { animation-delay: .15s; }
.step__icon--chat circle:nth-of-type(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-2px); opacity: 1; } }
.step__icon--doc .tick { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s cubic-bezier(.77, 0, .175, 1) .6s; }
.step.is-reached .step__icon--doc .tick { stroke-dashoffset: 0; }
.step__icon--board .ptr { animation: chartUp 2.4s ease-in-out infinite; }
@keyframes chartUp { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-1.5px); } }
.step__icon--flag .cloth { transform-origin: 6px 8px; animation: flagWave 1.6s ease-in-out infinite; }
@keyframes flagWave { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-6deg) scaleX(.94); } }
.step--end.is-reached .step__icon { background: rgba(62, 224, 143, .14); color: #3ee08f; box-shadow: inset 0 0 0 1px rgba(62, 224, 143, .4); }
@media (hover: hover) and (pointer: fine) {
  .step.is-reached .step__card:hover { transform: translateY(-6px); border-color: rgba(231, 150, 63, .7); background: rgba(243, 238, 228, .07); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(231, 150, 63, .25); }
  .step__card:hover .step__icon { transform: rotate(-8deg) scale(1.08); }
  .step__link:hover .ico--arrow { transform: translateX(4px); }
}
@media (min-width: 960px) {
  /* más aire entre la carretera y las tarjetas; las tarjetas acaban todas a la misma altura */
  .route__steps { padding-top: 6.6rem; align-items: stretch; }
  .step { display: flex; flex-direction: column; }
  .step__card { flex: 1; }
  .step:nth-child(even) { margin-top: 1.8rem; }
  .step__dot, .step:nth-child(even) .step__dot { top: -4.4rem; }
  .js-ok .step:not(.is-reached) .step__card { transform: translateY(18px); }
  .step:nth-child(2) .step__card { transition-delay: .06s; }
  .step:nth-child(3) .step__card { transition-delay: .12s; }
  .step:nth-child(4) .step__card { transition-delay: .18s; }
}

/* sala compacta: el bloque fijado mide su contenido y se centra (top lo calcula main.js) */
.gallery.is-pinned .gallery__pin { top: var(--pin-top, 84px); height: auto; padding-top: 0; padding-block: 1rem; }
.gallery.is-pinned .gallery__view { align-self: center; }
.salle { padding-block: clamp(3rem, 6vw, 5rem); }
/* la formación elegida en el formulario lleva un visto */
.card.is-picked::before { transform: none; }
.card .card__check { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--ink); transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.card.is-picked .card__check { transform: none; }

/* ---------- 41. GPS interactivo ---------- */
.contact { padding-bottom: clamp(3rem, 6vw, 5rem); }
.gps {
  margin-top: clamp(1.5rem, 3vw, 2.2rem); overflow: hidden; border-radius: 26px;
  background: #0b1719; color: var(--cream);
  box-shadow: 0 50px 90px -50px rgba(14, 26, 28, .7), inset 0 0 0 1px rgba(243, 238, 228, .08);
}
.gps__bar { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; background: #1f6e63; }
.gps__turn { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.gps__turn svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: turnNudge 2.4s ease-in-out infinite; }
@keyframes turnNudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(2px, -2px); } }
.gps__dest { display: grid; gap: .1rem; line-height: 1.2; min-width: 0; }
.gps__dest small { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.gps__dest b { font-family: var(--serif); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.gps__dest span { font-size: .84rem; opacity: .85; }
.gps__tabs { margin-inline-start: auto; display: flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .22); }
.gps__tabs button { padding: .5rem .95rem; border-radius: 999px; font-size: .84rem; font-weight: 700; color: rgba(255, 255, 255, .8); transition: background .2s ease, color .2s ease; }
.gps__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.gps__screen { position: relative; height: clamp(260px, 38vw, 380px); }
.gps__panel { position: absolute; inset: 0; }
.gps__panel[hidden] { display: none; }
.gps__panel iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.gps__map { width: 100%; height: 100%; display: block; }
.gps__lagoon { fill: #1c4f4a; }
.gps__label { fill: rgba(220, 239, 234, .55); font: italic 600 15px var(--sans); letter-spacing: .08em; }
.gps__streets path { fill: none; stroke: rgba(243, 238, 228, .14); stroke-width: 10; stroke-linecap: round; }
.gps__route-bg { fill: none; stroke: rgba(231, 150, 63, .22); stroke-width: 14; stroke-linecap: round; }
.gps__route { fill: none; stroke: var(--sun); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 14; animation: routeFlow 1s linear infinite; }
@keyframes routeFlow { to { stroke-dashoffset: -16; } }
.gps__me { transform: translate(95px, 320px); }
.gps__me circle { fill: #4FA3FF; }
.gps__me circle:last-child { stroke: #fff; stroke-width: 3; }
.gps__pulse { fill: rgba(79, 163, 255, .35) !important; transform-origin: center; animation: gpsPulse 2s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes gpsPulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.gps__pin path { fill: var(--sun); stroke: #fff; stroke-width: 2.5; }
.gps__pin-dot { fill: #fff; }
.gps__pin { animation: pinBob 2.4s ease-in-out infinite; }
@keyframes pinBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.gps__car circle { fill: #fff; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.gps__car path { fill: var(--ink); }
/* brújula */
.compass {
  position: absolute; top: 1rem; inset-inline-end: 1rem; width: clamp(78px, 9vw, 104px); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #23383d, #0b1517 70%);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7), inset 0 0 0 3px rgba(243, 238, 228, .12);
}
.compass svg { width: 100%; height: 100%; display: block; }
.compass__ring { fill: none; stroke: rgba(231, 150, 63, .45); stroke-width: 1.5; stroke-dasharray: 2 4; }
.compass__ticks path { stroke: rgba(243, 238, 228, .55); stroke-width: 2; }
.compass__n { fill: var(--sun); font: 700 12px var(--sans); }
.compass__needle { transform-origin: 50px 50px; transform: rotate(var(--deg, 0deg)); }
.compass__needle .n { fill: #ff5a46; }
.compass__needle .s { fill: #e9e4d9; }
.compass__needle circle { fill: #fff; stroke: #0b1517; stroke-width: 2; }
.gps__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1rem; border-top: 1px solid rgba(243, 238, 228, .08); }
@media (max-width: 539px) {
  .gps__bar { flex-wrap: wrap; }
  .gps__tabs { margin-inline-start: 0; width: 100%; }
  .gps__tabs button { flex: 1; }
  .gps__actions .btn { flex: 1; }
}

/* ---------- 42. Flechas de dirección sobre la carretera del recorrido ---------- */
.route__chev { fill: rgba(243, 238, 228, .55); font: 700 16px var(--sans); dominant-baseline: central; pointer-events: none; }

/* ---------- 43. Brújula pequeña en el hero ---------- */
.mini-compass { width: 1.35em; height: 1.35em; flex: none; }
.mini-compass circle { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .7; }
.mini-compass .nd { transform-origin: 12px 12px; animation: needleSeek 6s ease-in-out infinite; }
.mini-compass .nd path:first-child { fill: var(--sun); }
.mini-compass .nd path:last-child { fill: currentColor; opacity: .7; }
@keyframes needleSeek { 0%, 100% { transform: rotate(-25deg); } 30% { transform: rotate(35deg); } 55% { transform: rotate(10deg); } 75% { transform: rotate(20deg); } }

/* título del recorrido un poco más pequeño */
.route .h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); }

html:not(:lang(ar)) .route .h2 { font-size: clamp(2rem, 4.3vw, 3.6rem); }

.route.has-chev .route__line { display: none; }

/* GPS: brújula sobre la laguna (abajo a la derecha) e información arriba a la izquierda, sin tapar el pin ni la posición */
.compass { top: auto; bottom: 1rem; }

/* dirección: el icono nunca tapa el texto (en móvil la ficha es más baja) */
.ctile--addr { padding-top: 5rem; min-height: 15rem; }

/* móvil: la portada de fondo coincide con el primer plano (manos al volante) */
@media (max-width: 759px) { .hero__media { background-image: url("assets/video/clip-volant.webp"); } }

/* ---------- 44. Firma de la agencia (made by) ---------- */
.foot__made { display: flex; justify-content: center; padding-top: 1.6rem; margin-top: 1.4rem; border-top: 1px solid var(--line-light); }
.madeby { display: inline-flex; align-items: center; gap: .9rem; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 238, 228, .55); }
.madeby__logo { width: 132px; height: auto; color: var(--cream); overflow: visible; transition: color .3s ease; }
.madeby__frame path { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), stroke .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .madeby:hover .madeby__logo { color: #fff; }
  .madeby:hover .madeby__frame path { stroke: var(--sun); }
  .madeby:hover .c1 { transform: translate(-3px, -3px); }
  .madeby:hover .c2 { transform: translate(3px, -3px); }
  .madeby:hover .c3 { transform: translate(-3px, 3px); }
  .madeby:hover .c4 { transform: translate(3px, 3px); }
}
/* Árabe: una sola familia para titulares y texto, sin cursivas ni espaciado
   entre letras (rompe la unión de las letras árabes). */
html:lang(ar) { --serif: var(--arabic-serif); --sans: var(--arabic-serif); }
html:lang(ar) body { line-height: 1.85; }
html:lang(ar) em, html:lang(ar) i:not([aria-hidden]) { font-style: normal; font-weight: inherit; }
html:lang(ar) body * { letter-spacing: 0 !important; text-transform: none !important; }
