@import url("fonts.css");

:root {
    --navy: #0c2552;
    --navy-deep: #071a3a;
    --navy-black: #030b1a;
    --blue: #1b77d4;
    --blue-dark: #1b6fc7;
    --blue-light: #77c1ff;
    --sky: #cbe9ff;
    --ink: #051229;
    --text: #364052;
    --muted: #65707e;
    --line: #dbe3ed;
    --paper: #f7f9fc;
    --white: #ffffff;
    --green: #1f9d72;
    --red: #d64545;
    --amber: #d28b12;
    --font-head: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 8px 24px rgba(5, 18, 41, 0.07);
    --shadow-md: 0 20px 50px rgba(5, 18, 41, 0.11);
    --shadow-lg: 0 32px 80px rgba(5, 18, 41, 0.18);
    --radius: 16px;
    --container: 1240px;
    --header-height: 88px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
}

button {
    font: inherit;
    cursor: pointer;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

svg {
    flex-shrink: 0;
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 108px 0;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 20px;
    z-index: 500;
    background: var(--white);
    color: var(--navy);
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.skip-link:focus {
    top: 12px;
}

[id] {
    scroll-margin-top: 110px;
}

/* ------------------------------------------------------------------ */
/* Tipografía de secciones                                            */
/* ------------------------------------------------------------------ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    background: currentColor;
    flex-shrink: 0;
}

.eyebrow-light {
    color: var(--sky);
}

.text-gradient {
    background: linear-gradient(100deg, var(--blue) 0%, #5aa9f5 55%, var(--navy) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-light {
    background: linear-gradient(100deg, var(--blue-light) 0%, var(--sky) 60%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-heading h2 {
    margin-top: 16px;
    font-size: clamp(34px, 3.8vw, 46px);
    line-height: 1.12;
}

.section-heading.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: end;
}

.section-heading.centered {
    max-width: 780px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading.centered .eyebrow::before {
    display: none;
}

.section-heading.inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 42px;
}

.section-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 480px;
}

.centered .section-lead {
    margin: 18px auto 0;
    max-width: 620px;
}

/* ------------------------------------------------------------------ */
/* Botones                                                            */
/* ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.btn svg {
    transition: transform 0.25s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(35, 134, 235, 0.26);
}

.btn-primary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(12, 37, 82, 0.22);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--white);
}

.btn-ghost:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    border-color: #b9c6d6;
    color: var(--navy);
}

.btn-outline-dark:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-lg {
    padding: 17px 30px;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.btn-sm {
    padding: 10px 16px;
    font-size: 11px;
}

.btn-block {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
}

.text-link svg {
    transition: transform 0.25s ease;
}

.text-link:hover {
    color: var(--navy);
}

.text-link:hover svg {
    transform: translateX(4px);
}

.text-link-light {
    color: var(--sky);
}

.text-link-light:hover {
    color: var(--white);
}

/* ------------------------------------------------------------------ */
/* Header                                                             */
/* ------------------------------------------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header-overlay {
    background: linear-gradient(180deg, rgba(3, 11, 26, 0.45) 0%, rgba(3, 11, 26, 0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-overlay.is-scrolled {
    background: rgba(7, 26, 58, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 34px rgba(3, 11, 26, 0.26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-solid {
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-solid.is-scrolled {
    background: rgba(7, 26, 58, 0.97);
    box-shadow: 0 12px 34px rgba(3, 11, 26, 0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: 132px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-left: 20px;
}

.main-nav > a,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.main-nav > a:hover,
.nav-dropdown-toggle:hover,
.main-nav > a.is-active {
    color: var(--white);
}

.main-nav > a.is-active {
    position: relative;
}

.main-nav > a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--blue-light);
}

.nav-mobile-cta {
    display: none !important;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: -18px;
    min-width: 226px;
    padding: 10px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 13px;
    border-radius: 7px;
    color: var(--text);
    font-size: 13.5px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #eef6ff;
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.header-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    white-space: nowrap;
}

.header-login:hover {
    color: var(--white);
}

.btn-header {
    padding: 12px 17px;
    font-size: 11px;
    letter-spacing: 0.06em;
    box-shadow: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------------ */
/* Flash                                                              */
/* ------------------------------------------------------------------ */
.flash-stack {
    position: fixed;
    top: calc(var(--header-height) + 18px);
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 32px));
}

.flash {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    animation: flash-in 0.3s ease both;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash-success {
    border-left-color: var(--green);
}

.flash-error {
    border-left-color: var(--red);
}

.flash-info {
    border-left-color: var(--blue);
}

.flash.is-hiding {
    opacity: 0;
    transform: translateX(18px);
}

.flash-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.flash-close:hover {
    color: var(--ink);
}

@keyframes flash-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 760px;
    min-height: max(760px, 100svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-black);
    color: var(--white);
}

