/* ====================================
   FINTECH-GRADE DESIGN SYSTEM
   Taxes & Payroll Services
   South Florida Latino Market
   ==================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors (Logo-derived) */
    --navy-primary: #0A192F;
    --navy-secondary: #112240;
    --teal-accent: #5BC5D3;
    --mint-accent: #8FD5A6;
    --conversion-orange: #FF8C00;
    
    /* Neutral Palette */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --gray-50: #F7F8F9;
    --gray-100: #E8EAED;
    --gray-200: #D1D5DB;
    --gray-300: #9CA3AF;
    --gray-400: #6B7280;
    --gray-500: #4B5563;
    --gray-600: #374151;
    --gray-700: #1F2937;
    --gray-800: #111827;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    
    /* Spacing System (8px base) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    --space-16: 128px;
    
    /* Shadows (Fintech-subtle) */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================
   BASE STYLES
   ==================================== */

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px; /* Reducido de 17px a 16px (-6%) para mejor compactación - estándar web */
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

/* ====================================
   TYPOGRAPHY
   ==================================== */

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-primary);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
}

h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
}

h4 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-3);
}

strong {
    font-weight: 600;
    color: var(--navy-primary);
}

/* ====================================
   CONTAINER
   ==================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-3);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* ====================================
   HEADER / NAVBAR
   ==================================== */

.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 0;
    margin: 0;
    height: auto;
    min-height: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 0; /* MODERADO: Reducido de 24px (-33%) para header más compacto */
    margin: 0 auto;
    min-height: 0;
    max-width: 100%;
    width: 100%;
    position: relative;
}

.header .logo-link {
    flex: 0 0 auto;
    margin-left: 0;
    padding-left: var(--space-2);
}

.header .header-cta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-right: var(--space-2);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.logo-img {
    width: 255px; /* MODERADO: Reducido de 364px (-30%) */
    height: auto;
    display: block;
    max-width: 100%;
    /* Force transparent background */
    background: transparent !important;
    /* Clean blend mode for transparency */
    mix-blend-mode: normal;
    /* Eliminate all spacing */
    margin: 0;
    padding: 0;
    vertical-align: top;
    line-height: 0;
    /* Make logo more prominent - increased 30% */
    max-height: 82px; /* MODERADO: Reducido de 117px (-30%) */
    object-fit: contain;
    object-position: left center;
    /* Enhanced visibility */
    filter: brightness(1.05) contrast(1.05);
}

/* Responsive logo sizing */
@media (max-width: 1024px) {
    .logo-img {
        width: 218px; /* MODERADO: Reducido de 312px (-30%) */
        max-height: 73px; /* MODERADO: Reducido de 104px (-30%) */
    }
}

@media (max-width: 767px) {
    .logo-img {
        width: 182px; /* MODERADO: Reducido de 260px (-30%) */
        max-height: 64px; /* MODERADO: Reducido de 91px (-30%) */
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 155px; /* MODERADO: Reducido de 221px (-30%) */
        max-height: 55px; /* MODERADO: Reducido de 78px (-30%) */
    }
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

/* ====================================
   BUTTONS
   ==================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.5;
    font-family: var(--font-primary);
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(135deg, var(--conversion-orange) 0%, #E67E00 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(242, 153, 74, 0.3), var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E67E00 0%, #CC6F00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 153, 74, 0.4), var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(91, 197, 211, 0.08);
    color: var(--teal-accent);
    border: 2px solid var(--teal-accent);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--teal-accent);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: var(--teal-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 197, 211, 0.25);
}

.btn-secondary-solid {
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(91, 197, 211, 0.3), var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-secondary-solid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-secondary-solid:active::before {
    width: 300px;
    height: 300px;
}

.btn-secondary-solid:hover {
    background: linear-gradient(135deg, #4AB0BE 0%, #73D1C1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 197, 211, 0.4), var(--shadow-md);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

@media (max-width: 767px) {
    .btn {
        width: 100%;
        padding: 16px 24px;
    }
}

/* ====================================
   TAX SEASON BANNER 2026
   ==================================== */

/* TAX SEASON BADGE - Elegante y Sutil */
.tax-season-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px; /* FASE 3: Ajustado de 10px 20px a 12px 24px para mejor proporción */
    background: linear-gradient(135deg, 
        rgba(91, 197, 211, 0.12) 0%, 
        rgba(91, 197, 211, 0.06) 100%);
    border: 1.5px solid rgba(91, 197, 211, 0.35);
    border-radius: 24px;
    margin-bottom: 36px; /* FASE 3: Reducido de 32px (var(--space-4)) a 36px para consistency */
    position: relative;
    overflow: hidden;
    animation: gentle-pulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.tax-season-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(91, 197, 211, 0.15) 50%,
        transparent 100%
    );
    animation: badge-shimmer 4s ease-in-out infinite;
}

