/* ==========================================================================
   eDigital Solutions - modern.css
   Rediseño corporativo. Se carga junto a font-awesome.min.css.
   No depende de Bootstrap; los archivos css/style.css y css/responsive.css
   originales se conservan en la carpeta pero ya no se cargan en index.php.
   ========================================================================== */

:root {
    --navy: #071B36;
    --navy-2: #0B2447;
    --navy-3: #10305D;
    --blue: #0866D5;
    --electric: #168BFF;
    --white: #fff;
    --light: #F4F7FB;
    --ink: #0F2037;
    --muted: #5B6B82;
    --line: #E1E8F2;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(7, 27, 54, .08);
    --shadow-lg: 0 24px 60px rgba(7, 27, 54, .18);
    --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 80px; }

/* ---------- Botones ---------- */
.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    text-decoration: none !important; white-space: normal; text-align: center;
}
.btn i { transition: transform .25s ease; }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-paper-plane { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--electric), var(--blue)); box-shadow: 0 10px 26px rgba(22, 139, 255, .35); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(22, 139, 255, .5); color: #fff; }
.btn-primary::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: translateX(-160%) skewX(-20deg); animation: shine 5s ease-in-out 1.5s infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(380%) skewX(-20deg); } }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn-light:hover { color: var(--blue); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Etiquetas / titulos de seccion ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
    color: #9CCBFF; background: rgba(22, 139, 255, .14); border: 1px solid rgba(22, 139, 255, .35);
    padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow-dark { color: var(--blue); background: rgba(8, 102, 213, .08); border-color: rgba(8, 102, 213, .22); }
.section { padding: 110px 0; position: relative; }
.section > .container { position: relative; z-index: 2; }
.section-light { background: var(--light); }
.section-light, .section-soft { overflow: hidden; }
/* manchas de color difuminadas + malla de puntos (secciones claras) */
.section-light::before, .section-soft::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(520px 380px at 94% 6%, rgba(22, 139, 255, .13), transparent 70%),
        radial-gradient(460px 340px at 3% 94%, rgba(8, 102, 213, .11), transparent 70%);
}
.section-light::after, .section-soft::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
    background-image: radial-gradient(rgba(8, 102, 213, .18) 1.2px, transparent 1.5px); background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 18%, #000 5%, transparent 68%);
    mask-image: radial-gradient(ellipse at 50% 18%, #000 5%, transparent 68%);
}
/* las manchas y mallas se desvanecen al inicio de cada seccion para que no se vea un corte junto a las ondas */
.section-light::before, .section-soft::before, .section-dark::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 170px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 170px);
}
/* separadores con curva o diagonal entre secciones */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; line-height: 0; pointer-events: none; z-index: 1; }
.wave svg { display: block; width: 100%; height: 100%; }
.wave-light path { fill: var(--light); }
.wave-dark path { fill: var(--navy); }
.wave-white path { fill: #fff; }
.section-dark { background: var(--navy); color: #D6E2F3; position: relative; overflow: hidden; }
.section-dark::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(700px 420px at 90% 0%, rgba(22, 139, 255, .22), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(8, 102, 213, .22), transparent 60%);
}
.section-dark::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 72%);
}
.section-dark > .container { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; color: var(--navy); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Animacion de entrada ---------- */
/* Aparece con retraso escalonado (--d) y desaparece rapido y sin retraso al salir de pantalla */
.js .reveal {
    opacity: 0; translate: 0 26px;
    transition: opacity .4s ease, translate .4s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
    transition-delay: 0s;
}
.js .reveal.in {
    opacity: 1; translate: 0 0;
    transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
    transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s;
}

/* ---------- Barra de progreso de lectura ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #22D3EE, #168BFF, #0866D5); box-shadow: 0 0 10px rgba(22, 139, 255, .8); }

/* ============================ ENCABEZADO ============================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled { background: rgba(7, 27, 54, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100px; transition: height .3s ease; }
.is-scrolled .nav-wrap { height: 76px; }
.brand img { width: 250px; height: auto; transition: width .3s ease; }
.is-scrolled .brand img { width: 186px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a {
    position: relative; display: block; padding: 8px 14px; color: #D6E2F3; font-weight: 500; font-size: 15px; border-radius: 999px;
    transition: color .2s ease, background .2s ease; text-decoration: none;
}
.nav ul a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav ul a.active { color: #fff; background: rgba(22, 139, 255, .22); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
    position: relative; overflow: hidden; color: #fff; padding: 132px 0 118px; min-height: min(100vh, 780px); display: flex; align-items: center;
    background:
        radial-gradient(900px 560px at 85% 8%, rgba(22, 139, 255, .38), transparent 60%),
        radial-gradient(700px 520px at 0% 100%, rgba(8, 102, 213, .38), transparent 60%),
        linear-gradient(180deg, #071B36 0%, #0A2347 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; margin-bottom: 16px; }
.grad { background: linear-gradient(90deg, #7CC0FF, #168BFF 55%, #5AA8FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #C5D6EC; max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; }
.hero-stats { display: flex; flex-wrap: wrap; row-gap: 14px; }
.stat { padding: 2px 26px 2px 0; margin-right: 26px; border-right: 1px solid rgba(255, 255, 255, .18); }
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 7px; font-size: 13px; color: #9FB6D4; letter-spacing: .02em; }

/* Visual del hero (decorativo) */
.hero-visual { position: relative; padding: 16px 6px; }
.hero-visual::before {
    content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle, rgba(22, 139, 255, .55), transparent 65%); filter: blur(30px);
}
.dash {
    position: relative; z-index: 1; border-radius: 20px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); backdrop-filter: blur(6px);
}
.dash-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .07); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.dash-top i:nth-child(1) { background: #FF6B6B; } .dash-top i:nth-child(2) { background: #FFC857; } .dash-top i:nth-child(3) { background: #4ADE80; }
.dash-top span { margin-left: 10px; font-size: 12px; color: #C5D6EC; }
.dash-body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.dash-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 0; align-items: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.dash-side b { width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, .18); }
.dash-side b:first-child { background: var(--electric); }
.dash-main { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-kpis div { height: 54px; border-radius: 12px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.dash-kpis div::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .2) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 4.2s ease-in-out infinite; }
.dash-kpis div:nth-child(2)::before { animation-delay: .6s; } .dash-kpis div:nth-child(3)::before { animation-delay: 1.2s; }
@keyframes sweep { 0%, 40% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.dash-kpis div::after { content: ""; position: absolute; left: 12px; top: 14px; width: 40%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); box-shadow: 0 16px 0 -1px rgba(255, 255, 255, .18); }
.dash-chart { position: relative; flex: 1; min-height: 120px; display: flex; align-items: flex-end; gap: 10px; padding: 14px 14px 0; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.dash-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #5AB0FF, var(--blue)); transform-origin: bottom; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both, breathe 3.6s ease-in-out 1.6s infinite alternate; }
.dash-chart span:nth-child(2) { animation-delay: .08s, 1.68s; animation-duration: 1.4s, 4.1s; }
.dash-chart span:nth-child(3) { animation-delay: .16s, 1.76s; animation-duration: 1.4s, 3.3s; }
.dash-chart span:nth-child(4) { animation-delay: .24s, 1.84s; animation-duration: 1.4s, 4.6s; }
.dash-chart span:nth-child(5) { animation-delay: .32s, 1.92s; animation-duration: 1.4s, 3.4s; }
.dash-chart span:nth-child(6) { animation-delay: .4s, 2s; animation-duration: 1.4s, 4.3s; }
.dash-chart span:nth-child(7) { animation-delay: .48s, 2.08s; animation-duration: 1.4s, 3.8s; }
.dash-chart span:nth-child(8) { animation-delay: .56s, 2.16s; animation-duration: 1.4s, 4.8s; }
@keyframes breathe { from { transform: scaleY(1); } to { transform: scaleY(.62); } }
.spark { position: absolute; left: 10px; right: 10px; top: 10px; bottom: 0; width: calc(100% - 20px); height: calc(100% - 10px); pointer-events: none; overflow: visible; }
.spark path { fill: none; stroke: #CFE8FF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 5px rgba(124, 192, 255, .95)); animation: draw 5.5s ease-in-out 1.8s infinite; }
@keyframes draw { 0% { stroke-dashoffset: 400; opacity: 1; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.dash-lines { display: grid; gap: 8px; }
.dash-lines i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); transform-origin: left; animation: lineflex 4s ease-in-out infinite alternate; }
.dash-lines i:nth-child(2) { animation-delay: -1.2s; } .dash-lines i:nth-child(3) { animation-delay: -2.4s; }
@keyframes lineflex { from { transform: scaleX(1); } to { transform: scaleX(.55); } }
.dash-lines i:nth-child(1) { width: 90%; } .dash-lines i:nth-child(2) { width: 70%; } .dash-lines i:nth-child(3) { width: 82%; }
.chip {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
    color: #fff; background: rgba(10, 35, 71, .78); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}
.chip i { color: var(--electric); font-size: 15px; }
.chip-1 { top: -6px; right: 20%; }
.chip-2 { top: 16%; right: -3%; animation-delay: -1.5s; }
.chip-3 { bottom: 8%; left: -4%; animation-delay: -3s; }
.chip-4 { bottom: -2%; right: 4%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes grow { from { transform: scaleY(.15); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }

/* =========================== SERVICIOS =========================== */
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; display: flex; flex-direction: column;
}
.card::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; pointer-events: none;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(22, 139, 255, .12), transparent 60%);
}
.service:not(.service-featured):hover { transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(22, 139, 255, .45); }
.card:hover::before { opacity: 1; }
.service .icon {
    position: relative; overflow: hidden;
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; font-size: 24px; color: #fff;
    background: linear-gradient(135deg, var(--electric), var(--blue)); box-shadow: 0 10px 22px rgba(8, 102, 213, .3);
    transition: transform .3s ease;
}
.service .icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #22D3EE, #168BFF); opacity: 0; transition: opacity .35s ease; }
.service .icon i { position: relative; z-index: 1; }
.service:hover .icon { transform: scale(1.08) rotate(-4deg); }
.service:hover .icon::after { opacity: 1; }
.service:hover .icon i { animation: pop .7s ease; }
@keyframes pop { 0% { transform: scale(1) rotate(0); } 35% { transform: scale(1.35) rotate(-14deg); } 70% { transform: scale(.9) rotate(8deg); } 100% { transform: scale(1) rotate(0); } }
.service h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--light); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--navy); }
.tag i { font-size: 15px; color: var(--blue); }
.tag .fa-file-pdf-o { color: #E5484D; }
.tag .fa-file-excel-o { color: #22A06B; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--blue); margin-top: auto; }
.more i { transition: transform .25s ease; font-size: 12px; }
.more:hover { text-decoration: none; color: var(--navy); }
.more:hover i { transform: translateX(5px); }

.service-featured {
    grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 44px;
    color: #fff; border: 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 55%, var(--blue) 120%);
}
.service-featured:hover { border-color: transparent; }
.service-featured h3 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.service-featured p { color: #C5D6EC; max-width: 560px; flex: none; margin-bottom: 26px; font-size: 17px; }
.featured-copy { max-width: 640px; }
.featured-steps { display: grid; gap: 14px; min-width: 300px; }
.featured-steps li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: transform .3s ease, background .3s ease; }
.featured-steps li:hover { transform: translateX(6px); background: rgba(255, 255, 255, .14); }
.featured-steps b { font-family: var(--font-head); font-size: 20px; color: #7CC0FF; }
.featured-steps span { font-weight: 500; }

/* =========================== NOSOTROS =========================== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.about-copy h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.about-copy p { font-size: 17px; color: #C5D6EC; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sizes li { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }

.orbit { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1; margin: 0 auto; }
.orbit-core { position: absolute; inset: 31%; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(22, 139, 255, .18), 0 0 70px rgba(22, 139, 255, .55); z-index: 2; }
.orbit-core picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.orbit-core img { width: 72%; height: auto; display: block; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(124, 192, 255, .4); animation: spin 48s linear infinite; }
.ring-1 { inset: 12%; }
.ring-2 { inset: 0; border-style: solid; border-color: rgba(124, 192, 255, .18); }
.node { position: absolute; inset: 0; transform: rotate(var(--a)); }
.node i {
    position: absolute; top: 0; left: 50%; margin: -23px 0 0 -23px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: #fff;
    background: linear-gradient(135deg, var(--electric), var(--blue)); box-shadow: 0 8px 22px rgba(22, 139, 255, .5);
    transform: rotate(calc(var(--a) * -1)); animation: spin-rev 48s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(calc(var(--a) * -1 - 360deg)); } }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pillar { padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.pillar:hover { transform: translateY(-5px); background: rgba(22, 139, 255, .14); border-color: rgba(22, 139, 255, .5); }
.pillar > i { font-size: 26px; color: var(--electric); margin-bottom: 14px; display: block; }
.pillar h3 { font-size: 17px; margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: #B7CBE6; margin: 0; }

/* =========================== SOLUCIONES =========================== */
.grid-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.shot { margin: 0; }
.frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease; }
.shot:hover .frame { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--light); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E4; }
.frame img { width: 100%; height: auto; aspect-ratio: 1000 / 536; object-fit: cover; object-position: top; }
.frame-pos img { aspect-ratio: 1000 / 536; object-fit: contain; background: #fff; padding: 10px; }
.shot figcaption { padding: 16px 4px 0; display: grid; gap: 2px; }
.shot figcaption strong { font-family: var(--font-head); font-size: 18px; color: var(--navy); }
.shot figcaption span { color: var(--muted); font-size: 15px; }

.video-head { text-align: center; margin: 80px 0 30px; }
.video-head h3 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin-bottom: 8px; }
.video-head p { color: var(--muted); margin: 0; }
.grid-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 920px; margin: 0 auto; }
.video { border-radius: 16px; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.video-btn, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; }
.video-btn { position: relative; overflow: hidden; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; opacity: .9; }
.video-btn:hover img { transform: scale(1.05); opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; padding-left: 4px;
    background: linear-gradient(135deg, var(--electric), var(--blue)); box-shadow: 0 0 0 10px rgba(22, 139, 255, .25), 0 14px 34px rgba(0, 0, 0, .4); transition: transform .3s ease; }
