/* ==========================================================================
   iXRAY — Web pública (diseño 2026)
   Paleta y tokens en :root. Para cambiar el degradado de marca, edita --grad.
   ========================================================================== */

:root {
    --bg: #F4F3F0;
    --panel: #ECEBE7;
    --card: #FFFFFF;
    --ink: #12161D;
    --ink-2: #5B616B;
    --ink-3: #7A808A;
    --dark: #0A0D12;
    --dark-2: #121722;
    --line: rgba(18, 22, 29, .08);
    --line-d: rgba(255, 255, 255, .09);
    --brand: #0D84C6;
    --brand-2: #0068A8;
    --violet: #9B8CFF;
    --cyan: #22C3E6;
    --teal: #2DD4A7;
    --grad: linear-gradient(115deg, #9B8CFF, #4C8DFF 38%, #0D84C6 62%, #22C3E6 82%, #2DD4A7);
    --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
    --r: 44px;
    --rc: 24px;
    --rs: 16px;
    --strip-h: 40px;
    --ease: cubic-bezier(.22, .9, .28, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

::selection { background: rgba(76, 141, 255, .25); }

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4, h5 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.02;
    text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

section[id], header[id] { scroll-margin-top: 90px; }

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Utilidades de texto heredadas de las traducciones ── */
.text-primary { color: var(--brand); }
.on-dark .text-primary { color: #7CC4FF; }
.head-line-2 {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Eyebrow (chip) ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    background: rgba(0, 0, 0, .05);
    padding: 7px 14px;
    border-radius: 11px;
    letter-spacing: 0;
    line-height: 1.4;
}

.on-dark .eyebrow {
    color: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .08);
}

.eyebrow i { color: var(--brand); }
.on-dark .eyebrow i { color: #7CC4FF; }

/* ── Botones ── */
@property --btna {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes btnring { to { --btna: 360deg; } }

@keyframes btnbreath {
    0%, 100% { box-shadow: 0 8px 26px -14px rgba(13, 132, 198, .55); }
    50% { box-shadow: 0 0 20px 1px rgba(155, 140, 255, .45), 0 10px 30px -12px rgba(13, 132, 198, .7); }
}

.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    border: none;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s ease, color .2s;
}

.btn::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    z-index: -1;
    background: conic-gradient(from var(--btna), #9B8CFF, #4C8DFF, #22C3E6, #2DD4A7, #9B8CFF);
    filter: blur(13px);
    opacity: 0;
    transform: scale(.86);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}

.btn:hover::after {
    opacity: .7;
    transform: scale(1);
    animation: btnring 4.5s linear infinite;
}

.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #232a36; }

.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .4); }
.btn-white:hover { transform: translateY(-2px) scale(1.02); }

.btn-glass {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid var(--line-d);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .25);
}

.btn-glass:hover { background: rgba(255, 255, 255, .18); }

.btn-glow {
    background: var(--brand);
    color: #fff;
    animation: btnbreath 2.6s ease-in-out infinite;
}

.btn-glow:hover { background: var(--brand-2); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--line), inset 0 0 0 1.5px rgba(18, 22, 29, .18);
}

.btn-outline:hover { background: rgba(0, 0, 0, .04); }

.btn-sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }

.btn:disabled { opacity: .7; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
    .btn-glow, .btn:hover::after { animation: none; }
}

/* ==========================================================================
   Franja de cumplimiento normativo
   ========================================================================== */
.strip {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--strip-h);
    z-index: 120;
    background: #05070A;
    border-bottom: 1px solid var(--line-d);
    overflow: hidden;
    display: flex;
    align-items: center;
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.strip-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: marquee 36s linear infinite;
}

.strip-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 36px;
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px;
    font-weight: 500;
}

.strip-item i {
    font-size: 13px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .strip-track, .marquee-track { animation: none; }
}

/* ==========================================================================
   Navegación flotante
   ========================================================================== */
.nav {
    position: fixed;
    top: calc(var(--strip-h) + 14px);
    left: 0;
    right: 0;
    z-index: 110;
    width: calc(100% - 28px);
    max-width: 1040px;
    margin: 0 auto;
    color: #fff;
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 18px;
    border-radius: 999px;
    background: rgba(13, 16, 22, .72);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--line-d);
    box-shadow: 0 12px 36px -16px rgba(0, 0, 0, .65), inset 0 1px rgba(255, 255, 255, .07);
    transition: background .35s, box-shadow .35s;
}

.nav.is-scrolled .nav-bar {
    background: rgba(13, 16, 22, .86);
    box-shadow: 0 16px 44px -16px rgba(0, 0, 0, .75), inset 0 1px rgba(255, 255, 255, .07);
}

