/* Wikiparty Labs — colores sacados del logo: azul petróleo #285878, turquesa #5DB9B4 */
@font-face {
  font-family: "Jakarta";
  src: url("/fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #285878;          /* azul del logo */
  --ink-strong: #1d4560;   /* enlaces y botones, AA sobre blanco */
  --sea: #5db9b4;          /* turquesa del logo */
  --sea-deep: #2f8f8a;
  --navy-900: #0f2a3d;
  --bg: #ffffff;
  --bg-soft: #f3f9f9;
  --surface: #ffffff;
  --fg: #12293a;
  --muted: #4d6273;
  --line: #dbe7ea;
  --ring: #5db9b4;
  --shadow: 0 1px 2px rgb(15 42 61 / .06), 0 8px 24px -8px rgb(15 42 61 / .12);
  --shadow-lg: 0 2px 4px rgb(15 42 61 / .06), 0 24px 48px -16px rgb(15 42 61 / .25);
  --radius: 20px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #9fd3e6;
    --ink-strong: #b9e3ef;
    --sea: #6fcdc7;
    --sea-deep: #6fcdc7;
    --bg: #0b1f2d;
    --bg-soft: #0f2a3d;
    --surface: #12324a;
    --fg: #e8f1f4;
    --muted: #a7bcc8;
    --line: #20445d;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 24px 48px -16px rgb(0 0 0 / .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sea); color: #0f2a3d; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; color: var(--fg); }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--fg); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
}
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-shadow linear both; animation-timeline: scroll(); animation-range: 0 120px; }
  @keyframes header-shadow { to { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgb(15 42 61 / .25); } }
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.brand { display: flex; align-items: center; border-radius: 10px; }
.brand img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; white-space: nowrap; border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s;
}
.nav a:hover { color: var(--fg); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: #fff; background: var(--ink); }
.nav .nav-cta { margin-left: 8px; color: var(--fg); border: 1.5px solid var(--line); }
.nav .nav-cta:hover { border-color: var(--sea); background: transparent; }
.nav .nav-cta[aria-current="page"] { border-color: transparent; }
@media (prefers-color-scheme: dark) { .nav a[aria-current="page"] { color: #0b1f2d; background: var(--sea); } }
.menu-btn, .menu-close { display: none; }

@media (max-width: 1060px) {
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--fg); cursor: pointer;
  }
  .nav[popover] {
    position: fixed; inset: 0 0 auto auto; width: min(340px, 100%); height: 100dvh; margin: 0;
    padding: 84px 20px 24px; border: 0; background: var(--bg); color: var(--fg);
    flex-direction: column; align-items: stretch; gap: 6px; box-shadow: var(--shadow-lg);
  }
  .nav[popover]:not(:popover-open) { display: none; }
  .nav[popover]:popover-open { display: flex; }
  .nav[popover]::backdrop { background: rgb(15 42 61 / .45); backdrop-filter: blur(3px); }
  .nav a { min-height: 52px; font-size: 1.1rem; padding: 0 18px; }
  .nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .menu-close {
    display: inline-flex; position: absolute; top: 14px; right: 16px; width: 48px; height: 48px;
    align-items: center; justify-content: center; border: 0; border-radius: 14px; background: var(--bg-soft); color: var(--fg); cursor: pointer;
  }
}
@media (min-width: 1061px) {
  .nav[popover] { display: flex; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; overflow: visible; width: auto; height: auto; color: inherit; }
}
@media (max-width: 480px) { .brand img { height: 48px; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s, border-color .2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--ink-strong); color: #fff; box-shadow: 0 10px 24px -10px rgb(29 69 96 / .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(29 69 96 / .8); }
.btn-ghost { color: var(--fg); border-color: color-mix(in srgb, var(--ink) 30%, transparent); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { border-color: var(--sea); transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--sea); color: #0b1f2d; box-shadow: 0 10px 30px -10px rgb(111 205 199 / .5); } }

/* ---------- fondos aurora ---------- */
.aurora { position: relative; isolation: isolate; overflow: hidden; background: var(--bg-soft); }
.aurora::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(40% 45% at 78% 30%, rgb(93 185 180 / .55), transparent 70%),
    radial-gradient(35% 40% at 15% 85%, rgb(40 88 120 / .35), transparent 70%),
    radial-gradient(30% 35% at 55% 0%, rgb(160 220 215 / .6), transparent 70%),
    radial-gradient(25% 30% at 95% 95%, rgb(40 88 120 / .25), transparent 70%);
  filter: blur(10px);
}
.aurora::after { /* retícula fina que se desvanece */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 75%);
}
@media (prefers-color-scheme: dark) {
  .aurora::before {
    background:
      radial-gradient(40% 45% at 78% 30%, rgb(93 185 180 / .35), transparent 70%),
      radial-gradient(35% 40% at 15% 85%, rgb(40 88 120 / .7), transparent 70%),
      radial-gradient(30% 35% at 55% 0%, rgb(93 185 180 / .2), transparent 70%),
      radial-gradient(25% 30% at 95% 95%, rgb(40 88 120 / .5), transparent 70%);
  }
  .aurora::after { opacity: .25; }
}
@media (prefers-reduced-motion: no-preference) {
  .aurora::before { animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate3d(4%, 3%, 0) rotate(8deg) scale(1.05); } }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px 6px 8px;
  border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--line);
  color: var(--ink-strong); font-size: .85rem; font-weight: 700; letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgb(93 185 180 / .25); }

