:root {
    --voltax-navy: #061733;
    --voltax-blue: #0d6efd;
    --voltax-cyan: #05c7c9;
    --voltax-teal: #0bbf9f;
    --voltax-light: #f4f9ff;
    --voltax-muted: #60718a;
    --voltax-dark: #071f3f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--voltax-dark);
    background: #fff;
}

a { color: var(--voltax-blue); text-decoration: none; }
a:hover { color: var(--voltax-teal); }

.voltax-navbar {
    padding: 1rem 0;
    background: rgba(6, 23, 51, 0.30);
    backdrop-filter: blur(14px);
    transition: all .2s ease;
}

.navbar-scrolled {
    background: rgba(6, 23, 51, 0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,.16);
}

.navbar-brand strong { display: block; line-height: 1; letter-spacing: .04em; }
.navbar-brand small { display: block; color: var(--voltax-cyan); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--voltax-teal), var(--voltax-blue));
    box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 12px 30px rgba(5, 199, 201, .25);
}

.nav-link { font-weight: 600; color: rgba(255,255,255,.82) !important; }
.nav-link:hover { color: #fff !important; }

.btn-volt {
    border: 0;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--voltax-blue), var(--voltax-cyan));
    box-shadow: 0 14px 35px rgba(13,110,253,.28);
}
.btn-volt:hover { color: #fff; transform: translateY(-1px); }

.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(5,199,201,.35), transparent 30%),
        linear-gradient(135deg, #061733 0%, #082b5e 55%, #081a3a 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: .55;
}
.hero-glow-one { width: 420px; height: 420px; background: rgba(5,199,201,.28); right: -160px; top: 80px; }
.hero-glow-two { width: 360px; height: 360px; background: rgba(13,110,253,.30); left: -180px; bottom: 80px; }

.eyebrow, .section-kicker {
    display: inline-block;
    color: var(--voltax-cyan);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}

.text-soft { color: rgba(255,255,255,.78); }
.text-cyan { color: var(--voltax-cyan); }

.hero-section h1 {
    letter-spacing: -.04em;
    max-width: 720px;
}

.hero-card {
    padding: .65rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(20px);
}

.trust-points span {
    padding: .65rem .9rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.86);
    font-size: .92rem;
    font-weight: 600;
}

.section-padding { padding: 6rem 0; }
.bg-light { background: var(--voltax-light) !important; }
.section-title { font-weight: 850; letter-spacing: -.035em; margin-top: .6rem; }
.section-description { color: var(--voltax-muted); font-size: 1.05rem; }

.benefit-card, .module-card, .blog-card, .contact-box, .contact-form {
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(7,31,63,.08);
    box-shadow: 0 24px 70px rgba(7,31,63,.08);
}

.benefit-card { padding: 1.6rem; }
.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(11,191,159,.13), rgba(13,110,253,.13));
}
.benefit-card h3, .module-card h3, .blog-card h3 { font-size: 1.12rem; font-weight: 800; }
.benefit-card p, .module-card p, .blog-card p { color: var(--voltax-muted); margin-bottom: 0; }

.module-card { padding: 1.5rem; position: relative; overflow: hidden; }
.module-card::after {
    content: '';
    position: absolute;
    inset: auto -40px -50px auto;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(5,199,201,.14), transparent 60%);
}
.module-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--voltax-teal), var(--voltax-blue));
    margin-bottom: 1rem;
}

.demo-strip {
    background:
        radial-gradient(circle at 15% 40%, rgba(5,199,201,.23), transparent 28%),
        linear-gradient(135deg, #061733, #07346f);
}

.blog-card { padding: 1.6rem; }
.blog-card h3 a { color: var(--voltax-dark); }
.blog-date { display: inline-block; margin-bottom: .8rem; color: var(--voltax-teal); font-weight: 800; font-size: .85rem; }
.read-more { display: inline-block; margin-top: 1rem; font-weight: 800; }

.contact-box { padding: 1.4rem; }
.contact-form { padding: 2rem; }
.form-control, .form-select { min-height: 48px; border-radius: .9rem; border-color: rgba(7,31,63,.14); }
.form-control:focus, .form-select:focus { border-color: var(--voltax-cyan); box-shadow: 0 0 0 .25rem rgba(5,199,201,.14); }

.page-header {
    padding: 10rem 0 6rem;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(5, 199, 201, .20), transparent 30%),
        linear-gradient(135deg, #061733, #07346f);
}

.page-header .container {
    max-width: 1140px;
}

.page-header h1 {
    max-width: 980px;
    margin-top: .75rem;
    margin-bottom: 1.25rem;
    font-weight: 850;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.page-header p {
    max-width: 850px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .80);
    font-size: 1.18rem;
    line-height: 1.7;
}

/* Contenedor general del artículo */
.post-section {
    padding: 5.5rem 0 7rem;
}

/* Artículo */
.post-content {
    width: 100%;
    max-width: 1080px;
    padding: clamp(2rem, 5vw, 4.5rem);
    background: #fff;
    border: 1px solid rgba(7, 31, 63, .07);
    border-radius: 1.75rem;
    box-shadow: 0 28px 80px rgba(7, 31, 63, .09);
}

/* Texto */
.post-content p {
    margin-bottom: 1.6rem;
    color: #34445b;
    font-size: 1.08rem;
    line-height: 1.9;
}

/* Títulos dentro del artículo */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--voltax-dark);
    font-weight: 850;
    letter-spacing: -.025em;
}