@keyframes badge-shimmer {
    0% { left: -150%; }
    100% { left: 150%; }
}

@keyframes gentle-pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(91, 197, 211, 0.2);
    }
    50% { 
        opacity: 0.95; 
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(91, 197, 211, 0.3);
    }
}

.tax-season-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(91, 197, 211, 0.4);
    border-color: rgba(91, 197, 211, 0.5);
}

.badge-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--teal-accent);
    stroke-width: 2.5;
    position: relative;
    z-index: 1;
    animation: icon-rotate 4s ease-in-out infinite;
}

@keyframes icon-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.badge-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.badge-main {
    color: var(--white);
}

.badge-separator {
    color: var(--teal-accent);
    opacity: 0.6;
}

.badge-detail {
    color: var(--teal-accent);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tax-season-badge {
        padding: 8px 16px;
        gap: 8px;
        margin-bottom: var(--space-3);
    }
    
    .badge-icon {
        width: 18px;
        height: 18px;
    }
    
    .badge-text {
        font-size: 13px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .badge-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .tax-season-badge {
        padding: 8px 14px;
    }
    
    .badge-text {
        font-size: 12px;
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    
    .badge-detail {
        font-size: 11px;
    }
}

    
    .banner-title {
        font-size: 14px;
    }
    
    .banner-subtitle {
        font-size: 12px;
        max-width: 90%;
    }
    
    .banner-hint {
        font-size: 12px;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .banner-subtitle {
        font-size: 11px;
        line-height: 1.5;
    }
    
    .banner-hint {
        font-size: 11px;
        margin-top: 6px;
    }
}

/* ====================================
   HERO SECTION
   ==================================== */

.hero {
    background: var(--navy-primary);
    color: var(--white);
    padding: 0 0 60px; /* FASE 1: Reducido de 80px (var(--space-10)) a 60px (-25%) */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 197, 211, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    text-align: center;
}

.hero-title {
    color: var(--white);
    margin-bottom: 24px; /* FASE 1: Reducido de 32px (var(--space-4)) a 24px (-25%) */
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem; /* FASE 1: Reducido de 1rem (16px) a 0.75rem (12px) (-25%) */
    font-size: clamp(24px, 3.5vw, 36px); /* MODERADO: Reducido de clamp(28px, 4vw, 42px) para mejor compactación (-14%) */
    letter-spacing: -0.02em;
}

.title-english, .title-spanish {
    display: block;
    text-align: center;
    line-height: 1.2; /* FASE 1: Reducido de 1.25 a 1.2 (-4%) */
    font-weight: 600;
    font-size: 1em;
}

/* Premium Service Highlights */
.service-highlight {
    color: var(--teal-accent);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0 4px;
    transition: all 0.3s ease;
}

.service-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-accent), transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.service-highlight:hover::after {
    opacity: 0.8;
}

.title-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mint-accent), transparent);
    margin: 0.3rem 0;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(143, 213, 166, 0.4);
    position: relative;
}

.title-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(143, 213, 166, 0.15), transparent 70%);
    border-radius: 50%;
}

/* Subtle breathing animation */
@keyframes breathe {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.title-divider {
    animation: breathe 3s ease-in-out infinite;
}

/* Responsive adjustments for hero title */
@media (max-width: 767px) {
    .hero-title {
        gap: 0.8rem;
        font-size: clamp(24px, 4.5vw, 34px); /* MODERADO: Reducido de clamp(28px, 5vw, 38px) para móvil (-14%/-11%) */
    }
    
    .title-divider {
        width: 60px;
        margin: 0.2rem 0;
    }
    
    .service-highlight {
        padding: 0 2px;
    }
}

/* Media query conflictivo REMOVIDO - ahora controlado por DESKTOP FONT SIZE OPTIMIZATION al final del archivo */

.hero-subtitle {
    /* font-size manejado por media queries (base: 20px, 1200px: 18px) */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5; /* FASE 1: Reducido de 1.6 a 1.5 (-6%) */
    margin-bottom: 36px; /* FASE 1: Reducido de 48px (var(--space-6)) a 36px (-25%) */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 18px; /* FASE 1: Reducido de 24px (var(--space-3)) a 18px (-25%) */
    align-items: center;
    margin-top: 40px; /* FASE 1: Reducido de 48px (var(--space-6)) a 40px (-17%) */
}

@media (min-width: 768px) {
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }
}

.pricing-badge-hero {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 36px; /* FASE 3: Reducido de 40px (var(--space-5)) a 36px (-10%) */
}

.value-list {
    list-style: none;
    margin-top: 40px; /* FASE 1: Reducido de 48px (var(--space-6)) a 40px (-17%) */
    display: grid;
    gap: 18px; /* FASE 1: Reducido de 24px (var(--space-3)) a 18px (-25%) */
}

