/* ============================================================
   GPS — Gabinete de Proyectos Software
   Dark theme · Syne + DM Sans · Blue accent
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores */
    --bg:          #141b33;
    --bg-light:    #1a223d;
    --bg-card:     #212a4a;
    --bg-card-hover: #2a3558;
    --border:      #303b60;
    --border-light:#3d4a72;
    --text:        #e2e8f0;
    --text-muted:  #8892b0;
    --text-dim:    #5a6580;
    --accent:      #3b82f6;
    --accent-light:#60a5fa;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --green:       #10b981;
    --green-glow:  rgba(16, 185, 129, 0.15);
    --orange:      #f59e0b;

    /* Tipografía */
    --font-heading: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    /* Espaciado */
    --section-py: clamp(4rem, 8vw, 7rem);
    --container:  1200px;
    --radius:     12px;
    --radius-lg:  20px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
}

/* ---------- Cursor personalizado ---------- */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}
.cursor--glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s;
}
.cursor.hovering {
    transform: translate(-50%, -50%) scale(2);
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

/* Restablecer cursor en móvil */
@media (max-width: 960px) {
    body { cursor: auto; }
    .cursor, .cursor--glow { display: none; }
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--accent); }

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ---------- Section common ---------- */
.section__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section__badge--green {
    color: var(--green);
    background: var(--green-glow);
    border-color: rgba(16, 185, 129, 0.2);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 27, 51, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 700;
}
.nav__logo:hover { color: var(--text); }

.nav__logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 10px;
    letter-spacing: 0.05em;
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav__links a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav__links a:hover {
    color: var(--text);
    background: var(--bg-card);
}

.nav__link--soporte {
    color: var(--green) !important;
}
.nav__link--soporte:hover {
    background: var(--green-glow) !important;
}

.nav__link--cta {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
}
.nav__link--cta:hover {
    background: var(--accent-dark) !important;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 1.5rem 80px;
}

.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}

/* Partículas flotantes */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* Canvas para red de nodos */
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Aurora boreal */
.hero__aurora {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 60%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(59, 130, 246, 0.03) 20%,
        rgba(167, 139, 250, 0.05) 40%,
        rgba(56, 189, 248, 0.03) 60%,
        transparent 100%
    );
    filter: blur(40px);
    pointer-events: none;
    animation: aurora 12s ease-in-out infinite;
}
@keyframes aurora {
    0%, 100% { transform: translateX(-5%) skewX(-5deg) scaleY(1); opacity: 0.6; }
    25%      { transform: translateX(3%) skewX(3deg) scaleY(1.1); opacity: 0.9; }
    50%      { transform: translateX(-2%) skewX(-2deg) scaleY(0.9); opacity: 0.7; }
    75%      { transform: translateX(5%) skewX(5deg) scaleY(1.15); opacity: 1; }
}

.hero__glow {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50%      { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

/* Orbes flotantes */
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbDrift 10s ease-in-out infinite;
}
.hero__orb--1 {
    width: 350px; height: 350px;
    background: rgba(59, 130, 246, 0.1);
    top: 15%; left: 5%;
    animation-delay: 0s;
}
.hero__orb--2 {
    width: 250px; height: 250px;
    background: rgba(167, 139, 250, 0.08);
    bottom: 10%; right: 5%;
    animation-delay: -5s;
    animation-duration: 12s;
}
.hero__orb--3 {
    width: 200px; height: 200px;
    background: rgba(56, 189, 248, 0.06);
    top: 50%; left: 60%;
    animation-delay: -3s;
    animation-duration: 14s;
}
@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(40px, -30px) scale(1.05); }
    50%      { transform: translate(-30px, 20px) scale(0.95); }
    75%      { transform: translate(20px, 35px) scale(1.08); }
}

/* Anillos orbitales */
.hero__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.08);
    pointer-events: none;
}
.hero__ring--1 {
    width: 600px; height: 600px;
    top: 50%; left: 50%;
    margin-top: -300px; margin-left: -300px;
    animation: ringRotate 30s linear infinite;
}
.hero__ring--1::after {
    content: '';
    position: absolute;
    top: -4px; left: 50%;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent-glow);
}
.hero__ring--2 {
    width: 450px; height: 450px;
    top: 50%; left: 50%;
    margin-top: -225px; margin-left: -225px;
    animation: ringRotate 22s linear infinite reverse;
    border-style: dashed;
    opacity: 0.5;
}
.hero__ring--2::after {
    content: '';
    position: absolute;
    bottom: -3px; right: 50%;
    width: 6px; height: 6px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 12px #a78bfa;
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Code rain */
.hero__code-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.4;
}
.code-char {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent);
    opacity: 0;
    animation: codefall linear infinite;
    text-shadow: 0 0 8px var(--accent-glow);
}
@keyframes codefall {
    0%   { opacity: 0; transform: translateY(-20px); }
    10%  { opacity: 0.7; }
    80%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(100vh); }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

