/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #0054B8;
    /* Blue */
    --primary-dark: #004291;
    --secondary-color: #f05a22;
    /* Orange */
    --secondary-hover: #d44e1c;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-card: #FFFFFF;

    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #888888;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    /* Space for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER
   =================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.header-cta {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    transition: all 0.3s;
}

.header-cta:hover {
    background: var(--secondary-color);
    color: white;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: calc(100vh - 80px);
    /* Adjust for header */
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
    overflow: hidden;
    background: #000;
    /* Fallback */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlide 18s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
    background-image: url('fotos lp medico (1).jpg');
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
    background-image: url('fotos lp medico (2).jpg');
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
    background-image: url('fotos lp medico (3).jpg');
}

@keyframes heroSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
        transform: scale(1.05);
        /* Subtle scale */
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 84, 184, 0.85);
    /* Blue overlay as requested */
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Above overlay */
}

.hero-content {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.hero-title .highlight {
    color: #ff9166;
    /* Lighter orange for better contrast on blue */
    position: relative;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #E0E0E0;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
}

.hero-features {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #FFFFFF;
}

.feature-item svg path {
    stroke: #ff9166;
    /* Match highlight orange */
}

/* ===================================
   BUTTONS
   =================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 8px 16px rgba(240, 90, 34, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    background: var(--secondary-hover);
    box-shadow: 0 12px 24px rgba(240, 90, 34, 0.4);
}

.cta-button.secondary {
    background: #25d366;
    /* WhatsApp Green? No, user asked specific, sticking to standard CTA */
    background: var(--secondary-color);
    color: white;
    width: 100%;
    box-shadow: 0 8px 16px rgba(240, 90, 34, 0.3);
}

.cta-button.secondary:hover {
    transform: translateY(-2px);
    background: var(--secondary-hover);
    box-shadow: 0 12px 24px rgba(240, 90, 34, 0.4);
}

.cta-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

.cta-button.full-width {
    width: 100%;
}

/* ===================================
   FORM CARD
   =================================== */
.hero-form-wrapper {
    animation: fadeInUp 1s ease 0.2s backwards;
}

.form-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: #f4f6f8;
    border: 1px solid #e1e4e8;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all 0.3s;
    height: 52px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 84, 184, 0.1);
    background: white;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-security {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===================================
   SCROLL INDICATOR
   =================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
    opacity: 0.5;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* ===================================
   SECTION COMMONS
   =================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits {
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 84, 184, 0.1);
}