@media (min-width: 768px) {
    .value-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px; /* FASE 1: Reducido de 32px (var(--space-4)) a 24px (-25%) para desktop */
    }
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px; /* FASE 1: Reducido de 24px (var(--space-3)) a 18px (-25%) */
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.value-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    border-radius: 50%;
    padding: 4px;
    transition: all var(--transition-base);
}

.value-item:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(91, 197, 211, 0.4);
}

.value-text {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

/* ====================================
   TRUST BAR
   ==================================== */

.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 32px 0; /* FASE 3: Reducido de 48px (var(--space-6)) a 32px (-33%) */
}

.trust-text {
    text-align: center;
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    align-items: center;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
}

.badge-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-accent), transparent);
    transition: width var(--transition-base);
}

.badge-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.badge-item:hover::after {
    width: 80%;
}

.badge-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    border-radius: 50%;
    transition: all var(--transition-base);
    box-shadow: 0 4px 8px rgba(91, 197, 211, 0.2);
}

.badge-item:hover .badge-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(91, 197, 211, 0.3);
}

.badge-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    stroke-width: 2.5;
}

.badge-icon {
    font-size: 36px;
    filter: grayscale(100%);
}

.badge-item span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ====================================
   SECTIONS
   ==================================== */

section {
    padding: 64px 0; /* FASE 1: Reducido de 96px (var(--space-12)) a 64px (-33%) */
}

@media (max-width: 767px) {
    section {
        padding: var(--space-8) 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px; /* FASE 1: Reducido de 64px (var(--space-8)) a 48px (-25%) */
}

.section-title {
    font-size: 24px; /* Aumentado de 15px a 24px (+60%) para mejor visibilidad */
    margin-bottom: 18px; /* FASE 1: Reducido de 24px (var(--space-3)) a 18px (-25%) */
}

.section-subtitle {
    /* font-size manejado por media queries (base: 19px, 1200px: 17px) */
    color: var(--gray-500);
    font-weight: 400;
}

/* ====================================
   PROBLEM-SOLUTION
   ==================================== */

.problem-solution {
    background: var(--gray-50);
}

.ps-grid {
    display: grid;
    gap: 24px; /* FASE 2: Reducido de 32px (var(--space-4)) a 24px (-25%) */
    max-width: 900px;
    margin: 0 auto;
}

.ps-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
    align-items: center;
    padding: 28px; /* FASE 2: Reducido de 40px (var(--space-5)) a 28px (-30%) */
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.ps-card:hover {
    border-color: var(--teal-accent);
    box-shadow: var(--shadow-md);
}

.ps-problem,
.ps-solution {
    font-size: 16px;
    font-weight: 500;
}

.ps-problem {
    color: var(--gray-600);
}

.ps-solution {
    color: var(--teal-accent);
}

.ps-arrow {
    font-size: 20px;
    color: var(--gray-300);
}

@media (max-width: 767px) {
    .ps-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3);
    }
    
    .ps-arrow {
        transform: rotate(90deg);
    }
}

/* ====================================
   SERVICES - SIMPLE FLEXBOX SOLUTION
   ==================================== */

.services {
    background: var(--white);
}

/* MOBILE: Stack vertically */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: 48px;
}

/* DESKTOP: 4 services in a row - GUARANTEED */
@media (min-width: 768px) {
    .services-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: stretch;
        gap: 10px;
        max-width: 1200px;
        margin: 40px auto 0 auto;
    }
    
    /* Each service takes exactly 1/4 of the space */
    .service-card {
        flex: 1;
        min-width: 0; /* Allow shrinking */
        max-width: none;
    }
}

