/* ========================================
   VARIABLES CSS - GUÍA DE DISEÑO
======================================== */
:root {
    /* Paleta de colores según guía */
    --color-primary: rgb(26, 47, 77);
    --color-secondary: #e7ecef;
    --color-tertiary-1: #8b8c89;
    --color-tertiary-2: #e5e5e5;
    --color-white: #ffffff;
    --color-bg: #f8f9fa;
    --color-accent: #cca43b;

    /* Gradiente dorado (accent siempre como gradiente) */
    --accent-gradient: linear-gradient(135deg, #cca43b, #b8942a);

    /* Colores para texto */
    --text-primary: #000000;
    --text-secondary: var(--color-primary);

    /* Color adicional para footer */
    --color-primary-darker: #1a2f4d;

    /* Transiciones básicas */
    --transition: all 0.3s ease;
    --transition-default: all 0.3s ease;

    /* Gradientes */
    --primary-gradient: linear-gradient(135deg, var(--color-primary), var(--color-primary-darker));
    --primary-gradient-reverse: linear-gradient(135deg, var(--color-primary-darker), var(--color-primary));
    --border-gradient: linear-gradient(135deg, var(--color-primary), #3a5a7a);

    /* Sombras */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-primary: 0 8px 25px rgba(39, 76, 119, 0.3);
    --shadow-primary-hover: 0 12px 35px rgba(39, 76, 119, 0.4);
    --shadow-red: 0 12px 40px rgba(235, 3, 53, 0.15);
    --shadow-blue: 0 8px 30px rgba(39, 76, 119, 0.15);
    --shadow-blue-hover: 0 20px 50px rgba(39, 76, 119, 0.25);

    /* Colores adicionales */
    --gris-perla: #E6E6E8;

    /* Transformaciones hover */
    --hover-lift-lg: translateY(-8px);
    --hover-scale-sm: scale(1.02);
    --hover-scale-md: scale(1.05);
    --hover-scale-lg: scale(1.1);

    /* Transiciones adicionales */
    --transition-hover: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   RESET Y BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--color-bg);
}

/* ========================================
   TIPOGRAFÍA
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ========================================
   LAYOUT Y CONTENEDORES
======================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.justify * {
    text-align: justify;
}

.section {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.section-alt {
    background-color: var(--color-secondary);
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(26, 47, 77, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 50;
    border-radius: 0.75rem;
    border: 1px solid rgba(204, 164, 59, 0.15);
    padding: 0.5rem;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.12),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(204, 164, 59, 0.4) 50%,
            transparent 100%);
    border-radius: 1px;
}

.header:hover {
    border-color: rgba(204, 164, 59, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.header nav a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.header nav a:hover {
    color: var(--color-white);
}

/* Botón especial para el header */
.header .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    background: linear-gradient(165deg,
            rgba(247, 231, 160, 0.95) 0%,
            rgba(229, 196, 83, 0.95) 12%,
            rgba(212, 168, 75, 0.95) 25%,
            rgba(201, 162, 39, 0.95) 40%,
            rgba(184, 148, 42, 0.95) 50%,
            rgba(201, 162, 39, 0.95) 60%,
            rgba(212, 168, 75, 0.95) 75%,
            rgba(229, 196, 83, 0.95) 88%,
            rgba(247, 231, 160, 0.95) 100%);
    box-shadow:
        0 2px 8px rgba(184, 148, 42, 0.25),
        0 0 20px rgba(204, 164, 59, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.header .btn:hover {
    box-shadow:
        0 4px 16px rgba(184, 148, 42, 0.35),
        0 0 30px rgba(204, 164, 59, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Animación de entrada del header */
@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.header {
    animation: headerSlideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    position: fixed;
}

/* Efecto hover sutil en el logo */
.header nav a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.header nav a:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(204, 164, 59, 0.5));
}

/* Estado del header al hacer scroll */
.header.scrolled {
    background: rgba(26, 47, 77, 0.95);
    border-color: rgba(204, 164, 59, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.header.scrolled::after {
    width: 80%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(204, 164, 59, 0.5) 50%,
            transparent 100%);
}

@media (min-width: 768px) {
    .header nav>div>div:first-child>div:last-child {
        display: flex !important;
    }
}

.header nav>div>div:first-child>div:last-child a {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.header nav>div>div:first-child>div:last-child a:hover {
    color: var(--color-white);
}

/* ========================================
   BOTONES
======================================== */
.btn {
    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;

    /* Tipografía */
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);

    /* Forma - corner-shape con fallback */
    border-radius: 2rem;
    corner-shape: squircle;

    /* Fondo - Gradiente oro metálico premium */
    background: linear-gradient(165deg,
            #f7e7a0 0%,
            #e5c453 12%,
            #d4a84b 25%,
            #c9a227 40%,
            #b8942a 50%,
            #c9a227 60%,
            #d4a84b 75%,
            #e5c453 88%,
            #f7e7a0 100%);
    background-size: 100% 100%;

    /* Borde sutil para definición */
    border: 1px solid rgba(139, 90, 43, 0.3);

    /* Sombras - efecto de profundidad y glow */
    box-shadow:
        0 2px 4px rgba(139, 90, 43, 0.2),
        0 4px 12px rgba(184, 148, 42, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(139, 90, 43, 0.2);

    /* Transiciones */
    cursor: pointer;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background 0.4s ease;
}

/* Efecto shimmer - brillo que recorre el botón */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 80%,
            transparent 100%);
    transform: skewX(-25deg);
    z-index: 1;
    pointer-events: none;
    animation: btn-shimmer 4s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes btn-shimmer {

    0%,
    100% {
        left: -100%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: 150%;
        opacity: 1;
    }

    60%,
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Capa de reflejo superior */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            transparent 100%);
    border-radius: 0.5rem 0.5rem 50% 50% / 0.5rem 0.5rem 20% 20%;
    corner-shape: squircle;
    pointer-events: none;
    z-index: 1;
}

/* Estado hover */
.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 6px 20px rgba(184, 148, 42, 0.35),
        0 12px 40px rgba(139, 90, 43, 0.2),
        0 0 30px rgba(201, 162, 39, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(139, 90, 43, 0.15);
    background: linear-gradient(165deg,
            #fff8d6 0%,
            #f0d46a 12%,
            #e5c453 25%,
            #d4a84b 40%,
            #c9a227 50%,
            #d4a84b 60%,
            #e5c453 75%,
            #f0d46a 88%,
            #fff8d6 100%);
}

/* Estado active/pressed */
.btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 2px 8px rgba(139, 90, 43, 0.3),
        0 4px 16px rgba(184, 148, 42, 0.2),
        inset 0 2px 4px rgba(139, 90, 43, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    transition:
        transform 0.1s ease,
        box-shadow 0.1s ease;
}

/* Estado focus para accesibilidad */
.btn:focus-visible {
    outline: none;
    box-shadow:
        0 6px 20px rgba(184, 148, 42, 0.35),
        0 12px 40px rgba(139, 90, 43, 0.2),
        0 0 0 3px rgba(201, 162, 39, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(139, 90, 43, 0.15);
}

/* Variante tamaño grande */
.btn-lg {
    padding: 1.25rem 2.75rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
}

/* ========================================
   HERO - Pseudo-elemento overlay
======================================== */
.hero {
    padding: 6rem 0rem 4rem 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00000081;
    z-index: 0;
}

.hero img,
.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* ========================================
   CTA REASSURANCE - Reutilizable
======================================== */
.cta-reassurance {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-tertiary-1);
    margin: 0;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.hero .cta-reassurance {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   FEATURE SELECTOR - Reutilizable
======================================== */
.feature-selector-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--color-tertiary-2);
    padding-bottom: 1rem;
}

.feature-selector {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--color-tertiary-1);
    padding: 0.75rem 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.feature-selector:hover {
    color: var(--color-primary);
}

.feature-selector.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    font-weight: 600;
}

.feature-content-item {
    display: none;
}

.feature-content-item.active {
    display: block !important;
}

/* ========================================
   ANIMACIONES REUTILIZABLES
======================================== */
@keyframes gradientPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.7);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========================================
   IFRAME LOADER
======================================== */
.iframe-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 0.5rem;
    z-index: 10;
}

.iframe-loader.hidden {
    display: none;
}

.iframe-loader .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--color-secondary);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   TRUSTED BY SECTION
======================================== */
.trusted-by {
    padding: 2rem 0;
    background-color: var(--color-bg);
}

