.step-microcopy {
    font-size: 0.83rem;
    color: var(--text-gray);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.onboarding-section--highlight .step-microcopy {
    color: rgba(255,255,255,0.6);
}

.ob-back-btn {
    background: none;
    border: 1.5px solid rgba(143, 198, 219, 0.45);
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 0.3em 0.9em;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 20px;
    opacity: 0.8;
    transition: opacity 0.15s, background 0.15s, color 0.15s;
}

.ob-back-btn:hover {
    opacity: 1;
    background: rgba(143, 198, 219, 0.12);
    color: #fff;
}

/* ============================================
   HERO EYEBROW & CTA
   ============================================ */
.hero-eyebrow {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 0.3em 1em;
    margin-bottom: 1rem;
}

.btn-hero-cta {
    font-size: 1.1rem !important;
    padding: 0.85rem 1.8rem !important;
    box-shadow: 0 4px 18px rgba(10,52,66,0.18) !important;
    animation: pulse-cta 2.6s infinite;
}

@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 4px 18px rgba(10,52,66,0.18); }
    50% { box-shadow: 0 6px 28px rgba(10,52,66,0.32); }
}

/* ============================================
   ONBOARDING SECTION
   ============================================ */
.onboarding-section {
    background: var(--bg-light);
    padding: 3.5rem 0;
}

.onboarding-section--highlight {
    background: linear-gradient(135deg, #0A3442 0%, #165266 100%);
    padding: 4rem 0;
}

.onboarding-section--highlight .section-title,
.onboarding-section--highlight .section-subtitle {
    color: #fff;
}

.onboarding-section--highlight .highlight {
    color: var(--secondary-color);
    background: none;
}

.onboarding-eyebrow {
    display: inline-block;
    background: rgba(143,198,219,0.18);
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 0.3em 1.1em;
    margin-bottom: 1rem;
}

.onboarding-main-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
    .onboarding-main-title {
        font-size: 1.6rem;
    }
}

.onboarding-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 2rem 2rem 1.5rem;
    max-width: 640px;
    margin: 2rem auto 0;
}

.onboarding-step {
    transition: opacity 0.25s ease;
}