.service-card {
    padding: 22px;
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--teal-accent), var(--mint-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 0 0 2px transparent;
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

/* Optimized for 4-column layout */
@media (min-width: 768px) {
    .service-card {
        padding: 22px;
        min-height: 240px;
    }
    
    .service-card h3 {
        font-size: 17px; /* Reducido de 19px = 89.5% para mejor densidad */
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .service-card p {
        font-size: 13px; /* Reducido de 15px = 86.7% para mejor densidad */
        line-height: 1.5;
    }
    
    .service-icon {
        font-size: 34px; /* Reducido de 38px = 89.5% para mejor densidad */
        margin-bottom: 18px;
    }
    
    /* Otros elementos para tablet/desktop */
    .hero-subtitle {
        font-size: 18px; /* Reducido de 20px a 18px (-10%) para mejor compactación */
    }
    
    .section-subtitle {
        font-size: 17px; /* Reducido de 19px a 17px (-10%) para mejor compactación */
    }
    
    .pricing-title {
        font-size: 18px;
    }
    
    .pricing-amount-text {
        font-size: 26px;
    }
    
    .pricing-subtitle {
        font-size: 15px;
    }
    
    .pricing-custom-note {
        font-size: 15px;
    }
}

.service-card:hover {
    border-color: var(--teal-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    /* font-size manejado por media queries (768px: 34px) */
    margin-bottom: 18px;
    display: inline-block;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 8px rgba(91, 197, 211, 0.3));
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--navy-primary);
    /* font-size manejado por media queries (768px: 19px, 1200px: 17px) */
    transition: color var(--transition-base);
}

.service-card:hover h3 {
    color: var(--teal-accent);
}

.service-card p {
    color: var(--gray-500);
    line-height: 1.5;
}

/* ====================================
   PRICING (PREMIUM STYLE)
   ==================================== */

.pricing {
    background: var(--gray-50);
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--teal-accent);
    border-radius: var(--radius-xl);
    padding: 20px 20px; /* Ultra-compacto: reducido de 32px - máxima reducción */
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: var(--space-6);
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    color: var(--white);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 4px 12px rgba(91, 197, 211, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: subtle-pulse 2s ease-in-out infinite;
}

.badge-sparkle {
    animation: sparkle-rotate 3s linear infinite;
}

/* Subtle pulse animation for pricing badge */
@keyframes subtle-pulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(91, 197, 211, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 16px rgba(91, 197, 211, 0.4);
        transform: scale(1.02);
    }
}

/* Sparkle rotation */
@keyframes sparkle-rotate {
    0% { transform: rotate(0deg); opacity: 0.8; }
    50% { opacity: 1; }
    100% { transform: rotate(360deg); opacity: 0.8; }
}

.pricing-header {
    text-align: center;
    padding-top: 32px; /* Espacio para evitar overlap con badge */
    margin-bottom: 12px; /* Reducido de 18px para compensar padding-top */
    padding-bottom: 12px; /* Reducido de 18px para compensar padding-top */
    border-bottom: 1px solid var(--gray-100);
}

.pricing-title {
    /* font-size manejado por media queries (base: 18px, 1200px: 16px) */
    color: var(--teal-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
    line-height: 1.2; /* Compacto: reducido de 1.3 predeterminado */
}

.pricing-amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.pricing-amount span {
    font-size: 24px;
    color: var(--gray-500);
    font-weight: 500;
}

.pricing-amount-text {
    /* font-size manejado por media queries (base: 26px, 1200px: 23px) */
    font-weight: 700;
    color: var(--teal-accent);
    line-height: 1.2;
    margin-bottom: 10px; /* Reducido de 12px a 10px - Balanceada Plus */
}

.pricing-custom-note {
    /* font-size manejado por media queries (base: 15px, 1200px: 14px) */
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 8px; /* Ultra-compacto: reducido de 12px */
    font-style: italic;
    font-size: 16px; /* Reducido de implícito 17px para mayor compactación */
}

.pricing-subtitle {
    /* font-size manejado por media queries (base: 15px, 1200px: 13px) */
    color: var(--gray-500);
    line-height: 1.3; /* Reducido de 1.4 para más compactación */
    margin-top: 4px; /* Espacio mínimo superior */
}

.pricing-details {
    background: var(--gray-50);
    padding: 18px; /* Ultra-compacto: reducido de 22px */
    border-radius: var(--radius-md);
    margin: 12px 0; /* Ultra-compacto: reducido de 24px */
}

.pricing-details p {
    color: var(--gray-600);
    margin-bottom: 12px; /* Ultra-compacto: reducido de 16px */
    line-height: 1.4; /* Ultra-compacto: reducido de 1.45 */
    font-size: 15px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 8px; /* Reducido de 10px a 8px - Balanceada Plus */
    padding: 12px; /* Reducido de 16px a 12px - Balanceada Plus */
    margin-bottom: 8px; /* Reducido de 10px a 8px - Balanceada Plus */
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.pricing-feature:hover {
    background: rgba(91, 197, 211, 0.08);
    transform: translateX(4px);
}

.pricing-icon {
    flex-shrink: 0;
    width: 22px; /* Reducido de 24px a 22px - Balanceada Plus */
    height: 22px; /* Reducido de 24px a 22px - Balanceada Plus */
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    border-radius: 50%;
    padding: 4px;
    transition: all var(--transition-base);
}

.pricing-feature:hover .pricing-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(91, 197, 211, 0.4);
}

.pricing-feature span {
    color: var(--gray-600);
    line-height: 1.45; /* Reducido de 1.5 a 1.45 - Balanceada Plus */
    font-size: 15px; /* Agregado 15px - Balanceada Plus */
}

.pricing-qualifier {
    display: flex;
    align-items: center;
    gap: 8px; /* Ultra-reducido de 10px para compensar */
    padding: 14px; /* Ultra-reducido de 18px para compensar */
    background: rgba(255, 140, 0, 0.05);
    border-left: 3px solid var(--conversion-orange);
    border-radius: var(--radius-md);
    margin-top: 16px; /* Ultra-reducido de 24px para compensar */
}

.pricing-qualifier-icon {
    flex-shrink: 0;
    color: var(--conversion-orange);
    font-size: 18px; /* Reducido de 20px a 18px - Balanceada Plus */
}

.pricing-qualifier-text {
    font-size: 13px; /* Reducido de 14px a 13px - Balanceada Plus */
    color: var(--gray-700);
    font-weight: 500;
    line-height: 1.45; /* Reducido de 1.5 a 1.45 - Balanceada Plus */
}

/* Reducir espacio superior del botón CTA en pricing card */
.pricing-card .text-center.mt-6 {
    margin-top: var(--space-4) !important; /* 32px reducido a ~32px pero más compacto */
}

.pricing-card .mt-8 {
    margin-top: var(--space-4) !important; /* Para cualquier mt-8 en pricing */
}

/* ====================================
   CONVERSION SECTION
   ==================================== */

.conversion {
    background: linear-gradient(135deg, var(--navy-secondary) 0%, var(--navy-primary) 100%);
    color: var(--white);
}

.conversion-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px; /* FASE 2: Reducido de 64px (var(--space-8)) a 48px (-25%) */
}