.post-content h1 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.post-content h2 {
    position: relative;
    margin-top: 3.5rem;
    margin-bottom: 1.4rem;
    padding-bottom: .8rem;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.post-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--voltax-teal),
        var(--voltax-blue)
    );
}

.post-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

/* Evita demasiado espacio en el primer elemento */
.post-content > :first-child {
    margin-top: 0;
}

/* Imágenes del artículo */
.post-content img {
    display: block;
    width: 100%;
    height: auto;
    margin: 2.5rem auto;
    border-radius: 1.25rem;
    box-shadow: 0 20px 55px rgba(7, 31, 63, .16);
}

/* Primera imagen tipo portada */
.post-content > p:first-child img,
.post-content > img:first-child {
    margin-top: 0;
    margin-bottom: 3rem;
}

/* Listas */
.post-content ul,
.post-content ol {
    margin: 1.5rem 0 2rem;
    padding-left: 1.4rem;
}

.post-content li {
    margin-bottom: .85rem;
    padding-left: .35rem;
    color: #34445b;
    font-size: 1.05rem;
    line-height: 1.75;
}

.post-content li::marker {
    color: var(--voltax-teal);
}

/* Separadores de Markdown */
.post-content hr {
    margin: 3.5rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(13, 110, 253, .24),
        rgba(5, 199, 201, .30),
        transparent
    );
}

/* Bloques destacados */
.post-content blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 1.7rem 2rem 1.7rem 2.25rem;
    overflow: hidden;
    color: var(--voltax-dark);
    background:
        linear-gradient(
            135deg,
            rgba(13, 110, 253, .08),
            rgba(5, 199, 201, .10)
        );
    border: 1px solid rgba(5, 199, 201, .18);
    border-left: 5px solid var(--voltax-cyan);
    border-radius: 1rem;
}

.post-content blockquote::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    right: -55px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(5, 199, 201, .10);
}

.post-content blockquote p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: var(--voltax-dark);
    font-weight: 600;
}

/* Enlaces dentro del post */
.post-content a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(13, 110, 253, .30);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Código */
.post-content code {
    padding: .18rem .4rem;
    color: #075985;
    background: #e8f7ff;
    border-radius: .4rem;
    font-size: .92em;
}

.post-content pre {
    margin: 2rem 0;
    padding: 1.5rem;
    overflow-x: auto;
    color: #e6f3ff;
    background: var(--voltax-navy);
    border-radius: 1rem;
}

.post-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
}

@media (max-width: 991px) {
    .voltax-navbar { background: rgba(6, 23, 51, .96); }
    .hero-section .min-vh-100 { min-height: auto !important; padding-top: 8rem !important; }
    .section-padding { padding: 4.5rem 0; }
    .post-section {
        padding: 4rem 0 5rem;
    }
    .post-content {
        max-width: 100%;
        padding: 2.5rem;
    }
}

@media (max-width: 575px) {
    .display-4 { font-size: 2.35rem; }
    .hero-section h1 { line-height: 1.08; }
    .contact-form { padding: 1.25rem; }
    .page-header { padding-top: 8rem; }
 .page-header h1 {
        font-size: 2.25rem;
    }

    .page-header p {
        font-size: 1.05rem;
    }

    .post-section {
        padding: 2rem 0 3.5rem;
    }

    .post-section .container {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .post-content {
        padding: 1.5rem 1.2rem;
        border-radius: 1.2rem;
    }

    .post-content p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .post-content h2 {
        margin-top: 2.75rem;
        font-size: 1.55rem;
    }

    .post-content img {
        margin: 2rem auto;
        border-radius: .9rem;
    }

    .post-content blockquote {
        padding: 1.35rem 1.25rem 1.35rem 1.4rem;
    }
}
