/**
 * Cita Extranjería - Theme CSS
 * Estilos completos del tema
 * Updated: 2026-08-20 — Mobile menu fix + Full audit
 * @package CitaExtranjeria
 */

/* =========================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
:root {
    /* === REDISEÑO v4.0 — Limpio, Profesional, Alta Conversión === */
    /* Marca — azul puro, confiable, moderno */
    --primary: #2563EB;
    --primary-light: #3B82F6;
    --primary-dark: #1D4ED8;
    --secondary: #2563EB;
    --secondary-hover: #1D4ED8;
    /* CTA — mismo azul de marca (coherencia) */
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    /* Estado */
    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #dc2626;
    /* Fondos — siempre claros */
    --bg-light: #F7F9FC;
    --bg-white: #FFFFFF;
    --bg-dark: #F7F9FC; /* ya no hay fondos oscuros */
    /* Texto — alto contraste */
    --text-dark: #111827;
    --text-gray: #4B5563;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --border-color: #E5E7EB;
    /* Tipografía */
    --font-main: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', 'Montserrat', -apple-system, sans-serif;
    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.1);
    /* Transiciones */
    --transition-fast: all 0.15s ease;
    --transition-normal: all 0.25s ease;
    --transition-slow: all 0.4s ease;
    /* Radios */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* =========================================
   RESET GENERAL
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 0;
}

/* =========================================
   TIPOGRAFÍA Y ENCABEZADOS
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

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

strong,
b {
    font-weight: 700;
    color: inherit;
}

/* Strong text stays dark on light backgrounds */
.how-it-works strong,
.procedures strong,
.faq-section strong,
.request-section strong {
    color: var(--primary);
}

/* Strong text on light-bg pricing card */
.pricing strong {
    color: var(--primary);
}

/* Strong text on light-bg testimonials */
.testimonials strong {
    color: var(--primary);
}

/* Strong text is WHITE on dark backgrounds */
.pain-block strong,
.pain-block b,
.benefits-section strong,
.benefits-section b {
    color: #ffffff;
}

/* Headings are WHITE on dark backgrounds */
.pain-block h2, .pain-block h3, .pain-block h4,
.benefits-section h2, .benefits-section h3 {
    color: #ffffff;
}

/* Paragraphs and spans visible on dark backgrounds */
.pain-block p, .pain-block span,
.benefits-section p, .benefits-section span {
    color: #d1d5db;
}

/* Testimonials have light background — keep text dark */
.testimonials .section-title {
    color: var(--primary);
}
.testimonials .section-subtitle {
    color: var(--text-light);
}


/* =========================================
   UTILIDADES Y CLASES GLOBALES
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.bg-primary h2,
.bg-primary h3,
.bg-primary p {
    color: var(--text-white);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.highlight {
    color: var(--secondary);
}

.highlight-accent {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.15rem;
}

/* Section titles on dark backgrounds */
.benefits-section .section-title,
.pain-block .section-title {
    color: #ffffff;
}
.benefits-section .section-subtitle,
.pain-block .section-subtitle {
    color: #9ca3af;
}
.benefits-section .section-title::after,
.pain-block .section-title::after {
    background: var(--success);
}

/* Sections with LIGHT backgrounds — ensure dark readable text */
.guarantee-section h2,
.guarantee-section h3 {
    color: var(--text-dark);
}
.guarantee-section p,
.guarantee-section span {
    color: var(--text-gray);
}
.doubt-breaker h2,
.doubt-breaker h3,
.doubt-breaker .section-title {
    color: var(--text-dark);
}
.doubt-breaker p,
.doubt-breaker span {
    color: var(--text-gray);
}
.doubt-breaker strong {
    color: var(--text-dark);
}
.cta-final-section h2,
.cta-final-section h3 {
    color: var(--text-dark);
}
.cta-final-section p,
.cta-final-section span {
    color: var(--text-gray);
}
.cta-final-section strong {
    color: var(--text-dark);
}

/* =========================================
   BOTONES (SISTEMA COMPLETO)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(0, 112, 243, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.btn-success {
    background-color: var(--success);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* =========================================
   DISCLAIMER BANNER (Google Safe Browsing Compliance)
   ========================================= */
.disclaimer-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    text-align: center;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 500;
    line-height: 1.5;
}

.disclaimer-content i {
    color: #d97706;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.disclaimer-content strong {
    color: #92400e;
    font-weight: 700;
}

.disclaimer-content a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

.disclaimer-content a:hover {
    color: #1e40af;
}

/* =========================================
   BARRA DE NAVEGACIÓN (HEADER)
   ========================================= */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    width: 100%;
    max-width: 100vw;
    overflow: visible;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    gap: 20px;
}

header#navbar .logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

header#navbar .logo a {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.6rem !important;
    font-family: var(--font-heading) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

header#navbar .logo a:hover {
    color: var(--primary) !important;
}

header#navbar .logo a img.logo-img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    min-width: 40px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    transition: var(--transition-normal);
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

header#navbar .logo a:hover img.logo-img {
    transform: rotate(15deg) scale(1.05);
}

/* Footer logo */
.footer-brand .footer-logo-img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition-normal);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--secondary);
}

/* Botón de menú en nav */
nav a.btn::after {
    background-color: rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
    bottom: 0;
}

nav a.btn:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    border: none;
    background: none;
    padding: 0;
    flex-shrink: 0;
}

/* =========================================
   1. HERO SECTION — Diseño Profesional Confianza
   ========================================= */
.hero {
    background: linear-gradient(160deg, #1e3a5f 0%, #1a3357 40%, #162d4e 70%, #0f2340 100%);
    color: var(--text-white);
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
    word-break: break-word;
    overflow-wrap: break-word;
    border-bottom: 3px solid #f97316;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(249,115,22,0.08) 0%, transparent 55%),
                radial-gradient(ellipse at 80% 100%, rgba(29,111,216,0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 22px;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto 36px auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Override btn-success to orange in hero */
.hero .btn-success,
.hero .hero-cta-main {
    background: linear-gradient(135deg, #f97316, #ea6a0a) !important;
    color: #fff !important;
    box-shadow: 0 8px 30px rgba(249,115,22,0.45) !important;
    border: none !important;
}
.hero .btn-success:hover,
.hero .hero-cta-main:hover {
    box-shadow: 0 12px 40px rgba(249,115,22,0.6) !important;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(249,115,22,0.45); transform: scale(1); }
    50% { box-shadow: 0 8px 45px rgba(249,115,22,0.7); transform: scale(1.03); }
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    color: #cbd5e1;
    font-size: 1rem;
    font-weight: 600;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    max-width: 900px;
    margin-inline: auto;
    box-sizing: border-box;
}

.hero-badges span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badges i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* Hero - Private Service Badge */
.hero-private-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(249,115,22,0.15);
    border: 1px solid rgba(249,115,22,0.4);
    color: #fed7aa;
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 28px;
    backdrop-filter: blur(5px);
}

.hero-private-badge i {
    font-size: 1rem;
    color: #fb923c;
}

/* =========================================
   2. PROBLEMA Y SOLUCIÓN (TEXTO SEO)
   ========================================= */
.problem-solution {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.seo-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.seo-text ul {
    margin-top: 20px;
}

.seo-text li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
}

.seo-text li i {
    color: var(--danger);
    margin-top: 5px;
}

.seo-image {
    position: relative;
}

.seo-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    right: 0;
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--secondary);
    max-width: calc(100% - 20px);
    box-sizing: border-box;
}

.floating-badge i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.floating-badge div h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.floating-badge div p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* =========================================
   3. CÓMO FUNCIONA (PASO A PASO)
   ========================================= */
.how-it-works {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.step-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid var(--border-color);
    z-index: 2;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 112, 243, 0.05);
    font-family: var(--font-heading);
    line-height: 1;
    transition: var(--transition-normal);
}

.step-card:hover .step-number {
    color: rgba(0, 112, 243, 0.1);
    transform: scale(1.1);
}

.step-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-light);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px auto;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--bg-white);
    transition: var(--transition-normal);
}

.step-card:hover .step-icon {
    background: var(--secondary);
    color: var(--bg-white);
    transform: rotateY(360deg);
    transition: all 0.8s ease;
}

/* =========================================
   4. TRÁMITES DISPONIBLES
   ========================================= */
.procedures {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.proc-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-normal);
    background: #fff;
}

.proc-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.proc-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-md);
}

.proc-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.proc-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* =========================================
   5. TABLAS DE PRECIOS Y PAQUETES
   ========================================= */
.pricing {
    padding: 100px 0;
    background-color: var(--bg-light);
}

/* Pricing Disclaimer Box */
.pricing-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: var(--radius-lg);
    padding: 20px 25px;
    margin: 0 auto 40px auto;
    max-width: 900px;
}

.pricing-disclaimer i {
    color: #2563eb;
    font-size: 1.5rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-disclaimer p {
    color: #1e3a5f;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.pricing-disclaimer a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

.pricing-disclaimer strong {
    color: #1e3a5f;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 50px 35px;
    width: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--secondary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    background: #ffffff;
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-tag {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--bg-white);
    padding: 8px 25px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.pricing-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    text-align: center;
}

.price span {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.price-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
}

.pricing-features {
    margin-bottom: 40px;
    flex-grow: 1;
    width: 100%;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.pricing-features i {
    font-size: 1.2rem;
    margin-top: 3px;
}

.pricing-features i.fa-check-circle {
    color: var(--success);
}

.pricing-features i.fa-times-circle {
    color: var(--danger);
    opacity: 0.5;
}

/* =========================================
   6. PROVINCIAS
   ========================================= */
.provinces {
    padding: 80px 0;
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.provinces .section-title,
.provinces h2 {
    color: var(--text-white);
}

.provinces .section-subtitle {
    color: #9ca3af;
}

.provinces-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.provinces-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.provinces-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-color: var(--secondary);
    transform: translateX(5px);
}

.provinces-list li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* =========================================
   7. TESTIMONIOS Y PRUEBA SOCIAL
   ========================================= */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testi-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(0, 112, 243, 0.1);
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testi-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary) !important;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light) !important;
}

/* =========================================
   8. SECCIÓN FAQ (ACORDEÓN)
   ========================================= */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    user-select: none;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-answer {
    max-height: 500px !important;
    overflow: visible !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fafafa;
}

.faq-answer-content {
    padding: 0 30px 25px 30px;
    color: var(--text-gray);
    line-height: 1.8;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 20px;
}

/* =========================================
   9. FORMULARIO DE SOLICITUD DE CITA
   ========================================= */
.request-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
}

/* Form - Private Service Notice */
.form-private-notice {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 20px 25px;
    margin-bottom: 30px;
}

.form-private-notice > i {
    color: #d97706;
    font-size: 1.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-private-notice strong {
    color: #92400e;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.form-private-notice p {
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.form-private-notice a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header i {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group.full {
    grid-column: span 2;
}

.input-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group label i {
    color: var(--text-light);
    font-size: 0.9rem;
}

.input-control {
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition-normal);
    width: 100%;
}

.input-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.1);
}

select.input-control {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230070f3%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-container label {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-container a {
    text-decoration: underline;
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    font-size: 1.2rem;
    padding: 20px;
}

.security-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.security-badges {
    display: flex;
    gap: 20px;
    font-size: 2rem;
    color: #9ca3af;
}

.security-text {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-text i {
    color: var(--success);
}

/* =========================================
   9b. SELECTOR DE MÉTODO DE PAGO
   ========================================= */
.payment-method-selector {
    margin: 30px 0 25px 0;
}

.payment-method-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.payment-method-label i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.payment-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px 20px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.payment-option:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 15px rgba(0, 112, 243, 0.1);
    transform: translateY(-2px);
}

.payment-option.active {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.04) 0%, rgba(0, 112, 243, 0.08) 100%);
    box-shadow: 0 4px 20px rgba(0, 112, 243, 0.15);
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: var(--transition-normal);
}

.payment-option.active .payment-option-icon {
    background: linear-gradient(135deg, var(--secondary), #005bb5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 112, 243, 0.3);
}

.payment-option-icon.whatsapp-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #25d366;
}

.payment-option.active .payment-option-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.payment-option-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-option-content strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.payment-option-content span {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.payment-option-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.4rem;
    color: #9ca3af;
    margin-top: 4px;
}

.payment-option.active .payment-option-badges {
    color: #6b7280;
}

.payment-option-badges.whatsapp-badges {
    font-size: 1rem;
}

.badge-whatsapp-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.badge-whatsapp-info i {
    font-size: 0.85rem;
}

.payment-option-check {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 1.3rem;
    color: var(--border-color);
    transition: var(--transition-normal);
}

.payment-option.active .payment-option-check {
    color: var(--secondary);
}

.payment-option.active .payment-option-check .whatsapp-icon ~ .payment-option-check {
    color: #25d366;
}

/* WhatsApp payment option active override */
.payment-option.active#paymentOptionWhatsapp .payment-option-check {
    color: #25d366;
}

.payment-option.active#paymentOptionWhatsapp {
    border-color: #25d366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.04) 0%, rgba(37, 211, 102, 0.08) 100%);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15);
}

/* Botón WhatsApp Pay */
.btn-whatsapp-pay {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    width: 100%;
    font-size: 1.2rem;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    border: none;
}