.conversion-header h2 {
    color: var(--white);
    margin-bottom: 24px; /* FASE 2: Reducido de 32px (var(--space-4)) a 24px (-25%) */
    font-size: 32px; /* Reducido para hacer más compacto */
    line-height: 1.3; /* Line-height más compacto */
}

.conversion-subtitle {
    font-size: 18px; /* Reducido de 20px a 18px (-10%) para mejor compactación */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.conversion-features {
    display: grid;
    gap: var(--space-3);
    max-width: 500px;
    margin: 0 auto 48px; /* FASE 2: Reducido de 64px (var(--space-8)) a 48px (-25%) */
}

.conversion-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px; /* FASE 2: Reducido de 24px (var(--space-3)) a 18px (-25%) */
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
}

.conversion-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    border-radius: 50%;
    padding: 4px;
    transition: all var(--transition-base);
}

.conversion-feature:hover .feature-check {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(91, 197, 211, 0.4);
}

.feature-text {
    font-size: 15px; /* Reducido de 17px a 15px (-12%) para mejor compactación */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.calendly-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 20px; /* COMPACTO: Reducido de 32px (-37%) para sección más compacta */
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

/* Custom Calendly Header - Horizontal Compact Layout - CENTRALIZADO */
.calendly-custom-header {
    display: flex;
    align-items: center;
    justify-content: center; /* CENTRALIZADO: Agregado para centrar todo el contenido */
    gap: 16px;
    padding: 12px 20px; /* COMPACTO: Reducido de 16px a 12px */
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 16px; /* COMPACTO: Reducido de 20px a 16px */
}

.calendly-header-logo {
    flex-shrink: 0;
    width: 40px; /* COMPACTO: Reducido de 60px (-33%) */
    height: 40px;
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendly-header-icon {
    width: 22px; /* COMPACTO: Reducido de 32px (-31%) */
    height: 22px;
    color: var(--white);
}

.calendly-header-content {
    flex: 0 1 auto; /* CENTRALIZADO: Cambiado de flex: 1 para no ocupar todo el ancho */
    min-width: 0; /* Permite text overflow */
    text-align: center; /* CENTRALIZADO: Agregado para centrar el texto */
}

.calendly-header-title {
    font-size: 16px; /* COMPACTO: Reducido de 18px (-11%) */
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
    line-height: 1.2;
}

.calendly-header-meta {
    display: flex;
    align-items: center;
    justify-content: center; /* CENTRALIZADO: Agregado para centrar meta items */
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
}

.calendly-header-subtitle {
    font-size: 14px; /* COMPACTO: Reducido de 24px (-42%) */
    font-weight: 600;
    color: var(--navy-primary);
}

.calendly-meta-divider {
    color: var(--gray-400);
    font-weight: 400;
}

.calendly-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-600);
}

.calendly-meta-icon {
    width: 14px;
    height: 14px;
    color: var(--teal-accent);
    flex-shrink: 0;
}

/* Mobile responsive - vuelve a vertical pero compacto */
@media (max-width: 640px) {
    .calendly-custom-header {
        flex-direction: column;
        align-items: center; /* CENTRALIZADO: Cambiado de flex-start a center */
        gap: 12px;
        padding: 12px 16px; /* COMPACTO: Reducido padding */
    }
    
    .calendly-header-logo {
        align-self: center;
    }
    
    .calendly-header-content {
        text-align: center;
        width: 100%;
    }
    
    .calendly-header-meta {
        justify-content: center;
    }
}

