/* Estilos de kalix.es. Compatibilidad: Safari/iOS 12+, Chrome/Edge 80+, Firefox 78+, Samsung Internet 12+. */
/* Compatibilidad buscada: Safari/iOS 12+, Chrome/Edge 80+, Firefox 78+, Samsung Internet 12+.
   Por eso NO se usa: gap en flex, inset, propiedades lógicas, clamp(), min(), color-mix(), mask. */

/* ── Tipografía alojada en local (Jost, licencia OFL) ── */
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --bg:        #faf7f2;
  --bg-2:      #f1ece3;
  --bg-nav:    rgba(250,247,242,.93);
  --card:      #ffffff;
  --card-best: #fbf1dc;
  --ink:       #050517;
  --ink-2:     #4d4b5c;
  --ink-3:     #6f6c7e;
  --line:      #e4dfd4;
  --orange:    #c95c36;
  --orange-2:  #b04d2b;
  --orange-tx: #b8502d;
  --amber:     #f28e00;
  --sand:      #ebc98a;
  --cream:     #f2e3b1;
  --navy:      #050517;
  --glow:      rgba(242,142,0,.16);
  --shadow:    0 1px 2px rgba(5,5,23,.05), 0 12px 32px -16px rgba(5,5,23,.18);
  --r:         16px;
  --r-sm:      10px;
  --nav-h:     68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050517; --bg-2: #0c0c26; --bg-nav: rgba(5,5,23,.93); --card: #13132e; --card-best: #2a2140;
    --ink: #f4f1ea; --ink-2: #c9c5bd; --ink-3: #9d9aad; --line: #2a2a50; --orange-tx: #e8825c;
    --cream: #2a2140; --glow: rgba(242,142,0,.14);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  --bg: #050517; --bg-2: #0c0c26; --bg-nav: rgba(5,5,23,.93); --card: #13132e; --card-best: #2a2140;
  --ink: #f4f1ea; --ink-2: #c9c5bd; --ink-3: #9d9aad; --line: #2a2a50; --orange-tx: #e8825c;
  --cream: #2a2140; --glow: rgba(242,142,0,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
}

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', 'Trebuchet MS', sans-serif;
  font-size: 16px; background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(201,92,54,.15);
  word-wrap: break-word; overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1172px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 900px) { .wrap { max-width: 1220px; padding-left: 40px; padding-right: 40px; } }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: 2.15rem; letter-spacing: -.025em; }
h2 { font-size: 1.7rem; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; }
@media (min-width: 600px)  { h1 { font-size: 2.9rem; } h2 { font-size: 2rem; } }
@media (min-width: 1100px) { h1 { font-size: 3.9rem; } h2 { font-size: 2.5rem; } }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 38em; }
.eyebrow {
  display: block; font-size: .78rem; font-weight: 600; line-height: 1.5;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-tx); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; display: inline-block; vertical-align: middle; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; margin-right: .6rem; position: relative; top: -1px; }