.btn-whatsapp-pay:hover {
    background: linear-gradient(135deg, #22c55e 0%, #0f766e 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* =========================================
   10. FOOTER Y AVISOS LEGALES
   ========================================= */
footer {
    background-color: var(--primary-dark);
    color: #9ca3af;
    padding: 80px 0 40px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h4 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h5 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.legal-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.legal-box h5 {
    color: var(--danger);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-box p {
    color: #d1d5db;
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 10px;
}

.legal-box strong {
    color: var(--accent);
}

.copyright-bar {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #6b7280;
}

/* =========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* --- Mobile Menu Overlay Backdrop --- */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== TABLET LANDSCAPE (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .hero {
        padding: 110px 0 80px 0;
    }

    .seo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .seo-image {
        order: -1;
        margin-bottom: 20px;
        max-width: 600px;
        margin-inline: auto;
    }

    .floating-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        max-width: 100%;
    }

    .form-wrapper {
        padding: 40px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .section-padding {
        padding: 70px 0;
    }

    .problem-solution,
    .how-it-works,
    .procedures,
    .pricing,
    .testimonials,
    .faq-section {
        padding: 70px 0;
    }

    .request-section {
        padding: 80px 0;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pricing-card {
        padding: 40px 25px;
    }

    nav ul {
        gap: 15px;
    }
}

/* ===== TABLET PORTRAIT & MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* --- Global Overflow & Container --- */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .container {
        padding: 0 20px;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* --- Mobile Navigation --- */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: var(--radius-md);
        background: var(--bg-light);
        transition: var(--transition-fast);
        border: none;
        position: relative;
        z-index: 1002;
        flex-shrink: 0;
    }

    .mobile-menu-btn:active {
        background: var(--border-color);
    }

    nav#mainNav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        transform: translateX(105%) !important;
        visibility: hidden !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #fff !important;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s !important;
        z-index: 1001 !important;
        padding: 24px 24px 30px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        list-style: none !important;
    }

    nav#mainNav.nav-open {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    nav#mainNav ul {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
    }

    nav#mainNav ul li {
        border-bottom: 1px solid #F3F4F6 !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    nav#mainNav ul li:last-child {
        border-bottom: none !important;
    }

    nav#mainNav ul li a {
        display: flex !important;
        align-items: center !important;
        padding: 14px 8px !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        color: #1e3a5f !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: background 0.15s, padding-left 0.15s !important;
        border-radius: 8px !important;
    }

    nav#mainNav ul li a:hover,
    nav#mainNav ul li a:active {
        background: #F3F4F6 !important;
        padding-left: 14px !important;
    }

    nav#mainNav ul li a::after {
        display: none !important;
    }

    nav#mainNav ul li a.btn {
        margin-top: 20px !important;
        margin-left: 0 !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        width: 100% !important;
        font-size: 0.95rem !important;
        padding: 14px !important;
    }

    /* --- Header --- */
    header {
        padding: 10px 0;
        overflow: visible;
        width: 100%;
        max-width: 100vw;
    }

    header .container {
        gap: 10px;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        flex-wrap: nowrap;
    }

    header#navbar .logo {
        min-width: 0;
        overflow: hidden;
        flex-shrink: 1;
    }

    header#navbar .logo a {
        font-size: 1.15rem !important;
        min-width: 0;
        gap: 8px !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 120px);
    }

    header#navbar .logo a img.logo-img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        min-width: 30px !important;
        flex-shrink: 0 !important;
    }

    /* --- Hero Section --- */
    .hero {
        padding: 85px 0 60px 0;
        background-attachment: scroll;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.3rem);
        line-height: 1.25;
        word-break: break-word;
        hyphens: none;
    }

    .hero h1 br {
        display: none;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 25px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 400px;
        margin-inline: auto;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        margin-top: 35px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-badges span {
        font-size: 0.88rem;
        word-break: break-word;
        justify-content: center;
        text-align: center;
    }

    .hero-private-badge {
        font-size: 0.72rem;
        padding: 8px 14px;
        letter-spacing: 0.5px;
        text-align: center;
        line-height: 1.4;
        max-width: 100%;
        box-sizing: border-box;
        word-break: break-word;
        display: inline-flex;
        margin-bottom: 20px;
    }

    .hero-empathy {
        font-size: 0.92rem;
        padding: 12px 16px;
        margin-bottom: 18px;
    }

    .hero-bullets {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
    }

    .hero-bullet {
        font-size: 0.9rem;
    }

    .hero-tg-preview {
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* --- Disclaimer Banner --- */
    .disclaimer-banner {
        padding: 6px 0;
    }

    .disclaimer-content {
        font-size: 0.75rem;
        text-align: center;
        justify-content: center;
        padding: 0 8px;
        gap: 6px;
        line-height: 1.5;
        word-break: break-word;
    }

    /* --- Section Titles & Subtitles --- */
    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin: 0 auto 30px auto;
        padding: 0 10px;
        line-height: 1.6;
    }

    .section-padding {
        padding: 50px 0;
    }

    .problem-solution,
    .how-it-works,
    .procedures,
    .pricing,
    .testimonials,
    .faq-section {
        padding: 50px 0;
    }

    .request-section {
        padding: 60px 0;
    }

    /* --- Problem-Solution --- */
    .pain-header h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .pain-highlight {
        white-space: normal;
        display: inline-block;
        padding: 2px 8px;
        margin-top: 4px;
    }

    .seo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .seo-image {
        order: -1;
        margin-bottom: 10px;
    }

    .floating-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 15px;
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 16px 20px;
    }

    .seo-text p {
        font-size: 0.98rem;
        text-align: left;
    }

    .seo-text li {
        font-size: 0.92rem;
    }

    /* --- How it Works --- */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .step-card {
        padding: 35px 25px;
    }

    .step-card:hover {
        transform: translateY(-5px);
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .step-number {
        font-size: 3.5rem;
        right: 20px;
        top: 15px;
    }

    /* --- Procedures --- */
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .proc-card {
        padding: 22px 20px;
    }

    .proc-card h3,
    .proc-card h4 {
        font-size: 1.2rem;
    }

    /* --- Pricing / Plans --- */
    .plans-value-context {
        padding: 18px 16px;
        margin-bottom: 30px;
    }

    .value-context-inner {
        flex-direction: column;
        gap: 12px;
    }

    .value-context-arrow {
        display: none;
    }

    .value-context-col {
        max-width: 100%;
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .value-context-compare {
        font-size: 0.82rem;
        text-align: center;
    }

    .pricing-grid,
    .plans-grid {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 25px;
        max-width: 100%;
    }

    .pricing-card,
    .plan-card {
        max-width: 100%;
        width: 100%;
        padding: 35px 22px;
        box-sizing: border-box;
    }

    .pricing-card.popular,
    .plan-card-featured {
        transform: none !important;
        order: -1;
    }

    .pricing-header h3,
    .plan-header h3 {
        font-size: 1.5rem;
    }

    .price,
    .plan-amount {
        font-size: 2.8rem;
    }

    .pricing-disclaimer {
        flex-direction: column;
        padding: 14px 16px;
        gap: 8px;
    }

    .pricing-disclaimer p {
        font-size: 0.85rem;
    }

    /* --- Visual Proof --- */
    .visual-proof-activity-counter {
        flex-direction: column;
        padding: 12px 16px;
        gap: 8px;
    }

    .visual-proof-activity-sep {
        display: none;
    }

    .visual-proof-activity-item {
        padding: 0;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* --- Why Us / Comparison --- */
    .why-us-compare {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
    }

    .compare-vs-divider {
        padding: 10px 0;
    }

    .compare-vs-divider span {
        width: 42px;
        height: 42px;
        font-size: 0.8rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .advantage-card {
        padding: 20px 16px;
    }

    /* --- Provinces --- */
    .provinces {
        padding: 50px 0;
    }

    .provinces-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 8px;
    }

    .provinces-list li {
        padding: 8px 10px;
        font-size: 0.8rem;
        text-align: center;
    }

    /* --- Testimonials --- */
    .testi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testi-card {
        padding: 25px 20px;
    }

    .testi-text {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    /* --- FAQ --- */
    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
        font-size: 0.9rem;
    }

    /* --- Request & Subscription Form --- */
    .form-wrapper {
        padding: 28px 18px;
        border-radius: var(--radius-lg);
        overflow: hidden;
        word-break: break-word;
    }

    .form-header i {
        font-size: 2.4rem;
    }

    .form-header h3 {
        font-size: 1.45rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .input-group.full {
        grid-column: span 1;
    }

    .input-control,
    select.input-control,
    input[type="text"].input-control,
    input[type="email"].input-control,
    input[type="tel"].input-control {
        padding: 14px;
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .checkbox-container {
        padding: 12px 14px;
        margin: 16px 0;
        gap: 10px;
    }

    .checkbox-container label {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 16px 20px;
        width: 100%;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-option {
        padding: 14px;
        gap: 12px;
    }

    /* --- Footer --- */
    footer {
        padding: 45px 0 25px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links {
        text-align: left;
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
    }

    .footer-links ul li a {
        justify-content: flex-start;
    }

    .legal-trust-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        padding: 14px;
    }

    .legal-box {
        padding: 16px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .legal-box h5,
    .legal-box .footer-heading {
        font-size: 0.95rem;
        text-align: center;
    }

    .legal-box p {
        font-size: 0.78rem;
        text-align: left;
        line-height: 1.65;
    }

    .copyright-bar {
        padding-top: 18px;
        font-size: 0.75rem;
        text-align: center;
    }

    /* --- General Touch Buttons --- */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 0.9rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Prevent overflow on all media and blocks */
    img, svg, video {
        max-width: 100%;
        height: auto;
    }

    /* Prevent horizontal scroll caused by AOS animations */
    section {
        overflow: hidden;
    }

    /* Ensure live-activity toast doesn't overlap WhatsApp float */
    .live-activity {
        bottom: 80px;
        max-width: calc(100% - 90px);
    }

    .live-activity-close {
        min-width: 32px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== SMALL PHONES (max-width: 480px) ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 75px 0 50px 0;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero-badges span {
        font-size: 0.8rem;
    }

    .hero-private-badge {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .pricing-card,
    .plan-card {
        padding: 30px 16px;
    }

    .price,
    .plan-amount {
        font-size: 2.5rem;
    }

    .form-wrapper {
        padding: 22px 14px;
    }

    .provinces-list {
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
        gap: 6px;
    }

    .provinces-list li {
        font-size: 0.76rem;
        padding: 7px 8px;
    }
}

/* ===== EXTRA SMALL PHONES (max-width: 360px) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.45rem;
    }

    header#navbar .logo a {
        font-size: 1.1rem !important;
    }

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

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-brand h4 {
        font-size: 1.15rem;
    }

    .disclaimer-content {
        font-size: 0.66rem;
    }

    .checkbox-container label {
        font-size: 0.75rem;
    }

    .security-text {
        font-size: 0.72rem;
    }

    .security-badges {
        font-size: 1.4rem;
        gap: 10px;
    }

    .btn {
        padding: 12px 18px;
        font-size: 0.82rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }
}

/* ===== LANDSCAPE ORIENTATION ON PHONES ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 50px 0;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
    }

    nav#mainNav {
        padding-top: 20px;
    }

    nav#mainNav ul li a {
        padding: 10px 5px;
        min-height: 40px;
    }
}

/* ===== HIGH DPI / RETINA TOUCH IMPROVEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover animations on touch devices */
    .step-card:hover {
        transform: none;
    }

    .step-card:hover .step-icon {
        transform: none;
        background: var(--bg-light);
        color: var(--secondary);
    }

    .proc-card:hover {
        transform: none;
    }

    .pricing-card:hover {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: none;
    }

    .legal-right-card:hover {
        transform: none;
    }

    .refund-case:hover {
        transform: none;
    }

    .provinces-list li:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    /* Better tap targets */
    .faq-question {
        min-height: 48px;
    }

    nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* =========================================
   WORDPRESS SPECIFIC OVERRIDES
   ========================================= */
/* Quitar margen superior del admin bar cuando está activa */
.admin-bar header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
}

/* Estilos para el contenido de WordPress (The Loop) */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin-top: 2rem;
}

.entry-content ul,
.entry-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

/* =========================================
   11. PÁGINAS LEGALES
   ========================================= */
.legal-page {
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-white) 100%);
    padding-top: 140px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.legal-content .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 10px;
}

.legal-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.legal-updated i {
    color: var(--success);
}

.legal-disclaimer-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 20px 25px;
    margin-bottom: 40px;
}

.legal-disclaimer-box > i {
    color: #d97706;
    font-size: 1.5rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.legal-disclaimer-box p {
    color: #78350f;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.legal-disclaimer-box strong {
    color: #92400e;
}

.legal-disclaimer-box a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding-bottom: 0;
}

.legal-section h2::after {
    display: none;
}

.legal-section h2 i {
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--primary-light);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section ul,
.legal-section ol {
    margin-left: 10px;
    margin-bottom: 20px;
}

.legal-section ul li,
.legal-section ol li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.legal-section ul li::before {
    content: '›';
    position: absolute;
    left: 5px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

.legal-section ol {
    counter-reset: legal-counter;
    list-style: none;
}

.legal-section ol li {
    counter-increment: legal-counter;
}

.legal-section ol li::before {
    content: counter(legal-counter) '.';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.legal-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    border-left: 5px solid var(--secondary);
    margin: 20px 0;
}

.legal-info-card ul {
    margin: 0;
}

.legal-info-card ul li {
    padding-left: 0;
    margin-bottom: 8px;
}

.legal-info-card ul li::before {
    display: none;
}

.legal-info-card ul li strong {
    color: var(--primary);
    min-width: 150px;
    display: inline-block;
}

.legal-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: var(--radius-md);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e3a5f !important;
    font-size: 0.95rem !important;
}

.legal-highlight i {
    color: #2563eb;
    flex-shrink: 0;
}

/* Legal Rights Grid (Privacy page) */
.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.legal-right-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.legal-right-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.legal-right-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.legal-right-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.legal-right-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

/* Refund Cases Grid (Returns page) */
.refund-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0 30px 0;
}

.refund-case {
    border-radius: var(--radius-lg);
    padding: 25px 20px;
    text-align: center;
    border: 2px solid;
    transition: var(--transition-normal);
}

.refund-case:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.refund-case.yes {
    background: #f0fdf4;
    border-color: #86efac;
}

.refund-case.yes i {
    color: var(--success);
}

.refund-case.partial {
    background: #fffbeb;
    border-color: #fde68a;
}

.refund-case.partial i {
    color: var(--warning);
}

.refund-case.no {
    background: #fef2f2;
    border-color: #fecaca;
}

.refund-case.no i {
    color: var(--danger);
}

.refund-case i {
    font-size: 2rem;
    margin-bottom: 12px;
}

.refund-case h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.refund-case p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    text-align: center;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.cookie-table th {
    background: var(--primary);
    color: var(--text-white);
    padding: 12px 15px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-gray);
    vertical-align: top;
}

.cookie-table tr:hover td {
    background: var(--bg-light);
}

.cookie-table code {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Back to Home button */
.legal-back-home {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Legal page responsive */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 100px;
    }

    .legal-content {
        padding: 25px 18px;
    }

    .legal-content .section-title {
        font-size: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.15rem;
        gap: 8px;
    }

    .legal-section h2 i {
        font-size: 1rem;
    }

    .legal-section h3 {
        font-size: 1.05rem;
    }

    .legal-section p {
        font-size: 0.92rem;
        text-align: left;
    }

    .legal-section ul li,
    .legal-section ol li {
        font-size: 0.88rem;
        padding-left: 20px;
    }

    .legal-rights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .legal-right-card {
        padding: 18px 14px;
    }

    .legal-right-card i {
        font-size: 1.5rem;
    }

    .legal-right-card h4 {
        font-size: 0.9rem;
    }

    .legal-right-card p {
        font-size: 0.78rem;
    }

    .refund-cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .refund-case {
        padding: 20px 16px;
    }

    .legal-disclaimer-box {
        flex-direction: column;
        padding: 15px 18px;
        gap: 10px;
    }

    .legal-disclaimer-box p {
        font-size: 0.88rem;
    }

    .legal-info-card {
        padding: 18px 20px;
    }

    .legal-highlight {
        padding: 12px 16px;
        font-size: 0.88rem !important;
    }

    .cookie-table-wrapper {
        margin: 15px -5px;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .cookie-table code {
        font-size: 0.75rem;
        padding: 1px 5px;
    }

    .legal-info-card ul li strong {
        display: block;
        margin-bottom: 3px;
    }

    .legal-back-home {
        margin-top: 30px;
        padding-top: 20px;
    }

    .legal-updated {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding-top: 85px;
    }

    .legal-content {
        padding: 20px 14px;
    }

    .legal-content .section-title {
        font-size: 1.3rem;
    }

    .legal-rights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .legal-section h2 {
        font-size: 1.05rem;
    }

    .legal-section p {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 6px 8px;
        font-size: 0.72rem;
    }
}

@media (max-width: 360px) {
    .legal-page {
        padding-top: 75px;
    }

    .legal-content {
        padding: 16px 10px;
    }

    .legal-content .section-title {
        font-size: 1.15rem;
    }
}

/* =========================================
   LANDING PAGES POR PROVINCIA (SEO)
   ========================================= */
.provincia-breadcrumb {
    background: rgba(15, 23, 42, 0.95);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.provincia-breadcrumb a:hover {
    color: #93c5fd !important;
    text-decoration: underline;
}

.provincia-hero {
    padding-top: 100px !important;
}

/* Province list hover effect */
.provinces-list li a {
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.provinces-list li a:hover {
    color: var(--secondary) !important;
    transform: translateY(-2px);
}

.provinces-list li a:hover i {
    color: var(--secondary);
}

/* =========================================
   TRUST SIGNALS — Payment & Social Proof
   ========================================= */
.trust-signals {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 10px 0 0;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 30px;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.trust-badge:hover {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
}
.trust-badge i {
    font-size: 1rem;
}
.trust-badge .trust-stripe {
    color: #635bff;
}
.trust-badge .trust-ssl {
    color: #10b981;
}
.trust-badge .trust-visa {
    color: #1a1f71;
}
.trust-badge .trust-mc {
    color: #ff5f00;
}

/* =========================================
   CONVERSION BOOSTERS
   ========================================= */

/* Pulsing CTA Button */
.submit-btn {
    animation: pulse-glow 2s infinite;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255,255,255,0.15) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(16,185,129,0.4); }
    50% { box-shadow: 0 8px 30px rgba(16,185,129,0.6); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* Live Activity Notification */
.live-activity {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    max-width: 340px;
    border-left: 4px solid var(--success);
    animation: slideInNotif 0.5s ease-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.live-activity.hide {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.live-activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    animation: blink-dot 1.5s infinite;
    flex-shrink: 0;
}

.live-activity-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.live-activity-text strong {
    color: var(--success);
}

.live-activity-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px;
}

@keyframes slideInNotif {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 16px;
    z-index: 998;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sticky-mobile-cta .sticky-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.sticky-mobile-cta .sticky-price small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
}

.sticky-mobile-cta .sticky-btn {
    background: var(--success);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    animation: pulse-glow 2s infinite;
}

@media (max-width: 768px) {
    /* OLD sticky CTA disabled — using #stickyCTABar instead */
    .sticky-mobile-cta {
        display: none !important;
    }

    .live-activity {
        bottom: 80px;
        left: 10px;
        right: auto;
        max-width: calc(100% - 80px);
    }

    /* Bottom padding handled by .sticky-cta-active class in JS */
}

/* Price crossed out (original price) */
.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.85em;
    margin-right: 8px;
}

.discount-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =========================================
   CRO SECTIONS — RESPONSIVE OVERRIDES
   Covers: pain-block, social-proof-counter,
   hero new elements, pricing anchor, form urgency
   ========================================= */

/* --- TABLET (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .pain-block {
        padding: 50px 0 40px;
    }
    .pain-grid {
        gap: 24px;
    }
    .pain-column {
        padding: 24px 20px;
    }
    .social-proof-counter {
        gap: 20px;
        padding: 20px 24px;
    }
    .counter-number {
        font-size: 1.5rem;
    }
    .hero-price-box {
        padding: 14px 24px;
    }
    .hero-price {
        font-size: 1.9rem;
    }
}

/* --- TABLET PORTRAIT / MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Pain Block */
    .pain-block {
        padding: 40px 0 35px;
    }
    .pain-header h2 {
        font-size: 1.5rem;
    }
    .pain-subtitle {
        font-size: 0.95rem;
    }
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .pain-column {
        padding: 22px 18px;
    }
    .pain-column-header h3 {
        font-size: 1.05rem;
    }
    .pain-list li, .solution-list li {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }
    .pain-filter {
        font-size: 0.9rem;
    }
    .pain-cta {
        font-size: 0.95rem !important;
        padding: 14px 24px !important;
        width: 100%;
    }

    /* Social Proof Counter */
    .social-proof-counter {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        padding: 16px;
        justify-content: center;
    }
    .counter-number {
        font-size: 1.3rem;
    }
    .counter-label {
        font-size: 0.72rem;
    }
    .counter-divider {
        display: none;
    }
    .counter-item {
        min-width: 80px;
        flex: 0 0 auto;
    }

    /* Testi Badge */
    .testi-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
        top: -10px;
        right: 12px;
    }
    .testi-cta p {
        font-size: 0.95rem;
    }
    .testi-cta .btn {
        width: 100%;
        font-size: 0.95rem;
        padding: 14px 24px;
    }

    /* Hero new elements */
    .hero-urgency-bar {
        font-size: 0.78rem;
        padding: 8px 14px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-price-box {
        padding: 12px 18px;
    }
    .hero-price {
        font-size: 1.7rem;
    }
    .hero-price-desc {
        display: block;
        margin-left: 0;
        margin-top: 6px;
        font-size: 0.8rem;
    }
    .hero-cta-main {
        font-size: 1rem !important;
        padding: 16px 28px !important;
        width: 100%;
    }
    .hero-cta-wa {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
        width: 100%;
    }
    .hero-legal-note {
        font-size: 0.68rem;
    }

    /* Pricing anchor */
    .pricing-anchor {
        margin-bottom: 4px;
    }
    .price-anchor-old {
        font-size: 0.78rem;
    }
    .pricing-guarantee {
        flex-direction: column;
        gap: 8px;
        padding: 12px 14px;
    }
    .pricing-legal-note {
        font-size: 0.72rem;
        padding: 0 10px;
    }

    /* Form urgency bar */
    .form-urgency-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 10px 14px;
        font-size: 0.78rem;
    }
    .form-urgency-left,
    .form-urgency-right {
        justify-content: center;
    }
    .form-includes {
        gap: 8px;
        padding: 12px 14px;
        font-size: 0.78rem;
    }
    .form-guarantee {
        flex-direction: column;
        gap: 8px;
        padding: 10px 14px;
        text-align: center;
    }

    /* FAQ CTA */
    .faq-cta .btn {
        width: 100%;
    }

    /* Ensure new sections don't overflow */
    .pain-block,
    .pain-grid,
    .pain-column,
    .social-proof-counter,
    .hero-urgency-bar,
    .hero-price-box,
    .form-urgency-bar,
    .form-includes,
    .form-guarantee,
    .pricing-anchor,
    .pricing-guarantee,
    .testi-badge {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* --- SMALL PHONES (max-width: 480px) --- */
@media (max-width: 480px) {
    .pain-block {
        padding: 35px 0 30px;
    }
    .pain-header h2 {
        font-size: 1.3rem;
    }
    .pain-subtitle {
        font-size: 0.88rem;
    }
    .pain-column {
        padding: 18px 14px;
    }
    .pain-column-header i {
        font-size: 1.3rem;
    }
    .pain-column-header h3 {
        font-size: 0.95rem;
    }
    .pain-list li, .solution-list li {
        font-size: 0.82rem;
        margin-bottom: 10px;
        gap: 8px;
    }
    .pain-filter {
        font-size: 0.82rem;
    }
    .pain-cta {
        font-size: 0.88rem !important;
        padding: 13px 20px !important;
    }

    .social-proof-counter {
        gap: 10px;
        padding: 14px 12px;
    }
    .counter-number {
        font-size: 1.1rem;
    }
    .counter-label {
        font-size: 0.68rem;
    }
    .counter-item {
        min-width: 70px;
    }

    .testi-badge {
        font-size: 0.62rem;
        padding: 3px 8px;
    }

    .hero-urgency-bar {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
    .hero-price {
        font-size: 1.5rem;
    }
    .hero-price-desc {
        font-size: 0.75rem;
    }

    .pricing-guarantee {
        padding: 10px 12px;
    }
    .pricing-guarantee span {
        font-size: 0.78rem;
    }

    .form-urgency-bar {
        font-size: 0.72rem;
        padding: 8px 12px;
    }
    .form-includes {
        font-size: 0.72rem;
        padding: 10px 12px;
        gap: 6px;
    }
    .form-guarantee span {
        font-size: 0.78rem;
    }
}

/* --- EXTRA SMALL PHONES (max-width: 360px) --- */
@media (max-width: 360px) {
    .pain-header h2 {
        font-size: 1.15rem;
    }
    .pain-column {
        padding: 14px 12px;
    }
    .pain-column-header h3 {
        font-size: 0.88rem;
    }
    .pain-list li, .solution-list li {
        font-size: 0.78rem;
    }
    .pain-cta {
        font-size: 0.82rem !important;
    }

    .social-proof-counter {
        padding: 12px 10px;
    }
    .counter-number {
        font-size: 1rem;
    }

    .hero-urgency-bar {
        font-size: 0.66rem;
    }
    .hero-price {
        font-size: 1.3rem;
    }
}

/* =============================================
   COMPREHENSIVE FIX OVERRIDES — 2026-05-06
   Fixes: centering, card sizes, text visibility,
   backgrounds hiding text, responsive on all devices
   ============================================= */

/* ── GLOBAL: All sections text centered ── */
.hero,
.doubt-breaker,
.pain-block,
.how-it-works,
.benefits-section,
.testimonials,
.guarantee-section,
.pricing,
.request-section,
.faq-section,
.cta-final-section,
.procedures,
.provinces {
    text-align: center;
    overflow-x: hidden;
    word-break: normal;
    overflow-wrap: break-word;
}

/* ── GLOBAL: Section containers ── */
.hero .container,
.doubt-breaker .container,
.pain-block .container,
.how-it-works .container,
.benefits-section .container,
.testimonials .container,
.guarantee-section .container,
.pricing .container,
.request-section .container,
.faq-section .container,
.cta-final-section .container,
.procedures .container,
.provinces .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ── FIX: Pricing card text colors on light bg ── */
.pricing-card {
    background: #ffffff !important;
    color: var(--text-dark) !important;
}
.pricing-card h3,
.pricing-card .price,
.pricing-card .pricing-header h3 {
    color: var(--primary) !important;
}
.pricing-card p,
.pricing-card .price-desc {
    color: var(--text-gray) !important;
}
.pricing-card .pricing-features li {
    color: var(--text-dark) !important;
}
.pricing-card .pricing-compare {
    background: rgba(0,0,0,0.03) !important;
}
.pricing-card .compare-label {
    color: var(--text-gray) !important;
}
.pricing-card .pricing-compare-bad .compare-value {
    color: #ef4444 !important;
}
.pricing-card .pricing-guarantee-box {
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(16,185,129,0.15) 100%) !important;
}
.pricing-card .guarantee-text {
    color: var(--text-gray) !important;
}
.pricing-card .guarantee-text strong {
    color: var(--text-dark) !important;
}
.pricing-card .pricing-clarity-note {
    color: var(--text-gray) !important;
}
.pricing-card .pricing-clarity-note strong {
    color: var(--text-dark) !important;
}
.pricing-card .popular-tag {
    color: #fff !important;
}

/* ── FIX: Form urgency bar text dark (light bg form) ── */
.form-urgency-bar {
    color: #991b1b !important;
}
.form-urgency-bar strong {
    color: #991b1b !important;
}

/* ── FIX: FAQ section text ── */
.faq-section .faq-question {
    color: var(--primary) !important;
}
.faq-section .faq-question span {
    color: var(--primary) !important;
}
.faq-answer-content {
    color: var(--text-gray) !important;
}
.faq-answer-content strong {
    color: var(--primary) !important;
}

/* ── FIX: Testimonials text on light bg ── */
.testimonials .testi-card {
    background: var(--bg-light) !important;
}
.testimonials .testi-text {
    color: var(--text-dark) !important;
}
.testimonials .testi-text strong {
    color: var(--primary) !important;
}
.testimonials .stars {
    color: #f59e0b !important;
}
.testimonials .author-info h5 {
    color: var(--primary) !important;
}
.testimonials .author-info span {
    color: var(--text-light) !important;
}
.testimonials .testi-cta p {
    color: var(--text-dark) !important;
}
.testimonials .testi-cta p strong {
    color: var(--primary) !important;
}

/* ── FIX: Procedures cards consistent sizing ── */
.procedures-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
}
.proc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px !important;
    min-height: 220px;
}
.proc-card i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 16px !important;
}
.proc-card h3 {
    font-size: 1.15rem !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}
.proc-card p {
    text-align: center !important;
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
}

/* ── FIX: How It Works steps consistent ── */
.steps-container {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 30px !important;
}
.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 260px;
}
.step-card h3 {
    text-align: center !important;
    font-size: 1.15rem !important;
}
.step-card p {
    text-align: center !important;
    font-size: 0.92rem !important;
    color: var(--text-gray) !important;
}