.nav-logo { display: flex; align-items: center; flex: 0 0 auto; margin-right: 6px; }
.nav-logo img { height: 34px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s, background .2s;
}

.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .08); }

.nav-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-panel {
    display: none;
    margin-top: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(13, 16, 22, .94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--line-d);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

.nav-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    font-weight: 500;
}

.nav-panel a:hover { background: rgba(255, 255, 255, .06); }

.nav.is-open .nav-panel { display: block; }

/* ── Selector de idioma ── */
.lang { position: relative; }

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.lang-toggle:hover { background: rgba(255, 255, 255, .14); }
.lang-toggle .fa-chevron-down { font-size: 9px; opacity: .7; }

.flags { display: inline-flex; gap: 3px; }

.flags img {
    width: 22px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 190px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(13, 16, 22, .96);
    border: 1px solid var(--line-d);
    box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .75);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}

.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.lang-menu a:hover, .lang-menu a.active { background: rgba(255, 255, 255, .08); color: #fff; }

@media (max-width: 960px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-actions { margin-left: auto; }
    .lang-code { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: #fff;
    padding: calc(var(--strip-h) + 150px) 0 0;
    border-radius: 0 0 var(--r) var(--r);
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(40% 50% at 18% 30%, rgba(155, 140, 255, .28), transparent 70%),
        radial-gradient(45% 55% at 85% 20%, rgba(13, 132, 198, .38), transparent 70%),
        radial-gradient(50% 50% at 60% 95%, rgba(45, 212, 167, .18), transparent 70%);
    animation: glowshift 18s ease-in-out infinite alternate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask: radial-gradient(70% 60% at 50% 30%, #000, transparent);
    mask: radial-gradient(70% 60% at 50% 30%, #000, transparent);
}

@keyframes glowshift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-glow { animation: none; }
}

.hero-inner {
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.hero-brand {
    display: block;
    margin: 26px 0 14px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .6);
}

.hero h1 {
    font-size: clamp(40px, 6.6vw, 84px);
    font-weight: 600;
    line-height: .98;
}

.hero-sub {
    margin: 26px auto 0;
    max-width: 660px;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.6;
}

.hero-sub b { color: #fff; font-weight: 600; }

.hero-nopaper {
    display: inline-block;
    margin-top: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero { padding-bottom: 96px; }

.hero-visual {
    position: relative;
    max-width: 1080px;
    margin: 72px auto 0;
}

.hero-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    overflow: hidden;
    background: var(--dark-2);
    box-shadow: 0 40px 100px -30px rgba(76, 141, 255, .45), 0 30px 60px -30px rgba(0, 0, 0, .8);
}

/* Borde con degradado de marca */
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(160deg, rgba(155, 140, 255, .8), rgba(255, 255, 255, .08) 40%, rgba(34, 195, 230, .7));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tarjetas flotantes sobre el video */
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 320px;
    padding: 14px 18px 14px 14px;
    border-radius: 20px;
    background: rgba(13, 16, 22, .62);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 24px 50px -20px rgba(0, 0, 0, .7);
    text-align: left;
    animation: floaty 6s ease-in-out infinite;
}

.float-card .icon-tile { width: 44px; height: 44px; border-radius: 13px; font-size: 22px; flex: 0 0 auto; }
.float-card .fa-bell { font-size: 17px; }
.float-card small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.float-card strong { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #fff; }

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 0 rgba(45, 212, 167, .6);
    animation: livepulse 2s ease-out infinite;
}

@keyframes livepulse {
    to { box-shadow: 0 0 0 8px rgba(45, 212, 167, 0); }
}

.fc-1 { top: 9%; left: -36px; }
.fc-2 { bottom: 14%; left: -36px; animation-delay: -3s; }

.float-chip {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6);
}

.float-chip i { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
    .float-card, .live-dot { animation: none; }
}

@media (max-width: 1160px) {
    .fc-1 { left: 20px; }
    .fc-2 { left: 20px; }
}

/* ==========================================================================
   Marquesina de clientes
   ========================================================================== */
.logos {
    padding: 56px 0;
    overflow: hidden;
}

.marquee {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 72px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .6;
    mix-blend-mode: multiply;
    transition: filter .3s, opacity .3s;
}

.marquee-track img:hover { filter: none; opacity: 1; }

/* ==========================================================================
   Secciones genéricas
   ========================================================================== */
.section { padding: 110px 0; }

.section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head.left { margin-left: 0; text-align: left; }

.section-title {
    margin-top: 18px;
    font-size: clamp(32px, 4.6vw, 56px);
}

.section-lead {
    margin-top: 18px;
    color: var(--ink-2);
    font-size: 18px;
    line-height: 1.65;
}

.on-dark .section-lead { color: rgba(255, 255, 255, .66); }

.panel {
    background: var(--panel);
    border-radius: var(--r);
    margin: 0 14px;
}

.dark {
    background: var(--dark);
    color: #fff;
    border-radius: var(--r);
    margin: 0 14px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(40% 40% at 10% 0%, rgba(155, 140, 255, .18), transparent 70%),
        radial-gradient(40% 50% at 100% 100%, rgba(13, 132, 198, .22), transparent 70%);
}

/* ── Revelado al hacer scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0s);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   ¿Por qué iXRAY? — dolores
   ========================================================================== */
.why-title { font-size: clamp(32px, 4.6vw, 56px); margin-top: 18px; }

.why-sub {
    margin-top: 20px;
    max-width: 640px;
    color: var(--ink-2);
    font-size: 18px;
    line-height: 1.65;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.pain {
    position: relative;
    background: var(--card);
    border-radius: var(--rc);
    padding: 30px 28px 32px;
    box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(18, 22, 29, .35);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.pain:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -30px rgba(18, 22, 29, .45); }

.pain-num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-3);
}

.pain-num::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c, #E5484D);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #E5484D) 18%, transparent);
}

