/* Frankfurt SIS · Hoja de estilos (mobile-first) */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff") format("woff");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  /* Variables del manual de identidad */
  --color-primario: #112C4A;
  --color-acento: #34A4AF;
  --color-texto-sec: #5B6B7A;
  --color-fondo-suave: #F2F5F7;
  --font-base: "Montserrat", Arial, sans-serif;
  /* Derivadas para el entorno oscuro del sitio */
  --bg: #06111E;
  --bg-2: #0A1A2E;
  --glass: rgba(17, 44, 74, .38);
  --line: rgba(242, 245, 247, .1);
  --text: #F2F5F7;
  --text-2: #A3B2C0;
  --acento-claro: #6CCBD3;
  --grad: linear-gradient(90deg, #34A4AF 0%, #8FDDE3 100%);
  --radius: 22px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-base); font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Resplandores de fondo, fijos y muy suaves */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 12% 8%, rgba(52, 164, 175, .10), transparent 70%),
    radial-gradient(55vw 60vh at 92% 70%, rgba(29, 74, 130, .28), transparent 70%),
    radial-gradient(40vw 40vh at 50% 110%, rgba(52, 164, 175, .07), transparent 70%);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-open { overflow: hidden; }
:focus-visible { outline: 2px solid var(--acento-claro); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--color-acento); color: #04202A; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* Lienzo de partículas: acompaña, no compite */
#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
#fx.is-ready { opacity: 1; }
#fx.is-front { z-index: 3; }
main, .site-footer { position: relative; z-index: 1; }
.fx-anchor { width: clamp(150px, 20vw, 250px); aspect-ratio: 1; pointer-events: none; }
.fx-anchor--sm { width: clamp(120px, 14vw, 180px); }
.fx-anchor--hero { width: min(78vw, 44vh); }
@media (min-width: 900px) { .fx-anchor--hero { width: min(36vw, 54vh); } }