/* ---------- hero de inicio ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(96px, 11vw, 150px); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 48px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.hero h1 span { background: linear-gradient(100deg, var(--ink) 10%, var(--sea-deep) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40ch; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--sea) 55%, transparent); }
.hero-art::before { inset: 4%; }
.hero-art::after { inset: 18%; border-style: solid; border-color: color-mix(in srgb, var(--ink) 15%, transparent); }
.hero-art .disc { position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #e2f3f2 60%, #c7e8e5); box-shadow: var(--shadow-lg); }
@media (prefers-color-scheme: dark) { .hero-art .disc { background: radial-gradient(circle at 35% 30%, #1d4a66, #12324a 70%); } }
.hero-art picture { position: relative; width: 62%; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgb(15 42 61 / .18)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art picture { animation: bob 6s ease-in-out infinite; transform-origin: 50% 90%; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
  .hero-art::before { animation: spin 60s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; width: min(280px, 70%); margin: 0 auto; }
}

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 120px); color: var(--bg); }
.wave path { fill: currentColor; }

/* ---------- secciones ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.hero + .section { padding-top: clamp(8px, 2vw, 24px); }
.section-tight { padding: 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { display: block; margin-bottom: 10px; color: var(--sea-deep); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.section-head p { color: var(--muted); margin: 14px 0 0; }

/* ---------- tarjetas / bento ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card p { margin: 0; color: var(--muted); }
a.card { cursor: pointer; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--sea) 60%, var(--line)); }
.card .go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-strong); font-weight: 700; font-size: .95rem; }
.card .go .icon { width: 18px; height: 18px; transition: transform .2s ease; }
a.card:hover .go .icon { transform: translateX(4px); }

.badge {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--sea) 28%, var(--surface)), color-mix(in srgb, var(--ink) 14%, var(--surface)));
  color: var(--ink-strong); border: 1px solid color-mix(in srgb, var(--sea) 35%, transparent);
}

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento .span-2 { grid-column: span 2; }
.bento .feature {
  background: linear-gradient(135deg, #1d4560 0%, #285878 55%, #3f8f97 100%); color: #fff; border: 0;
  overflow: hidden; min-height: 300px;
}
.bento .feature::after {
  content: ""; position: absolute; right: -60px; bottom: -70px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgb(93 185 180 / .55), transparent 70%);
}
.bento .feature > * { position: relative; z-index: 1; }
.bento .feature h3 { font-size: 1.6rem; color: #fff; }
.bento .feature p { color: rgb(255 255 255 / .88); max-width: 46ch; font-size: 1.05rem; }
.bento .feature .badge { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .25); }
.bento .feature .go { color: #fff; }
.bento .feature .sail { position: absolute; z-index: 0; right: 28px; top: 24px; width: 130px; opacity: .2; }
@media (max-width: 880px) { .bento { grid-template-columns: 1fr 1fr; } .bento .span-2 { grid-column: 1 / -1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .bento .feature .sail { width: 90px; } }

/* ---------- franja de datos ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.fact { padding: 26px 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.fact b { display: block; margin-bottom: 4px; font-size: clamp(1.4rem, 2.3vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  background: linear-gradient(100deg, var(--ink), var(--sea-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* ---------- sociedades ---------- */
.companies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.company { padding: 34px; }
.company .head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.monogram {
  display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 18px;
  font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: -.04em;
  background: linear-gradient(140deg, #285878, #3f9b98);
  box-shadow: 0 10px 20px -10px rgb(40 88 120 / .7);
}
.company.alt .monogram { background: linear-gradient(140deg, #3f8f97, #1d4560); }
.company h2, .company h3 { font-size: 1.5rem; }
.company .legal { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.company .btn { align-self: flex-start; margin-top: 8px; min-height: 46px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 760px) { .companies { grid-template-columns: 1fr; } .company { padding: 26px; } }

/* rejillas de definición */
dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 8px 0 0; }
dt { color: var(--muted); font-size: .9rem; font-weight: 600; padding-top: .1em; }
dd { margin: 0; font-weight: 500; }
.card dl { padding-top: 18px; margin-top: 6px; border-top: 1px dashed var(--line); }
@media (max-width: 480px) { dl { grid-template-columns: 1fr; gap: 0; } dd { margin-bottom: 10px; } }

/* ---------- cabecera de páginas interiores ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(96px, 11vw, 140px); }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.5rem); }
.page-hero .lead { margin: 18px 0 0; max-width: 56ch; font-size: 1.15rem; color: var(--muted); }
.page-body { padding: 8px 0 clamp(64px, 8vw, 104px); }

/* pasos (actividad) */
.steps { display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; padding: 32px; }
.step .num {
  grid-row: span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(140deg, #285878, #3f9b98);
}
.step h2 { font-size: 1.35rem; margin-top: 12px; }
.step p { margin: 6px 0 0; }
.services { grid-column: 2; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.services li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.services li .badge { width: 44px; height: 44px; border-radius: 14px; }
.services li .icon { width: 22px; height: 22px; }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; padding: 24px; }
  .step .num { grid-row: auto; }
  .services { grid-column: 1; }
  .services li { grid-template-columns: 1fr; }
}
.note { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--sea); border-radius: 0 14px 14px 0; background: var(--bg-soft); color: var(--muted); }
.note p { margin: 0; }

/* principios (enfoque) */
.principles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.principles .card { grid-column: span 2; }
.principles .card:nth-child(4), .principles .card:nth-child(5) { grid-column: span 3; }
.principles h2 { font-size: 1.25rem; margin-top: 8px; }
@media (max-width: 880px) { .principles { grid-template-columns: 1fr 1fr; } .principles .card, .principles .card:nth-child(n) { grid-column: auto; } .principles .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* perfil (equipo) */
.profile { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 44px); }
.avatar {
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 36px;
  font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; color: #fff;
  background: linear-gradient(140deg, #285878 10%, #3f9b98 100%);
  box-shadow: 0 20px 40px -18px rgb(40 88 120 / .8);
}
.profile h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.role { display: inline-block; margin: 12px 0 14px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--sea) 18%, transparent); color: var(--ink-strong); font-weight: 700; font-size: .85rem; }
.profile p { color: var(--muted); }
.profile .btn { margin-top: 6px; min-height: 46px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 620px) { .profile { grid-template-columns: 1fr; gap: 20px; } .avatar { width: 96px; height: 96px; font-size: 1.9rem; border-radius: 28px; } }

/* contacto */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-grid .card { padding: 34px; }
.contact-grid h2 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sea-deep); margin-top: 6px; }
.contact-grid .value { font-size: 1.2rem; font-weight: 700; color: var(--fg); line-height: 1.5; overflow-wrap: anywhere; }
.contact-grid .value a { color: inherit; text-decoration: none; }
.contact-grid .value a:hover { text-decoration: underline; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .card { padding: 26px; } }