/* Calendly inline widget - clean, no negative margin needed with hide_event_type_details */
.calendly-inline-widget {
    position: relative;
}

.calendly-placeholder {
    text-align: center;
    padding: var(--space-8);
    color: var(--gray-700);
}

/* ====================================
   REINFORCEMENT
   ==================================== */

.reinforcement {
    background: var(--white);
}

.reinforcement-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.reinforcement-box h3 {
    margin-bottom: 40px; /* FASE 2: Reducido de 48px (var(--space-6)) a 40px (-17%) */
}

.reinforcement-box h3 .highlight {
    color: var(--teal-accent);
}

.trust-grid {
    display: grid;
    gap: 16px; /* MODERADO: Reducido de 24px (-33%) para mejor compactación */
    margin: 40px 0; /* MODERADO: Reducido de 48px (-17%) para mejor compactación */
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px; /* MODERADO: Reducido de 12px (-17%) */
    padding: 18px; /* MODERADO: Reducido de 24px (-25%) */
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.trust-icon {
    flex-shrink: 0;
    width: 18px; /* MODERADO: Reducido de 20px (-10%) */
    height: 18px;
    color: var(--teal-accent);
}

.trust-text {
    font-size: 15px; /* MODERADO: Reducido de 16px (-6%) */
    font-weight: 500;
    color: var(--gray-700);
    text-align: left;
}

/* ====================================
   FAQ
   ==================================== */

.faq {
    background: var(--navy-primary);
    color: var(--white);
}

.faq .section-title {
    color: var(--white);
}

.faq-grid {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 24px !important; /* MODERADO+: 16px vertical, 24px horizontal - Compactación para tablets y desktop */
    }
    
    .faq-item {
        padding: 22px !important; /* MODERADO: Reducido de 28px (-21%) para tablets y desktop */
    }
    
    .faq-header {
        margin-bottom: 12px !important; /* MODERADO: Reducido de 16px (-25%) */
    }
    
    .faq-item h4 {
        font-size: 16px !important; /* MODERADO: Reducido de 17px (-6%) */
    }
    
    .faq-item p {
        font-size: 15px !important; /* MODERADO: Reducido de 16px (-6%) */
        line-height: 1.6 !important; /* MODERADO: Reducido de 1.7 (-6%) */
    }
    
    .faq-icon {
        width: 28px !important; /* MODERADO: Reducido de 32px (-12.5%) */
        height: 28px !important;
    }
}

.faq-item {
    padding: 28px; /* FASE 2: Reducido de 40px (var(--space-5)) a 28px (-30%) */
    background: var(--navy-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--teal-accent);
    transition: all var(--transition-base);
    cursor: pointer;
}

.faq-item:hover {
    border-left-width: 5px;
    transform: translateX(3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: rgba(20, 42, 65, 0.9);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.faq-item h4 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 17px;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-accent) 0%, var(--mint-accent) 100%);
    border-radius: 50%;
    padding: 6px;
    transition: all var(--transition-base);
}

.faq-item:hover .faq-icon {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(91, 197, 211, 0.4);
}

.faq-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* ====================================
   FOOTER
   ==================================== */

.footer {
    background: var(--white);
    color: var(--gray-700);
    padding: 56px 0 120px; /* FASE 3: Reducido padding-top de 80px (var(--space-10)) a 56px (-30%) */
    text-align: center;
    border-top: 1px solid var(--gray-100);
    position: relative;
    overflow: visible;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-bottom: var(--space-6);
}

.footer-text {
    margin-bottom: var(--space-6);
    line-height: 1.8;
    font-size: 16px;
    color: var(--gray-700);
}

.footer-cta {
    margin-bottom: var(--space-8);
}

.footer-legal {
    font-size: 14px;
    color: var(--gray-500);
    padding-top: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

/* TAX SEASON COUNTDOWN - Footer */
.footer-tax-season-reminder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, 
        rgba(91, 197, 211, 0.08) 0%, 
        rgba(91, 197, 211, 0.04) 100%);
    border: 1.5px solid rgba(91, 197, 211, 0.25);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.countdown-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--teal-accent);
    stroke-width: 2.5;
    animation: countdown-pulse 2s ease-in-out infinite;
}

@keyframes countdown-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.countdown-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
}

.countdown-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--teal-accent);
    padding: 0 4px;
}

.countdown-separator {
    color: var(--teal-accent);
    opacity: 0.5;
    margin: 0 8px;
}

.countdown-deadline {
    color: var(--gray-600);
    font-weight: 600;
}

/* Estados del countdown */
.countdown-active {
    animation: countdown-number 0.5s ease;
}