/* Encabezado: logotipo, píldora de navegación y contacto */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--pad); transition: background .4s, padding .4s;
}
.site-header.is-scrolled { background: linear-gradient(rgba(6, 17, 30, .85), rgba(6, 17, 30, 0)); }
.brand img { width: 148px; }
.nav-toggle {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(17, 44, 74, .4); color: var(--text);
  display: grid; place-items: center; cursor: pointer; position: relative; z-index: 60; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav-toggle span, .nav-toggle span::before { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span::before { content: ""; transform: translateY(6px); }
.nav-toggle span { transform: translateY(-3px); }
[aria-expanded="true"] span { transform: translateY(0) rotate(45deg); }
[aria-expanded="true"] span::before { transform: rotate(-90deg); }
.nav {
  position: fixed; inset: 0; background: var(--bg); display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem; gap: .25rem; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.menu-open .nav { opacity: 1; visibility: visible; }
.nav a { text-decoration: none; font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; padding: .2rem 0; }
.nav a[aria-current="page"], .nav a:hover { color: var(--acento-claro); }
.nav-cta { display: none; }
.nav .nav-contact { margin-top: 1.5rem; font-size: 1.1rem; color: var(--acento-claro); }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center; gap: .25rem; opacity: 1; visibility: visible;
    padding: .35rem; background: rgba(17, 44, 74, .35); border: 1px solid var(--line); border-radius: 999px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .nav a { font-size: .9rem; font-weight: 500; letter-spacing: 0; padding: .55rem 1.1rem; border-radius: 999px; transition: background .3s, color .3s; }
  .nav a:hover { background: rgba(242, 245, 247, .06); color: var(--text); }
  .nav a[aria-current="page"] { color: var(--acento-claro); background: rgba(52, 164, 175, .1); }
  .nav .nav-contact { display: none; }
  .nav-cta { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem 0; border-bottom: 1px solid currentColor; }
  .nav-cta:hover { color: var(--acento-claro); }
  .brand img { width: 172px; }
}

/* Botones y enlaces */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding: .8rem 1.6rem; border-radius: 999px;
  background: var(--grad); color: #04202A; font: inherit; font-weight: 600; text-decoration: none; border: 0;
  box-shadow: 0 10px 30px -10px rgba(52, 164, 175, .6); transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(52, 164, 175, .8); }
.btn--ghost { background: rgba(17, 44, 74, .35); color: var(--text); border: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(108, 203, 211, .5); box-shadow: none; }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
a:hover .arrow, button:hover .arrow { transform: translate(3px, -3px); }
.link { color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.link:hover { color: var(--acento-claro); border-color: var(--acento-claro); }

/* Estructura */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }
.label { display: inline-flex; align-items: center; gap: .7rem; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--acento-claro); margin-bottom: 1.2rem; }
.label::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.28rem); color: var(--text-2); max-width: 44ch; }
.muted { color: var(--text-2); }
.h-xl { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.6rem); }
.h-lg { font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); }
.h-md { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); }
.caps { text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Héroe de inicio */
.home-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 7rem 0 4.5rem; position: relative; text-align: center; overflow: hidden; }
.home-hero .fx-anchor { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(96vw, 62vh); }
.home-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.home-hero h1 { max-width: none; width: 100%; font-size: clamp(2.3rem, 1rem + 5.2vw, 6rem); }
.home-hero .lead { margin-inline: auto; max-width: 52ch; }
.home-hero .hero-actions { justify-content: center; }
.badge { display: flex; gap: 1.6rem; padding: 1.1rem 1.5rem; width: fit-content; margin-top: 2.5rem; text-align: left; }
.badge strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.badge span { font-size: .7rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .14em; }
@media (min-width: 900px) { .home-hero .fx-anchor { width: min(70vw, 96vh); } }
.scroll-cue { display: none; }
@media (min-width: 900px) {
  .scroll-cue { display: block; position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--text-2); }
  .scroll-cue::after { content: ""; display: block; width: 1px; height: 34px; margin: .6rem auto 0; background: linear-gradient(var(--color-acento), transparent); animation: cue 2s infinite; transform-origin: top; }
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Héroe de páginas internas con fotografía a todo lo ancho */
.page-hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; padding: 8rem 0 4rem; overflow: hidden; }
.page-hero picture, .page-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero picture img { animation: slowzoom 18s var(--ease) both; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 17, 30, .55) 0%, rgba(6, 17, 30, .35) 35%, rgba(6, 17, 30, .92) 82%, var(--bg) 100%), linear-gradient(90deg, rgba(6, 17, 30, .7), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; }
.page-hero--plain { min-height: 70vh; min-height: 70svh; }
.page-hero--plain::after { display: none; }
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Migas de pan */
.crumbs { font-size: .8rem; color: var(--text-2); margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--acento-claro); }

/* Video que crece al hacer scroll */
.reel { --p: 0; position: relative; margin-inline: auto; width: min(100% - 2 * var(--pad), 1360px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  transform: scale(calc(.84 + .16 * var(--p))); transform-origin: center top; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(52, 164, 175, .45); background: var(--bg-2); }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 17, 30, .65)); pointer-events: none; }
.reel figcaption { position: absolute; left: 1.5rem; bottom: 1.2rem; z-index: 1; font-size: .82rem; color: var(--text-2); }
.reel-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6, 17, 30, .5); color: var(--text); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.reel-toggle::before { content: ""; width: 10px; height: 14px; border-inline: 3px solid currentColor; }
.reel-toggle.is-paused::before { width: 0; height: 0; border: 0; border-left: 12px solid currentColor; border-block: 8px solid transparent; margin-left: 4px; }
@media (max-width: 759px) { .reel { aspect-ratio: 4 / 5; } }

/* Dos columnas */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } .split--rev > :first-child { order: 2; } .split--top { align-items: start; } }

/* Tarjeta de foto flotante */
.float-card { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8), 0 0 0 8px rgba(17, 44, 74, .35); aspect-ratio: 4 / 5; width: 100%; max-width: 460px; justify-self: center; }
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card--wide { aspect-ratio: 4 / 3; max-width: none; }
.float-tag { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem 1.2rem; font-size: .88rem; }
.float-tag strong { display: block; font-size: 1rem; }

/* Encabezado con punto luminoso */
.dot-head { position: relative; padding-left: 1.8rem; }
.dot-head::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--color-acento); box-shadow: 0 0 0 6px rgba(52, 164, 175, .15), 0 0 24px 4px rgba(52, 164, 175, .6); }