.onboarding-step.hidden {
    display: none;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.step-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.step-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.option-btn {
    background: var(--bg-light);
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 0.65rem 1.1rem;
    font-size: 0.97rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
    text-align: left;
}

.option-btn:hover,
.option-btn:focus {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    outline: none;
}

.option-btn.selected {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.step-name-input {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.onboarding-input {
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
    padding: 0.7rem 1rem;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    color: var(--primary-color);
    background: var(--bg-light);
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.onboarding-input:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.btn-onboarding-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1.05rem !important;
    padding: 0.85rem 1.4rem !important;
    width: 100%;
    border-radius: 10px !important;
    background: #25D366 !important;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    color: #fff;
    transition: background 0.18s, transform 0.15s;
}

.btn-onboarding-wa:hover,
.btn-onboarding-wa:focus {
    background: #1ebe59 !important;
    transform: translateY(-2px);
    outline: none;
}

.onboarding-progress {
    margin-top: 1.5rem;
    background: var(--bg-medium);
    border-radius: 99px;
    height: 5px;
    overflow: hidden;
}

.onboarding-progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 99px;
    transition: width 0.35s ease;
}

@media (max-width: 600px) {
    .onboarding-card {
        padding: 1.4rem 1rem 1.2rem;
        border-radius: 12px;
    }
    .step-question {
        font-size: 1.1rem;
    }
    .option-btn {
        font-size: 0.93rem;
        padding: 0.55rem 0.9rem;
    }
}

/* Beneficios principales estilo FD Consultores */
.main-benefits.fd-dark-bg {
    background: #0A3442;
    padding: 2.5rem 0 1.5rem 0;
}
.fd-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.2rem;
    justify-content: center;
}
.fd-benefits-list li {
    color: #fff;
    background: transparent;
    border-radius: 8px;
    font-size: 1.15rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    min-width: 240px;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 0.7rem 1.1rem;
    margin-bottom: 0.2rem;
    transition: background 0.2s;
}
.fd-benefits-list li .fd-highlight {
    background: #8FC6DB;
    color: #0A3442;
    border-radius: 4px;
    padding: 0.1em 0.4em;
    font-weight: 700;
    font-size: 1.08em;
    box-decoration-break: clone;
}
/* ============================================
   FD CONSULTORES - ESTILOS
   Colores de marca: #0A3442 (azul oscuro) y #8FC6DB (celeste)
   ============================================ */

:root {
    --primary-color: #0A3442;
    --primary-light: #165266;
    --secondary-color: #8FC6DB;
    --accent-color: #6BB5D0;
    --text-dark: #0A3442;
    --text-light: #FFFFFF;
    --text-gray: #5A6C75;
    --bg-light: #E8F4F8;
    --bg-medium: #D4EBF3;
    --bg-dark: #0D4556;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 6px rgba(10, 52, 66, 0.1);
    --shadow-lg: 0 10px 25px rgba(10, 52, 66, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8), 0 0 0 0 rgba(37, 211, 102, 0.7);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-ring 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.9);
    animation: none;
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    background: var(--primary-color);
    padding: 20px 0;
    position: -webkit-sticky; /* Para Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    border-bottom-color: var(--secondary-color);
}

.nav-menu .btn-nav {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
}

.nav-menu .btn-nav:hover {
    background: var(--accent-color);
    border-bottom-color: transparent;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0D4A5C 100%);
    color: var(--text-light);
    padding-bottom: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-box {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0 15px;
    display: inline-block;
}

.underline {
    position: relative;
    display: inline-block;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--secondary-color);
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-placeholder svg {
    width: 100%;
    max-width: 350px;
    height: auto;
}

/* ============================================
   ANNOUNCEMENT SECTION
   ============================================ */

.announcement {
    background: linear-gradient(135deg, #0D4A5C 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 60px 0;
}

.announcement-content {
    text-align: center;
}

.announcement-icon {
    margin-bottom: 20px;
}

.announcement-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.announcement-text {
    font-size: 20px;
    font-weight: 300;
}

/* ============================================
   SECTIONS
   ============================================ */

.services,
.mission-vision,
.coverage,
.faq,
.contact {
    padding: 80px 0;
}

.services {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title .highlight {
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
    border-top: 1px solid rgba(143, 198, 219, 0.2);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   CTA BOX
   ============================================ */

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #083040 100%);
    color: var(--text-light);
    padding: 60px 50px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 52, 66, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(143, 198, 219, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(143, 198, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 2.5;
}

.cta-text {
    text-align: left;
    flex: 1;
}

.cta-box h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    letter-spacing: -0.5px;
}

.cta-box p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    position: relative;
    line-height: 1.6;
    opacity: 0.95;
}


.btn-cta-large {
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin-top: 0;
    margin-bottom: 0;
    align-self: center;
}

.btn-cta-large svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-cta-large:hover svg {
    transform: translateX(5px);
}

.highlight-text {
    color: var(--secondary-color);
    font-style: italic;
}

/* ============================================
   MISSION & VISION
   ============================================ */

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.mv-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(143, 198, 219, 0.15) 100%);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow);
}

.mv-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mv-icon svg {
    width: 100%;
    height: 100%;
}

.mv-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.mv-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-section {
    margin-top: 60px;
}

.team-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.team-intro {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.team-initial,
.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(10, 52, 66, 0.2);
}

.team-initial {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 42px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo {
    display: block;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(143, 198, 219, 0.35);
}

.team-photo-yanina {
    object-position: 50% 14%;
}

.team-photo-gerardo {
    object-position: 50% 10%;
}

.team-member h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
    font-size: 14px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-medium) 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(143, 198, 219, 0.05) 100%);
    pointer-events: none;
}