/* banda de contacto */
.cta-band {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, #0f2a3d 0%, #1d4560 45%, #2f7f86 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgb(93 185 180 / .5), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 8px 0 0; color: rgb(255 255 255 / .85); }
.cta-band .btn { background: #fff; color: #0f2a3d; box-shadow: none; }

/* textos legales */
.prose { padding: clamp(28px, 4vw, 48px); display: block; }
.prose h2 { font-size: 1.2rem; margin: 1.8em 0 .5em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose dl { margin: 1em 0 0; }

/* ---------- pie ---------- */
.site-footer { position: relative; margin-top: clamp(56px, 7vw, 96px); padding: clamp(48px, 6vw, 72px) 0 36px; background: var(--navy-900); color: #a9c0cd; font-size: .9rem; }
.site-footer .wave-top { position: absolute; left: 0; right: 0; top: 1px; transform: translateY(-100%); width: 100%; height: clamp(40px, 6vw, 72px); color: var(--navy-900); }
.site-footer .wave-top path { fill: currentColor; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.foot-grid img { height: 52px; width: auto; margin-bottom: 18px; }
.foot-grid p { margin: 0; max-width: 56ch; line-height: 1.65; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-content: start; }
.foot-nav b { grid-column: 1 / -1; color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.site-footer a { color: #d7e6ee; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 20px; }
.foot-bottom p { margin: 0; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- textos v2 ---------- */
.source { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.tagline { color: #fff; font-weight: 600; margin-bottom: 10px !important; }
.block + .block { margin-top: clamp(56px, 7vw, 88px); }
.page-hero .actions { margin-top: 28px; }
.bento.three .card { grid-column: auto; }
@media (max-width: 880px) { .bento.three { grid-template-columns: 1fr 1fr; } .bento.three .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .bento.three { grid-template-columns: 1fr; } }
.company .section-head { margin-bottom: 8px; }
.company .section-head h2 { font-size: 1.45rem; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process .num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(140deg, #285878, #3f9b98); }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }
.mini-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; }
.mini-stats li { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.mini-stats b { color: var(--fg); font-weight: 800; }
.card-dashed { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; background: transparent; box-shadow: none; border: 2px dashed color-mix(in srgb, var(--sea) 55%, var(--line)); }
.card-dashed h2 { font-size: 1.3rem; }
.card-dashed .go { margin: 0 0 0 auto; padding: 0; white-space: nowrap; }
.monogram.ghost { background: color-mix(in srgb, var(--sea) 18%, transparent); color: var(--ink-strong); box-shadow: none; }
.monogram.ghost .icon { width: 28px; height: 28px; }
@media (max-width: 620px) { .card-dashed { flex-direction: column; align-items: flex-start; } .card-dashed .go { margin: 0; } }

/* ---------- aparición al hacer scroll (mejora progresiva) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px) scale(.98); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