/* Tarjetas de servicio con imagen */
.svc-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.svc-card { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; padding: .6rem; transition: border-color .4s, transform .5s var(--ease); }
.svc-card:hover { border-color: rgba(108, 203, 211, .45); transform: translateY(-6px); }
.svc-card .ph { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .ph img { transform: scale(1.05); }
.svc-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(6, 17, 30, .55)); }
.svc-card .ph svg { position: absolute; left: 1rem; bottom: 1rem; width: 40px; height: 40px; z-index: 1; }
.svc-card .body { padding: 1.4rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.svc-card h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); margin: 0; }
.svc-card p { color: var(--text-2); margin: 0; font-size: .97rem; }
.svc-card .more { margin-top: auto; padding-top: .8rem; font-weight: 600; font-size: .9rem; display: inline-flex; gap: .4rem; align-items: center; }

/* Carrusel */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.rail-btns { display: flex; gap: .6rem; }
.rail-btns button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: rgba(17, 44, 74, .4); color: var(--text); font-size: 1.1rem; cursor: pointer; transition: background .3s, border-color .3s; }
.rail-btns button:last-child { background: var(--grad); color: #04202A; border: 0; }
.rail-btns button:hover { border-color: var(--acento-claro); }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2.5rem var(--pad) 1rem; margin-top: .5rem; scrollbar-width: none; scroll-padding-inline: var(--pad); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 min(82vw, 380px); scroll-snap-align: start; }
@media (min-width: 1360px) { .rail { padding-inline: calc((100vw - var(--max)) / 2 + var(--pad)); } }
.why { padding: 2rem 1.8rem; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.why svg { width: 46px; height: 46px; }
.why .n { font-size: 3.4rem; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.why h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.why p { color: var(--text-2); margin: 0; }

/* Línea de tiempo del proceso */
.timeline { list-style: none; margin: 3rem 0 0; padding: 0; position: relative; display: grid; gap: 1rem; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--color-acento), rgba(52, 164, 175, .05)); }
.timeline li { position: relative; padding: 1.4rem 1.4rem 1.4rem 4.2rem; }
.timeline li::before { content: attr(data-n); position: absolute; left: 0; top: 1.2rem; width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .85rem; background: var(--bg); border: 1px solid rgba(52, 164, 175, .5); color: var(--acento-claro); box-shadow: 0 0 24px -4px rgba(52, 164, 175, .5); }
.timeline h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.timeline p { color: var(--text-2); margin: 0; }
.timeline--big li { padding-block: 2rem; }
.timeline--big h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }

/* Bloques de cifras / datos */
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.fact { padding: 1.4rem; }
.fact strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -.03em; }
.fact span { font-size: .8rem; color: var(--text-2); }
@media (min-width: 900px) { .facts--4 { grid-template-columns: repeat(4, 1fr); } }

/* Listas */
.list-check { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.list-check li { padding-left: 2rem; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2px solid var(--color-acento); border-bottom: 2px solid var(--color-acento); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2rem; }
.chips li { list-style: none; padding: .8rem 1.3rem; font-size: .95rem; }

/* Tarjetas numeradas */
.cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 1.8rem; transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: rgba(108, 203, 211, .4); transform: translateY(-4px); }
.card .n { display: block; font-size: .8rem; color: var(--acento-claro); font-weight: 600; letter-spacing: .14em; margin-bottom: 1.5rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--text-2); margin: 0; font-size: .97rem; }
.card--big { padding: clamp(1.8rem, 4vw, 3rem); }
.card--big h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); }
.card--big p { font-size: 1.05rem; }

/* Nota destacada */
.note { border-left: 2px solid var(--color-acento); padding: 1rem 1.25rem; background: rgba(52, 164, 175, .07); border-radius: 0 12px 12px 0; color: var(--text-2); font-size: .95rem; }

/* Preguntas frecuentes */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--acento-claro); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 1.2rem; max-width: 70ch; }

/* Llamado final */
.cta-box { position: relative; text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--pad); overflow: hidden; }
.cta-box .fx-anchor { margin: 0 auto 1rem; }
.cta-box h2 { max-width: 18ch; margin-inline: auto; }
.cta-box .lead { margin: 0 auto 2rem; }
.cta-box .hero-actions { justify-content: center; }