/* ── FIX: Benefits cards consistent ── */
.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 20px !important;
}
.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
    padding: 28px 22px !important;
}

/* ── FIX: Testimonials cards equal height ── */
.testi-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}
.testi-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

/* ── FIX: Doubt breaker cards consistent ── */
.doubt-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}
.doubt-card {
    display: flex;
    flex-direction: column;
    min-height: 130px;
    text-align: left;
}

/* ── FIX: Before/After cards equal ── */
.before-after-grid {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 20px !important;
    max-width: 750px !important;
    margin: 0 auto 30px !important;
}
.ba-card {
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

/* ── FIX: CTA Final all centered ── */
.cta-final-block {
    text-align: center !important;
    max-width: 650px !important;
    margin: 0 auto !important;
}
.cta-final-block h2 {
    text-align: center !important;
}

/* ── FIX: Guarantee block centered ── */
.guarantee-block {
    text-align: center !important;
    margin: 0 auto !important;
}

/* ── FIX: Form wrapper centered ── */
.form-wrapper {
    margin: 0 auto !important;
    max-width: 900px !important;
}
.form-header {
    text-align: center !important;
}
.form-header h3 {
    text-align: center !important;
}

/* ── FIX: Section titles & subtitles always centered ── */
.section-title {
    text-align: center !important;
    width: 100% !important;
}
.section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ── FIX: Provinces list ── */
.provinces .section-title,
.provinces .section-subtitle {
    text-align: center !important;
}
.provinces-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 12px !important;
}

/* ── FIX: Hero all elements centered ── */
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero h1 {
    text-align: center !important;
    width: 100%;
}
.hero-subtitle {
    text-align: center !important;
}
.hero-clarity {
    text-align: center !important;
}
.hero-wow-counter {
    text-align: center !important;
}
.hero-live-counter {
    text-align: center !important;
}
.hero-price-box {
    text-align: center !important;
}
.hero-guarantee-mini {
    text-align: center !important;
}
.hero-proof-strip {
    width: 100%;
}
.hero-badges {
    width: 100%;
    max-width: 700px;
}

/* ── FIX: Social proof counter ── */
.social-proof-counter {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin: 0 auto 40px !important;
}

/* ── FIX: Footer grid ── */
.footer-grid {
    text-align: left;
}
.footer-brand,
.footer-links {
    text-align: left;
}
.legal-box {
    text-align: left;
}
.legal-box p {
    text-align: justify;
}

/* ── FIX: Live activity notifications position ── */
.live-activity {
    z-index: 997 !important;
}

/* ── FIX: Urgency dot animation ── */
.urgency-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: blink-dot 1.5s infinite;
    flex-shrink: 0;
}

/* =============================================
   RESPONSIVE FIX OVERRIDES — ALL BREAKPOINTS
   ============================================= */

/* ── DESKTOP (1025px+) ── */
@media (min-width: 1025px) {
    .hero-btns {
        flex-direction: row;
        max-width: 650px;
    }
    .hero-btns .btn {
        width: auto;
        max-width: none;
    }
}

/* ── TABLET (max-width: 1024px) ── */
@media (max-width: 1024px) {
    .procedures-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }
    .steps-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    }
}

/* ── TABLET PORTRAIT (max-width: 768px) ── */
@media (max-width: 768px) {
    /* Cards go single column */
    .doubt-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .doubt-card {
        min-height: auto;
    }
    .before-after-grid {
        grid-template-columns: 1fr !important;
    }
    .ba-card {
        min-height: auto;
    }
    .steps-container {
        grid-template-columns: 1fr !important;
    }
    .step-card {
        min-height: auto;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .testi-grid {
        grid-template-columns: 1fr !important;
    }
    .testi-card {
        min-height: auto;
    }
    .procedures-grid {
        grid-template-columns: 1fr !important;
    }
    .proc-card {
        min-height: auto;
    }
    .provinces-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    }

    /* Form fixes */
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    .input-group.full {
        grid-column: span 1 !important;
    }

    /* Pricing */
    .pricing-grid {
        max-width: 100% !important;
    }
    .pricing-card {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-brand {
        grid-column: span 1 !important;
    }

    /* WhatsApp float above sticky bar */
    .whatsapp-float,
    .telegram-float {
        bottom: 80px !important;
    }

    /* Live activity above sticky bar */
    .live-activity {
        bottom: 85px !important;
        left: 10px !important;
        right: auto !important;
        max-width: calc(100% - 80px) !important;
    }

    /* Body padding for sticky CTA — handled by #stickyCTABar script */
}

/* ── SMALL PHONES (max-width: 480px) ── */
@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
    .provinces-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .hero h1 {
        font-size: 1.6rem !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .section-title {
        font-size: 1.25rem !important;
    }
    .section-subtitle {
        font-size: 0.88rem !important;
    }

    /* Smaller cards padding */
    .benefit-card {
        padding: 20px 16px !important;
        min-height: auto !important;
    }
    .step-card {
        padding: 30px 20px !important;
    }
    .proc-card {
        padding: 24px 18px !important;
    }
    .testi-card {
        padding: 24px 18px !important;
    }
    .pricing-card {
        padding: 30px 20px !important;
    }
    .guarantee-block {
        padding: 28px 18px !important;
    }
    .form-wrapper {
        padding: 24px 16px !important;
    }
}

/* ── EXTRA SMALL (max-width: 360px) ── */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem !important;
    }
    .section-title {
        font-size: 1.1rem !important;
    }
    .container {
        padding: 0 12px !important;
    }
    .benefit-card {
        padding: 16px 12px !important;
    }
    .doubt-card {
        padding: 14px 12px !important;
    }
}

/* ── FIX: Ensure no horizontal overflow anywhere ── */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
section, .container, .form-wrapper,
.pricing-card, .step-card, .proc-card,
.testi-card, .faq-item, .legal-box,
.ba-card, .doubt-card, .benefit-card,
.guarantee-block, .cta-final-block {
    max-width: 100%;
    box-sizing: border-box;
}

/* ── FIX: All images responsive ── */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* ── FIX: Inline-block elements centered in their sections ── */
.hero-clarity,
.hero-wow-counter,
.hero-live-counter,
.hero-price-box,
.hero-guarantee-mini,
.cta-final-problem,
.cta-final-guarantee,
.cta-final-price,
.cta-final-urgency-close {
    display: inline-flex !important;
    justify-content: center;
    text-align: center;
}

/* ── FIX: Pricing compare section visibility ── */
.pricing-compare-bad,
.pricing-compare-good {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* ── FIX: Strong/bold visibility across all sections ── */
.pricing strong,
.how-it-works strong,
.procedures strong,
.faq-section strong,
.request-section strong,
.testimonials strong {
    color: var(--primary) !important;
}
.hero strong,
.pain-block strong,
.benefits-section strong,
.cta-final-section strong {
    color: #ffffff !important;
}
/* Guarantee strong — dark green on light bg */
.guarantee-section strong {
    color: #14532D !important;
}

/* Override specific inline color overrides */
.hero strong[style*="color:#10b981"],
.pain-block strong[style*="color:#10b981"],
.cta-final-section span[style*="color:#10b981"] {
    color: #10b981 !important;
}
.pricing-card .price-desc[style*="color:#10b981"] {
    color: #10b981 !important;
}

/* ── FIX: Request section security icons visible ── */
.security-footer {
    text-align: center !important;
}
.security-badges {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

/* ── FIX: Cookie banner above sticky CTA ── */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 65px !important;
        z-index: 99998 !important;
    }
}

/* ── FIX: Prevent text from being hidden behind gradient backgrounds ── */
.pain-block,
.cta-final-section {
    position: relative;
    z-index: 1;
}
.pain-block *,
.cta-final-section * {
    position: relative;
    z-index: 2;
}

/* ── FIX: Accessible focus styles ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════
   FIX: Color overrides for ALL dark-background sections
   These sections use dark/gradient backgrounds but the base
   CSS was forcing dark text via !important rules above.
   ═══════════════════════════════════════════════════════════ */

/* --- Visual Proof (dark bg: #0f172a → #111827) --- */
.visual-proof h2,
.visual-proof h3,
.visual-proof .section-title {
    color: #ffffff !important;
}
.visual-proof .section-subtitle,
.visual-proof p {
    color: #9ca3af !important;
}
.visual-proof .section-title::after {
    background: var(--success) !important;
}
.visual-proof strong {
    color: #ffffff !important;
}

/* --- Pricing (light bg: #ffffff) → dark text --- */
.pricing h2,
.pricing h3,
.pricing .section-title {
    color: var(--primary) !important;
}
.pricing .section-subtitle,
.pricing p {
    color: var(--text-gray) !important;
}
.pricing .section-title::after {
    background: var(--success) !important;
}
.pricing strong {
    color: var(--primary) !important;
}
.pricing .compare-label {
    color: #1f2937 !important;
}
.pricing .compare-cell {
    color: #374151 !important;
}
.pricing .compare-header .compare-cell {
    color: #e2e8f0 !important;
}
.pricing .compare-header .compare-us {
    color: #10b981 !important;
}
.pricing .comp-good,
.pricing .comp-good strong {
    color: #059669 !important;
}
.pricing .comp-bad {
    color: #dc2626 !important;
}
.pricing .comp-neutral {
    color: #6b7280 !important;
}

/* --- FAQ (light bg: var(--bg-light)) → dark text, already correct but ensure --- */
.faq-section .section-title {
    color: var(--primary) !important;
}
.faq-section .section-subtitle {
    color: var(--text-light) !important;
}
.faq-section .faq-cta p {
    color: var(--text-dark) !important;
}
.faq-section .faq-cta p strong {
    color: var(--primary) !important;
}