/* ========================================
   FEATURE CARDS - Estilo tipo jurium.css
======================================== */
.feature-card {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--color-bg);
    border-radius: 0.7rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-default);
    border: 1px solid rgba(39, 76, 119, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-gradient);
    opacity: 0;
    transition: var(--transition-default);
}

.feature-card:hover {
    transform: var(--hover-lift-lg);
    box-shadow: 0 20px 40px -10px rgba(39, 76, 119, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
    border-color: rgba(39, 76, 119, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    background: var(--primary-gradient);
    color: white;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-default);
}

.feature-card:hover .feature-card-icon {
    transform: var(--hover-scale-lg);
    box-shadow: var(--shadow-primary-hover);
}

.feature-card h3 {
    color: black;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--color-primary-darker);
    text-align: justify;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   COMPARISON SECTION - Estilo tipo jurium.css
======================================== */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: var(--color-bg);
    border-radius: 0.6rem;
    padding: 1.5rem;
    position: relative;
    transition: var(--transition-hover);
    min-height: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-card.traditional {
    border: 1px solid rgba(235, 3, 53, 0.3);
    z-index: 1;
}

.comparison-card.traditional:hover {
    transform: var(--hover-lift-lg) var(--hover-scale-sm);
    box-shadow: var(--shadow-red);
    border-color: rgba(235, 3, 53, 0.6);
}

.comparison-card.optimized {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-blue);
    z-index: 2;
    transform: translateX(-50px);
}