/* Navegación entre servicios */
.svc-nav { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 800px) { .svc-nav { grid-template-columns: repeat(3, 1fr); } }
.svc-nav a { padding: 1.4rem 1.5rem; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; transition: border-color .3s; }
.svc-nav a:hover { border-color: rgba(108, 203, 211, .45); }
.svc-nav small { display: block; color: var(--acento-claro); font-weight: 600; font-size: .72rem; letter-spacing: .16em; margin-bottom: .2rem; }

/* Contacto */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.35fr .9fr; gap: 2.5rem; align-items: start; } }
.form-panel { padding: clamp(1.4rem, 4vw, 2.6rem); }
.form { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: rgba(6, 17, 30, .5);
  border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; min-height: 50px; transition: border-color .25s, background .25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--acento-claro) 50%), linear-gradient(135deg, var(--acento-claro) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #112C4A; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-acento); background: rgba(52, 164, 175, .07); }
.field [aria-invalid="true"] { border-color: #E58B8B; }
.field-hint { font-size: .8rem; color: var(--text-2); margin: .35rem 0 0; }
.field-error { font-size: .82rem; color: #F0A3A3; margin: .3rem 0 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: .2rem; accent-color: var(--color-acento); flex: none; }
.form-status { border: 1px solid rgba(52, 164, 175, .5); background: rgba(52, 164, 175, .1); border-radius: 12px; padding: 1rem 1.25rem; font-size: .95rem; }
.info { padding: clamp(1.4rem, 4vw, 2.2rem); }
.info dl { margin: 0; display: grid; gap: 1.4rem; }
.info dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--acento-claro); font-weight: 600; margin-bottom: .3rem; }
.info dd { margin: 0; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2) url("../img/mapa-placeholder.svg") center / cover; margin-top: 1.6rem; display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) hue-rotate(180deg) brightness(.9) contrast(.9) sepia(.3) hue-rotate(160deg) saturate(1.6); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(transparent 55%, rgba(6, 17, 30, .45)); }
.map-consent { position: relative; z-index: 1; text-align: center; padding: 1.5rem; max-width: 30ch; font-size: .88rem; color: var(--text-2); }
.map-consent .btn { margin-top: .8rem; }

/* Páginas legales */
.legal { max-width: 80ch; padding: clamp(1.6rem, 5vw, 3.5rem); }
.legal h2 { font-size: clamp(1.25rem, 1.15rem + .6vw, 1.6rem); margin-top: 2.4rem; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal p, .legal li { color: #CBD5DF; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--acento-claro); font-weight: 600; }
.legal a { color: var(--acento-claro); }

/* Pie de página */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .92rem; color: var(--text-2); background: linear-gradient(180deg, transparent, rgba(3, 9, 16, .8)); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer img { width: 168px; margin-bottom: 1.2rem; }
.site-footer h2 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.site-footer a { text-decoration: none; display: inline-block; padding: .35rem 0; }
.site-footer a:hover { color: var(--acento-claro); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8rem; }
.linklike { background: none; border: 0; color: inherit; font: inherit; padding: .35rem 0; cursor: pointer; }
.linklike:hover { color: var(--acento-claro); }

/* Aviso de cookies */
.cookie {
  position: fixed; z-index: 70; left: .75rem; right: .75rem; bottom: .75rem; max-width: 420px; padding: 1.1rem 1.2rem;
  background: rgba(10, 26, 46, .92); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: .82rem; line-height: 1.5; animation: rise .5s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie p { color: var(--text-2); margin-bottom: .9rem; }
.cookie strong { display: block; color: var(--text); margin-bottom: .3rem; font-size: .95rem; }
.cookie a { color: var(--acento-claro); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie .btn { min-height: 42px; padding: .5rem 1.15rem; font-size: .85rem; }
@media (min-width: 900px) { .cookie { left: 1.5rem; bottom: 1.5rem; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Animaciones de entrada (solo con JavaScript activo) */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); }
.js [data-split] .w.g > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js [data-split].is-in .w > span { transform: none; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; } .js .reveal.d2 { transition-delay: .24s; } .js .reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-split] .w > span, .js .reveal { transform: none; opacity: 1; }
  .reel { transform: none; }
}
@media print { #fx, .site-header, .cookie, .scroll-cue { display: none !important; } body { background: #fff; color: #000; } }