@keyframes countdown-number {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Warning state (30 días o menos) */
.footer-tax-season-reminder.countdown-warning {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.1) 0%, 
        rgba(255, 193, 7, 0.05) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.footer-tax-season-reminder.countdown-warning .countdown-icon {
    color: #FFC107;
}

.footer-tax-season-reminder.countdown-warning .countdown-text strong {
    color: #FFC107;
}

/* Urgent state (7 días o menos) */
.footer-tax-season-reminder.countdown-urgent {
    background: linear-gradient(135deg, 
        rgba(244, 67, 54, 0.1) 0%, 
        rgba(244, 67, 54, 0.05) 100%);
    border-color: rgba(244, 67, 54, 0.3);
    animation: urgent-pulse 1.5s ease-in-out infinite;
}

@keyframes urgent-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(244, 67, 54, 0.2);
    }
    50% {
        box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
    }
}

.footer-tax-season-reminder.countdown-urgent .countdown-icon {
    color: #F44336;
    animation: urgent-rotate 1s ease-in-out infinite;
}

@keyframes urgent-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.footer-tax-season-reminder.countdown-urgent .countdown-text strong {
    color: #F44336;
}

/* Expired state */
.footer-tax-season-reminder.countdown-expired {
    opacity: 0.5;
    pointer-events: none;
}

/* Hover effect */
.footer-tax-season-reminder:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 197, 211, 0.2);
    border-color: rgba(91, 197, 211, 0.4);
}

/* Sticky Countdown - Muy sutil y delicado */
.footer-tax-season-reminder.sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 90;
    transform: scale(0.75);
    max-width: 400px;
    opacity: 0.92;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: sticky-slide-in 0.5s ease-out;
}

/* Sticky Countdown - Todo el texto en teal oscuro con micro-sombra para contraste óptimo */
.footer-tax-season-reminder.sticky .countdown-text {
    color: #0d9488; /* Teal 600 - más oscuro y vibrante */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); /* Micro-sombra para profundidad */
    font-weight: 600; /* Más presencia */
}

.footer-tax-season-reminder.sticky .countdown-text strong {
    color: #0d9488;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.footer-tax-season-reminder.sticky .countdown-deadline {
    color: #0d9488;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.footer-tax-season-reminder.sticky .countdown-separator {
    color: #0d9488;
    opacity: 0.7;
}

.footer-tax-season-reminder.sticky .countdown-icon {
    color: #f59e0b; /* Dorado vibrante (Amber 500) */
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4))
            drop-shadow(0 0 8px rgba(245, 158, 11, 0.3)); /* Glow dorado */
    animation: icon-glow-pulse 2s ease-in-out infinite; /* Pulso sutil */
}

@keyframes sticky-slide-in {
    from {
        opacity: 0;
        transform: scale(0.75) translateX(100px);
    }
    to {
        opacity: 0.92;
        transform: scale(0.75) translateX(0);
    }
}

/* Animación de pulso dorado para el ícono */
@keyframes icon-glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4))
                drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
    }
    50% {
        filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.6))
                drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
    }
}

.footer-tax-season-reminder.sticky:hover {
    opacity: 1;
    transform: scale(0.8);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Botón de cerrar (opcional) - muy sutil */
.footer-tax-season-reminder.sticky::after {
    content: '×';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-600);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-tax-season-reminder.sticky:hover::after {
    opacity: 1;
}

.footer-tax-season-reminder.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-tax-season-reminder {
        flex-direction: column;
        gap: 8px;
        padding: 14px 18px;
        text-align: center;
    }
    
    .countdown-icon {
        width: 20px;
        height: 20px;
    }
    
    .countdown-text {
        font-size: 14px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .countdown-text strong {
        font-size: 16px;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown-deadline {
        font-size: 13px;
    }
    
    /* Sticky en mobile - más pequeño y abajo */
    .footer-tax-season-reminder.sticky {
        bottom: 10px;
        right: 10px;
        left: 10px;
        transform: scale(0.7);
        max-width: calc(100% - 20px);
    }
    
    .footer-tax-season-reminder.sticky:hover {
        transform: scale(0.72);
    }
}

@media (max-width: 480px) {
    .footer-tax-season-reminder {
        padding: 12px 16px;
        margin-bottom: var(--space-4);
    }
    
    .countdown-text {
        font-size: 13px;
    }
    
    .countdown-text strong {
        font-size: 15px;
    }
}


/* Mobile responsive adjustments for header spacing */
@media (max-width: 768px) {
    .header .logo-link {
        padding-left: var(--space-1);
    }
    
    .header .header-cta {
        padding-right: var(--space-1);
    }
}

/* Footer Logo Styles - Bottom Left Position */
.footer-logo {
    position: absolute;
    bottom: 24px; /* Solucionado: Reducido de 220px a 24px para evitar overlapping */
    left: var(--space-6);
    margin: 0;
    z-index: 10;
}

.footer-logo-img {
    width: 280px; /* Solucionado: Reducido de 320px a 280px para mejor proporción */
    height: auto;
    max-width: 100%;
    opacity: 1;
    /* Remove filters since we now have white background */
    filter: none;
    /* Left align the logo */
    display: block;
    margin: 0;
}

/* Responsive footer logo sizing */
@media (max-width: 767px) {
    .footer-logo {
        bottom: 16px; /* Solucionado: Ajustado para mobile */
        left: var(--space-3);
    }
    
    .footer-logo-img {
        width: 200px; /* Solucionado: Reducido ligeramente para mobile */
    }
    
    .footer {
        padding-bottom: 80px; /* Solucionado: Menos padding en mobile */
    }
}

@media (max-width: 480px) {
    .footer-logo {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-6);
        text-align: center;
    }
    
    .footer-logo-img {
        width: 180px;
        margin: 0 auto;
    }
}

/* ====================================
   WHATSAPP BUTTON (DISCREET)
   ==================================== */

.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: auto;
    padding: 12px 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), var(--shadow-lg);
    z-index: 90;
    transition: all var(--transition-base);
    color: var(--white);
    animation: whatsapp-pulse 2s ease-in-out infinite;
    text-decoration: none;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 36px;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.whatsapp-button:hover::before {
    opacity: 0.4;
    animation: whatsapp-ripple 1.5s ease-out infinite;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), var(--shadow-xl);
    animation: none;
}