.hero-media,
.hero-media video,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media video {
    object-fit: cover;
    filter: saturate(0.85);
}

.hero-shade {
    background:
        radial-gradient(70% 90% at 50% 30%, rgba(35, 134, 235, 0.12), transparent 68%),
        linear-gradient(90deg, rgba(3, 11, 26, 0.9) 0%, rgba(3, 11, 26, 0.62) 48%, rgba(3, 11, 26, 0.44) 100%),
        linear-gradient(180deg, rgba(3, 11, 26, 0.72) 0%, rgba(3, 11, 26, 0.2) 36%, rgba(3, 11, 26, 0.86) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 172px;
    padding-bottom: 118px;
    text-align: center;
}

.hero-content .eyebrow {
    color: var(--sky);
}

.hero h1 {
    max-width: 1000px;
    margin: 22px auto 0;
    color: var(--white);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

.hero-lead {
    max-width: 720px;
    margin: 26px auto 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 880px;
    margin: 62px auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 19px 22px;
    text-align: left;
}

.hero-metric + .hero-metric {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metric strong {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.hero-metric span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.48);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
    animation: scroll-pulse 2.2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ------------------------------------------------------------------ */
/* Value / why                                                        */
/* ------------------------------------------------------------------ */
.section-why {
    background: var(--white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin-top: 58px;
}

.value-card {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.value-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
}

.value-index {
    display: block;
    margin-bottom: 18px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.value-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Soluciones                                                         */
/* ------------------------------------------------------------------ */
.section-solutions {
    background: var(--paper);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 54px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 34px 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-7px);
    border-color: rgba(35, 134, 235, 0.38);
    box-shadow: var(--shadow-md);
}

.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: linear-gradient(145deg, #eaf5ff, #cfe8ff);
    color: var(--blue);
    margin-bottom: 28px;
}

.solution-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.solution-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 26px;
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.solution-card .card-link svg {
    transition: transform 0.25s ease;
}

.solution-card:hover .card-link {
    color: var(--blue);
}

.solution-card:hover .card-link svg {
    transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/* IA generativa                                                      */
/* ------------------------------------------------------------------ */
.section-ai {
    background:
        radial-gradient(60% 80% at 88% 10%, rgba(35, 134, 235, 0.24), transparent 62%),
        radial-gradient(50% 70% at 10% 100%, rgba(119, 193, 255, 0.12), transparent 60%),
        var(--navy-deep);
    color: var(--white);
    overflow: hidden;
}

.section-ai h2 {
    color: var(--white);
    margin-top: 16px;
    font-size: clamp(33px, 3.7vw, 46px);
}

.section-ai .feature-copy > p {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16.5px;
    line-height: 1.75;
    max-width: 540px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.check-list {
    list-style: none;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.55;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--blue);
    font-weight: 900;
    font-size: 14px;
}

.section-ai .check-list li {
    color: rgba(255, 255, 255, 0.82);
}

.section-ai .check-list li::before {
    color: var(--blue-light);
}

.section-ai .btn {
    margin-top: 32px;
}

.feature-visual {
    position: relative;
    min-height: 470px;
}

.visual-frame {
    position: absolute;
    inset: 16px 0 32px 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.visual-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(3, 11, 26, 0.5) 100%);
}

.visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-card {
    position: absolute;
    right: -12px;
    bottom: 0;
    width: min(330px, 82%);
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    color: var(--ink);
    z-index: 2;
}

.insight-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.insight-spark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eaf5ff;
}

.insight-quote {
    margin-top: 13px;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.6;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 46px;
    margin-top: 16px;
    padding-top: 8px;
    border-top: 1px solid #edf1f6;
}

.mini-chart span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-light) 100%);
    opacity: 0.85;
}

.mini-chart span:nth-child(1) { height: 24%; }
.mini-chart span:nth-child(2) { height: 38%; }
.mini-chart span:nth-child(3) { height: 31%; }
.mini-chart span:nth-child(4) { height: 52%; }
.mini-chart span:nth-child(5) { height: 44%; }
.mini-chart span:nth-child(6) { height: 72%; }
.mini-chart span:nth-child(7) { height: 100%; }

.floating-badge {
    position: absolute;
    top: -4px;
    left: 0;
    z-index: 3;
    padding: 9px 14px;
    border-radius: 50px;
    background: rgba(119, 193, 255, 0.14);
    border: 1px solid rgba(119, 193, 255, 0.32);
    color: var(--sky);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

/* ------------------------------------------------------------------ */
/* Casos de uso                                                       */
/* ------------------------------------------------------------------ */
.section-cases {
    background: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 74px;
    align-items: center;
}

.cases-copy h2 {
    margin-top: 16px;
    font-size: clamp(32px, 3.5vw, 44px);
}

.cases-copy > p {
    max-width: 560px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.7;
}

.case-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 36px;
}