.pain h3 { margin-top: 22px; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.pain p { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
    padding: 40px 44px;
    border-radius: var(--rc);
}

.cta-band h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .66); max-width: 620px; }

/* ==========================================================================
   Características
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature {
    background: var(--card);
    border-radius: var(--rc);
    padding: 30px 28px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.feature:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(18, 22, 29, .5); }

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--grad);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 10px 24px -10px rgba(13, 132, 198, .6), inset 0 1px rgba(255, 255, 255, .35);
}

.feature h3 { margin-top: 22px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.feature p { margin-top: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ==========================================================================
   Testimonios
   ========================================================================== */
.quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quote {
    display: flex;
    flex-direction: column;
    padding: 36px;
    border-radius: var(--rc);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-d);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.quote.wide { grid-column: 1 / -1; }

.quote-mark {
    font-size: 26px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quote blockquote {
    margin: 18px 0 0;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
    flex: 1;
}

.quote-who {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line-d);
}

.avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.quote-who strong { display: block; font-weight: 600; }
.quote-who span { display: block; font-size: 14px; color: rgba(255, 255, 255, .55); }
.quote-who a { color: #7CC4FF; text-decoration: none; }
.quote-who a:hover { text-decoration: underline; }

/* ==========================================================================
   Lo que hace diferente a iXRAY
   ========================================================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.split-visual {
    position: relative;
    border-radius: var(--r);
    background: var(--panel);
    padding: 40px;
    overflow: hidden;
}

.split-visual::before {
    content: "";
    position: absolute;
    inset: 15% 10%;
    background: var(--grad);
    filter: blur(70px);
    opacity: .35;
    border-radius: 50%;
}

.split-visual img { position: relative; max-height: 620px; margin: 0 auto; }

.diff-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; }

.diff-item {
    display: flex;
    gap: 18px;
    padding: 20px 22px;
    border-radius: var(--rs);
    background: var(--card);
    box-shadow: 0 1px 0 var(--line);
}

.diff-item .icon-tile { width: 44px; height: 44px; border-radius: 13px; font-size: 22px; flex: 0 0 auto; }
.diff-item h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.diff-item p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* ==========================================================================
   Versiones / precios
   ========================================================================== */
.plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: var(--rc);
    background: var(--card);
    box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(18, 22, 29, .4);
}

.plan-name { font-size: 28px; letter-spacing: -.03em; }
.plan-desc { margin-top: 12px; color: var(--ink-2); line-height: 1.6; min-height: 3.2em; }
.plan .btn { margin-top: 26px; width: 100%; }

.plan-list {
    list-style: none;
    margin: 30px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
}

.plan-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.45; }

.plan-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 10px;
    color: var(--brand);
    background: rgba(13, 132, 198, .1);
}

.plan.featured {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 40px 80px -40px rgba(13, 132, 198, .6);
}

.plan.featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.plan.featured .plan-desc { color: rgba(255, 255, 255, .66); }
.plan.featured .plan-list { border-top-color: var(--line-d); }
.plan.featured .plan-list li::before { color: #fff; background: var(--grad); }

.plan-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.help-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1000px;
    margin: 16px auto 0;
    padding: 32px 40px;
    border-radius: var(--rc);
    background: var(--card);
    box-shadow: 0 1px 0 var(--line);
}