.video-btn:hover .play { transform: scale(1.1); }
.video-cap { padding: 14px 18px; color: #fff; font-family: var(--font-head); }

/* =========================== EXPERIENCIAS =========================== */
.grid-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote { position: relative; margin: 0; padding: 40px 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.q-mark { font-size: 34px; color: var(--electric); opacity: .35; margin-bottom: 14px; }
.quote p { font-size: 17px; color: var(--ink); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--electric), var(--blue)); box-shadow: 0 8px 20px rgba(8, 102, 213, .3); }
.quote footer strong { display: block; font-family: var(--font-head); color: var(--navy); }
.quote footer span { font-size: 14px; color: var(--muted); }
.quote footer .avatar { font-size: 16px; color: #fff; }

/* =========================== CONTACTO =========================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.contact-info > p { font-size: 17px; color: #C5D6EC; margin-bottom: 30px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s ease, transform .3s ease; }
.contact-list li:hover { background: rgba(22, 139, 255, .14); transform: translateX(4px); }
.contact-list li > i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--electric), var(--blue)); color: #fff; font-size: 18px; }
.contact-list span { display: block; font-size: 13px; color: #9FB6D4; }
.contact-list a { color: #fff; font-weight: 600; word-break: break-word; }

.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 38px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.form-card h3 { color: var(--navy) !important; font-size: 24px; margin-bottom: 22px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--light); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--electric); box-shadow: 0 0 0 4px rgba(22, 139, 255, .18); }
.form-foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-foot small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.form-foot small a { color: var(--muted); text-decoration: underline; }
.form-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 20px; }
.form-alert > i { font-size: 24px; margin-top: 2px; }
.form-alert strong { display: block; font-family: var(--font-head); }
.form-alert span { font-size: 15px; }
.form-alert.is-ok { background: #E8F8EF; color: #0C5B33; border: 1px solid #B6E8CB; }
.form-alert.is-error { background: #FEF0EE; color: #8A2418; border: 1px solid #F6C6BE; }

/* =========================== CTA + FOOTER =========================== */
.cta { padding: 70px 0; color: #fff; background: linear-gradient(120deg, var(--blue) 0%, var(--electric) 100%); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -80px; top: -160px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 8px; }
.cta p { margin: 0; color: #E4F0FF; font-size: 17px; }

.site-footer { background: #05142A; color: #9FB6D4; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.foot-brand img { width: 230px; height: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 280px; font-size: 15px; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; transition: background .25s ease, transform .25s ease; }
.social:hover { background: var(--electric); transform: translateY(-3px); text-decoration: none; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.foot-links { display: grid; gap: 10px; }
.site-footer a { color: #9FB6D4; transition: color .2s ease; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer address { font-style: normal; }
.site-footer address p { display: flex; gap: 10px; margin: 0 0 10px; font-size: 15px; word-break: break-word; }
.site-footer address i { color: var(--electric); margin-top: 5px; width: 14px; flex: none; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 26px; font-size: 14px; }
.footer-bottom p { margin: 0; }

.to-top {
    position: fixed; right: 25px; bottom: 90px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--electric), var(--blue)); box-shadow: 0 10px 26px rgba(8, 102, 213, .45);
    opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { text-decoration: none; transform: translateY(-3px); color: #fff; }

/* La insignia flotante de reCAPTCHA se oculta; el aviso obligatorio de Google se muestra en el formulario */
.grecaptcha-badge { visibility: hidden !important; }

/* ---------- WhatsApp ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 91; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    color: #fff; font-size: 31px; background: #25D366; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .65); animation: wapulse 2.6s ease-out infinite; }
@keyframes wapulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.65); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 32px rgba(37, 211, 102, .6); color: #fff; text-decoration: none; }
.contact-list li > i.fa-whatsapp { background: #25D366; font-size: 22px; }
.wa-panel {
    position: fixed; right: 20px; bottom: 90px; z-index: 92; width: min(330px, calc(100vw - 32px)); background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(7, 27, 54, .38); transform-origin: bottom right;
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.wa-panel.open { opacity: 1; visibility: visible; transform: none; }
.wa-panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; color: #fff; background: linear-gradient(135deg, #128C7E, #25D366); }
.wa-panel-head > i { font-size: 32px; flex: none; }
.wa-panel-head strong { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.2; }
.wa-panel-head span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; opacity: .92; }
.wa-close { margin-left: auto; flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #fff; font-size: 18px; background: rgba(255, 255, 255, .16); transition: background .2s ease; }
.wa-close:hover { background: rgba(255, 255, 255, .3); }
.wa-opts { display: grid; gap: 8px; padding: 12px; background: #EEF3F8; }
.wa-opt {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
    color: var(--navy); font-weight: 600; font-size: 14.5px; line-height: 1.3; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.wa-opt i { flex: none; width: 20px; text-align: center; color: #25D366; font-size: 17px; }
.wa-opt:hover { color: var(--navy); text-decoration: none; border-color: #25D366; background: #F1FBF5; transform: translateX(3px); }
.social + .social { margin-left: 10px; }
.social-wa:hover { background: #25D366; }

/* ---------- Paginas legales (aviso de privacidad) ---------- */
.legal-hero {
    position: relative; overflow: hidden; color: #fff; padding: 150px 0 64px;
    background:
        radial-gradient(800px 460px at 85% 0%, rgba(22, 139, 255, .35), transparent 60%),
        linear-gradient(180deg, #071B36 0%, #0A2347 100%);
}
.legal-top-back {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 9px 18px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: #fff; text-decoration: none;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); transition: background .25s ease, transform .25s ease;
}
.legal-top-back i { transition: transform .25s ease; }
.legal-top-back:hover { background: rgba(255, 255, 255, .16); color: #fff; text-decoration: none; }
.legal-top-back:hover i { transform: translateX(-4px); }
.legal-hero .container > .eyebrow { display: flex; width: fit-content; }
.legal-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; margin-bottom: 8px; }
.legal-hero p { margin: 0; color: #B7CBE6; }
.legal-body { padding: 56px 0 90px; }
.legal-body .container { max-width: 860px; }
.legal-body h2 { font-size: 22px; color: var(--navy); margin: 38px 0 12px; }
.legal-body p, .legal-body li { color: #33445C; font-size: 16.5px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal-body li { margin-bottom: 6px; }
.legal-body li::marker { color: var(--electric); }
.legal-consent { margin-top: 34px; padding: 16px 18px; background: var(--light); border: 1px solid var(--line); border-radius: 14px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 600; }
.site-footer-min { padding-top: 10px; }

/* ---------- Ventana emergente de detalle de servicio ---------- */
.service:not(.service-featured) { cursor: pointer; }
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 14, 30, .74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-panel {
    position: relative; width: min(680px, 100%); max-height: min(88vh, 780px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; outline: none;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5); transform: translateY(18px) scale(.97); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.modal.open .modal-panel { transform: none; }
.modal-panel:focus, .modal-panel:focus-visible { outline: none; }
.modal-head { display: flex; align-items: center; gap: 16px; padding: 24px 66px 22px 26px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-3) 60%, var(--blue)); }
.modal-head .icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, var(--electric), #22D3EE); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.md-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9CCBFF; }
.modal-head h3 { color: #fff; font-size: clamp(20px, 3vw, 26px); }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; font-size: 18px; background: rgba(255, 255, 255, .16); transition: background .2s ease; }
.modal-close:hover { background: rgba(255, 255, 255, .3); }
.modal-body { padding: 24px 26px 8px; overflow-y: auto; overscroll-behavior: contain; }
.md-img { width: 100%; height: auto; margin-bottom: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--light); }
.md-lead { font-size: 17px; color: var(--ink); }
.modal-body h4 { margin: 22px 0 10px; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.md-list li { position: relative; margin-bottom: 9px; padding-left: 30px; color: #33445C; }
.md-list li::before { content: "\f00c"; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-family: FontAwesome; font-size: 10px; line-height: 1; color: #fff; background: var(--electric); }
.modal-body p { color: #33445C; }
.md-link { font-weight: 600; }
.md-note { padding: 12px 14px; font-size: 15px; background: var(--light); border: 1px solid var(--line); border-radius: 12px; }
.modal-foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 26px 22px; border-top: 1px solid var(--line); background: #fff; }
.btn-wa { color: #fff; background: linear-gradient(135deg, #128C7E, #25D366); box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { color: #fff; box-shadow: 0 14px 30px rgba(37, 211, 102, .5); }
.btn-outline { color: var(--navy); background: #fff; border-color: #C9D4E4; }
.btn-outline:hover { color: var(--blue); border-color: var(--electric); }
body.modal-open { overflow: hidden; padding-right: var(--sbw, 0px); }
.modal-open .site-header { padding-right: var(--sbw, 0px); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1100px) {
    .pillars { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .section { padding: 84px 0; }
    .nav-toggle { display: block; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 24px 26px;
        background: rgba(7, 27, 54, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .08);
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    .nav.open { opacity: 1; visibility: visible; transform: none; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav ul a { padding: 12px 14px; font-size: 16px; border-radius: 12px; }
    .nav-cta { width: 100%; }
    .site-header:has(.nav.open) { background: rgba(7, 27, 54, .97); }
    .hero { padding: 112px 0 96px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .grid-services { grid-template-columns: repeat(2, 1fr); }
    .service-featured { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
    .featured-steps { width: 100%; min-width: 0; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .section { padding: 68px 0; }
    .nav-wrap { height: 78px; }
    .brand img, .foot-brand img { width: 184px; }
    .hero-actions .btn { width: 100%; }
    .chip { font-size: 12px; padding: 8px 12px; }
    .chip-1 { left: 0; right: auto; } .chip-2 { right: 0; } .chip-3 { left: 0; } .chip-4 { right: 0; }
    .dash-body { grid-template-columns: 44px 1fr; min-height: 250px; }
    .grid-services, .grid-shots, .grid-videos, .grid-quotes { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pillar { padding: 20px 16px; }
    .pillar:last-child { grid-column: 1 / -1; }
    .quote { padding: 32px 24px 26px; }
    .form-card { padding: 26px 20px; border-radius: 20px; }
    .form { grid-template-columns: 1fr; }
    .form-foot .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-inner .btn { width: 100%; }
    .video-head { margin-top: 60px; }
    .orbit { max-width: 320px; }
    .wave { height: 36px; }
    .wa-float { width: 52px; height: 52px; font-size: 28px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
    .to-top { width: 44px; height: 44px; right: 20px; bottom: calc(82px + env(safe-area-inset-bottom)); }
    .wa-panel { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); }
    .footer-bottom p { padding-right: 76px; }
    .modal { padding: 0; place-items: end center; }
    .modal-panel { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; }
    .modal-head { padding: 20px 60px 18px 18px; }
    .modal-body { padding: 20px 18px 6px; }
    .modal-foot { padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); }
    .modal-foot .btn { flex: 1 1 100%; }
    .legal-hero { padding: 124px 0 44px; }
    .legal-body { padding: 40px 0 70px; }
    .stat b { font-size: 28px; }
    .stat { padding-right: 16px; margin-right: 16px; }
}

/* ===================== Accesibilidad: menos movimiento ===================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; translate: none; transform: none; }
    .ring, .node i, .chip, .btn-primary::after, .dash-chart span, .spark path, .dash-lines i, .dash-kpis div::before, .wa-float::before { animation: none !important; }
    .spark path { stroke-dashoffset: 0; }
    .net { display: none; }
}