.case-point {
    display: flex;
    gap: 17px;
    align-items: flex-start;
}

.case-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #eef6ff;
    color: var(--blue);
}

.case-point h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.case-point p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.cases-panel {
    padding: 40px;
    border-radius: 22px;
    background:
        radial-gradient(90% 100% at 100% 0%, rgba(35, 134, 235, 0.34), transparent 58%),
        var(--navy-deep);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cases-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-label {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel-pill {
    padding: 5px 10px;
    border-radius: 50px;
    background: rgba(119, 193, 255, 0.16);
    color: var(--sky);
    font-family: var(--font-head);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.panel-list {
    list-style: none;
    margin: 10px 0 26px;
}

.panel-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14.5px;
    line-height: 1.5;
}

.panel-list li span {
    color: var(--blue-light);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 3px;
}

/* ------------------------------------------------------------------ */
/* Planes                                                             */
/* ------------------------------------------------------------------ */
.section-plans {
    background: var(--paper);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
    margin-top: 10px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    min-height: 430px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.price-card.is-featured {
    background:
        radial-gradient(80% 80% at 100% 0%, rgba(35, 134, 235, 0.35), transparent 58%),
        var(--navy-deep);
    border-color: rgba(35, 134, 235, 0.55);
    color: var(--white);
    transform: translateY(-14px);
    box-shadow: var(--shadow-lg);
}

.price-card.is-featured:hover {
    transform: translateY(-18px);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 14px;
    border-radius: 50px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-kicker {
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.is-featured .plan-kicker {
    color: var(--blue-light);
}

.price-card h3 {
    margin-top: 13px;
    font-size: 28px;
}

.is-featured h3 {
    color: var(--white);
}

.plan-description {
    margin-top: 13px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.is-featured .plan-description {
    color: rgba(255, 255, 255, 0.68);
}

.price-card .check-list {
    margin-top: 24px;
}

.price-card .check-list li {
    font-size: 14px;
    color: var(--text);
}

.is-featured .check-list li {
    color: rgba(255, 255, 255, 0.82);
}

.price-card .btn {
    margin-top: auto;
    width: 100%;
}

.price-card .btn-outline-dark {
    margin-top: 28px;
}

.price-card .btn-primary {
    margin-top: 28px;
}

/* ------------------------------------------------------------------ */
/* Newsletter                                                         */
/* ------------------------------------------------------------------ */
.newsletter-section {
    padding: 10px 0 100px;
    background: var(--white);
}

.newsletter-section-tight {
    padding: 0 0 100px;
    background: var(--white);
}

.newsletter-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 50px;
    align-items: center;
    padding: 54px 58px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(70% 120% at 90% 20%, rgba(119, 193, 255, 0.32), transparent 60%),
        linear-gradient(115deg, #0a2149 0%, #11549c 60%, #2386eb 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.newsletter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, transparent 10%, #000 75%);
    -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 75%);
    pointer-events: none;
}

.newsletter-decoration {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    right: -120px;
    top: -150px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.035), 0 0 0 96px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.newsletter-copy {
    position: relative;
    z-index: 1;
}

.newsletter-copy h2 {
    margin-top: 13px;
    color: var(--white);
    font-size: clamp(28px, 3vw, 38px);
}

.newsletter-copy p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.65;
    max-width: 460px;
}

.newsletter-form {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    padding: 7px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: 2px solid var(--blue-light);
    outline-offset: 1px;
}

.newsletter-form .btn {
    height: 50px;
    padding-inline: 22px;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Blog cards                                                         */
/* ------------------------------------------------------------------ */
.section-blog {
    background: var(--white);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(35, 134, 235, 0.35);
    box-shadow: var(--shadow-md);
}

.post-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-deep);
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.06);
}

.post-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(70% 80% at 80% 10%, rgba(35, 134, 235, 0.6), transparent 60%),
        var(--navy-deep);
}

.post-card-placeholder span {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
}

.post-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 12px;
    border-radius: 50px;
    background: rgba(7, 26, 58, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.post-date {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    padding: 9px 10px;
    border-radius: 9px;
    background: rgba(7, 26, 58, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.post-date strong {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
}

.post-date span {
    margin-top: 5px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.64);
}

.post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 25px 25px;
}

.post-card-title {
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.post-card-title a:hover {
    color: var(--blue);
}

.post-card-excerpt {
    margin-top: 11px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.post-reading {
    color: #9aa3ae;
    font-size: 10.5px;
    white-space: nowrap;
}

.post-card-compact .post-card-body {
    padding: 21px 22px 22px;
}

.post-card-compact .post-card-title {
    font-size: 18px;
}

.post-card-compact .post-card-excerpt {
    font-size: 13.5px;
}

/* ------------------------------------------------------------------ */
/* Testimonios                                                        */
/* ------------------------------------------------------------------ */
.section-testimonials {
    background: var(--paper);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
}

.testimonial-card {
    position: relative;
    margin: 0;
    padding: 31px 29px 27px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quote-mark {
    position: absolute;
    top: 6px;
    right: 22px;
    color: var(--sky);
    font-family: Georgia, serif;
    font-size: 82px;
    line-height: 1;
    opacity: 0.7;
    pointer-events: none;
}

.testimonial-card blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.72;
}

.testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #edf1f6;
}

.testimonial-card figcaption img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card figcaption span {
    display: flex;
    flex-direction: column;
}

.testimonial-card figcaption strong {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
}

.testimonial-card figcaption small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11.5px;
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                */
/* ------------------------------------------------------------------ */
.section-faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.faq-intro h2 {
    margin-top: 16px;
    font-size: clamp(32px, 3.4vw, 42px);
}

.faq-intro p {
    margin-top: 19px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    max-width: 360px;
}

.faq-intro .text-link {
    margin-top: 22px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-plus {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 1.7px;
    background: var(--blue);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    padding-bottom: 20px;
    max-width: 640px;
}

.faq-answer p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* CTA                                                                */
/* ------------------------------------------------------------------ */
.cta-section {
    padding: 0 0 108px;
    background: var(--white);
}

.cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 62px 64px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(70% 120% at 0% 100%, rgba(35, 134, 235, 0.35), transparent 58%),
        var(--navy-deep);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, #000, transparent 65%);
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%);
    pointer-events: none;
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.cta-copy h2 {
    margin-top: 13px;
    color: var(--white);
    font-size: clamp(30px, 3.4vw, 44px);
}

.cta-copy p {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15.5px;
    line-height: 1.65;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex-shrink: 0;
}

.cta-actions .btn {
    min-width: 230px;
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */
.site-footer {
    background: var(--navy-black);
    color: rgba(255, 255, 255, 0.66);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.8fr 0.8fr 1.1fr;
    gap: 54px;
    padding: 74px 0 56px;
}

.footer-brand img {
    width: 132px;
    height: auto;
    margin-bottom: 22px;
}

.footer-brand p {
    max-width: 310px;
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.52);
}

.footer-social {
    display: flex;
    gap: 9px;
    margin-top: 24px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.64);
}

.footer-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.58);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-contact p {
    max-width: 260px;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.52);
}