.help-band h3 { font-size: 22px; letter-spacing: -.02em; }
.help-band p { margin-top: 8px; color: var(--ink-2); }
.help-band em { font-style: normal; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   ¿Por qué elegir iXRAY?
   ========================================================================== */
.choose-intro { font-size: 18px; line-height: 1.7; }
.choose-intro b { color: #fff; font-weight: 600; }

.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.choose-item {
    padding: 34px;
    border-radius: var(--rc);
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-d);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.choose-item .icon-tile { font-size: 20px; }
.choose-item h3 { margin-top: 22px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.choose-item p { margin-top: 10px; color: rgba(255, 255, 255, .66); line-height: 1.65; }
.choose-item p b { color: #fff; font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.faq-layout .section-head { position: sticky; top: 140px; margin: 0; text-align: left; }

.faq-list { display: grid; gap: 10px; }

.faq {
    border-radius: var(--rs);
    background: var(--card);
    box-shadow: 0 1px 0 var(--line);
    transition: box-shadow .3s;
}

.faq[open] { box-shadow: 0 1px 0 var(--line), 0 24px 40px -30px rgba(18, 22, 29, .4); }

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.015em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--panel);
    font-size: 18px;
    font-weight: 500;
    transition: transform .3s var(--ease), background .3s, color .3s;
}

.faq[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }

.faq-body {
    padding: 0 26px 24px;
    color: var(--ink-2);
    line-height: 1.7;
}

.faq-body b { color: var(--ink); font-weight: 600; }
.faq-body ul { margin: 12px 0; padding-left: 20px; }
.faq-body li { margin-bottom: 8px; }

/* ==========================================================================
   Contacto / demo
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.contact-intro .section-title { font-size: clamp(34px, 4.4vw, 54px); }

.contact-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .8); }
.contact-points i { color: #7CC4FF; width: 18px; text-align: center; }

.form-card {
    padding: 36px;
    border-radius: var(--rc);
    background: var(--card);
    color: var(--ink);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.field input, .field select, .field textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid rgba(18, 22, 29, .14);
    background: #FAFAF8;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B616B' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(13, 132, 198, .14);
}

.field-error { color: #D93036; font-size: 13px; }

.form-submit { grid-column: 1 / -1; margin-top: 8px; }
.form-submit .btn { width: 100%; }

.alert-success {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #E8F8F0;
    color: #11663F;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .6);
    margin-top: 14px;
    padding: 80px 0 0;
    border-radius: var(--r) var(--r) 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo { height: 72px; width: auto; margin-bottom: 22px; }
.footer-about { line-height: 1.75; max-width: 420px; }

.footer-law {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

.footer-law i { color: #7CC4FF; }

.footer h4 {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}

.footer-aws { height: 64px; width: auto; filter: brightness(0) invert(1); opacity: .8; }

.socials { display: flex; gap: 10px; }

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line-d);
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
    text-decoration: none;
    transition: background .2s, color .2s, transform .3s var(--ease);
}

.socials a:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid var(--line-d);
    padding: 22px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    text-align: center;
}

.footer-bottom a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

.footer-wordmark {
    overflow: hidden;
    text-align: center;
    font-size: clamp(80px, 22vw, 300px);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: .8;
    margin-bottom: -.12em;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

/* ==========================================================================
   CTA fija en móvil
   ========================================================================== */
.mobile-cta {
    display: none;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    transform: translateY(150%);
    transition: transform .5s var(--ease);
}

.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { width: 100%; }

@media (max-width: 760px) {
    .mobile-cta { display: block; }
}

/* ==========================================================================
   Aviso de cookies
   ========================================================================== */
.cookie-banner {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 130;
    max-width: 440px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(13, 16, 22, .94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--line-d);
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.55;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: 6px; color: #fff; font-size: 15px; }
.cookie-banner a { color: #7CC4FF; }
.cookie-actions { display: flex; gap: 8px; margin-top: 16px; }
.cookie-actions .btn { flex: 1; }

@media (max-width: 760px) {
    .cookie-banner { right: 14px; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   Pre-carga con selector de idioma
   ========================================================================== */
.intro {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--dark);
    color: #fff;
    overflow: hidden;
    transition: opacity .7s ease, visibility .7s;
}

.intro .hero-glow { z-index: 0; }

.intro.is-leaving { opacity: 0; visibility: hidden; }

.intro-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    text-align: center;
    transition: transform .7s var(--ease), opacity .5s;
}

.intro.is-leaving .intro-card { transform: scale(.96); opacity: 0; }

.intro-logo { height: 84px; width: auto; margin: 0 auto 30px; }

.intro-taglines {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.intro-title { min-height: 1.4em; margin-bottom: 18px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.intro-title span { display: none; }
.intro-title span.active { display: inline; }

.intro-options { display: grid; gap: 10px; }

.intro-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-d);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .3s var(--ease);
}

.intro-option::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: 13px;
    opacity: .4;
    transition: opacity .2s, transform .25s;
}

.intro-option:hover, .intro-option:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(124, 196, 255, .5);
    transform: translateY(-1px);
}

.intro-option:hover::after { opacity: 1; transform: translateX(3px); }
.intro-option.active { border-color: rgba(124, 196, 255, .45); }

/* ==========================================================================
   Visor del brochure
   ========================================================================== */
.brochure {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 7, 10, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}

.brochure.is-open { opacity: 1; visibility: visible; }

.brochure-box {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: min(86vh, 900px);
    border-radius: 24px;
    overflow: hidden;
    background: var(--dark-2);
    border: 1px solid var(--line-d);
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
    transform: translateY(20px) scale(.98);
    transition: transform .5s var(--ease);
}

.brochure.is-open .brochure-box { transform: none; }

.brochure-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity .4s;
}

.brochure-box iframe.is-loaded { opacity: 1; }

.brochure-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255, 255, 255, .7);
}