.benefit-icon {
    margin-bottom: var(--spacing-sm);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.benefit-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===================================
   NUMBERS SECTION
   =================================== */
.numbers {
    background: var(--bg-secondary);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.number-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.number-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.number-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.number-value::after {
    content: '+';
    font-size: 2.5rem;
    vertical-align: super;
}

.number-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.cta-container-center {
    text-align: center;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.author-avatar {
    display: none;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.author-rating {
    color: #FFD93D;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===================================
   WAITING PERIODS SECTION
   =================================== */
.waiting-periods {
    background: var(--bg-secondary);
}

.periods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.period-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
}

.period-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.period-time {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.period-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.period-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    color: #FFFFFF;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    min-width: 200px;
}

.whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .whatsapp-link {
        width: 100%;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 3rem 0;
    background: #f0f2f5;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 968px) {
    .main-header {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-hide {
        display: none;
    }

    .form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .testimonials-grid,
    .periods-grid,
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   CAROUSEL STYLES
   =================================== */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-container {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    width: auto;
    margin: 0 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.testimonial-card {
    /* Updates for Carousel */
    flex: 0 0 100%;
    max-width: 100%;
    /* Keep existing styles */
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===================================
   CALCULATOR STYLES
   =================================== */
.calculator {
    background: var(--bg-secondary);
    padding: var(--spacing-lg) 0;
}

.calculator-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gender-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.gender-btn {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.gender-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gender-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.calc-result {
    background: #f0f7ff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 0.5rem 0;
    border: 1px solid rgba(0, 84, 184, 0.2);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}


@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 10px);
        /* 2 items with 20px gap */
        max-width: calc(50% - 10px);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 14px);
        /* 3 items with 20px gap */
        max-width: calc(33.333% - 14px);
        padding: 2rem;
    }
}

.carousel-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

.state-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    color: white;
    background: #20BD5A;
}

.whatsapp-text {
    font-size: 1rem;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .floating-whatsapp {
        padding: 10px 16px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-text {
        font-size: 0.9rem;
    }
}

/* ===================================
   COMPREHENSIVE RESPONSIVE DESIGN
   =================================== */

/* Extra Small Devices (Portrait Phones, < 375px) */
@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .calculator-card {
        padding: 1.25rem;
    }

    .floating-whatsapp {
        padding: 8px 12px;
    }

    .whatsapp-text {
        font-size: 0.8rem;
    }
}

/* Small Devices (Landscape Phones, 375px - 640px) */
@media (min-width: 375px) and (max-width: 640px) {
    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .feature-item {
        width: 100%;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Medium Devices (Tablets, 641px - 968px) */
@media (min-width: 641px) and (max-width: 968px) {
    .container {
        padding: 0 32px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .header-cta {
        padding: 0.75rem 1.5rem;
    }
}

/* Large Devices (Desktops, 969px - 1199px) */
@media (min-width: 969px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Extra Large Devices (Large Desktops, 1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
}

/* Ultra Wide Devices (> 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Mobile-Specific Optimizations */
@media (max-width: 640px) {


    /* Typography */
    body {
        font-size: 0.9375rem;
        padding-top: 60px;
    }

    /* Header - Mobile Melhorado */
    .main-header {
        height: 60px;
        background: #FFFFFF;
        box-shadow: 0 2px 12px rgba(0, 84, 184, 0.08);
    }

    .logo {
        height: 28px;
    }

    .header-cta {
        padding: 0.5rem 0.875rem;
        font-size: 0.6875rem;
        font-weight: 700;
        background: var(--secondary-color);
        color: white;
        border: none;
        box-shadow: 0 2px 8px rgba(240, 90, 34, 0.25);
        white-space: nowrap;
    }

    .header-cta:hover {
        background: var(--secondary-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(240, 90, 34, 0.3);
    }

    /* Hero Section - Mobile Melhorado */
    .hero {
        grid-template-columns: 1fr;
        padding: 0;
        min-height: calc(100vh - 60px);
        display: flex;
        align-items: center;
    }

    .hero .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 84, 184, 0.92) 0%, rgba(0, 66, 145, 0.88) 100%);
    }

    .hero-tag {
        font-size: 0.6875rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        font-weight: 700;
        letter-spacing: 1px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        opacity: 0.95;
    }

    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        background: rgba(255, 255, 255, 0.15);
        padding: 0.5rem 1rem;
        border-radius: 50px;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.875rem;
        font-weight: 600;
    }

    .feature-item svg {
        width: 16px;
        height: 16px;
    }

    /* Form no Mobile */
    .hero-form-wrapper {
        margin-top: 2rem;
    }

    /* Form */
    .form-wrapper {
        padding: 1.75rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 84, 184, 0.15);
    }

    .form-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.875rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 1.5px solid #e1e4e8;
    }

    .form-group input:focus,
    .form-group select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(0, 84, 184, 0.1);
    }

    .cta-button.secondary {
        padding: 1rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(240, 90, 34, 0.25);
    }

    .mobile-hide {
        display: none;
    }

    /* Calculator */
    .calculator-card {
        padding: 1.5rem;
    }

    .gender-options {
        flex-direction: column;
    }

    .gender-btn {
        width: 100%;
    }

    .result-price {
        font-size: 2rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    /* Numbers */
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .number-value {
        font-size: 2.5rem;
    }

    /* Testimonials */
    .carousel-wrapper {
        padding: 0;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    /* Waiting Periods */
    .periods-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Spacing */
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 1.5rem 0;
    }

    section {
        padding: 2.5rem 0;
    }
}

/* Print Styles */
@media print {

    .main-header,
    .floating-whatsapp,
    .scroll-indicator,
    .carousel-btn {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .hero-background {
        display: none;
    }

    * {
        background: white !important;
        color: black !important;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    }

    .benefit-card,
    .calculator-card,
    .form-wrapper {
        border: 2px solid var(--primary-color);
    }
}