.footer-demo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--blue-light) !important;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
}

.footer-demo:hover {
    color: var(--white) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 23px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.38);
}

.footer-legal {
    display: flex;
    gap: 22px;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ------------------------------------------------------------------ */
/* Blog listing                                                       */
/* ------------------------------------------------------------------ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 158px 0 78px;
    background:
        radial-gradient(80% 100% at 85% 0%, rgba(35, 134, 235, 0.32), transparent 60%),
        linear-gradient(115deg, var(--navy-black) 0%, var(--navy-deep) 55%, #0b2e63 100%);
    color: var(--white);
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 75%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 75%);
    pointer-events: none;
}

.breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 11.5px;
    letter-spacing: 0.02em;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.64);
}

.breadcrumb a:hover {
    color: var(--white);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 45px;
    margin-top: 34px;
}

.page-hero h1 {
    max-width: 820px;
    margin-top: 15px;
    color: var(--white);
    font-size: clamp(38px, 4.6vw, 56px);
    line-height: 1.1;
}

.page-hero-content > div > p {
    max-width: 650px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.63);
    font-size: 16px;
    line-height: 1.7;
}

.page-hero-stats {
    display: flex;
    gap: 36px;
    flex-shrink: 0;
    padding-bottom: 6px;
}

.page-hero-stats div {
    display: flex;
    flex-direction: column;
}

.page-hero-stats strong {
    color: var(--white);
    font-family: var(--font-head);
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.page-hero-stats span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.44);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-search {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 780px;
    margin-top: 38px;
    padding: 7px 7px 7px 18px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(3, 11, 26, 0.2);
}

.hero-search > svg {
    color: var(--muted);
    flex-shrink: 0;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14.5px;
}

.hero-search input:focus {
    outline: none;
}

.hero-search .btn {
    height: 48px;
    padding-inline: 22px;
}

.blog-section {
    padding: 70px 0 104px;
    background: var(--white);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
    align-items: start;
}

.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 50px;
    color: var(--text);
    font-size: 12.5px;
    line-height: 1;
}

.filter-pill:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filter-pill.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.results-count {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.active-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px 16px;
    border: 1px solid #cfe6ff;
    border-radius: 10px;
    background: #eef6ff;
    color: var(--text);
    font-size: 13px;
}

.active-filter a {
    color: var(--blue);
    font-weight: 700;
    white-space: nowrap;
}

.active-filter a:hover {
    color: var(--navy);
}

.posts-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.blog-sidebar {
    position: sticky;
    top: 108px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.sidebar-card h3 {
    margin-bottom: 15px;
    font-size: 16px;
    letter-spacing: -0.015em;
}

.sidebar-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fafcff;
}

.sidebar-search input {
    flex: 1;
    min-width: 0;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.sidebar-search input:focus {
    outline: none;
}

.sidebar-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 7px;
    background: var(--blue);
    color: var(--white);
}

.sidebar-search button:hover {
    background: var(--navy);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.category-list li + li {
    border-top: 1px solid #eff3f8;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text);
    font-size: 13.5px;
}

.category-list a:hover,
.category-list a.is-active {
    color: var(--blue);
}

.cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 50px;
    background: #eef6ff;
    color: var(--blue);
    font-size: 10.5px;
    font-weight: 700;
}

.sidebar-about img {
    width: 106px;
    margin-bottom: 13px;
}

.sidebar-about p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.sidebar-about .text-link {
    margin-top: 13px;
    font-size: 12px;
}

.sidebar-admin {
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(35, 134, 235, 0.36), transparent 58%),
        var(--navy-deep);
    border-color: transparent;
    color: var(--white);
}

.sidebar-admin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 13px;
    border-radius: 10px;
    background: rgba(119, 193, 255, 0.16);
    color: var(--sky);
}

.sidebar-admin h3 {
    color: var(--white);
}

.sidebar-admin p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12.5px;
    line-height: 1.65;
}

.sidebar-admin .btn {
    padding: 12px 16px;
    font-size: 11px;
}

.sidebar-newsletter p {
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.65;
}

.sidebar-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-newsletter input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fafcff;
    color: var(--ink);
    font-size: 13px;
}

.sidebar-newsletter input:focus {
    outline: 2px solid #b9dcff;
    border-color: var(--blue);
}

.sidebar-newsletter .btn {
    padding: 12px 15px;
    font-size: 11px;
}

.empty-state {
    padding: 64px 30px;
    border: 1px dashed #c8d3e0;
    border-radius: 16px;
    background: #fbfdff;
    text-align: center;
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eef6ff;
    color: var(--blue);
}

.empty-state h3 {
    font-size: 22px;
}

.empty-state p {
    margin: 9px auto 20px;
    max-width: 420px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 38px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.page-link:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.page-link.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.page-link.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.page-arrow {
    padding: 0;
}

/* ------------------------------------------------------------------ */
/* Artículo                                                           */
/* ------------------------------------------------------------------ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transition: width 0.08s linear;
}

.article-header {
    position: relative;
    overflow: hidden;
    padding: 158px 0 92px;
    background:
        radial-gradient(80% 110% at 90% 0%, rgba(35, 134, 235, 0.32), transparent 60%),
        linear-gradient(115deg, var(--navy-black) 0%, var(--navy-deep) 55%, #0b2e63 100%);
    color: var(--white);
}

.article-header-content {
    position: relative;
    z-index: 1;
    max-width: 930px;
    margin-top: 34px;
}

.article-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.category-chip {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 50px;
    background: rgba(119, 193, 255, 0.16);
    border: 1px solid rgba(119, 193, 255, 0.3);
    color: var(--sky);
    font-family: var(--font-head);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-chip:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.preview-chip {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 50px;
    background: rgba(210, 139, 18, 0.18);
    border: 1px solid rgba(210, 139, 18, 0.4);
    color: #ffd589;
    font-family: var(--font-head);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.article-header h1 {
    margin-top: 18px;
    color: var(--white);
    font-size: clamp(36px, 4.5vw, 54px);
    line-height: 1.12;
}

.article-excerpt {
    max-width: 800px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 17px;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 27px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-admin-actions {
    display: flex;
    gap: 9px;
    margin-top: 26px;
}

.article-cover-wrap {
    position: relative;
    z-index: 2;
    margin-top: -46px;
}

.article-cover {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--navy-deep);
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 8.6;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: 56px minmax(0, 820px);
    justify-content: center;
    gap: 32px;
    padding-top: 68px;
    padding-bottom: 74px;
}

.article-share {
    position: sticky;
    top: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    align-self: start;
    padding-top: 5px;
}

.share-label {
    margin-bottom: 4px;
    color: #a0a8b2;
    font-family: var(--font-head);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.article-share a,
.article-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--muted);
}

.article-share a:hover,
.article-share button:hover,
.article-share .is-copied {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.article-body {
    min-width: 0;
    color: var(--text);
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > h2,
.article-body > h3,
.article-body > h4,
.article-body > blockquote,
.article-body > figure,
.article-body > table,
.article-body > pre {
    max-width: 100%;
}

.article-body p {
    margin: 0 0 23px;
    font-size: 17px;
    line-height: 1.85;
}

.article-body p.lead {
    color: var(--navy);
    font-size: 20px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.article-body h2 {
    margin: 42px 0 16px;
    font-size: clamp(26px, 2.8vw, 33px);
    line-height: 1.22;
}

.article-body h3 {
    margin: 32px 0 13px;
    font-size: 22px;
    line-height: 1.3;
}

.article-body h4 {
    margin: 26px 0 12px;
    font-size: 18px;
}

.article-body a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--navy);
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 9px;
    font-size: 16.5px;
    line-height: 1.75;
}

.article-body blockquote {
    margin: 34px 0;
    padding: 5px 0 5px 26px;
    border-left: 3px solid var(--blue);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.015em;
}

.article-body blockquote p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.article-body figure {
    margin: 36px 0;
}

.article-body figure img {
    width: 100%;
    border-radius: 13px;
}

.article-body figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.article-body img {
    height: auto;
    border-radius: 12px;
}

.article-body hr {
    margin: 38px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.article-body table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    font-size: 14.5px;
}

.article-body th,
.article-body td {
    padding: 11px 13px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-body th {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 13px;
}

.article-body pre {
    margin: 26px 0;
    padding: 18px;
    border-radius: 10px;
    background: var(--navy-deep);
    color: #dbe9ff;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
}

.article-body code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #eef4fb;
    color: var(--navy);
    font-size: 0.9em;
}

.article-end {
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.article-end-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-end-tags a {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 50px;
    color: var(--muted);
    font-size: 11.5px;
    text-decoration: none;
}

.article-end-tags a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.article-end-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
}

.article-end-share a,
.article-end-share button {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    padding: 0;
}

.article-end-share a:hover,
.article-end-share button:hover {
    color: var(--navy);
}

.related-section {
    background: var(--paper);
}

/* ------------------------------------------------------------------ */
/* Comenzar / contacto                                                */
/* ------------------------------------------------------------------ */
.contact-section {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(65% 80% at 90% 0%, rgba(35, 134, 235, 0.3), transparent 60%),
        radial-gradient(45% 65% at 0% 100%, rgba(119, 193, 255, 0.1), transparent 60%),
        linear-gradient(115deg, var(--navy-black) 0%, var(--navy-deep) 58%, #0b2e63 100%);
    color: var(--white);
}

.contact-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
    pointer-events: none;
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 74px;
}

.contact-copy {
    padding-top: 12px;
}

.contact-copy .breadcrumb {
    margin-bottom: 36px;
}

.contact-copy h1 {
    max-width: 640px;
    margin-top: 17px;
    color: var(--white);
    font-size: clamp(38px, 4.5vw, 54px);
    line-height: 1.1;
}

.contact-lead {
    max-width: 560px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 16.5px;
    line-height: 1.75;
}

.contact-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 34px;
}