/* Hero entrance animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
    animation: fadeInUp 0.8s ease-out 0.15s both;
}
.hero__subtitle {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero__actions {
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}
.hero__title--accent {
    background: linear-gradient(90deg, var(--accent-light), #a78bfa, #38bdf8, var(--accent-light));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 4s linear infinite;
}
@keyframes textShimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Typing cursor */
.hero__typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-light);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}
.btn--primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}
.btn--primary:hover::after {
    width: 300px;
    height: 300px;
}
.btn--primary:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}
.btn--ghost:hover {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--text-muted);
}

.btn--small {
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
}

.btn--large {
    font-size: 1.05rem;
    padding: 1rem 2.25rem;
    border-radius: 12px;
}

/* ============================================================
   STATS
   ============================================================ */
/* ---------- Wave separator ---------- */
.wave-separator {
    width: 100%;
    height: 60px;
    overflow: hidden;
    position: relative;
}
.wave-separator svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: waveScroll 8s linear infinite;
}
.wave-separator svg path {
    fill: var(--bg-light);
}
@keyframes waveScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
    padding: 2rem 0;
}

.stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stats__item {
    text-align: center;
}

.stats__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stats__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stats__divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios {
    padding: var(--section-py) 0;
}

.servicios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card--servicio {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card--servicio:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* Shimmer en hover */
.card--servicio::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}
.card--servicio:hover::after {
    left: 100%;
}
.card--servicio {
    position: relative;
    overflow: hidden;
}

.card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}
.card--servicio:hover .card__icon {
    transform: scale(1.2) translateY(-4px);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card__text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================================
   SECTORES
   ============================================================ */
.sectores {
    padding: var(--section-py) 0;
    background: var(--bg-light);
}

/* ============================================================
   PRODUCTOS
   ============================================================ */
.productos {
    padding: var(--section-py) 0;
    background: var(--bg-light);
}

.producto {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}
.producto:hover {
    border-color: var(--border-light);
}

.producto--destacado {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.05) 100%);
    position: relative;
    overflow: hidden;
}
.producto--destacado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #a78bfa, var(--accent));
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}
@keyframes gradientSlide {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.producto__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.producto__nombre {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.producto__desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* IA Block */
.producto__ia-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--radius);
}

.producto__ia-item {
    text-align: center;
}
.producto__ia-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    animation: iconFloat 3s ease-in-out infinite;
}
.producto__ia-item:nth-child(2) .producto__ia-icon { animation-delay: -1s; }
.producto__ia-item:nth-child(3) .producto__ia-icon { animation-delay: -2s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.producto__ia-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.producto__ia-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Feature tags */
.producto__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    transition: color 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.3s;
    animation: tagPulse 3s ease-in-out infinite;
    animation-play-state: paused;
}
.feature-tag:nth-child(1)  { animation-delay: 0s; }
.feature-tag:nth-child(2)  { animation-delay: 0.2s; }
.feature-tag:nth-child(3)  { animation-delay: 0.4s; }
.feature-tag:nth-child(4)  { animation-delay: 0.6s; }
.feature-tag:nth-child(5)  { animation-delay: 0.8s; }
.feature-tag:nth-child(6)  { animation-delay: 1.0s; }
.feature-tag:nth-child(7)  { animation-delay: 1.2s; }
.feature-tag:nth-child(8)  { animation-delay: 1.4s; }
.feature-tag:nth-child(9)  { animation-delay: 1.6s; }
.feature-tag:nth-child(10) { animation-delay: 1.8s; }
.feature-tag:nth-child(11) { animation-delay: 2.0s; }
.feature-tag:nth-child(12) { animation-delay: 2.2s; }

.producto--destacado:hover .feature-tag {
    animation-play-state: running;
}

@keyframes tagPulse {
    0%, 100% { border-color: var(--border); color: var(--text-muted); box-shadow: none; }
    50% { border-color: var(--accent); color: var(--text); box-shadow: 0 0 12px var(--accent-glow); }
}