.brochure-spinner.is-hidden { display: none; }

.spin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .12);
    border-top-color: #7CC4FF;
    animation: spin .9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.brochure-close {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-d);
    background: rgba(13, 16, 22, .8);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.brochure-close:hover { background: rgba(255, 255, 255, .14); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .section { padding: 84px 0; }
    .pain-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .split, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .faq-layout .section-head { position: static; }
    .split-visual { order: 2; }
    .split-visual img { max-height: 440px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    :root { --r: 28px; --rc: 20px; --strip-h: 34px; }
    .wrap { padding: 0 16px; }
    .strip-item { font-size: 12px; padding: 0 22px; }
    .nav { width: calc(100% - 20px); top: calc(var(--strip-h) + 10px); }
    .nav-logo img { height: 28px; }
    .hero { padding-top: calc(var(--strip-h) + 110px); }
    .hero-ctas .btn { width: 100%; }
    .hero { padding-bottom: 64px; }
    .hero-visual { margin-top: 44px; }
    .hero-media { aspect-ratio: 1 / 1; border-radius: 22px; }
    .hero-video { object-position: 45% center; }
    .float-card { max-width: none; padding: 10px 14px 10px 10px; gap: 10px; border-radius: 16px; }
    .float-card .icon-tile { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
    .float-card strong { font-size: 13px; }
    .fc-1 { top: 12px; left: 12px; right: auto; }
    .fc-2 { display: none; }
    .float-chip { white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 24px); padding: 9px 14px; font-size: 11.5px; line-height: 1.35; justify-content: center; }
    .panel, .dark { margin: 0 8px; }
    .section { padding: 68px 0; }
    .pain-grid, .feature-grid, .quotes, .plans, .choose-grid, .form-grid { grid-template-columns: 1fr; }
    .quote.wide { grid-column: auto; }
    .cta-band, .help-band { flex-direction: column; align-items: stretch; padding: 28px 24px; gap: 22px; }
    .cta-band .btn, .help-band .btn { width: 100%; }
    .plan, .quote, .choose-item, .form-card { padding: 26px 22px; }
    .split-visual { padding: 24px; }
    .marquee-track { gap: 48px; }
    .marquee-track img { height: 38px; }
    .footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Aviso destacado: factura y boleta electrónica
   ========================================================================== */
.announce-wrap { padding: 48px 0 0; }

.announce {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 30px 34px;
    border-radius: var(--rc);
    background: var(--dark);
    color: #fff;
    box-shadow: 0 30px 70px -36px rgba(13, 132, 198, .7);
}

.announce::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.announce-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 26px;
    color: #fff;
    background: var(--grad);
}

.announce-tag,
.new-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dark);
    background: var(--teal);
    padding: 3px 9px;
    border-radius: 999px;
    line-height: 1.4;
}

.announce-title {
    margin: 10px 0 6px;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.announce-body {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    max-width: 640px;
}

.announce-cta { white-space: nowrap; }

@media (max-width: 860px) {
    .announce { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; }
    .announce-cta { width: 100%; white-space: normal; }
}

/* Prestación nueva dentro del plan */
.plan-list li.plan-new { font-weight: 600; align-items: flex-start; flex-wrap: wrap; }
.plan-list li.plan-new .new-tag { margin-left: 2px; font-size: 10px; }

.announce-note {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #7CC4FF;
}
.announce-note i { margin-right: 4px; }