.contact-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.contact-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(119, 193, 255, 0.14);
    border: 1px solid rgba(119, 193, 255, 0.3);
    color: var(--blue-light);
}

.contact-benefits li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-benefits strong {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 600;
}

.contact-benefits li > div > span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 12.5px;
    line-height: 1.5;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sky);
    font-size: 12.5px;
}

.contact-meta a:hover {
    color: var(--white);
}

.contact-form-card {
    padding: 38px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.contact-form-head {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.contact-form-kicker {
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-form-head h2 {
    margin-top: 7px;
    font-size: 28px;
}

.contact-form-head p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11.5px;
}

.required {
    color: var(--red);
    font-weight: 700;
}

.contact-errors {
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #f2c6c6;
    border-radius: 9px;
    background: var(--red-bg);
    color: #a92f2f;
    font-size: 11.5px;
    line-height: 1.5;
}

.contact-errors ul {
    margin-top: 6px;
    padding-left: 17px;
}

.contact-errors li + li {
    margin-top: 2px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-field label {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.35;
}

.contact-field input,
.contact-field select {
    width: 100%;
    height: 47px;
    padding: 0 13px;
    border: 1px solid var(--line-strong, #d3dce8);
    border-radius: 8px;
    background: #fbfdff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input::placeholder {
    color: #aab4c0;
}

.contact-field input:focus,
.contact-field select:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(35, 134, 235, 0.13);
}

.contact-field input:invalid:not(:placeholder-shown) {
    border-color: #e1a3a3;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 34px;
    cursor: pointer;
}

.select-wrap > svg {
    position: absolute;
    top: 50%;
    right: 13px;
    color: var(--muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.contact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 18px 0 20px;
    color: var(--text);
    font-size: 11.5px;
    line-height: 1.45;
    cursor: pointer;
}

.contact-checkbox input {
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    accent-color: var(--blue);
    flex-shrink: 0;
}

.contact-submit {
    height: 50px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
}

.contact-privacy {
    margin-top: 14px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

.contact-privacy a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 10px 12px;
    text-align: center;
}

.contact-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--green-bg, #e9f8f1);
    color: var(--green, #1f9d72);
    box-shadow: 0 0 0 8px rgba(31, 157, 114, 0.06);
}

.contact-success h2 {
    margin-top: 9px;
    font-size: 30px;
}

.contact-success > p {
    max-width: 390px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.contact-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 24px;
}

.contact-again {
    margin-top: 18px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 600;
}

.contact-again:hover {
    color: var(--navy);
}

/* ------------------------------------------------------------------ */
/* Error                                                              */
/* ------------------------------------------------------------------ */
.error-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74vh;
    padding: 170px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(80% 110% at 80% 0%, rgba(35, 134, 235, 0.34), transparent 60%),
        linear-gradient(115deg, var(--navy-black) 0%, var(--navy-deep) 55%, #0b2e63 100%);
    color: var(--white);
    text-align: center;
}

.error-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.error-code {
    display: block;
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-head);
    font-size: clamp(90px, 14vw, 160px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

.error-content h1 {
    margin-top: 10px;
    color: var(--white);
    font-size: clamp(30px, 4vw, 44px);
}

.error-content p {
    margin: 16px auto 0;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 16px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* ------------------------------------------------------------------ */
/* Reveal                                                             */
/* ------------------------------------------------------------------ */
.will-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1) var(--reveal-delay, 0ms),
                transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1) var(--reveal-delay, 0ms);
}

.will-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .will-reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll-line { animation: none; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 1199px) {
    .container {
        width: min(100% - 40px, var(--container));
    }

    .main-nav {
        gap: 17px;
        margin-left: 0;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        font-size: 12.5px;
    }

    .header-actions {
        gap: 15px;
    }

    .btn-header {
        display: none;
    }

    .feature-grid {
        gap: 55px;
    }

    .cases-grid,
    .faq-grid {
        gap: 55px;
    }

    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 308px;
        gap: 30px;
    }

    .newsletter-card {
        padding: 46px 44px;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 76px;
    }

    .section {
        padding: 82px 0;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - var(--header-height));
        max-height: calc(100dvh - var(--header-height));
        padding: 14px 24px 30px;
        overflow-y: auto;
        background: var(--navy-deep);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }

    .site-header.nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 15px;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 3px 0 8px 16px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown-menu a {
        padding: 9px 0;
        color: rgba(255, 255, 255, 0.58);
        font-size: 13.5px;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
        color: var(--white);
    }

    .nav-mobile-cta {
        display: inline-flex !important;
        justify-content: center !important;
        margin-top: 18px;
        padding: 14px 18px !important;
        border: 1px solid var(--blue) !important;
        border-radius: 9px;
        background: var(--blue);
        color: var(--white) !important;
        font-family: var(--font-head);
        font-size: 11.5px !important;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    .nav-mobile-cta:hover {
        background: var(--navy);
    }

    .btn-header {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .brand img {
        width: 118px;
    }

    .section-heading.split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-heading.inline {
        align-items: center;
    }

    .section-lead {
        max-width: 620px;
    }

    .hero-content {
        padding-top: 150px;
        padding-bottom: 100px;
    }

    .hero h1 {
        font-size: clamp(38px, 6.4vw, 52px);
    }

    .hero-metrics {
        margin-top: 48px;
    }

    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .cases-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .feature-visual {
        min-height: 430px;
        width: min(100%, 620px);
    }

    .cases-panel {
        width: min(100%, 680px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
        gap: 30px;
    }

    .price-card {
        min-height: 0;
    }

    .price-card.is-featured {
        transform: none;
    }

    .price-card.is-featured:hover {
        transform: translateY(-5px);
    }

    .newsletter-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 34px;
    }

    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 13px);
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 48px 38px;
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cta-actions .btn {
        min-width: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero {
        padding: 140px 0 66px;
    }

    .page-hero-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
    }

    .page-hero-stats {
        padding-bottom: 0;
    }

    .article-header {
        padding: 140px 0 82px;
    }

    .article-cover-wrap {
        margin-top: -36px;
    }

    .article-layout {
        grid-template-columns: 1fr;
        padding-top: 42px;
    }

    .article-share {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    .share-label {
        writing-mode: initial;
        transform: none;
        margin: 0 7px 0 0;
    }

    .article-body {
        max-width: 820px;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .section {
        padding: 68px 0;
    }

    .section-heading.centered {
        margin-bottom: 38px;
    }

    .section-heading.inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero {
        min-height: 700px;
        min-height: max(700px, 100svh);
    }

    .hero-content {
        padding-top: 132px;
        padding-bottom: 86px;
    }

    .hero h1 {
        font-size: clamp(33px, 8vw, 44px);
    }

    .hero-lead {
        font-size: 15.5px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-inline: auto;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-top: 38px;
    }

    .hero-metric {
        padding: 13px 4px;
    }

    .hero-metric + .hero-metric {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .hero-scroll {
        display: none;
    }

    .value-grid,
    .solutions-grid,
    .posts-grid,
    .testimonials-grid,
    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .testimonial-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .solution-card {
        min-height: 0;
    }

    .feature-visual {
        min-height: 390px;
    }

    .visual-frame {
        inset: 10px 10px 40px 0;
    }

    .insight-card {
        right: 0;
        width: 84%;
    }

    .floating-badge {
        left: 10px;
    }

    .newsletter-card {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: 0;
        padding: 0;
        backdrop-filter: none;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .cta-section {
        padding-bottom: 76px;
    }

    .cta-card {
        padding: 38px 26px;
        border-radius: 20px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 54px 0 38px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-legal {
        gap: 15px;
    }

    .page-hero {
        padding: 124px 0 54px;
    }

    .page-hero h1 {
        font-size: clamp(32px, 7.6vw, 42px);
    }

    .page-hero-content > div > p {
        font-size: 15px;
    }

    .page-hero-stats {
        gap: 30px;
    }

    .page-hero-stats strong {
        font-size: 32px;
    }

    .hero-search {
        flex-wrap: wrap;
        padding: 10px;
        gap: 8px;
    }

    .hero-search > svg {
        margin-left: 6px;
    }

    .hero-search input {
        flex-basis: calc(100% - 42px);
        height: 40px;
    }

    .hero-search .btn {
        width: 100%;
    }

    .blog-section {
        padding: 52px 0 76px;
    }

    .blog-toolbar {
        align-items: flex-start;
    }

    .posts-grid-2 {
        grid-template-columns: 1fr;
    }

    .article-header {
        padding: 124px 0 72px;
    }

    .article-header h1 {
        font-size: clamp(31px, 7.4vw, 42px);
    }

    .article-excerpt {
        font-size: 15.5px;
    }

    .article-meta {
        gap: 13px;
    }

    .article-cover-wrap {
        margin-top: -24px;
    }

    .article-cover {
        border-radius: 14px;
    }

    .article-cover img {
        aspect-ratio: 16 / 10;
    }

    .article-layout {
        padding-top: 36px;
        padding-bottom: 56px;
    }

    .article-body p {
        font-size: 16px;
        line-height: 1.8;
    }

    .article-body p.lead {
        font-size: 18px;
    }

    .article-body blockquote {
        font-size: 19px;
        padding-left: 20px;
    }

    .article-end-share {
        gap: 12px;
    }

    .newsletter-section,
    .newsletter-section-tight {
        padding-bottom: 76px;
    }
}

@media (max-width: 575px) {
    .header-inner {
        gap: 12px;
    }

    .header-actions {
        gap: 10px;
        margin-left: auto;
    }

    .header-login span {
        display: none;
    }

    .header-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.05);
    }

    .brand img {
        width: 104px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .flash-stack {
        top: calc(var(--header-height) + 12px);
        right: 16px;
    }

    .hero-content {
        padding-top: 118px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h1 span {
        margin-top: 6px;
    }

    .btn-lg {
        padding: 15px 22px;
    }

    .value-grid {
        margin-top: 38px;
    }

    .cases-panel {
        padding: 28px 22px;
    }

    .price-card {
        padding: 30px 24px;
    }

    .post-card-body {
        padding: 21px 20px 22px;
    }

    .article-share {
        gap: 6px;
    }

    .article-share a,
    .article-share button {
        width: 35px;
        height: 35px;
    }

    .article-end-share {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .article-end-share span {
        width: 100%;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ------------------------------------------------------------------ */
/* Comenzar: ajustes responsive                                       */
/* ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .contact-section {
        min-height: 0;
        padding: 140px 0 84px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-copy h1 {
        max-width: 720px;
    }

    .contact-form-card {
        width: min(100%, 680px);
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 124px 0 72px;
    }

    .contact-copy h1 {
        font-size: clamp(32px, 7.4vw, 42px);
    }

    .contact-lead {
        font-size: 15px;
    }

    .contact-form-card {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .contact-form-head h2 {
        font-size: 25px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .contact-success-actions {
        width: 100%;
        flex-direction: column;
    }

    .contact-success-actions .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .contact-section {
        padding: 116px 0 60px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-copy .breadcrumb {
        margin-bottom: 26px;
    }

    .contact-copy .contact-meta {
        margin-top: 28px;
    }
}