em { font-style: normal; color: var(--orange); }
section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 900px) { section { padding-top: 6rem; padding-bottom: 6rem; } }
.sec-head { max-width: 720px; margin-bottom: 2.2rem; }
@media (min-width: 900px) { .sec-head { margin-bottom: 3rem; } }
.sec-head .lead { margin-top: .9rem; }
.alt { background: var(--bg-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.5rem;
  border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .15s, background-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -10px rgba(201,92,54,.7); }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn svg { width: 18px; height: 18px; margin-left: .5rem; flex: 0 0 18px; }

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50; height: 68px; height: var(--nav-h);
  background: var(--bg-nav);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.logo { display: block; width: 92px; height: 33px; color: #000; }
.nav-links { display: none; list-style: none; align-items: center; }
.nav-links li + li { margin-left: 1.5rem; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink-2); padding: .6rem 0; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; flex: 0 0 auto; }
.nav-right > * + * { margin-left: .6rem; }
.nav-right .btn { min-height: 44px; padding: .5rem 1.1rem; font-size: .88rem; display: none; }
.langs { display: none; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .5rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); }
.langs a:hover { color: var(--ink); }
.langs a.on { background: var(--orange); color: #fff; }
@media (min-width: 600px) { .nav .langs { display: flex; } }
.mobile-menu .langs { display: inline-flex; margin-top: 1.4rem; }
.mobile-menu .langs a { display: flex; padding: 0 .9rem; height: 42px; min-width: 52px; font-size: .9rem; border-bottom: 0; }
@media (min-width: 600px) { .mobile-menu .langs { display: none; } }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); color: var(--ink-2); }
.icon-btn svg { width: 18px; height: 18px; }
@media (min-width: 420px) { .nav-right .btn { display: inline-flex; } }
@media (min-width: 1200px) {
  .nav-links { display: flex; } .burger { display: none; }
}
.mobile-menu {
  display: none; position: fixed; top: 68px; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 49;
  background: var(--bg); padding: 1.2rem 16px 2rem; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .85rem 0; font-size: 1.25rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { display: flex; margin-top: 1.4rem; border-bottom: 0; font-size: 1rem; color: #fff; }

/* ── Hero ───────────────────────────────────────────── */
.hero { position: relative; padding-top: 3rem; padding-bottom: 3rem; overflow: hidden; }
@media (min-width: 900px) { .hero { padding-top: 5.5rem; padding-bottom: 5rem; } }
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse at 75% 25%, var(--glow) 0%, rgba(242,142,0,0) 55%),
    linear-gradient(var(--line) 1px, rgba(0,0,0,0) 1px),
    linear-gradient(90deg, var(--line) 1px, rgba(0,0,0,0) 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: .45;
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0), var(--bg));
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-gap: 2.5rem; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; grid-gap: 4rem; gap: 4rem; } }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { display: inline-block; }
.hero .lead { margin-bottom: 1.8rem; font-size: 1.12rem; }
.hero-cta { display: flex; flex-wrap: wrap; margin: -.4rem; }
.hero-cta > * { margin: .4rem; }
.hero-note { margin-top: 1.3rem; font-size: .88rem; color: var(--ink-3); display: flex; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; margin: .15rem 1.2rem .15rem 0; }
.hero-note svg { width: 14px; height: 14px; color: var(--orange); margin-right: .35rem; flex: 0 0 14px; }