.whatsapp-label {
    font-family: 'Helvetica Rounded', 'Arial Rounded MT Bold', 'Nunito', 'Muli', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.3px;
    line-height: 1;
    color: var(--white);
}

/* Subtle pulse animation */
@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), var(--shadow-lg);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), var(--shadow-lg);
    }
}

/* Ripple effect on hover */
@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .whatsapp-button {
        width: 60px;
        padding: 10px 6px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-label {
        font-size: 10px;
    }
    
    /* Conversion header - Mobile */
    .conversion-header h2 {
        font-size: 24px; /* Más compacto para mobile */
        line-height: 1.25;
    }
}

/* ====================================
   UTILITIES
   ==================================== */

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

.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* ====================================
   ACCESSIBILITY
   ==================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--teal-accent);
    outline-offset: 2px;
}

::selection {
    background: var(--teal-accent);
    color: var(--white);
}


/* ====================================
   DESKTOP FONT SIZE OPTIMIZATION (1200px+)
   Reduces all text proportionally by ~12.5% for better visual density
   ==================================== */

@media (min-width: 1200px) {
    /* Reduce base font size */
    html {
        font-size: 14px; /* Reduced from 16px = 87.5% */
    }
    
    body {
        font-size: 16px; /* Ajustado para consistencia con regla base */
    }
    
    /* Hero Section */
    .hero-title {
        gap: 1.5rem; /* Mantener gap de desktop */
        font-size: clamp(24px, 3.5vw, 36px) !important; /* MODERADO: Reducido de clamp(28px, 4vw, 42px) para desktop (-14%) */
    }
    
    .title-divider {
        width: 100px; /* Mantener width de desktop */
        height: 2.5px; /* Mantener height de desktop */
    }
    
    .hero-subtitle {
        font-size: 18px; /* Reduced from 20px = 90% */
    }
    
    /* Section Headers */
    .section-title {
        font-size: 24px !important; /* Ajustado a 24px para consistencia con regla base */
    }
    
    .section-subtitle {
        font-size: 17px !important; /* Reducido de 19px para consistencia (-10%) */
    }
    
    /* Service Cards */
    .service-card h3 {
        font-size: 17px !important; /* Reduced from 19px = 89.5% */
    }
    
    .service-card p {
        font-size: 13px !important; /* Reduced from 15px = 86.7% */
    }
    
    /* Pricing Section */
    .pricing-title {
        font-size: 16px; /* Reduced from 18px = 88.9% */
    }
    
    .pricing-amount-text {
        font-size: 23px; /* Reduced from 26px = 88.5% */
    }
    
    .pricing-subtitle {
        font-size: 13px; /* Reduced from 15px = 86.7% */
    }
    
    .pricing-custom-note {
        font-size: 14px; /* Reduced from 16px = 87.5% */
    }
    
    /* Conversion Section */
    .conversion-header h2 {
        font-size: 28px; /* Reducido para desktop */
    }
    
    /* Trust Items */
    .trust-item h4 {
        font-size: 16px; /* Reduced from 18px = 88.9% */
    }
    
    /* Problem-Solution Cards */
    .ps-card h3 {
        font-size: 20px; /* Reduced from 22px = 90.9% */
    }
    
    /* Conversion Features */
    .conversion-feature h4 {
        font-size: 16px; /* Reduced from 18px = 88.9% */
    }
    
    /* Footer */
    .footer h3 {
        font-size: 16px; /* Reduced from 18px = 88.9% */
    }
}