.feature-tag:hover {
    color: var(--text);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.productos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ============================================================
   VERI*FACTU
   ============================================================ */
.verifactu {
    padding: var(--section-py) 0;
}

.verifactu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.verifactu__checks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.verifactu__checks li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.verifactu__checks li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.verifactu__checks.animate li {
    opacity: 1;
    transform: translateX(0);
}
.verifactu__checks.animate li:nth-child(1) { transition-delay: 0s; }
.verifactu__checks.animate li:nth-child(2) { transition-delay: 0.15s; }
.verifactu__checks.animate li:nth-child(3) { transition-delay: 0.3s; }
.verifactu__checks.animate li:nth-child(4) { transition-delay: 0.45s; }
.verifactu__checks.animate li:nth-child(5) { transition-delay: 0.6s; }

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--green-glow);
    color: var(--green);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.verifactu__checks strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.verifactu__checks p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Descargas */
.verifactu__descargas {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.verifactu__descargas h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.verifactu__tabla {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.verifactu__fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.verifactu__fila--vigente {
    border-color: var(--green);
    background: rgba(16, 185, 129, 0.04);
}

.verifactu__version {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.verifactu__badge-vigente {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: var(--green-glow);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.verifactu__fecha {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.verifactu__obsoleta {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-style: italic;
}

.verifactu__nota {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-style: italic;
    margin-top: 1rem;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros {
    padding: var(--section-py) 0;
    background: var(--bg-light);
}

.nosotros__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pilar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: border-color 0.3s, transform 0.3s;
}
.pilar:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.pilar__numero {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(167, 139, 250, 0.15));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}
.pilar:hover .pilar__numero {
    background: linear-gradient(135deg, var(--accent-light), #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.pilar__titulo {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pilar__texto {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================================
   NOTICIAS
   ============================================================ */
.noticias {
    padding: var(--section-py) 0;
}

.noticias__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.noticia {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
}
.noticia:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
}

.noticia--destacada {
    border-color: var(--accent);
}
.noticia--destacada::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.noticia__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.noticia__fecha {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.noticia__titulo {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.noticia__texto {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============================================================
   SOPORTE REMOTO
   ============================================================ */
.soporte {
    padding: var(--section-py) 0;
    background: var(--bg-light);
}

.soporte__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.soporte__inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), #34d399);
}

.soporte__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 1rem;
}

.soporte__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.soporte__title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.soporte__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.soporte__steps {
    display: flex;
    gap: 1.5rem;
}

.soporte__step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.soporte__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--green-glow);
    color: var(--green);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.soporte__action {
    text-align: center;
    flex-shrink: 0;
}

.soporte__size {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
    padding: var(--section-py) 0;
}

.contacto__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contacto__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form__group--full {
    grid-column: 1 / -1;
}

.form__group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form__group input,
.form__group select,
.form__group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.contacto__form .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

/* Datos contacto */
.contacto__datos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto__dato h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.contacto__dato p,
.contacto__dato a {
    color: var(--text-muted);
    font-size: 0.92rem;
}
.contacto__dato a:hover {
    color: var(--accent-light);
}

.contacto__horario {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.contacto__horario h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.contacto__horario p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 3rem 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer__brand p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}
.footer__links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer__links a:hover {
    color: var(--text);
}

.footer__legal p {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax suave en scroll */
.parallax-bg {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
    .nav__toggle { display: flex; }

    .nav__links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        transform: translateY(-120%);
        transition: transform 0.35s ease;
    }
    .nav__links.open {
        transform: translateY(0);
    }
    .nav__links a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .servicios__grid { grid-template-columns: repeat(2, 1fr); }

    .noticias__grid { grid-template-columns: repeat(2, 1fr); }
    .productos__grid { grid-template-columns: 1fr; }
    .producto__ia-block { grid-template-columns: repeat(3, 1fr); }
    .verifactu__grid { grid-template-columns: 1fr; }
    .contacto__grid { grid-template-columns: 1fr; }
    .nosotros__grid { grid-template-columns: repeat(2, 1fr); }

    .soporte__inner {
        flex-direction: column;
        text-align: center;
    }
    .soporte__steps {
        justify-content: center;
        flex-wrap: wrap;
    }
    .soporte__text { margin: 0 auto 1.5rem; }

    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { flex-wrap: wrap; justify-content: center; }
}

/* Móvil */
@media (max-width: 640px) {
    .nav__logo-text { display: none; }

    .hero { min-height: 90vh; padding-top: 100px; }
    .hero__title { font-size: 2.2rem; }

    .stats__grid { gap: 1.5rem; }
    .stats__divider { display: none; }
    .stats__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .servicios__grid { grid-template-columns: 1fr; }

    .noticias__grid { grid-template-columns: 1fr; }
    .nosotros__grid { grid-template-columns: 1fr; }
    .producto__ia-block { grid-template-columns: 1fr; }

    .contacto__form { grid-template-columns: 1fr; }

    .soporte__steps { flex-direction: column; align-items: center; }

    .verifactu__fila {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