/* --- How-it-works (light bg: var(--bg-light)) → dark text --- */
.how-it-works .section-title {
    color: var(--primary) !important;
}
.how-it-works p {
    color: var(--text-gray) !important;
}
.how-it-works h3 {
    color: var(--primary) !important;
}
.how-it-works strong {
    color: var(--primary) !important;
}

/* --- Testimonials (light bg) → ensure all cards readable --- */
.testimonials .section-title {
    color: var(--primary) !important;
}
.testimonials .section-subtitle {
    color: var(--text-light) !important;
}
.testimonials p {
    color: var(--text-dark) !important;
}

/* --- Request form (light bg) → dark text --- */
.request-section .section-title {
    color: var(--primary) !important;
}
.request-section p,
.request-section label {
    color: var(--text-dark) !important;
}
.request-section .form-header p {
    color: var(--text-gray) !important;
}
.request-section .form-header h3 {
    color: var(--primary) !important;
}
.request-section .form-guarantee span {
    color: var(--text-gray) !important;
}
.request-section .security-text {
    color: var(--text-light) !important;
}

/* --- Benefits (dark bg: #0f172a) --- */
.benefits-section .section-title {
    color: #ffffff !important;
}
.benefits-section .section-title::after {
    background: var(--success) !important;
}
.benefits-section p {
    color: #9ca3af !important;
}
.benefits-section h3 {
    color: #ffffff !important;
}

/* --- Problem/Solution aka pain-block (dark bg) --- */
.pain-block h2,
.pain-block h3 {
    color: #ffffff !important;
}
.pain-block li {
    color: #d1d5db !important;
}
.pain-block strong {
    color: #ffffff !important;
}

/* --- Doubt-breaker (dark bg: #111827) --- */
.doubt-breaker h2,
.doubt-breaker h3 {
    color: #ffffff !important;
}

/* --- CTA Final (dark bg) --- */
.cta-final-section h2 {
    color: #ffffff !important;
}
.cta-final-section p {
    color: #9ca3af !important;
}
.cta-final-section .cta-final-trust span {
    color: #9ca3af !important;
}

/* --- Procedures & Provinces (light bg) --- */
.procedures .section-title,
.provinces .section-title {
    color: var(--primary) !important;
}
.procedures p,
.provinces p {
    color: var(--text-gray) !important;
}

/* --- Override: Allow inline green colors on any section --- */
[style*="color:#10b981"],
[style*="color: #10b981"] {
    color: #10b981 !important;
}
[style*="color:#fcd34d"],
[style*="color: #fcd34d"] {
    color: #fcd34d !important;
}
[style*="color:#25d366"],
[style*="color: #25d366"] {
    color: #25d366 !important;
}
[style*="color:#ef4444"],
[style*="color: #ef4444"] {
    color: #ef4444 !important;
}
[style*="color:#fbbf24"],
[style*="color: #fbbf24"] {
    color: #fbbf24 !important;
}

/* ═══════════════════════════════════════════════════════════
   FIX: Visual Proof section-subtitle on dark bg
   ═══════════════════════════════════════════════════════════ */
.visual-proof .section-subtitle {
    color: #9ca3af !important;
}
.visual-proof .proof-caption {
    color: #9ca3af !important;
}
.visual-proof .proof-label {
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════
   FIX: Footer links and text visibility on dark background
   ═══════════════════════════════════════════════════════════ */
footer {
    background: #0a1628 !important;
    color: #d1d5db !important;
}
footer a {
    color: #93c5fd !important;
    transition: color 0.2s ease;
}
footer a:hover {
    color: #60a5fa !important;
}
footer p {
    color: #9ca3af !important;
}
footer .footer-links ul li a {
    color: #d1d5db !important;
    font-size: 0.9rem;
}
footer .footer-links ul li a:hover {
    color: #ffffff !important;
}
footer .footer-links ul li a i {
    color: #6b7280 !important;
}
footer .legal-box p {
    color: #9ca3af !important;
    line-height: 1.7;
}
footer .legal-box p strong {
    color: #fcd34d !important;
}
footer .legal-box a {
    color: #60a5fa !important;
}
footer .copyright-bar p {
    color: #6b7280 !important;
}
footer .social-links a {
    color: #9ca3af !important;
}
footer .social-links a:hover {
    color: #10b981 !important;
}
footer .legal-trust-info {
    color: #9ca3af !important;
}
footer .legal-trust-info strong {
    color: #d1d5db !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE: Mobile & Tablet comprehensive fixes
   ═══════════════════════════════════════════════════════════ */

/* --- Tablet (768px and below) --- */
@media (max-width: 768px) {
    /* Visual Proof */
    .visual-proof { padding: 36px 0 !important; }
    .proof-grid { grid-template-columns: 1fr !important; gap: 16px !important; max-width: 400px !important; margin: 24px auto 0 !important; }

    /* Benefits */
    .benefits-section { padding: 36px 0 !important; }
    .benefits-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

    /* Pricing */
    .pricing { padding: 50px 0 !important; }
    .pricing-simple-compare { max-width: 100% !important; margin: 24px auto 0 !important; }

    /* Problem-Solution */
    .pain-block { padding: 36px 0 !important; }
    .before-after-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

    /* Testimonials */
    .testi-grid-compact { grid-template-columns: 1fr !important; gap: 16px !important; }
    .social-proof-counter { gap: 14px !important; padding: 16px !important; }

    /* Doubt-breaker */
    .doubt-breaker { padding: 28px 0 !important; }
    .doubt-grid { grid-template-columns: 1fr !important; gap: 10px !important; }

    /* CTA Final */
    .cta-final-section { padding: 36px 0 !important; }
    .cta-final-btn { width: 100% !important; font-size: 1.05rem !important; padding: 16px 28px !important; }

    /* Footer */
    footer .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; text-align: center !important; }
    footer .footer-links ul { display: flex; flex-direction: column; align-items: center; gap: 8px; }
    footer .social-links { justify-content: center !important; }
    footer .legal-trust-info { flex-direction: column !important; gap: 8px !important; text-align: center !important; }
}

/* --- Mobile (480px and below) --- */
@media (max-width: 480px) {
    /* Hero */
    .hero { padding: 100px 0 80px 0 !important; }
    .hero h1 { font-size: 1.8rem !important; }
    .hero-bullets { gap: 8px !important; }
    .hero-bullet { font-size: 0.85rem !important; }
    .hero-registered { font-size: 0.75rem !important; padding: 6px 14px !important; }
    .hero-badges span { font-size: 0.72rem !important; }

    /* Benefits */
    .benefits-grid { grid-template-columns: 1fr !important; }

    /* How it works */
    .steps-container { grid-template-columns: 1fr !important; gap: 20px !important; }

    /* Pricing compare */
    .compare-cell { padding: 10px 8px !important; font-size: 0.78rem !important; }

    /* Form */
    .form-wrapper { padding: 20px 16px !important; }
    .submit-btn { font-size: 0.95rem !important; padding: 16px !important; }

    /* FAQ */
    .faq-question { padding: 14px 16px !important; font-size: 0.9rem !important; }
    .faq-answer-content { padding: 0 16px 14px !important; font-size: 0.85rem !important; }

    /* Pricing plans */
    .plan-card { padding: 28px 16px 22px !important; }
    .plan-amount { font-size: 1.7rem !important; }
    .plan-pago-unico { font-size: 0.65rem !important; padding: 3px 10px !important; }
    .plans-tab { padding: 8px 16px !important; font-size: 0.82rem !important; }
    .btn-plan { font-size: 0.82rem !important; padding: 12px 16px !important; }

    /* Footer legal declaration */
    .independence-declaration { padding: 20px 16px !important; font-size: 0.72rem !important; }
    .independence-declaration h4 { font-size: 0.78rem !important; }
    .site-footer-bottom { font-size: 0.72rem !important; padding: 16px !important; }

    /* Sticky CTA bar */
    .sticky-mobile-cta { padding: 8px 10px !important; gap: 6px !important; }
    .sticky-btn-main { font-size: 0.78rem !important; padding: 10px 14px !important; }
    .sticky-btn-tg { width: 38px !important; height: 38px !important; font-size: 1rem !important; }

    /* Contact/support buttons */
    .psp-btn { font-size: 0.85rem !important; padding: 12px 18px !important; }
}

/* --- Extra Small (360px and below — iPhone SE, Galaxy S) --- */
@media (max-width: 360px) {
    .container { padding: 0 12px !important; }
    .hero h1 { font-size: 1.5rem !important; line-height: 1.25 !important; }
    .hero-pill { font-size: 0.65rem !important; padding: 4px 10px !important; }
    .hero-subtitle { font-size: 0.88rem !important; }
    .hero-cta-main { font-size: 0.95rem !important; padding: 14px 20px !important; }

    .section-title { font-size: 1.2rem !important; }
    .plans-subtitle { font-size: 0.82rem !important; }
    .plan-amount { font-size: 1.5rem !important; }
    .plan-features li { font-size: 0.78rem !important; }

    .form-header h3 { font-size: 1.1rem !important; }
    .form-header p { font-size: 0.78rem !important; }
    .input-control { font-size: 0.88rem !important; }

    .faq-question { font-size: 0.82rem !important; }
    .faq-answer-content { font-size: 0.78rem !important; }

    .why-us-header h2 { font-size: 1.2rem !important; }
    .compare-col-list li { font-size: 0.78rem !important; }

    /* Testimonials */
    .testimonial-card { padding: 18px 14px !important; }
    .testimonial-text { font-size: 0.82rem !important; }
    .testimonial-name { font-size: 0.85rem !important; }

    /* Footer */
    .site-footer { padding: 30px 0 90px !important; }
    .footer-col h4 { font-size: 0.88rem !important; }
    .footer-col li, .footer-col a { font-size: 0.78rem !important; }

    /* Guarantee */
    .guarantee-badge { font-size: 0.78rem !important; }
}

/* ═══════════════════════════════════════════════════
   SUBSCRIPTION SECTION — DARK FUNNEL STYLING
   Convierte el formulario a dark mode para coherencia
   visual con el resto del funnel oscuro
   ═══════════════════════════════════════════════════ */

/* Global ctaPulse — needed by multiple sections */
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(16,185,129,0.4); transform: scale(1); }
    50%       { box-shadow: 0 8px 45px rgba(16,185,129,0.6); transform: scale(1.03); }
}

.subscription-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    border-top: 1px solid #e2e8f0;
}
.subscription-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(29,111,216,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Light form wrapper */
.subscription-section .form-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 40px rgba(30,58,95,0.1) !important;
    padding: 44px 44px 36px !important;
    border-radius: 20px !important;
    position: relative;
    z-index: 1;
}

/* Light labels */
.subscription-section .input-group label {
    color: #1e3a5f !important;
    font-weight: 600;
}
.subscription-section .input-group label i {
    color: #1d6fd8 !important;
}

/* Light inputs */
.subscription-section .input-control {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e3a5f !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.subscription-section .input-control::placeholder {
    color: #94a3b8 !important;
}
.subscription-section .input-control:focus {
    border-color: #1d6fd8 !important;
    box-shadow: 0 0 0 3px rgba(29,111,216,0.12) !important;
    background: #fff !important;
    outline: none;
}
.subscription-section select.input-control option {
    background: #fff;
    color: #1e3a5f;
}
.subscription-section select.input-control {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2310b981%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') !important;
}

/* Light form header */
.subscription-section .form-header h3 {
    color: #1e3a5f !important;
}
.subscription-section .form-header p {
    color: #64748b !important;
}
.subscription-section .form-header i {
    color: #f97316;
}

/* Security footer light */
.subscription-section .security-footer {
    border-top-color: #e2e8f0 !important;
}
.subscription-section .security-text {
    color: #64748b !important;
}

/* Submit button — naranja, pulsing */
.subscription-section .submit-btn {
    font-size: 1.15rem !important;
    padding: 20px !important;
    animation: ctaOrangePulse 2.2s ease-in-out infinite !important;
    box-shadow: 0 8px 30px rgba(249,115,22,0.4) !important;
    background: linear-gradient(135deg, #f97316, #ea6a0a) !important;
    border: none !important;
    border-radius: 14px !important;
    letter-spacing: 0.3px !important;
    margin-top: 20px !important;
    color: #fff !important;
}
.subscription-section .submit-btn:hover {
    animation: none !important;
    box-shadow: 0 12px 40px rgba(249,115,22,0.6) !important;
    transform: translateY(-2px) scale(1.01) !important;
}

@media (max-width: 768px) {
    .subscription-section .form-wrapper {
        padding: 28px 18px 24px !important;
    }
    .subscription-section .form-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .subscription-section .input-group.full {
        grid-column: span 1 !important;
    }
}



/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE LAYOUT & ALIGNMENT FIX — 2026-07-06
   Fixes ALL centering, alignment and responsive issues
   ═══════════════════════════════════════════════════════════ */

/* ── 1. HERO: Inline-flex elements need margin auto to center ── */
.hero .hero-live-badge,
.hero .hero-clarifier,
.hero .hero-registered,
.hero .hero-social-trust {
    margin-left: auto;
    margin-right: auto;
}

/* ── 2. HERO BULLETS: Left-align as a group, center the group ── */
.hero-bullets {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
}
.hero-bullet {
    width: auto;
}
@media (min-width: 769px) {
    .hero-bullets {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 24px !important;
    }
}

/* ── 3. TESTIMONIALS: Center stars and author inside cards ── */
.testi-card .stars,
.testimonials .testi-card .stars {
    justify-content: center !important;
}
.testi-card .testi-author,
.testimonials .testi-card .testi-author {
    justify-content: center !important;
}
.testi-card .testi-text,
.testimonials .testi-card .testi-text {
    text-align: center !important;
}

/* ── 4. PLANS: Center the offer timer badge ── */
.plans-section {
    text-align: center;
}
.plans-offer-timer {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ── 5. SOCIAL PROOF COUNTER: Even 2x2 grid on mobile ── */
@media (max-width: 600px) {
    .social-proof-counter {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
        justify-items: center !important;
    }
    .counter-divider {
        display: none !important;
    }
    .counter-item {
        min-width: unset !important;
        width: 100%;
    }
}

/* ── 6. PLANS TRUST ROW: Even wrapping on mobile ── */
@media (max-width: 768px) {
    .plans-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px 14px !important;
        justify-items: center !important;
        text-align: center !important;
    }
    .plans-trust span {
        justify-content: center !important;
    }
}
@media (max-width: 420px) {
    .plans-trust {
        grid-template-columns: 1fr !important;
    }
}

/* ── 7. CTA FINAL TRUST ROW: Even wrapping ── */
@media (max-width: 768px) {
    .cta-final-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 14px !important;
        justify-items: center !important;
    }
    .cta-final-trust span {
        justify-content: center !important;
    }
}
@media (max-width: 420px) {
    .cta-final-trust {
        grid-template-columns: 1fr !important;
    }
}

/* ── 8. HERO SOCIAL TRUST: Grid on mobile ── */
@media (max-width: 768px) {
    .hero-social-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 12px !important;
        justify-items: center !important;
        text-align: center !important;
    }
    .hero-trust-sep {
        display: none !important;
    }
    .hero-social-trust span {
        justify-content: center !important;
    }
}