/* Testimonials Carousel */
.testimonials-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.testimonials-container {
    overflow: hidden;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    border-top: 3px solid var(--secondary-color);
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 450px;
    height: 320px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FFB800;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.testimonial-text::-webkit-scrollbar {
    width: 4px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 2px;
}

.testimonial-text::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
}

.author-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.author-business {
    font-size: 13px;
    color: var(--text-gray);
}

/* Navigation buttons */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.testimonial-nav:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav svg {
    width: 24px;
    height: 24px;
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

/* Dots indicator */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

.testimonial-cta {
    text-align: center;
    background: var(--primary-color);
    padding: 50px;
    border-radius: 20px;
    color: var(--text-light);
}

.testimonial-cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ============================================
   FAQ
   ============================================ */

.faq-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-cat-btn {
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.faq-category-content {
    display: none;
}

.faq-category-content.active {
    display: block;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    border-left-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    background: linear-gradient(180deg, var(--bg-medium) 0%, var(--bg-light) 100%);
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 15px;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-tagline {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(143, 198, 219, 0.2);
    opacity: 0.8;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 20px;
        gap: 15px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 12px 15px;
        display: block;
        width: 100%;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }

    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Announcement */
    .announcement-title {
        font-size: 32px;
    }

    .announcement-text {
        font-size: 16px;
    }

    /* Sections */
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .cta-text {
        text-align: center;
    }

    .cta-icon {
        width: 70px;
        height: 70px;
    }

    .cta-icon svg {
        width: 35px;
        height: 35px;
    }

    .cta-box h3 {
        font-size: 32px;
    }

    .cta-box p {
        font-size: 16px;
    }

    .btn-cta-large {
        padding: 15px 35px;
        font-size: 16px;
    }

    /* Mission & Vision */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Testimonials */
    .testimonials-container {
        padding: 0 40px;
    }
    
    .testimonial-card {
        flex: 0 0 auto;
        min-width: 280px;
        max-width: calc(100vw - 120px);
        width: 100%;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .testimonial-cta {
        padding: 30px 20px;
    }
    
    .testimonial-cta h3 {
        font-size: 22px;
    }

    /* FAQ */
    .faq-cat-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .announcement-title {
        font-size: 28px;
    }

    .cta-box {
        padding: 30px 20px;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
    }

    .cta-icon svg {
        width: 30px;
        height: 30px;
    }

    .cta-box h3 {
        font-size: 26px;
    }

    .cta-box p {
        font-size: 15px;
    }

    .btn-cta-large {
        padding: 14px 30px;
        font-size: 15px;
    }

    .testimonials-container {
        padding: 0 30px;
    }

    .testimonial-card {
        min-width: 260px;
        max-width: calc(100vw - 100px);
    }

    .testimonial-nav {
        width: 35px;
        height: 35px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .whatsapp-float,
    .nav,
    .hero-buttons,
    .cta-box,
    .footer {
        display: none;
    }
}

/* ============================================
   PLANES Y PRECIOS
   ============================================ */

.planes-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 80px 0;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 32px;
    align-items: start;
}

.plan-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px 28px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(143,198,219,0.3);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card--single {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.plan-card--featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(10,52,66,0.18);
}

.plan-card--single .plan-badge {
    top: -12px;
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3em 1.2em;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 0.25em 0.9em;
    margin-bottom: 0.8rem;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.plan-price {
    margin-bottom: 0.75rem;
}

.plan-desde {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.plan-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.plan-period {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-left: 4px;
}

.plan-ideal {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--bg-medium);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.plan-features li {
    font-size: 0.93rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.plan-check {
    color: #25a85a;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-card > a {
    margin-top: auto;
}

.btn-plan-primary {
    display: block;
    width: 100%;
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.85rem 0;
    font-weight: 700;
    font-size: 0.98rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    cursor: pointer;
}

.btn-plan-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-plan-featured {
    display: block;
    width: 100%;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    padding: 0.85rem 0;
    font-weight: 700;
    font-size: 0.98rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-plan-featured:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.planes-nota {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 8px;
}

.planes-nota a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* FAQ categorías */
.faq-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
}

.faq-cat-btn {
    background: var(--bg-light);
    border: 2px solid transparent;
    color: var(--text-gray);
    border-radius: 24px;
    padding: 0.5rem 1.3rem;
    font-size: 0.93rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.faq-cat-btn.active,
.faq-cat-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* CTA box */
.btn-cta-large {
    font-size: 1.1rem;
    padding: 16px 42px;
}

@media (max-width: 640px) {
    .planes-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .plan-card--featured {
        order: 0;
    }
}

/* ============================================
   BANNER IRPF ESTACIONAL
   ============================================ */

.irpf-banner {
    background: linear-gradient(135deg, #b85c00 0%, #e07b00 60%, #f0a000 100%);
    padding: 28px 0;
    border-bottom: 3px solid rgba(0,0,0,0.1);
}

.irpf-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.irpf-banner-text {
    flex: 1;
    min-width: 220px;
}

.irpf-badge {
    display: inline-block;
    background: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 0.25em 0.9em;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255,255,255,0.35);
}

.irpf-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.irpf-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.btn-irpf {
    display: inline-block;
    background: #fff;
    color: #b85c00;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
    animation: pulse-irpf 2.4s infinite;
}

.btn-irpf:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    background: #fff8f0;
    animation: none;
}

@keyframes pulse-irpf {
    0%, 100% { box-shadow: 0 4px 18px rgba(0,0,0,0.18); }
    50%       { box-shadow: 0 4px 28px rgba(0,0,0,0.32), 0 0 0 6px rgba(255,255,255,0.15); }
}

@media (max-width: 640px) {
    .irpf-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .irpf-title {
        font-size: 1.1rem;
    }
    .btn-irpf {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   CÓMO TRABAJAMOS — PROCESO MEJORADO
   ============================================ */

.como-trabajamos-section {
    background: var(--primary-color);
    padding: 80px 0;
}

.como-trabajamos-section .section-title {
    color: #fff;
}

.como-trabajamos-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.como-trabajamos-section .highlight {
    color: var(--secondary-color);
    background: none;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    margin-top: 48px;
    position: relative;
}

.proceso-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.proceso-num {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(143,198,219,0.18);
    margin-bottom: 0;
}

.proceso-linea {
    width: 2px;
    height: 28px;
    background: rgba(143,198,219,0.35);
    margin: 6px 0;
}

.proceso-linea--last {
    opacity: 0;
}

/* Línea horizontal en desktop entre pasos */
@media (min-width: 769px) {
    .proceso-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
    .proceso-step {
        position: relative;
    }
    .proceso-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 27px;
        left: calc(50% + 27px);
        right: calc(-50% + 27px);
        height: 2px;
        background: rgba(143,198,219,0.35);
        z-index: 0;
    }
    .proceso-linea {
        display: none;
    }
}

.proceso-content {
    margin-top: 16px;
}

.proceso-cuando {
    display: inline-block;
    background: rgba(143,198,219,0.15);
    border: 1px solid rgba(143,198,219,0.3);
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 0.2em 0.8em;
    margin-bottom: 0.6rem;
}

.proceso-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.proceso-content p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
}

@media (max-width: 768px) {
    .proceso-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        gap: 0;
    }
    .proceso-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 18px;
        padding: 0;
        margin-bottom: 8px;
    }
    .proceso-num {
        flex-shrink: 0;
        margin-top: 2px;
    }
    .proceso-linea {
        display: none;
    }
    .proceso-content {
        margin-top: 0;
    }
}

/* ============================================
   FAQ — VERSIÓN MEJORADA CON FLECHA
   ============================================ */

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--bg-medium);
}

.faq-item:first-child {
    border-top: 1px solid var(--bg-medium);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.18s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-arrow {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    fill: var(--secondary-color);
    transition: transform 0.25s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.97rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Plan a medida - borde diferente */
.plan-card--medida {
    border-style: dashed;
    border-color: var(--secondary-color);
}