.comparison-card.optimized:hover {
    transform: translateX(-50px) translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-blue-hover);
    border-color: var(--color-primary-darker);
}

.card-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-primary-darker);
}

.comparison-card.optimized .card-header h3 {
    color: var(--color-primary);
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--color-primary-darker);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.premium-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(39, 76, 119, 0.4);
    transition: var(--transition-default);
}

.comparison-card.optimized:hover .premium-badge {
    transform: var(--hover-scale-lg) rotate(-1deg);
    box-shadow: 0 4px 15px rgba(39, 76, 119, 0.6);
    background: var(--primary-gradient-reverse);
}

.metrics-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gris-perla);
    border-radius: 0.35rem;
    transition: var(--transition-default);
    border: 1px solid rgba(39, 76, 119, 0.1);
}

.comparison-card:hover .metric-item {
    transform: translateX(5px);
}

.comparison-card.traditional:hover .metric-item {
    background: rgba(235, 3, 53, 0.05);
    border-color: rgba(235, 3, 53, 0.2);
}

.comparison-card.optimized:hover .metric-item {
    background: rgba(39, 76, 119, 0.08);
    border-color: rgba(39, 76, 119, 0.3);
}

.comparison-card.optimized .metric-item {
    background: rgba(39, 76, 119, 0.05);
    border-left: 3px solid var(--color-primary);
}

.metric-icon {
    background: var(--accent-gradient);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-default);
}

.comparison-card.traditional .metric-icon {
    background: #eb0335;
}

.comparison-card.optimized .metric-icon {
    background: var(--color-primary);
}

.comparison-card:hover .metric-icon {
    transform: var(--hover-scale-lg) rotate(1deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.comparison-card.traditional:hover .metric-icon {
    background: #c9164f;
}

.comparison-card.optimized:hover .metric-icon {
    background: var(--color-primary-darker);
}

.metric-content {
    flex: 1;
}

.metric-content h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-darker);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-darker);
    margin-bottom: 0.1rem;
    line-height: 1;
    transition: var(--transition-default);
}

.comparison-card:hover .metric-value {
    transform: var(--hover-scale-md);
}

.comparison-card.optimized .metric-value {
    color: var(--color-primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-primary-darker);
    line-height: 1.2;
    opacity: 0.6;
}

.improvement {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: var(--transition-default);
}

.comparison-card.optimized:hover .improvement {
    transform: var(--hover-scale-lg);
    background: var(--color-primary);
    animation: pulse 2s infinite;
}

.result-badge {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.35rem;
    text-align: left;
    font-size: 0.85rem;
    line-height: 1.4;
}

.traditional-result {
    background: rgba(235, 3, 53, 0.1);
    border: 1px solid rgba(235, 3, 53, 0.3);
    color: var(--color-primary-darker);
}

.optimized-result {
    background: rgba(39, 76, 119, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary-darker);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-item {
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 4rem 1rem 0 1rem;

    & * {
        font-size: .875rem;
        color: var(--color-secondary);
    }
}

.footer h3 {
    color: var(--color-white);
}

.footer a {
    transition: var(--transition);
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.75rem;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer a:hover {
    color: var(--color-white);
}

.footer a:hover::after {
    width: 100%;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .header {
        width: 95%;
        top: 0.5rem;
        padding: 0.4rem;
    }

    .header .btn {
        padding: 0.4rem 1rem;
        font-size: 0.65rem;
    }

    .header::after {
        width: 50%;
    }

    .hero {
        padding: 5rem 0 2.5rem !important;
        min-height: auto !important;
    }

    .hero>.container>div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero>.container>div>div:first-child {
        text-align: center !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero>.container>div>div:first-child>span {
        margin-top: 2rem !important;
        font-size: 0.6rem !important;
        padding: 0.4rem 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero p:not(.cta-reassurance) {
        font-size: 1rem !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .hero>.container>div>div:last-child {
        order: -1;
        display: none !important;
    }

    .cta-reassurance {
        justify-content: center;
    }

    .comparison-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .comparison-card.optimized {
        transform: none !important;
    }

    .comparison-card.optimized:hover {
        transform: translateY(-12px) scale(1.03) !important;
    }

    .feature-card {
        padding: 1.5rem !important;
    }

    .feature-card-icon {
        width: 3.5rem !important;
        height: 3.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .feature-card h3 {
        font-size: 1.1rem !important;
    }

    .feature-card p {
        font-size: 0.9rem !important;
    }

    .section {
        padding: 3rem 0;
    }

    .feature-selector-container {
        gap: 2rem;
    }

    .feature-selector {
        font-size: 1rem !important;
    }

    .feature-content-item>div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .feature-content-item h3 {
        font-size: 1.5rem !important;
        text-align: center !important;
    }

    .feature-content-item p {
        font-size: 1rem !important;
        text-align: center !important;
    }

    #comparativa>div>div:first-of-type {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 534px) {
    h1 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 4rem 0 2rem !important;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .hero p:not(.cta-reassurance) {
        font-size: 0.9rem !important;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 0.875rem;
    }
}