.bento { display: grid; grid-template-columns: 1fr 1fr; grid-gap: .8rem; gap: .8rem; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem;
  box-shadow: var(--shadow); min-width: 0;
}
.tile b { display: block; line-height: 1.25; margin-bottom: .3rem; }
.tile.wide { grid-column: 1 / span 2; display: flex; align-items: center; justify-content: space-between; }
.sello-t { min-width: 0; }
.sello { flex: 0 0 80px; width: 80px; height: 80px; margin-left: 1rem; border-radius: 50%; }
.ico .pulse { margin: 0; }
.tile.wide b { margin-bottom: .1rem; }
.tile .num { font-size: 2.2rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; margin-bottom: .5rem; }
.tile .num small { font-size: 1.1rem; color: var(--orange); }
.tile .lab { font-size: .85rem; line-height: 1.45; color: var(--ink-2); }
.tile .lab a { color: var(--orange-tx); font-weight: 500; text-decoration: underline; }
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--cream); color: var(--orange-tx); display: flex; align-items: center; justify-content: center; margin-bottom: .7rem; }
.ico svg { width: 18px; height: 18px; }
.tile.dark { background: var(--navy); color: #f4f1ea; border-color: rgba(255,255,255,.1); }
.tile.dark .lab { color: #b9b6c6; }
.tile.dark .ico { background: rgba(242,142,0,.18); color: var(--amber); }
.tile img.cp { width: 144px; max-width: 100%; height: auto; margin: .35rem 0 .8rem; }
.pulse { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #34a853; margin-right: .9rem; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,168,83,.5); } 70% { box-shadow: 0 0 0 9px rgba(52,168,83,0); } 100% { box-shadow: 0 0 0 0 rgba(52,168,83,0); } }

/* Logos Claris: negro en claro, blanco en oscuro */
.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-light { display: none; }
  :root:not([data-theme="light"]) .on-dark { display: block; }
  :root:not([data-theme="light"]) .logo { color: #f4f1ea; }
  :root:not([data-theme="light"]) .sello, :root:not([data-theme="light"]) .fbadges img.ex { box-shadow: 0 0 0 2px rgba(255,255,255,.22); }
}
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .on-dark { display: block; }
:root[data-theme="dark"] .logo { color: #f4f1ea; }
:root[data-theme="dark"] .sello, :root[data-theme="dark"] .fbadges img.ex { box-shadow: 0 0 0 2px rgba(255,255,255,.22); }

/* ── Cenefa: fila superior del mosaico corporativo ──── */
.cenefa { height: 56px; background: #000515 url('../img/cenefa.svg') repeat-x left top; background-size: 386px 56px; }
@media (min-width: 900px) { .cenefa { height: 84px; background-size: 579px 84px; } }
@media print { .cenefa { display: none; } }

/* ── Franja de sectores ─────────────────────────────── */
.trust { padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.trust .t { color: var(--ink-3); margin: .2rem 1.5rem .2rem 0; }
.trust ul { display: flex; flex-wrap: wrap; list-style: none; color: var(--ink-2); font-weight: 500; }
.trust li { margin: .2rem 1.3rem .2rem 0; }
.trust li:last-child { margin-right: 0; }

/* ── Servicios (3 pilares) ──────────────────────────── */
.pillars { display: grid; grid-gap: 1rem; gap: 1rem; }
@media (min-width: 960px) { .pillars { grid-template-columns: 1fr 1fr 1fr; } }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; overflow: hidden; min-width: 0;
}
.pillar::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #c95c36, #f28e00, #ebc98a); }
.pillar .ico { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem; }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar h3 { margin-bottom: .7rem; }
.pillar p { color: var(--ink-2); font-size: .98rem; margin-bottom: 1rem; }
.pillar ul { list-style: none; font-size: .93rem; margin-bottom: 1.4rem; }
.pillar li { position: relative; padding-left: 1.1rem; margin-bottom: .45rem; }
.pillar li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.more { margin-top: auto; font-weight: 600; color: var(--orange-tx); display: inline-flex; align-items: center; min-height: 44px; }
.more svg { width: 16px; height: 16px; margin-left: .3rem; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* ── Caminos ────────────────────────────────────────── */
.paths { display: grid; grid-gap: 1rem; gap: 1rem; }
@media (min-width: 800px) { .paths { grid-template-columns: 1fr 1fr 1fr; } }
.path { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; min-width: 0; }
.path:hover { transform: translateY(-3px); border-color: var(--sand); }
.path .k { font-size: .78rem; font-weight: 600; letter-spacing: .1em; color: var(--orange-tx); text-transform: uppercase; margin-bottom: .6rem; }
.path h3 { margin-bottom: .5rem; }
.path p { color: var(--ink-2); font-size: .95rem; }
.problems { margin-top: 2.4rem; display: grid; grid-gap: .6rem; gap: .6rem; }
@media (min-width: 800px) { .problems { grid-template-columns: 1fr 1fr; } }
.problem { display: flex; align-items: flex-start; font-size: .95rem; color: var(--ink-2); padding: .75rem .9rem; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.problem svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--orange); margin: .15rem .7rem 0 0; }

/* ── Cómo trabajamos ────────────────────────────────── */
.steps { display: grid; grid-gap: 1rem; gap: 1rem; counter-reset: s; }
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.step { padding: 1.4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.step::before { counter-increment: s; content: '0' counter(s); font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; color: var(--sand); line-height: 1; display: block; margin-bottom: .8rem; }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; color: var(--ink-2); }
.quote { margin-top: 2.2rem; padding: 1.6rem; border-radius: var(--r); background: var(--navy); color: #f4f1ea; border: 1px solid rgba(255,255,255,.1); display: grid; grid-gap: 1.2rem; gap: 1.2rem; align-items: center; }
@media (min-width: 900px) { .quote { grid-template-columns: 1fr auto; padding: 1.8rem 2rem; } }
.quote p { font-size: 1.12rem; line-height: 1.45; }
.quote p em { color: var(--amber); }
.quote .btn { justify-self: start; }

/* ── IA local e híbrida ─────────────────────────────── */
.ia { background: var(--navy); color: #f4f1ea; position: relative; overflow: hidden; }
.ia::before { content: ''; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 90%; background: radial-gradient(ellipse at center, rgba(242,142,0,.2), rgba(242,142,0,0) 70%); pointer-events: none; }
.ia .wrap { position: relative; z-index: 1; }
.ia .eyebrow { color: var(--amber); } .ia .eyebrow::before { background: var(--amber); }
.ia .sec-head { max-width: 800px; }
.ia .lead { color: #c9c5bd; }
.ia-grid { display: grid; grid-gap: 1.2rem; gap: 1.2rem; align-items: start; }
@media (min-width: 1000px) { .ia-grid { grid-template-columns: 1fr 1fr; grid-gap: 2rem; gap: 2rem; } }
.ia-grid > * { min-width: 0; }
.mode { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 1.4rem; }
.mode + .mode { margin-top: 1rem; }
.mode.loc { border-color: rgba(242,142,0,.55); }
.mode h3 { margin: .7rem 0 .4rem; }
.mode p { font-size: .96rem; color: #c9c5bd; }
.mode ul { list-style: none; margin-top: .8rem; font-size: .9rem; color: #b9b6c6; }
.mode li { position: relative; padding-left: 1.1rem; margin-bottom: .3rem; }
.mode li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.chip { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: rgba(242,142,0,.18); color: var(--amber); }
.chip.b { background: rgba(235,201,138,.16); color: var(--sand); }
.flow { background: #0e0e20; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 1.2rem; }
.flow .row { display: flex; align-items: center; padding: .8rem 1rem; border-radius: var(--r-sm); background: rgba(255,255,255,.05); }
.flow .row .ico { flex: 0 0 36px; margin: 0 .8rem 0 0; background: rgba(242,142,0,.16); color: var(--amber); }
.flow .row b { display: block; font-size: .95rem; line-height: 1.3; }
.flow .row span { font-size: .82rem; color: #b9b6c6; }
.flow .arrow { text-align: center; color: #8f8ca0; font-size: .8rem; letter-spacing: .1em; padding: .6rem 0; }
.flow .fence { border: 1.5px dashed rgba(242,142,0,.55); border-radius: var(--r-sm); padding: 1.1rem .7rem .7rem; position: relative; }
.flow .fence + .fence { margin-top: 1.3rem; }
.flow .fence.out { border-color: rgba(255,255,255,.28); }
.flow .fence.out .fence-t { color: #c9c5bd; }
.flow .fence.out .ico { background: rgba(255,255,255,.1); color: #c9c5bd; }
.flow .fence .row + .row { margin-top: .6rem; }
.flow .fence-t { position: absolute; top: -.65rem; left: .9rem; background: #0e0e20; padding: 0 .5rem; font-size: .68rem; letter-spacing: .12em; color: var(--amber); font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.ia-uses { list-style: none; display: grid; grid-gap: 1.4rem 1.5rem; gap: 1.4rem 1.5rem; margin-top: 2.6rem; }
@media (min-width: 600px)  { .ia-uses { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ia-uses { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.ia-uses li { min-width: 0; }
.ia-uses svg { width: 22px; height: 22px; color: var(--amber); margin-bottom: .6rem; }
.ia-uses b { display: block; font-weight: 600; margin-bottom: .2rem; }
.ia-uses span { font-size: .92rem; color: #b9b6c6; }

/* ── Cloud ──────────────────────────────────────────── */
.cloud-grid { display: grid; grid-gap: 1.2rem; gap: 1.2rem; }
@media (min-width: 960px) { .cloud-grid { grid-template-columns: 1fr 1fr; } }
.cloud-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); min-width: 0; }
.cloud-box h3 { margin-bottom: .4rem; }
.tag { display: inline-block; vertical-align: middle; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: var(--cream); color: var(--orange-tx); margin-left: .4rem; position: relative; top: -2px; }
.cloud-box > p { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.2rem; }
.plan { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line); margin-bottom: .6rem; }
.plan.best { border-color: var(--orange); background: var(--card-best); }
.plan .d { min-width: 0; padding-right: 1rem; }
.plan b { display: block; font-weight: 600; line-height: 1.3; }
.plan small { display: block; font-size: .82rem; line-height: 1.4; color: var(--ink-3); margin-top: .15rem; }
.plan.best small { color: var(--ink-2); }
.price { flex: 0 0 auto; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-align: right; line-height: 1.2; white-space: nowrap; }
.price span { display: block; font-size: .75rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan.best .price span { color: var(--ink-2); }
.incl { margin-top: 1rem; font-size: .86rem; color: var(--ink-2); display: flex; flex-wrap: wrap; }
.incl span { display: inline-flex; align-items: center; margin: .15rem .9rem .15rem 0; }
.incl svg { width: 14px; height: 14px; color: var(--orange); margin-right: .3rem; flex: 0 0 14px; }

/* ── Por qué ────────────────────────────────────────── */
.why { display: grid; grid-gap: 1rem; gap: 1rem; }
@media (min-width: 800px) { .why { grid-template-columns: 1fr 1fr; } }
.why > div { padding: 1.4rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.why h3 { font-size: 1.05rem; margin-bottom: .4rem; display: flex; align-items: center; }
.why h3 svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--orange); margin-right: .6rem; }
.why p { font-size: .93rem; color: var(--ink-2); }

/* ── Contacto ───────────────────────────────────────── */
.contact .wrap { display: grid; grid-gap: 2.5rem; gap: 2.5rem; }
@media (min-width: 1000px) { .contact .wrap { grid-template-columns: .9fr 1.1fr; grid-gap: 4rem; gap: 4rem; } }
.contact .wrap > * { min-width: 0; }
.contact h2 { margin-bottom: .9rem; }
.cdet { margin-top: 1.6rem; }
.cdet > div { display: flex; align-items: flex-start; margin-bottom: 1.1rem; }
.cdet svg { width: 20px; height: 20px; color: var(--orange); flex: 0 0 20px; margin: .2rem .8rem 0 0; }
.cdet b { display: block; font-weight: 600; font-size: .95rem; }
.cdet span, .cdet a { font-size: .95rem; color: var(--ink-2); }
.cdet a { display: inline-block; padding: .55rem 0; margin: -.35rem 0; text-decoration: underline; }
.cdet a:hover { color: var(--orange-tx); }
form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); }
@media (min-width: 600px) { form { padding: 1.8rem; } }
.f2 { display: grid; grid-gap: 0 1rem; gap: 0 1rem; } @media (min-width: 600px) { .f2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 1rem; }
input, select, textarea {
  display: block; width: 100%; margin-top: .35rem; font: inherit; font-size: 16px; min-height: 48px;
  padding: .7rem .9rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
select {
  padding-right: 2.4rem; background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px 8px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c95c36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(201,92,54,.18); }
textarea { min-height: 120px; resize: vertical; }
form .btn { width: 100%; }
@media (min-width: 600px) { form .btn { width: auto; } }
.fmsg { padding: .7rem 1rem; border-radius: 10px; font-size: .9rem; font-weight: 500; margin-bottom: 1rem; }
.fmsg.ok { background: rgba(52,168,83,.14); color: #1e7e34; }
.fmsg.ko { background: rgba(201,92,54,.14); color: var(--orange-tx); }
.legal { font-size: .8rem; color: var(--ink-3); margin-top: 1rem; }
.legal a { color: var(--orange-tx); text-decoration: underline; }
.hp { position: absolute; left: -9999px; top: -9999px; }

/* ── Footer ─────────────────────────────────────────── */
footer { padding: 3rem 0 2rem; font-size: .92rem; color: var(--ink-2); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2rem 1.5rem; gap: 2rem 1.5rem; }
.fbrand { grid-column: 1 / span 2; }
@media (min-width: 800px) { .fgrid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .fbrand { grid-column: auto; } }
footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: .6rem; }
footer ul { list-style: none; }
footer li a { display: inline-block; padding: .8rem 0; line-height: 1.3; }
footer li { margin: -.2rem 0; }
footer a:hover { color: var(--orange-tx); }
.fbrand .logo { margin-bottom: 1rem; }
.fbrand p { max-width: 30em; }
.fbadges { display: flex; align-items: center; margin-top: 1rem; }
.fbadges img.cp { height: 24px; width: auto; margin-right: 1rem; }
.fbadges img.ex { height: 44px; width: 44px; border-radius: 50%; }
.fbot { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }
.fbot span { margin: .2rem 1rem .2rem 0; }

/* Aparición suave: solo si hay JavaScript */
.js .reveal { opacity: 0; -webkit-transform: translateY(14px); transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; -webkit-transform: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; -webkit-transform: none; transform: none; transition: none; }
  .pulse { animation: none; }
}
@media print {
  .nav, .mobile-menu, .hero::before, .hero::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Páginas legales ────────────────────────────────── */
.nav .langs.siempre { display: flex; }
.doc { padding: 2.6rem 0 3.5rem; }
@media (min-width: 900px) { .doc { padding: 4rem 0 5rem; } }
.doc .wrap > * { max-width: 46rem; }
.doc h1 { font-size: 2rem; margin-bottom: .5rem; }
@media (min-width: 600px) { .doc h1 { font-size: 2.6rem; } }
.doc h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2.2rem 0 .7rem; }
.doc .fecha { font-size: .9rem; color: var(--ink-3); margin-bottom: 1.6rem; }
.doc .lead { margin-bottom: 1rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-bottom: .9rem; }
.doc ul { list-style: none; margin-bottom: 1rem; }
.doc li { position: relative; padding-left: 1.1rem; margin-bottom: .5rem; }
.doc li::before { content: ''; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.doc ul.datos { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.doc ul.datos li { padding-left: 0; margin-bottom: .45rem; }
.doc ul.datos li:last-child { margin-bottom: 0; }
.doc ul.datos li::before { display: none; }
.doc b { color: var(--ink); font-weight: 600; }
.doc a { color: var(--orange-tx); text-decoration: underline; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-2); padding: .1em .35em; border-radius: 5px; }
.doc .volver { margin-top: 2.6rem; }
.doc .volver a { display: inline-block; padding: .6rem 0; font-weight: 600; text-decoration: none; }
.nb { white-space: nowrap; }
.pend { background: #ffe9a8; color: #6b4700; padding: .05em .4em; border-radius: 5px; font-weight: 600; }