/* ── 10. WHY-US: Ensure comparison centered on mobile ── */
@media (max-width: 768px) {
    .why-us-compare {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .why-us-cta-text {
        flex-wrap: wrap !important;
        text-align: center !important;
    }
}

/* ── 11. SUBSCRIPTION FORM: Guarantee centered, plan summary centered ── */
.subscription-section .form-guarantee {
    justify-content: center !important;
    text-align: center !important;
}
.subscription-section .form-plan-summary {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

/* ── 12. HERO CTA BUTTONS: Proper full-width on mobile ── */
@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-btns .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ── 13. DOUBT BREAKER: 4 columns → 2 on medium, 1 on small ── */
@media (max-width: 900px) and (min-width: 501px) {
    .doubt-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── 14. BEFORE-AFTER: Ensure VS divider centered on 3-col grid ── */
@media (min-width: 769px) {
    .before-after-grid {
        grid-template-columns: 1fr auto 1fr !important;
    }
    .ba-vs-divider {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ── 15. WHY-US COMPARISON: Restore 3-col grid on desktop ── */
@media (min-width: 769px) {
    .why-us-compare {
        grid-template-columns: 1fr auto 1fr !important;
    }
    .compare-vs-divider {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ── 16. VISUAL PROOF: Center CTA button ── */
.proof-cta-mini {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
}

/* ── 17. FAQ CONTAINER: Centered ── */
.faq-container {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ── 18. TESTIMONIALS GRID 3-col: Responsive improvement ── */
@media (max-width: 900px) and (min-width: 601px) {
    .testi-grid-3 {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
}
@media (max-width: 600px) {
    .testi-grid-3 {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ── 19. ADVANTAGES GRID: Responsive ── */
@media (max-width: 768px) and (min-width: 481px) {
    .advantages-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
}
@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* ── 20. TIMELINE: Better mobile fit ── */
@media (max-width: 480px) {
    .timeline-track {
        padding-left: 70px !important;
    }
    .timeline-track::before {
        left: 52px !important;
    }
    .timeline-time {
        left: -70px !important;
        font-size: 0.7rem !important;
        min-width: 50px !important;
    }
}

/* ── 21. PLANS SECTION: Center plan cards on mobile ── */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr !important;
        max-width: 380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .plan-card-featured {
        transform: none !important;
    }
}

/* ── 22. VALUE CONTEXT: Proper wrap on mobile ── */
@media (max-width: 768px) {
    .value-context-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .value-context-col {
        max-width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .value-context-arrow {
        display: none !important;
    }
}

/* ── 23. PLANS GUARANTEE: Center on all screens ── */
.plans-guarantee {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* ── 24. HERO EMPATHY: Full width on mobile ── */
@media (max-width: 768px) {
    .hero-empathy {
        max-width: 100% !important;
    }
}

/* ── 25. GENERAL: Ensure all inline-flex badges/pills inside text-center parents are centered ── */
.hero .container > .hero-live-badge,
.hero .container > .hero-clarifier,
.hero .container > .hero-registered,
.plans-section > .container > .plans-offer-timer,
.cta-final-block > .cta-urgency-bar {
    display: inline-flex;
}

/* ── 26. FOOTER: Center footer on mobile ── */
@media (max-width: 768px) {
    footer .footer-brand,
    footer .footer-links {
        text-align: center !important;
    }
    footer .footer-brand .social-links {
        justify-content: center !important;
    }
}

/* ── 27. PROOF GRID: Center on mobile ── */
@media (max-width: 768px) {
    .proof-grid {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ── 28. SUBSCRIPTION SECTION: Input hint style ── */
.subscription-section .input-hint {
    color: #6b7280 !important;
}
.subscription-section .legal-label {
    color: #d1d5db !important;
}
.subscription-section .legal-label a {
    color: #60a5fa !important;
}
.subscription-section .legal-label strong {
    color: #fff !important;
}
.subscription-section .checkbox-container {
    background: rgba(59,130,246,0.04) !important;
    border-color: rgba(59,130,246,0.12) !important;
}

/* ── 29. HERO BUTTONS: Ensure proper centering on desktop ── */
@media (min-width: 769px) {
    .hero-btns {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
    }
    .hero-btns .btn {
        width: auto !important;
    }
}

/* ── 30. DISCLAIMER BANNER: Center on all screens ── */
.disclaimer-banner .container {
    text-align: center !important;
}
.disclaimer-content {
    justify-content: center !important;
    text-align: center !important;
}

/* ── 31. TESTIMONIALS SECTION: Override bg for dark mode consistency ── */
.testimonials {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%) !important;
    padding: 70px 0 !important;
}
.testimonials .section-title {
    color: #ffffff !important;
}
.testimonials .testi-card {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
.testimonials .testi-text {
    color: #d1d5db !important;
}
.testimonials .testi-text strong {
    color: #ffffff !important;
}
.testimonials .stars i {
    color: #fbbf24 !important;
}
.testimonials .author-info h5 {
    color: #ffffff !important;
}
.testimonials .author-info span {
    color: #6b7280 !important;
}
.testimonials .testi-result-badge {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
}

/* ── 32. HOW IT WORKS: Keep light bg with dark text ── */
.how-it-works {
    background-color: var(--bg-light) !important;
}
.how-it-works .step-card {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-color) !important;
}
.how-it-works .step-card h3 {
    color: var(--primary) !important;
}
.how-it-works .step-card p {
    color: var(--text-gray) !important;
}

/* ── 33. PROCEDURES: Proper centered layout ── */
.procedures {
    background-color: var(--bg-white) !important;
}
.procedures .proc-card {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-color) !important;
}
.procedures .proc-card h4 {
    color: var(--primary) !important;
}

/* ── 34. FAQ: Proper light bg ── */
.faq-section {
    background-color: var(--bg-light) !important;
}

/* ── 35. HEADER CONTAINER: Ensure proper alignment ── */
header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE UI FIXES — 2026-07-06 PATCH 2
   ═══════════════════════════════════════════════════════════ */

/* ── 36. TRUST-BAR: Dark text since background is near-transparent ──
   The trust-bar sits between the dark hero and the next dark section,
   but its background is rgba(16,185,129,0.06) — basically transparent.
   On the body (white background) strong text must be dark, not white.
*/
.trust-bar {
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(59,130,246,0.06) 100%) !important;
    border-top: 1px solid rgba(16,185,129,0.2) !important;
    border-bottom: 1px solid rgba(16,185,129,0.12) !important;
}
.trust-item {
    color: #374151 !important;
}
.trust-item strong {
    color: #111827 !important;
}
.trust-item .fa-lock {
    color: #3b82f6 !important;
}
.trust-item .fa-whatsapp {
    color: #25D366 !important;
}
.trust-item .fa-telegram {
    color: #229ED9 !important;
}
.trust-item i {
    color: #10b981 !important;
}
.trust-flag {
    filter: none !important;
}

/* ── 37. HERO-SOCIAL-TRUST: Visible on dark hero background ── */
.hero-social-trust {
    color: #d1d5db !important;
}
.hero-social-trust span {
    color: #d1d5db !important;
}
.hero-social-trust strong {
    color: #ffffff !important;
}

/* ── 38. MOBILE FLOATING WIDGETS: Fix overlap between toast and sticky CTA ── */
@media (max-width: 768px) {
    /* Live activity toast: move above the sticky CTA bar */
    #liveActivity {
        bottom: 80px !important;
        left: 12px !important;
        right: 70px !important;
        max-width: calc(100vw - 84px) !important;
    }
    /* WhatsApp float button: stay above the sticky CTA bar */
    #whatsappFloat,
    #telegramFloat,
    .whatsapp-float,
    .telegram-float {
        bottom: 80px !important;
        right: 12px !important;
    }
    /* Sticky CTA: always at very bottom */
    #stickyCTABar,
    .sticky-cta-bar {
        bottom: 0 !important;
        z-index: 9999 !important;
    }
}

/* ── 39. STEP CARDS: Better padding on small screens ── */
@media (max-width: 480px) {
    .step-card {
        padding: 36px 24px !important;
    }
    .step-number {
        font-size: 4rem !important;
    }
    .step-icon {
        width: 72px !important;
        height: 72px !important;
        font-size: 2rem !important;
    }
}

/* ── 40. HOW-IT-WORKS SECTION: Better mobile ── */
@media (max-width: 768px) {
    .how-it-works {
        padding: 50px 0 !important;
    }
    .steps-container {
        gap: 20px !important;
    }
}

/* ── 41. DISCLAIMER/NOTICE BANNER: Text must be dark (light bg) ── */
.disclaimer-banner strong {
    color: #92400e !important;
}

/* ── 42. BEFORE-AFTER GRID: Ensure VS divider centered on mobile ── */
@media (max-width: 768px) {
    .before-after-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .ba-vs-divider {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 8px 0 !important;
    }
    .ba-vs-divider span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* ── 43. HOW-IT-WORKS TITLE: Dark text on light bg ── */
.how-it-works .section-title {
    color: var(--primary) !important;
}
.how-it-works .section-subtitle {
    color: var(--text-gray) !important;
}

/* ── 44. STEP CARD: Make sure h3 and p are readable ── */
.step-card h3 {
    color: var(--primary) !important;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
}
.step-card p {
    color: var(--text-gray) !important;
}
.step-card strong {
    color: var(--primary) !important;
}

/* ── 45. PLANS SECTION: Center badge on mobile ── */
@media (max-width: 768px) {
    .plans-offer-timer {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        max-width: 90% !important;
        margin: 0 auto 20px !important;
        text-align: center !important;
        flex-wrap: wrap !important;
    }
}

/* ── 46. FAQ SECTION: Titles dark on light bg ── */
.faq-section .section-title {
    color: var(--primary) !important;
}
.faq-section .section-subtitle {
    color: var(--text-gray) !important;
}

/* ── 47. PROCEDURES SECTION: Titles and text dark ── */
.procedures .section-title {
    color: var(--primary) !important;
}
.procedures .section-subtitle {
    color: var(--text-gray) !important;
}
.procedures .proc-card h4 {
    color: var(--primary) !important;
}
.procedures .proc-card p {
    color: var(--text-gray) !important;
}

/* ── 48. GENERAL FORM: Prevent overflow on narrow screens ── */
@media (max-width: 400px) {
    .form-wrapper {
        padding: 20px 14px !important;
    }
    .subscription-section .form-wrapper {
        padding: 20px 14px !important;
    }
}

/* ── 49. SUBSCRIPTION FORM: Checkbox legal text always visible ── */
.legal-consents .legal-label {
    color: #374151 !important;
}
.subscription-section .legal-consents .legal-label {
    color: #d1d5db !important;
}

/* ── 50. HERO MOBILE: Hero subtitle text visible ── */
.hero .hero-h1-sub {
    color: #9ca3af !important;
}

/* ═══════════════════════════════════════════════════════════
   51. COMPREHENSIVE MOBILE FIXES — Centering & Alignment
   All sections on mobile (≤768px) properly centered & spaced
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── GLOBAL: All sections centered text by default ── */
    .hero,
    .trust-bar,
    .doubt-breaker,
    .how-it-works,
    .visual-proof,
    .testimonials,
    .plans-section,
    .subscription-section,
    .pain-block,
    .why-us-section,
    .benefits-section,
    .faq-section,
    .cta-final-section,
    .procedures,
    .provinces {
        text-align: center;
    }

    /* ── CONTAINER: Ensure proper padding ── */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* ── HERO: Everything centered ── */
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        text-align: center;
        width: 100%;
    }

    .hero p {
        text-align: center;
    }

    .hero-live-badge,
    .hero-clarifier,
    .hero-registered {
        text-align: center;
        max-width: 100%;
        word-break: break-word;
    }

    .hero-social-trust {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .hero-empathy {
        text-align: left;
        max-width: 100%;
    }

    .hero-bullets {
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-tg-preview {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ── TRUST BAR: Center items ── */
    .trust-bar .container {
        display: flex;
        justify-content: center;
    }

    /* ── DOUBT BREAKER: Cards centered ── */
    .doubt-block {
        max-width: 100%;
    }

    .doubt-card {
        text-align: left;
    }

    /* ── HOW IT WORKS: Cards centered ── */
    .steps-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
    }

    .step-card {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    /* ── VISUAL PROOF: Center proof cards ── */
    .proof-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .proof-card {
        width: 100%;
        max-width: 400px;
    }

    .visual-proof-activity-counter {
        text-align: center;
        justify-content: center;
    }

    .visual-proof-activity-item {
        justify-content: center;
        text-align: center;
        white-space: normal !important;
    }

    /* ── TESTIMONIALS: Center everything ── */
    .social-proof-counter {
        justify-content: center;
        text-align: center;
    }

    .testi-grid,
    .testi-grid-3 {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
    }

    .testi-card {
        width: 100%;
        max-width: 420px;
        text-align: center;
    }

    .testi-author {
        justify-content: center;
    }

    .stars {
        justify-content: center;
    }

    /* ── PLANS SECTION: Center cards ── */
    .plans-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .plans-grid {
        width: 100%;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .plan-card {
        width: 100%;
        text-align: center;
    }

    .plan-features {
        text-align: left;
    }

    .plans-trust {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .plans-trust span {
        justify-content: center;
    }

    .plans-guarantee {
        text-align: center;
        max-width: 100%;
    }

    .plans-value-context {
        max-width: 100%;
    }

    .value-context-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .value-context-col {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .plans-offer-timer {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
        max-width: 100% !important;
        flex-wrap: wrap;
    }

    /* ── SUBSCRIPTION FORM: Center ── */
    .subscription-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .form-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .form-header {
        text-align: center;
    }

    .form-plan-summary {
        text-align: center;
    }

    .form-plan-summary-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    /* ── PROBLEM-SOLUTION (before-after): Center ── */
    .pain-block .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .before-after-grid {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
        width: 100%;
    }

    .ba-card {
        text-align: left;
    }

    .ba-vs-divider {
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }

    .pain-cta {
        text-align: center;
        width: 100%;
    }

    .pain-cta .btn {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    /* ── WHY US: Center everything ── */
    .why-us-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .why-us-header {
        text-align: center;
        width: 100%;
    }

    .why-us-compare {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .compare-column {
        text-align: left;
    }

    .compare-vs-divider {
        display: flex;
        justify-content: center;
    }

    .why-us-advantages {
        width: 100%;
    }

    .advantages-title {
        text-align: center;
    }

    .advantages-grid {
        justify-items: center;
    }

    .advantage-card {
        text-align: center;
        width: 100%;
    }

    .why-us-timeline {
        width: 100%;
        max-width: 400px;
    }

    .why-us-cta {
        text-align: center;
        width: 100%;
    }

    .why-us-cta-btn {
        width: 100% !important;
        justify-content: center;
    }

    /* ── BENEFITS: Center grid ── */
    .benefits-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .benefits-grid {
        width: 100%;
    }

    .benefit-card {
        text-align: center;
    }

    /* ── FAQ: Center ── */
    .faq-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq-container {
        width: 100%;
        max-width: 100%;
    }

    .faq-question {
        text-align: left;
    }

    /* ── CTA FINAL: Center ── */
    .cta-final-block {
        text-align: center;
        max-width: 100%;
    }

    .cta-urgency-bar {
        text-align: center;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-final-trust {
        justify-content: center;
        text-align: center;
    }

    .cta-final-btn {
        width: 100% !important;
        justify-content: center;
    }

    /* ── PROCEDURES: Center grid ── */
    .procedures .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .procedures-grid {
        width: 100%;
    }

    .proc-card {
        text-align: center;
    }

    /* ── PROVINCES: Center ── */
    .provinces .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .provinces-list {
        width: 100%;
    }

    /* ── FOOTER: Proper alignment ── */
    footer .container {
        text-align: center;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .footer-title {
        justify-content: center !important;
    }

    .footer-brand p {
        text-align: left;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links .footer-heading {
        text-align: center !important;
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
    }

    .footer-links ul li {
        text-align: center;
    }

    .footer-links ul li a {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    .legal-trust-info {
        text-align: center;
        justify-content: center;
    }

    .legal-box {
        text-align: left;
    }

    .legal-box .footer-heading {
        text-align: center !important;
    }

    .copyright-bar {
        text-align: center;
    }

    /* ── SEO GRID (tramite/provincia pages): Center ── */
    .seo-grid {
        text-align: left;
    }

    .seo-text h2,
    .seo-text h3 {
        text-align: left;
    }

    /* ── SECTION TITLES: Always centered ── */
    .section-title {
        text-align: center !important;
        width: 100%;
    }

    .section-subtitle {
        text-align: center !important;
        width: 100%;
    }

    /* ── PREVENT ANY HORIZONTAL OVERFLOW ── */
    main, section, .container {
        max-width: 100vw;
    }

    main {
        overflow-x: hidden;
    }
}

/* ── 52. SMALL PHONES EXTRA FIXES (≤480px) ── */
@media (max-width: 480px) {
    .hero-live-badge {
        font-size: 0.68rem !important;
        padding: 5px 12px;
    }

    .hero-clarifier {
        font-size: 0.7rem !important;
        padding: 7px 14px;
    }

    .hero-social-trust {
        font-size: 0.72rem !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .tg-preview-line {
        font-size: 0.82rem;
    }

    .cta-urgency-bar {
        font-size: 0.72rem;
        padding: 6px 12px;
    }

    .cta-final-block h2 {
        font-size: 1.3rem !important;
    }

    .plans-trust {
        flex-direction: column;
        gap: 8px !important;
    }

    .cta-final-trust {
        flex-direction: column;
        gap: 8px !important;
    }

    .why-us-header h2 {
        font-size: 1.3rem !important;
    }

    .compare-col-price {
        font-size: 1rem !important;
    }

    .timeline-track {
        padding-left: 70px !important;
    }

    .timeline-track::before {
        left: 52px !important;
    }

    .timeline-time {
        left: -70px !important;
        font-size: 0.68rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE MASTER FIX — 2026-08-02
   This block is LAST in the file to cleanly resolve all
   accumulated conflicts from previous patch layers.
   ═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────
   DESKTOP (≥1025px) — Clean baseline
   ──────────────────────────────────────── */
@media (min-width: 1025px) {
    /* Body: no forced bottom padding on desktop */
    body {
        padding-bottom: 0 !important;
    }

    /* Hero buttons: ALWAYS horizontal on desktop */
    .hero-btns {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        flex-wrap: wrap !important;
        max-width: 700px;
        width: 100%;
    }
    .hero-btns .btn {
        width: auto !important;
        max-width: none !important;
        flex-shrink: 0;
    }

    /* Hero badges: horizontal row */
    .hero-badges {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 30px !important;
    }

    /* Section grids: proper multi-column */
    .seo-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
    }

    .steps-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
    }

    .procedures-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 24px !important;
    }

    .pricing-grid {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 40px !important;
        flex-wrap: wrap !important;
    }
    .pricing-card {
        max-width: 450px !important;
        width: 100% !important;
    }

    .testi-grid,
    .testi-grid-3 {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 24px !important;
    }

    .benefits-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 20px !important;
    }

    .doubt-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }

    .before-after-grid {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        gap: 20px !important;
    }

    /* Footer grid: 3 columns on desktop */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 2fr 1fr 1fr !important;
        gap: 60px !important;
        text-align: left !important;
    }
    .footer-brand {
        grid-column: auto !important;
        text-align: left !important;
    }
    .footer-links {
        text-align: left !important;
    }
    .footer-links ul li a {
        justify-content: flex-start !important;
    }
    .legal-box {
        text-align: left !important;
    }

    /* Text alignment: paragraphs left-aligned on desktop */
    .testi-text,
    .testi-card .testi-text {
        text-align: left !important;
    }
    .testi-author,
    .testi-card .testi-author {
        justify-content: flex-start !important;
    }
    .stars,
    .testi-card .stars {
        justify-content: flex-start !important;
    }

    /* Social proof counter: row on desktop */
    .social-proof-counter {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 24px !important;
    }
    .counter-divider {
        display: block !important;
    }

    /* Why-us compare: 3-col grid */
    .why-us-compare {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
    }

    /* Plans grid: side by side */
    .plans-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 24px !important;
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Floating widgets: proper desktop positioning */
    .sticky-cta-bar,
    #stickyCTABar {
        display: none !important;
    }
    .whatsapp-float {
        bottom: 24px !important;
        right: 24px !important;
    }
    .live-activity {
        bottom: 20px !important;
        left: 20px !important;
        max-width: 340px !important;
    }

    /* Provinces grid: proper fill */
    .provinces-list {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    }

    /* Hero social trust: row */
    .hero-social-trust {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
    }
    .hero-trust-sep {
        display: inline-block !important;
    }

    /* Hero bullets: row on desktop */
    .hero-bullets {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 24px !important;
    }

    /* Plans trust row: horizontal */
    .plans-trust {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
    }

    /* CTA final trust: horizontal */
    .cta-final-trust {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
    }

    /* Value context: row */
    .value-context-inner {
        flex-direction: row !important;
        align-items: center !important;
    }
    .value-context-arrow {
        display: flex !important;
    }

    /* Form grid: 2 columns */
    .form-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
    .input-group.full {
        grid-column: span 2 !important;
    }

    /* Payment methods: 2 columns */
    .payment-methods-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ────────────────────────────────────────
   TABLET (769px – 1024px)
   ──────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        padding-bottom: 0 !important;
    }

    .hero-btns {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 16px !important;
        flex-wrap: wrap !important;
    }
    .hero-btns .btn {
        width: auto !important;
    }

    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
    .footer-brand {
        grid-column: span 2 !important;
    }

    .seo-grid {
        grid-template-columns: 1fr !important;
    }

    .steps-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    }

    .testi-grid,
    .testi-grid-3 {
        grid-template-columns: 1fr 1fr !important;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Hide sticky CTA on tablet too */
    .sticky-cta-bar,
    #stickyCTABar {
        display: none !important;
    }
}

/* ────────────────────────────────────────
   MOBILE (≤768px) — Clean mobile rules
   ──────────────────────────────────────── */
@media (max-width: 768px) {
    /* Hero buttons: stacked on mobile */
    .hero-btns {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-btns .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    /* Hero badges: vertical */
    .hero-badges {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* All grids: single column on mobile */
    .seo-grid,
    .steps-container,
    .procedures-grid,
    .doubt-grid,
    .before-after-grid {
        grid-template-columns: 1fr !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
    }
    .pricing-card {
        max-width: 100% !important;
        width: 100% !important;
    }
    .pricing-card.popular {
        transform: none !important;
        order: -1 !important;
    }

    .testi-grid,
    .testi-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Footer: single column */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    .footer-brand {
        grid-column: span 1 !important;
        text-align: center !important;
    }
    .footer-brand p {
        text-align: left !important;
    }
    .footer-links {
        text-align: center !important;
    }
    .social-links {
        justify-content: center !important;
    }

    /* Form: single column */
    .form-grid {
        grid-template-columns: 1fr !important;
    }
    .input-group.full {
        grid-column: span 1 !important;
    }
    .payment-methods-grid {
        grid-template-columns: 1fr !important;
    }

    /* Plans: single column, centered */
    .plans-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .plan-card-featured {
        transform: none !important;
    }

    /* Social proof: wrap nicely */
    .counter-divider {
        display: none !important;
    }

    /* Trust rows: grid wrap */
    .plans-trust,
    .cta-final-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        justify-items: center !important;
    }

    /* Hero social trust: grid on mobile */
    .hero-social-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 12px !important;
        justify-items: center !important;
    }
    .hero-trust-sep {
        display: none !important;
    }

    /* Sticky CTA: show and position correctly */
    .sticky-cta-bar {
        display: block !important;
    }

    /* WhatsApp float: above sticky bar */
    .whatsapp-float {
        bottom: 80px !important;
    }

    /* Live activity: above sticky bar */
    .live-activity,
    #liveActivity {
        bottom: 85px !important;
        left: 12px !important;
        max-width: calc(100vw - 84px) !important;
    }

    /* Cookie banner: above sticky */
    .cookie-banner {
        bottom: 65px !important;
    }

    /* Why-us: single column */
    .why-us-compare {
        grid-template-columns: 1fr !important;
    }

    /* Value context: column */
    .value-context-inner {
        flex-direction: column !important;
        align-items: center !important;
    }
    .value-context-arrow {
        display: none !important;
    }

    /* Provinces: smaller grid */
    .provinces-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    }

    /* Prevent card hover transforms on touch */
    .step-card:hover,
    .proc-card:hover,
    .pricing-card:hover,
    .testi-card:hover {
        transform: none !important;
    }
    .pricing-card.popular:hover {
        transform: none !important;
    }
}

/* ────────────────────────────────────────
   SMALL PHONES (≤480px)
   ──────────────────────────────────────── */
@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .provinces-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .plans-trust,
    .cta-final-trust {
        grid-template-columns: 1fr !important;
    }

    .hero-social-trust {
        grid-template-columns: 1fr !important;
    }
}

/* ────────────────────────────────────────
   EXTRA SMALL PHONES (≤360px)
   ──────────────────────────────────────── */
@media (max-width: 360px) {
    .provinces-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CRITICAL FIX — 2026-08-02 v1.3.0
   Fixes: mobile menu, FAQ alignment, text contrast
   ═══════════════════════════════════════════════════════════════ */

/* ── FIX A: MOBILE MENU — backdrop-filter creates containing block
   that traps position:fixed nav inside header. Remove it on mobile
   and clear overflow:hidden so the slide-out nav can escape. ── */
@media (max-width: 768px) {
    header#navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow: visible !important;
    }
    header#navbar > .container {
        overflow: visible !important;
    }
}

/* ── FIX B: FAQ ANSWER TEXT — left-align answer content.
   The parent .faq-section has text-align:center which was
   inherited by .faq-answer-content, making paragraphs centered. ── */
.faq-answer-content {
    text-align: left !important;
}
.faq-answer-content p,
.faq-answer-content ul,
.faq-answer-content ol,
.faq-answer-content li {
    text-align: left !important;
}
.faq-question {
    text-align: left !important;
}

/* ── FIX C: FAQ INLINE CTA — dark text on light bg.
   The .faq-section has bg-light (#f4f7fa), so inline CTA text
   must be dark, not the light gray (#d1d5db) it was set to. ── */
.faq-inline-cta p {
    color: var(--text-dark) !important;
}
.faq-cta-sub {
    color: var(--text-light) !important;
}

/* ── FIX D: FAQ SUPPORT BLOCK — visible on light bg ── */
.faq-support {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
.faq-support-text {
    color: var(--text-gray) !important;
}
.faq-support-time {
    color: var(--text-light) !important;
}

/* ── FIX E: Ensure nav-overlay renders above everything ── */
.nav-overlay {
    z-index: 9999 !important;
}
.nav-overlay.active {
    display: block !important;
    opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════
   OVERRIDE GLOBAL — NUEVO SISTEMA DE COLOR PROFESIONAL
   Azul marino institucional + Naranja CTA + Fondo claro
   Aplicado al final para máxima especificidad.
   ═══════════════════════════════════════════════════════════ */

/* === BTN-SUCCESS → NARANJA (CTA principal) === */
.btn-success {
    background: linear-gradient(135deg, #f97316, #ea6a0a) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(249,115,22,0.35) !important;
    border: none !important;
}
.btn-success:hover {
    box-shadow: 0 8px 25px rgba(249,115,22,0.55) !important;
}

/* === SECCIÓN CÓMO FUNCIONA — fondo gris claro ===*/
.how-it-works {
    background: #f8fafc !important;
}
.how-it-works .section-title { color: #1e3a5f !important; }
.step-card:hover { border-color: #1d6fd8 !important; }
.step-card:hover .step-icon { background: #1d6fd8 !important; color: #fff !important; }
.step-icon { background: #eff6ff !important; color: #1d6fd8 !important; border-color: #fff !important; }
.step-number { color: rgba(29,111,216,0.06) !important; }
.step-card:hover .step-number { color: rgba(29,111,216,0.12) !important; }

/* === TESTIMONIOS — fondo blanco === */
.testimonials { background: #ffffff !important; }

/* === SECCIONES DARK → AZUL MARINO PROFESIONAL === */
.benefits-section,
.guarantee-section,
.doubt-breaker,
.pain-block {
    background: linear-gradient(160deg, #1e3a5f 0%, #1a3357 50%, #0f2340 100%) !important;
}

/* === STRONG/HEADINGS EN SECCIONES DARK → BLANCO === */
.benefits-section strong, .benefits-section b,
.cta-final-section strong, .cta-final-section b {
    color: #ffffff !important;
}
/* Guarantee strong — dark green on light green bg */
.guarantee-section strong, .guarantee-section b {
    color: #14532D !important;
}

/* === HIGHLIGHT ACCENT → NARANJA === */
.highlight-accent {
    background: linear-gradient(135deg, #fb923c, #f97316) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* === HIGHLIGHT (NAVBAR/LOGO) → AZUL === */
.highlight { color: #1d6fd8 !important; }

/* === WHY-US / DOUBT-BREAKER → AZUL FONDO === */
.why-us-section,
.why-us {
    background: #f1f5f9 !important;
}
.why-us-section .section-title,
.why-us .section-title { color: #1e3a5f !important; }
.why-us-section .section-title::after,
.why-us .section-title::after { background: #f97316 !important; }

/* === FAQ SECTION — fondo claro limpio === */
.faq-section { background: #f8fafc !important; }
.faq-section .section-title { color: #1e3a5f !important; }
.faq-section .section-title::after { background: #f97316 !important; }
.faq-item { background: #fff !important; border-color: #e2e8f0 !important; }
.faq-item:hover { border-color: #1d6fd8 !important; }
.faq-question { color: #1e3a5f !important; }
.faq-btn { color: #1d6fd8 !important; }

/* === FOOTER → AZUL MARINO OSCURO === */
.site-footer,
footer.site-footer {
    background: linear-gradient(180deg, #0f2340 0%, #0a1a30 100%) !important;
    color: #94a3b8 !important;
}
.footer-brand-name { color: #fff !important; }
.footer-col h4 { color: #fff !important; }
.site-footer a { color: #94a3b8 !important; }
.site-footer a:hover { color: #60a5fa !important; }

/* === PROVINCES SECTION → AZUL MARINO === */
.provinces {
    background: linear-gradient(180deg, #1e3a5f 0%, #0f2340 100%) !important;
}
.province-tag {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #e2e8f0 !important;
}
.province-tag:hover {
    background: rgba(249,115,22,0.15) !important;
    border-color: rgba(249,115,22,0.4) !important;
    color: #fb923c !important;
}

/* === PROCEDURES SECTION — fondo blanco === */
.procedures { background: #fff !important; }
.procedures .section-title { color: #1e3a5f !important; }
.procedures .section-title::after { background: #f97316 !important; }
.proc-card:hover { border-color: #1d6fd8 !important; }

/* === SOCIAL PROOF / VISUAL PROOF SECTION === */
.visual-proof-section,
.social-proof-section {
    background: #f1f5f9 !important;
}

/* === SECTION TITLES GLOBALES (donde no se sobreescriben) === */
.section-title::after { background: #f97316; }

/* === NAVBAR CTA BUTTON → NARANJA === */
nav a.btn-primary,
nav a.btn-success {
    background: linear-gradient(135deg, #f97316, #ea6a0a) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3) !important;
    border: none !important;
}
nav a.btn-primary:hover,
nav a.btn-success:hover {
    box-shadow: 0 6px 22px rgba(249,115,22,0.5) !important;
    color: #fff !important;
}
nav a.btn-primary::after,
nav a.btn-success::after { display: none !important; }

/* === DISCLAIMER BANNER — visible y oficial === */
#disclaimerBanner {
    background: #fffbeb !important;
    border-bottom: 1px solid #fde68a !important;
}
#disclaimerBanner .disclaimer-content {
    color: #92400e !important;
    font-size: 0.72rem !important;
}
#disclaimerBanner a { color: #1d6fd8 !important; }

/* === META THEME-COLOR override → azul marino === */

/* ╔═══════════════════════════════════════════════════════════════╗
   ║  REDISEÑO v4.0 — SISTEMA VISUAL LIMPIO Y PROFESIONAL         ║
   ║  REGLA: Todo fondo claro. Todo texto oscuro. Sin excepciones. ║
   ╚═══════════════════════════════════════════════════════════════╝ */

/* ─── Google Font Inter ─── */
/* @import removed — fonts loaded via wp_enqueue_style in assets.php */

/* ─── GLOBAL OVERRIDES ─── */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #111827 !important;
    background: #FFFFFF !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    color: #111827 !important;
    font-weight: 700 !important;
}
/* NOTE: Removed overly-broad p/span/li/td/th/label/div color rule.
   It was overriding text colors in dark-bg sections (footer, hero, etc.).
   Each section defines its own text colors instead. */
a { color: #2563EB; }
a:hover { color: #1D4ED8; }

/* ─── CONTAINER ─── */
.container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* ─── SECTION TITLES ─── */
.section-title {
    color: #111827 !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
}
.section-subtitle {
    color: #4B5563 !important;
    font-size: 1.05rem !important;
    text-align: center !important;
    max-width: 640px !important;
    margin: 0 auto 40px !important;
    line-height: 1.6 !important;
}

/* ─── NAVBAR ─── */
/* Rules for .site-header/.site-nav removed — classes don't exist in this theme */
header {
    background: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
    border-bottom: none !important;
}
nav a:not(.btn) {
    color: #111827 !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
}
nav a:not(.btn):hover {
    color: #2563EB !important;
}
nav .btn, nav a.btn-primary, nav a.btn-success {
    background: #2563EB !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
nav .btn:hover, nav a.btn-primary:hover, nav a.btn-success:hover {
    background: #1D4ED8 !important;
    color: #fff !important;
}
nav a.btn-primary::after,
nav a.btn-success::after { display: none !important; }

/* ─── HERO (.hero class — used by front-page, page-tramite, page-provincia) ─── */
/* NOTE: Rules for .hero-section / .hero-v2 removed — those classes don't exist.
   The real hero section uses .hero class, styled earlier in this file. */

/* ─── TRUST BAR ─── */
.trust-bar {
    background: #FFFFFF !important;
    border-top: 1px solid #E5E7EB !important;
    border-bottom: 1px solid #E5E7EB !important;
    color: #4B5563 !important;
    padding: 16px 0 !important;
}
.trust-bar *, .trust-bar span, .trust-bar p {
    color: #4B5563 !important;
}
.trust-bar strong { color: #111827 !important; }
.trust-bar i { color: #2563EB !important; }

/* ─── HOW IT WORKS ─── */
.how-it-works {
    background: #FFFFFF !important;
    padding: 80px 0 !important;
}
.how-it-works h2, .how-it-works .section-title { color: #111827 !important; }
.how-it-works p, .how-it-works span { color: #4B5563 !important; }
.how-it-works strong { color: #111827 !important; }
.step-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.step-card h3 { color: #111827 !important; }
.step-card p { color: #4B5563 !important; }

/* ─── VISUAL PROOF ─── */
.visual-proof {
    background: #F7F9FC !important;
    color: #111827 !important;
    border-top: 1px solid #E5E7EB !important;
    padding: 80px 0 !important;
}
.visual-proof *, .visual-proof h2, .visual-proof h3,
.visual-proof p, .visual-proof span, .visual-proof strong {
    color: inherit !important;
}
.visual-proof .section-title { color: #111827 !important; }
.visual-proof .proof-caption { color: #6B7280 !important; }

/* ─── TESTIMONIALS ─── */
.testimonials {
    background: #FFFFFF !important;
    padding: 80px 0 !important;
}
.testimonials h2, .testimonials .section-title { color: #111827 !important; }
.testimonials .testi-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}
.testimonials .testi-text { color: #374151 !important; }
.testimonials .testi-text strong { color: #111827 !important; }
.testimonials .testi-name, .testimonials .testi-card .testi-name { color: #111827 !important; }
.testimonials .testi-role, .testimonials .testi-card .testi-role { color: #6B7280 !important; }
.testimonials .testi-stats-label { color: #6B7280 !important; }
.testimonials .testi-stats-number { color: #111827 !important; }
.testimonials .stars i { color: #F59E0B !important; }
.testimonials .author-info h5 { color: #111827 !important; }
.testimonials .author-info span { color: #6B7280 !important; }

/* ─── PLANS / PRICING ─── */
.plans-section, .pricing-section, section#planes {
    background: #F7F9FC !important;
    padding: 80px 0 !important;
    border-top: 1px solid #E5E7EB !important;
}
.plans-section h2, .plans-section .section-title { color: #111827 !important; }
.plans-section .section-subtitle, .plans-subtitle { color: #4B5563 !important; }
.plan-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    color: #111827 !important;
}
.plan-card h3 { color: #111827 !important; }
.plan-card p, .plan-card span, .plan-card li { color: #4B5563 !important; }
.plan-card strong { color: #111827 !important; }
.plan-card .plan-amount { color: #111827 !important; font-weight: 800 !important; }
.plan-card .plan-features li i { color: #16A34A !important; }
.plan-card-popular {
    border: 2px solid #2563EB !important;
    box-shadow: 0 4px 20px rgba(37,99,235,0.12) !important;
}

/* ─── DOUBT BREAKER / WHY PAY ─── */
.doubt-breaker, .why-us, .why-us-section, .problem-solution {
    background: #FFFFFF !important;
    color: #111827 !important;
    padding: 80px 0 !important;
}
.doubt-breaker h2, .doubt-breaker .section-title,
.why-us h2, .why-us .section-title,
.problem-solution h2 { color: #111827 !important; }
.doubt-breaker p, .doubt-breaker span, .doubt-breaker strong,
.doubt-breaker .doubt-q, .doubt-breaker .doubt-a,
.why-us p, .problem-solution p, .problem-solution span { color: #4B5563 !important; }
.doubt-breaker strong, .problem-solution strong { color: #111827 !important; }

/* ─── GUARANTEE ─── */
.guarantee-section {
    background: #F7F9FC !important;
    color: #111827 !important;
    padding: 60px 0 !important;
}
.guarantee-section h2, .guarantee-section h3 { color: #111827 !important; }
.guarantee-section p, .guarantee-section span { color: #4B5563 !important; }

/* ─── FAQ ─── */
.faq-section {
    background: #F7F9FC !important;
    padding: 80px 0 !important;
}
.faq-section h2, .faq-section .section-title { color: #111827 !important; }
.faq-item {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}
.faq-question {
    color: #111827 !important;
    font-weight: 600 !important;
}
.faq-question i { color: #4B5563 !important; }
.faq-answer, .faq-answer p, .faq-answer li { color: #4B5563 !important; }
.faq-answer strong { color: #111827 !important; }
.faq-answer a { color: #2563EB !important; }

/* ─── PROCEDURES ─── */
.procedures {
    background: #FFFFFF !important;
    padding: 60px 0 !important;
}
.procedures h2, .procedures .section-title { color: #111827 !important; }
.procedures p { color: #4B5563 !important; }

/* ─── PROVINCES ─── */
.provinces, section.provinces {
    background: #F7F9FC !important;
    color: #111827 !important;
    padding: 60px 0 !important;
    border-top: 1px solid #E5E7EB !important;
}
.provinces h2, .provinces .section-title,
.provinces p, .provinces span, .provinces strong {
    color: #111827 !important;
}
.provinces .section-subtitle { color: #4B5563 !important; }
.province-tag, .provinces-list li, .provinces-list li a {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #111827 !important;
    border-radius: 8px !important;
}
.province-tag:hover, .provinces-list li:hover,
.provinces-list li a:hover {
    background: #EFF6FF !important;
    border-color: #2563EB !important;
    color: #2563EB !important;
}
.provinces-toggle-btn {
    color: #2563EB !important;
    border-color: #2563EB !important;
    background: transparent !important;
}

/* ─── SUBSCRIPTION FORM ─── */
.subscription-section {
    background: #FFFFFF !important;
    color: #111827 !important;
    padding: 80px 0 !important;
    border-top: 1px solid #E5E7EB !important;
}
.subscription-section .form-wrapper {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
    border-radius: 16px !important;
}
.subscription-section .form-header h3 { color: #111827 !important; }
.subscription-section .form-header p { color: #4B5563 !important; }
.subscription-section .input-group label {
    color: #111827 !important;
    font-weight: 600 !important;
}
.subscription-section .input-group label i { color: #2563EB !important; }
.subscription-section .input-control {
    background: #F9FAFB !important;
    border: 1.5px solid #E5E7EB !important;
    color: #111827 !important;
    border-radius: 10px !important;
}
.subscription-section .input-control::placeholder { color: #9CA3AF !important; }
.subscription-section .input-control:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
    background: #FFFFFF !important;
}
.subscription-section select.input-control option {
    background: #fff;
    color: #111827;
}
.subscription-section .submit-btn {
    background: #2563EB !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 18px 32px !important;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3) !important;
    animation: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.subscription-section .submit-btn:hover {
    background: #1D4ED8 !important;
    box-shadow: 0 6px 20px rgba(37,99,235,0.4) !important;
    transform: translateY(-1px) !important;
}
.subscription-section .security-text { color: #6B7280 !important; }
.subscription-section .legal-label { color: #4B5563 !important; }
.subscription-section .legal-label a { color: #2563EB !important; }
.subscription-section .legal-label strong { color: #111827 !important; }
.subscription-section .form-guarantee { 
    background: #F0FDF4 !important; 
    border: 1px solid #BBF7D0 !important;
}
.subscription-section .form-guarantee span { color: #166534 !important; }
.subscription-section .form-guarantee strong { color: #15803D !important; }
.subscription-section .form-refund-guarantee {
    background: #F0FDF4 !important;
    border: 1px solid #BBF7D0 !important;
}
.subscription-section .form-refund-guarantee div { color: #166534 !important; }

/* ─── CTA FINAL ─── */
.cta-final-section {
    background: #F7F9FC !important;
    color: #111827 !important;
    padding: 60px 0 !important;
    border-top: 1px solid #E5E7EB !important;
}
.cta-final-section h2, .cta-final-section h3 { color: #111827 !important; }
.cta-final-section p, .cta-final-section span { color: #4B5563 !important; }

/* ─── FOOTER ─── */
footer.site-footer, .site-footer, #colophon {
    background: #111827 !important;
    color: #9CA3AF !important;
}
.site-footer *, footer.site-footer * { color: inherit; }
.site-footer h4, .site-footer h5, .site-footer h3,
footer.site-footer h4, footer.site-footer h5,
.footer-brand-name, .footer-col h4, .footer-col h5 {
    color: #FFFFFF !important;
}
.site-footer p, .footer-desc { color: #9CA3AF !important; }
.site-footer a, footer.site-footer a { color: #9CA3AF !important; }
.site-footer a:hover, footer.site-footer a:hover { color: #60A5FA !important; }
.footer-bottom, .footer-legal { color: #6B7280 !important; }
.footer-bottom a { color: #6B7280 !important; }
.footer-bottom a:hover { color: #9CA3AF !important; }
.footer-divider { border-color: rgba(255,255,255,0.1) !important; }

/* ─── BOTONES GLOBALES ─── */
.btn-success, .btn-primary,
.btn-primary.btn-cta,
.proof-cta-btn, .faq-cta-btn,
.why-us-cta-btn, .cta-final-btn {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 14px 28px !important;
    box-shadow: 0 2px 8px rgba(37,99,235,0.2) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 48px !important;
}
.btn-success:hover, .btn-primary:hover,
.proof-cta-btn:hover, .faq-cta-btn:hover,
.why-us-cta-btn:hover, .cta-final-btn:hover {
    background: #1D4ED8 !important;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35) !important;
    transform: translateY(-1px) !important;
    color: #FFFFFF !important;
}

/* Botón outline/secundario */
.btn-outline, .btn-secondary {
    background: transparent !important;
    color: #2563EB !important;
    border: 2px solid #2563EB !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
}
.btn-outline:hover, .btn-secondary:hover {
    background: #EFF6FF !important;
    color: #1D4ED8 !important;
}

/* ─── DISCLAIMER BANNER ─── */
#disclaimerBanner {
    background: #F9FAFB !important;
    border-bottom: 1px solid #E5E7EB !important;
}
#disclaimerBanner .disclaimer-content {
    color: #6B7280 !important;
    font-size: 0.75rem !important;
}
#disclaimerBanner a { color: #2563EB !important; }

/* ─── SOCIAL PROOF TICKER ─── */
.social-proof-ticker {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    color: #111827 !important;
}

/* ─── EXIT INTENT ─── */
.exit-overlay .exit-modal {
    background: #FFFFFF !important;
    color: #111827 !important;
    border-radius: 16px !important;
}
.exit-overlay .exit-modal h3 { color: #111827 !important; }
.exit-overlay .exit-modal p { color: #4B5563 !important; }

/* ─── FOCUS VISIBLE (accesibilidad) ─── */
*:focus-visible {
    outline: 2px solid #2563EB !important;
    outline-offset: 2px !important;
    border-radius: 4px;
}

/* ─── WHATSAPP BUTTON ─── */
.whatsapp-float, .wa-float-btn {
    z-index: 999 !important;
}

/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVE — v4.0 (cleaned)
   Removed rules for non-existent classes: .hero-section,
   .hero-v2, .hero-steps, .hero-step-connector,
   .hero-cta-group, .trust-bar-inner, .step-cards,
   .benefit-grid, .compare-cols, .trust-bar-item
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    body { font-size: 15px !important; }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* All sections — consistent padding */
    .hero { padding: 70px 0 50px !important; }
    .how-it-works, .visual-proof, .testimonials,
    .plans-section, .faq-section, .doubt-breaker,
    .why-us, .problem-solution, .procedures,
    .provinces, .subscription-section, .cta-final-section,
    .guarantee-section {
        padding: 50px 0 !important;
    }
    .trust-bar { padding: 12px 0 !important; }

    /* Section titles */
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    .section-subtitle { font-size: 0.95rem !important; }

    /* Hero mobile */
    .hero h1 {
        font-size: 1.75rem !important;
        max-width: 100% !important;
    }
    .hero p { font-size: 1rem !important; }

    /* Grids → single column on mobile */
    .plans-grid, .testi-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Provinces mobile */
    .provinces-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    /* Form mobile */
    .form-grid { grid-template-columns: 1fr !important; }
    .input-group.full { grid-column: span 1 !important; }
    .form-wrapper {
        padding: 24px 16px !important;
        border-radius: 14px !important;
    }

    /* Buttons mobile — min height 48px for touch targets */
    .btn-success, .btn-primary, .submit-btn {
        min-height: 48px !important;
        font-size: 1rem !important;
        padding: 14px 20px !important;
    }

    /* FAQ mobile */
    .faq-question { font-size: 0.92rem !important; padding: 16px !important; }
    .faq-answer { font-size: 0.9rem !important; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.35rem !important; }
    .hero h1 { font-size: 1.5rem !important; }
    .plans-grid { grid-template-columns: 1fr !important; }
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║              FIN REDISEÑO v4.0                            ║
   ╚═══════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════
   TEXT VISIBILITY MASTER FIX — 2026-08-10
   Resolves ALL text-on-background contrast issues caused by
   conflicting CSS override layers. This block is LAST for
   maximum specificity.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. FOOTER: Dark background (#111827) — ALL text must be light ── */
footer,
footer.site-footer,
.site-footer,
#colophon {
    background: #111827 !important;
}
footer p,
footer span,
footer li,
footer div,
footer td,
footer th,
footer label,
footer a,
footer .footer-brand p,
footer .footer-links a,
footer .footer-links li,
footer .legal-box p,
footer .legal-box div,
footer .copyright-bar,
footer .copyright-bar p {
    color: #9CA3AF !important;
}
footer h3,
footer h4,
footer h5,
footer .footer-title,
footer .footer-heading,
footer .footer-brand-name {
    color: #FFFFFF !important;
}
footer a:hover {
    color: #60A5FA !important;
}
footer .social-links a {
    color: #9CA3AF !important;
}
footer .social-links a:hover {
    color: #FFFFFF !important;
}
footer .legal-box strong {
    color: #FCD34D !important;
}
footer .legal-box a {
    color: #60A5FA !important;
}

/* ── 2. WHY-US SECTION: Has dark bg via inline <style> ── */
/* The inline styles in why-us.php set dark background.
   The v4.0 override tried to make it white, but the inline
   <style> has embedded component styles for dark bg.
   Solution: Let it keep its dark bg and ensure white text. */
.why-us-section {
    background: linear-gradient(180deg, #0f172a 0%, #0c1220 50%, #111827 100%) !important;
}
.why-us-section h2,
.why-us-section h3,
.why-us-section h4,
.why-us-section .section-title {
    color: #FFFFFF !important;
}
.why-us-section p,
.why-us-section span,
.why-us-section li,
.why-us-section div,
.why-us-section .why-us-intro,
.why-us-section .section-subtitle {
    color: #9CA3AF !important;
}
.why-us-section strong,
.why-us-section .why-us-intro strong {
    color: #D1D5DB !important;
}
.why-us-section .compare-col-header h3 {
    color: #FFFFFF !important;
}
.why-us-section .compare-col-list li {
    color: #D1D5DB !important;
}
.why-us-section .compare-col-list li strong {
    color: #FFFFFF !important;
}
.why-us-section .compare-gestoria .compare-col-price {
    color: #EF4444 !important;
}
.why-us-section .compare-nosotros .compare-col-price {
    color: #10B981 !important;
}
.why-us-section .compare-nosotros .compare-col-price small {
    color: #6EE7B7 !important;
}
.why-us-section .compare-gestoria .compare-col-list li i {
    color: #EF4444 !important;
}
.why-us-section .compare-nosotros .compare-col-list li i {
    color: #10B981 !important;
}
.why-us-section .why-us-badge {
    color: #FCD34D !important;
}
.why-us-section .advantages-title {
    color: #FFFFFF !important;
}
.why-us-section .advantage-card h4 {
    color: #FFFFFF !important;
}
.why-us-section .advantage-card p {
    color: #9CA3AF !important;
}
.why-us-section .advantage-card p strong {
    color: #D1D5DB !important;
}
.why-us-section .timeline-title {
    color: #FFFFFF !important;
}
.why-us-section .timeline-content strong {
    color: #E2E8F0 !important;
}
.why-us-section .timeline-content span {
    color: #6B7280 !important;
}
.why-us-section .timeline-content-alert strong {
    color: #10B981 !important;
}
.why-us-section .timeline-content-alert span {
    color: #6EE7B7 !important;
}
.why-us-section .timeline-time {
    color: #60A5FA !important;
}
.why-us-section .why-us-cta-text {
    color: #D1D5DB !important;
}

/* ── 3. BENEFITS SECTION: Has dark bg via inline <style> ── */
.benefits-section {
    background: linear-gradient(180deg, #0f172a 0%, #131b2e 100%) !important;
}
.benefits-section h2,
.benefits-section h3,
.benefits-section .section-title {
    color: #FFFFFF !important;
}
.benefits-section p,
.benefits-section span,
.benefits-section li,
.benefits-section div {
    color: #9CA3AF !important;
}
.benefits-section strong,
.benefits-section b {
    color: #FFFFFF !important;
}
.benefits-section .benefit-card h3 {
    color: #FFFFFF !important;
}
.benefits-section .benefit-card p {
    color: #9CA3AF !important;
}

/* ── 4. PROVINCES SECTION: Light bg — ensure dark text ── */
section.provinces,
.provinces {
    background: #F7F9FC !important;
}
.provinces h2,
.provinces h3,
.provinces .section-title,
.provinces strong {
    color: #111827 !important;
}
.provinces p,
.provinces .section-subtitle {
    color: #4B5563 !important;
}
.provinces-list li,
.provinces-list li a,
.provinces-list li span {
    color: #111827 !important;
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
}
.provinces-list li:hover,
.provinces-list li a:hover {
    color: #2563EB !important;
    background: #EFF6FF !important;
    border-color: #2563EB !important;
}
.provinces-list li i {
    color: #2563EB !important;
}

/* ── 5. HERO (old .hero class used by page-tramite/page-provincia) ── */
section.hero {
    background: linear-gradient(160deg, #1e3a5f 0%, #1a3357 40%, #162d4e 70%, #0f2340 100%) !important;
}
section.hero h1,
section.hero h2,
section.hero h3 {
    color: #FFFFFF !important;
}
section.hero p,
section.hero span {
    color: #CBD5E1 !important;
}
section.hero strong {
    color: #FFFFFF !important;
}
section.hero .hero-badges span {
    color: #CBD5E1 !important;
}
section.hero .hero-badges i {
    color: #4ADE80 !important;
}

/* ── 6. PAIN-BLOCK: Check if still used — ensure dark bg text ── */
.pain-block {
    background: linear-gradient(160deg, #1e3a5f 0%, #1a3357 50%, #0f2340 100%) !important;
}
.pain-block h2,
.pain-block h3,
.pain-block h4 {
    color: #FFFFFF !important;
}
.pain-block p,
.pain-block span,
.pain-block li {
    color: #D1D5DB !important;
}
.pain-block strong,
.pain-block b {
    color: #FFFFFF !important;
}

/* ── 7. DOUBT-BREAKER: v4.0 sets white bg — ensure dark text ── */
.doubt-breaker h2,
.doubt-breaker h3,
.doubt-breaker .section-title {
    color: #111827 !important;
}
.doubt-breaker p,
.doubt-breaker span {
    color: #4B5563 !important;
}
.doubt-breaker strong {
    color: #111827 !important;
}

/* ── 8. GUARANTEE SECTION: Light bg — ensure dark text ── */
.guarantee-section h2,
.guarantee-section h3 {
    color: #111827 !important;
}
.guarantee-section p,
.guarantee-section span {
    color: #4B5563 !important;
}

/* ── 9. CTA-FINAL: Light bg — ensure dark text ── */
.cta-final-section h2,
.cta-final-section h3 {
    color: #111827 !important;
}
.cta-final-section p,
.cta-final-section span {
    color: #4B5563 !important;
}

/* ── 10. VISUAL PROOF: Light bg (v4.0 set #F7F9FC) — ensure dark text ── */
.visual-proof h2,
.visual-proof h3,
.visual-proof .section-title {
    color: #111827 !important;
}
.visual-proof p,
.visual-proof span,
.visual-proof .section-subtitle,
.visual-proof .proof-caption {
    color: #4B5563 !important;
}
.visual-proof strong {
    color: #111827 !important;
}

/* ── 11. TESTIMONIALS: White bg — ensure proper text ── */
.testimonials h2,
.testimonials .section-title {
    color: #111827 !important;
}
.testimonials .section-subtitle {
    color: #4B5563 !important;
}
.testimonials .testi-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
}
.testimonials .testi-text {
    color: #374151 !important;
}
.testimonials .testi-text strong {
    color: #111827 !important;
}
.testimonials .testi-name,
.testimonials .author-info h5 {
    color: #111827 !important;
}
.testimonials .testi-role,
.testimonials .author-info span {
    color: #6B7280 !important;
}
.testimonials .stars i {
    color: #F59E0B !important;
}

/* ── 12. HOW IT WORKS: White bg — dark text ── */
.how-it-works h2,
.how-it-works .section-title {
    color: #111827 !important;
}
.how-it-works .section-subtitle {
    color: #4B5563 !important;
}
.how-it-works .step-card h3 {
    color: #111827 !important;
}
.how-it-works .step-card p {
    color: #4B5563 !important;
}
.how-it-works strong {
    color: #111827 !important;
}

/* ── 13. PROCEDURES: White bg — dark text ── */
.procedures h2,
.procedures .section-title {
    color: #111827 !important;
}
.procedures .section-subtitle {
    color: #4B5563 !important;
}
.procedures .proc-card h3,
.procedures .proc-card h4 {
    color: #111827 !important;
}
.procedures .proc-card p {
    color: #4B5563 !important;
}

/* ── 14. FAQ SECTION: Light bg — dark text ── */
.faq-section h2,
.faq-section .section-title {
    color: #111827 !important;
}
.faq-section .section-subtitle {
    color: #4B5563 !important;
}
.faq-question {
    color: #111827 !important;
}
.faq-answer-content,
.faq-answer-content p,
.faq-answer-content li {
    color: #4B5563 !important;
}
.faq-answer-content strong {
    color: #111827 !important;
}

/* ── 15. PLANS/PRICING: Light bg — dark text ── */
.plans-section h2,
.plans-section .section-title {
    color: #111827 !important;
}
.plans-section .section-subtitle,
.plans-section .plans-subtitle {
    color: #4B5563 !important;
}
.plan-card h3 {
    color: #111827 !important;
}
.plan-card p,
.plan-card span,
.plan-card li {
    color: #4B5563 !important;
}
.plan-card strong,
.plan-card .plan-amount {
    color: #111827 !important;
}

/* ── 16. SUBSCRIPTION FORM: White bg — dark text ── */
.subscription-section h2,
.subscription-section h3,
.subscription-section .section-title {
    color: #111827 !important;
}
.subscription-section .form-header h3 {
    color: #111827 !important;
}
.subscription-section .form-header p {
    color: #4B5563 !important;
}
.subscription-section .input-group label {
    color: #111827 !important;
}
.subscription-section .checkbox-container label,
.subscription-section .legal-label {
    color: #4B5563 !important;
}
.subscription-section .legal-label a {
    color: #2563EB !important;
}
.subscription-section .security-text {
    color: #6B7280 !important;
}

/* ── 17. TRUST BAR: White bg — dark text ── */
.trust-bar span,
.trust-bar p,
.trust-bar div,
.trust-bar .trust-bar-item {
    color: #4B5563 !important;
}
.trust-bar strong,
.trust-bar span[style*="font-weight:700"] {
    color: #111827 !important;
}

/* ── 18. DISCLAIMER BANNER: Light yellow bg — dark text ── */
.disclaimer-banner p,
.disclaimer-banner span,
.disclaimer-banner div,
.disclaimer-banner .disclaimer-content {
    color: #92400E !important;
}
.disclaimer-banner strong {
    color: #92400E !important;
}
.disclaimer-banner a {
    color: #1D4ED8 !important;
}

/* ── 19. LEGAL PAGES: White bg — dark text ── */
.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-content h1,
.legal-content h2,
.legal-content h3 {
    color: #111827 !important;
}
.legal-page p,
.legal-content p,
.legal-section p,
.legal-section li {
    color: #4B5563 !important;
}
.legal-section strong {
    color: #111827 !important;
}

/* ── 20. CHECKOUT / REQUEST FORM: White bg — dark text ── */
.request-section h2,
.request-section h3,
.request-section .section-title {
    color: #111827 !important;
}
.request-section p,
.request-section span,
.request-section label {
    color: #4B5563 !important;
}
.request-section .form-header h3 {
    color: #111827 !important;
}
.request-section .form-header p {
    color: #4B5563 !important;
}

/* ── 21. BLOG / SINGLE / ARCHIVE: White bg — dark text ── */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #111827 !important;
}
.entry-content p,
.entry-content li,
.entry-content span {
    color: #4B5563 !important;
}

/* ── 22. EXIT INTENT MODAL: White bg — dark text ── */
.exit-overlay .exit-modal h3 {
    color: #111827 !important;
}
.exit-overlay .exit-modal p {
    color: #4B5563 !important;
}

/* ── DARK SECTION TEXT COLORS ──
   Explicit color assignments for sections with dark backgrounds.
   The root cause (global p/span/li color override) has been removed,
   but we keep these for specificity safety. */
footer p, footer span, footer li, footer div { color: #9CA3AF !important; }
footer h3, footer h4, footer h5 { color: #FFFFFF !important; }
footer a { color: #9CA3AF !important; }
footer a:hover { color: #60A5FA !important; }
.why-us-section p, .why-us-section span, .why-us-section li { color: #9CA3AF !important; }
.why-us-section h2, .why-us-section h3, .why-us-section h4 { color: #FFFFFF !important; }
.benefits-section p, .benefits-section span, .benefits-section li { color: #9CA3AF !important; }
.benefits-section h2, .benefits-section h3 { color: #FFFFFF !important; }
.benefits-section strong { color: #FFFFFF !important; }
.pain-block p, .pain-block span, .pain-block li { color: #D1D5DB !important; }
.pain-block h2, .pain-block h3, .pain-block h4 { color: #FFFFFF !important; }
.pain-block strong { color: #FFFFFF !important; }
section.hero p { color: #CBD5E1 !important; }
section.hero h1, section.hero h2 { color: #FFFFFF !important; }
section.hero strong { color: #FFFFFF !important; }

/* Light section text colors — ensure readability */
.how-it-works p, .how-it-works span { color: #4B5563 !important; }
.how-it-works h2, .how-it-works h3, .how-it-works strong { color: #111827 !important; }
.visual-proof p, .visual-proof span { color: #4B5563 !important; }
.visual-proof h2, .visual-proof h3, .visual-proof strong { color: #111827 !important; }
.testimonials p, .testimonials span { color: #374151 !important; }
.testimonials h2, .testimonials h3, .testimonials strong { color: #111827 !important; }
.faq-section p, .faq-answer-content, .faq-answer-content p { color: #4B5563 !important; }
.faq-section h2, .faq-question, .faq-answer-content strong { color: #111827 !important; }
.plans-section p, .plans-section span, .plan-card p, .plan-card li { color: #4B5563 !important; }
.plans-section h2, .plan-card h3, .plan-card strong, .plan-card .plan-amount { color: #111827 !important; }
.doubt-breaker p, .doubt-breaker span { color: #4B5563 !important; }
.doubt-breaker h2, .doubt-breaker h3, .doubt-breaker strong { color: #111827 !important; }
.guarantee-section p, .guarantee-section span { color: #4B5563 !important; }
.guarantee-section h2, .guarantee-section h3 { color: #111827 !important; }
.cta-final-section p, .cta-final-section span { color: #4B5563 !important; }
.cta-final-section h2, .cta-final-section h3 { color: #111827 !important; }
.subscription-section .form-header p { color: #4B5563 !important; }
.subscription-section .form-header h3 { color: #111827 !important; }
.subscription-section .input-group label { color: #111827 !important; }
.subscription-section .legal-label { color: #4B5563 !important; }
.subscription-section .legal-label a { color: #2563EB !important; }
.subscription-section .security-text { color: #6B7280 !important; }
.procedures p, .procedures span { color: #4B5563 !important; }
.procedures h2, .procedures h3, .procedures h4 { color: #111827 !important; }
.provinces p, .provinces .section-subtitle { color: #4B5563 !important; }
.provinces h2, .provinces strong { color: #111827 !important; }

/* ═══════════════════════════════════════════════════════════════
   FINAL MOBILE FIX — CONSOLIDATED
   This is the LAST media query block in the file. It resolves
   all remaining conflicts from previous patch layers.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* ── PREVENT HORIZONTAL OVERFLOW ── */
    html, body {
        overflow-x: hidden !important;
    }
    *, *::before, *::after {
        box-sizing: border-box !important;
    }
    main, section, .container {
        max-width: 100vw !important;
    }
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ── FORM: Ensure usable on mobile ── */
    .subscription-section {
        padding: 40px 0 !important;
    }
    .subscription-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .form-wrapper {
        padding: 24px 16px !important;
        border-radius: 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .input-group.full {
        grid-column: span 1 !important;
    }
    .input-control,
    select.input-control,
    input.input-control {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;  /* Prevents iOS zoom on focus */
        padding: 14px !important;
        border-radius: 10px !important;
    }
    .form-header {
        text-align: center !important;
    }
    .form-header i {
        font-size: 2rem;
        display: block;
        margin-bottom: 10px;
    }
    .form-header h3 {
        font-size: 1.2rem !important;
        line-height: 1.3;
    }
    .form-header p {
        font-size: 0.85rem !important;
    }
    .submit-btn {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        min-height: 48px !important;
    }
    .form-plan-summary {
        text-align: center !important;
    }
    .form-plan-summary-inner {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 0.82rem !important;
    }
    .form-plan-change {
        margin-left: 0 !important;
        display: block !important;
        margin-top: 4px !important;
    }
    .legal-consents {
        margin-top: 16px !important;
    }
    .checkbox-container {
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    .legal-label {
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
    }
    .form-guarantee {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }
    .form-guarantee span {
        font-size: 0.76rem !important;
    }
    .form-refund-guarantee {
        padding: 12px 14px !important;
    }
    .form-refund-guarantee div {
        font-size: 0.82rem !important;
    }
    .security-footer {
        margin-top: 14px !important;
    }
    .security-badges {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .security-text {
        font-size: 0.72rem !important;
        text-align: center !important;
    }

    /* ── HERO: Centered on mobile ── */
    .hero .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .hero h1 {
        text-align: center !important;
        width: 100% !important;
        font-size: 1.75rem !important;
    }
    .hero p {
        text-align: center !important;
    }
    .hero-btns {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-btns .btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    .hero-social-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px 12px !important;
        justify-items: center !important;
    }
    .hero-trust-sep {
        display: none !important;
    }
    .hero-badges {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* ── HEADER: Fix mobile menu ── */
    header#navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow: visible !important;
    }
    header#navbar > .container {
        overflow: visible !important;
    }

    /* ── GRIDS: Single column on mobile ── */
    .steps-container,
    .doubt-grid,
    .before-after-grid,
    .seo-grid,
    .procedures-grid {
        grid-template-columns: 1fr !important;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .testi-grid,
    .testi-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }
    .plans-grid {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .plan-card-featured {
        transform: none !important;
    }

    /* ── FOOTER: Single column centered ── */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    .footer-brand {
        grid-column: span 1 !important;
        text-align: center !important;
    }
    .footer-brand p {
        text-align: left !important;
    }
    .footer-links {
        text-align: center !important;
    }
    .social-links {
        justify-content: center !important;
    }
    .footer-seo-grid {
        grid-template-columns: 1fr !important;
    }

    /* ── STICKY CTA BAR: Show on mobile ── */
    .sticky-cta-bar {
        display: block !important;
    }
    body {
        padding-bottom: 65px !important;  /* Space for sticky bar */
    }

    /* ── DISABLE HOVER TRANSFORMS on touch ── */
    .step-card:hover,
    .proc-card:hover,
    .pricing-card:hover,
    .testi-card:hover,
    .pricing-card.popular:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    /* ── FORM: Extra small adjustments ── */
    .form-wrapper {
        padding: 20px 14px !important;
    }
    .form-header h3 {
        font-size: 1.1rem !important;
    }
    .legal-label {
        font-size: 0.72rem !important;
    }

    /* ── GRIDS: Full single column ── */
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-social-trust {
        grid-template-columns: 1fr !important;
    }
    .plans-trust,
    .cta-final-trust {
        grid-template-columns: 1fr !important;
    }
    .provinces-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* ── HERO: Smaller text ── */
    .hero h1 {
        font-size: 1.5rem !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE FIXES — 2026-08-19 v2
   Tasks: menu close btn, procedures centering, how-it-works,
   plans proportionality, CTA text visibility
   ═══════════════════════════════════════════════════════════ */

/* ── FIX 9: Mobile menu close button always visible ── */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border: none !important;
        background: var(--bg-light, #f3f4f6) !important;
        border-radius: 8px !important;
        color: var(--primary, #1e3a5f) !important;
        font-size: 1.3rem !important;
        z-index: 1002 !important;
        position: relative !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    /* When nav is open, show the X clearly */
    body .mobile-menu-btn[aria-expanded="true"] {
        position: fixed !important;
        top: 12px !important;
        right: 20px !important;
        z-index: 1003 !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    /* Nav panel close button inside panel */
    .nav-close-btn {
        transition: background 0.2s, transform 0.2s !important;
    }
    .nav-close-btn:hover {
        background: #E5E7EB !important;
        transform: scale(1.05) !important;
    }
}

/* ── FIX 10: CTA text in hero visible on mobile ── */
@media (max-width: 768px) {
    .hero-form-cta,
    nav a.btn.btn-cta,
    .hero .btn-cta {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 0.95rem !important;
    }

    .hero-v2 .hero-text-col h1 .highlight-accent {
        display: inline !important;
        visibility: visible !important;
    }
}

/* ── FIX 11: Procedures grid centered on mobile ── */
@media (max-width: 768px) {
    .procedures-grid,
    .procedures > .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        max-width: 100% !important;
        justify-items: center !important;
    }

    .procedure-card,
    .procedures > .container > div[style*="grid-template-columns"] > div {
        padding: 18px 14px !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .procedure-card h3,
    .procedures > .container > div[style*="grid-template-columns"] > div h3 {
        font-size: 0.85rem !important;
    }

    .procedure-card p,
    .procedures > .container > div[style*="grid-template-columns"] > div p {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .procedures-grid,
    .procedures > .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .procedure-card {
        max-width: 100% !important;
    }
}

/* ── FIX 12: How It Works cards not too tall on mobile ── */
@media (max-width: 768px) {
    .how-it-works .step-cards,
    .how-it-works .step-cards-grid,
    .how-it-works > .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        max-width: 480px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .how-it-works .step-card,
    .how-it-works > .container > div[style*="grid-template-columns"] > div {
        padding: 20px 18px !important;
        text-align: center !important;
    }

    .how-it-works .step-card h3 {
        font-size: 1rem !important;
    }

    .how-it-works .step-card p {
        font-size: 0.85rem !important;
        margin-bottom: 0 !important;
    }
}

/* ── FIX 7+13: Plans centering, proportionality, mobile text ── */
.planes-dos-grid {
    align-items: stretch !important;
}

.plan-card {
    display: flex !important;
    flex-direction: column !important;
}

.plan-card ul {
    flex: 1 !important;
}

.plan-card .plan-select-btn,
.plan-card a[class*="plan-select"] {
    margin-top: auto !important;
}

@media (max-width: 640px) {
    .planes-dos-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .plan-card {
        padding: 28px 20px !important;
    }

    .plan-card h3 {
        font-size: 1.2rem !important;
    }

    .plan-card p {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    .plan-card ul li {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
    }

    .trust-mini-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ── General: Ensure plans section has equal spacing ── */
.plans-section .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 641px) {
    .planes-dos-grid {
        max-width: 820px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 24px !important;
    }

    .plan-card-entry,
    .plan-card-popular {
        padding: 36px 28px !important;
        min-height: 480px !important;
    }
}

/* ── FIX: phone validation error visual ── */
.input-control.phone-invalid {
    border-color: #DC2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* ── FIX: Procedures grid auto-fit for better centering on all screens ── */
@media (min-width: 769px) {
    .procedures-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-items: center !important;
    }

    .procedure-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ── FIX: "Cambiar plan" link visible on mobile ── */
@media (max-width: 768px) {
    .form-plan-change {
        display: block !important;
        margin-top: 6px !important;
        margin-left: 0 !important;
        text-align: center !important;
        font-size: 0.82rem !important;
    }
}

/* ── FIX: Mobile nav when moved to body by JS (escape backdrop-filter) ── */
@media (max-width: 768px) {
    /* When JS moves nav to body, ensure it renders above everything */
    body > nav#mainNav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 10000 !important;
        padding: 24px 24px 30px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2) !important;
        transform: translateX(105%) !important;
        visibility: hidden !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s !important;
    }

    body > nav#mainNav.nav-open {
        transform: translateX(0) !important;
        visibility: visible !important;
    }

    /* Ensure nav links inside body-level nav are styled properly */
    body > nav#mainNav ul {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
    }

    body > nav#mainNav ul li {
        border-bottom: 1px solid #F3F4F6 !important;
        width: 100% !important;
        list-style: none !important;
    }

    body > nav#mainNav ul li a {
        display: flex !important;
        align-items: center !important;
        padding: 14px 8px !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        color: #1e3a5f !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-radius: 8px !important;
        background: transparent !important;
    }

    body > nav#mainNav ul li a:hover,
    body > nav#mainNav ul li a:active {
        background: #F3F4F6 !important;
        padding-left: 14px !important;
    }

    body > nav#mainNav ul li a::after {
        display: none !important;
    }

    body > nav#mainNav ul li a.btn {
        margin-top: 20px !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        width: 100% !important;
        font-size: 0.95rem !important;
        padding: 14px !important;
    }
}

