/* ==========================================================================
   Angel Aligner - Smile Evolution Branding Styles
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary-blue: #0094d8;
    --prestige-gold: #be8b34;
    --kid-green: #b7ce38;
    --kid-yellow: #fac017;
    
    /* Layout Colors (Lounge Atmosphere) */
    --bg-light: #f4f4f4; /* Soft grey/beige feel */
    --bg-white: #ffffff;
    --text-dark: #2a2a2a;
    --text-light: #666666;
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    
    /* UI Elements */
    --border-radius: 12px;
    --border-radius-pill: 50px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 148, 216, 0.15);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.gold-text {
    color: var(--prestige-gold);
}

.highlight-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    background-color: rgba(190, 139, 52, 0.1);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    display: inline-block;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 148, 216, 0.2);
}

.btn-primary:hover {
    background-color: #007eb8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: rgba(0, 148, 216, 0.05);
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    background-color: var(--bg-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

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

.badge {
    background-color: var(--prestige-gold);
    color: white;
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-details {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-blue);
}

.hero-details p {
    margin-bottom: 0.5rem;
}

.hero-details p:last-child {
    margin-bottom: 0;
}

.hero-text .btn-primary {
    margin-left: 10px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Black and white filter for patients/environment as requested in branding */
.bw-filter {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.image-wrapper:hover .bw-filter {
    filter: grayscale(0%);
}

.badge-overlay {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: var(--prestige-gold);
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(190, 139, 52, 0.3);
}

/* ==========================================================================
   Smile Evolution Section
   ========================================================================== */

.smile-evolution {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: white;
}

.smile-evolution .section-title {
    color: white;
}

.smile-evolution .section-desc {
    color: rgba(255,255,255,0.9);
}

.smile-evolution strong {
    color: var(--prestige-gold);
}

/* ==========================================================================
   Programa (Accordion)
   ========================================================================== */

.programa {
    padding: 80px 0;
}

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

.accordion-item {
    background: white;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(0, 148, 216, 0.02);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.1, 0.8, 0.1, 1);
    background-color: white;
}

.schedule-list {
    list-style: none;
    padding: 0 30px 30px;
}

.schedule-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.schedule-list li:last-child {
    border-bottom: none;
}

.schedule-list strong {
    color: var(--primary-blue);
    display: inline-block;
    width: 130px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--prestige-gold);
    color: white;
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.target-audience {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 45px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.features li::before {
    content: '✓';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   Footer & Float Button
   ========================================================================== */

.footer {
    background-color: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid #ddd;
}

/* The Tagline / Seal from branding guide */
.smile-seal {
    display: inline-block;
    border: 2px solid var(--primary-blue);
    border-radius: 40px; /* Rounded corners for the "smiley" vibe */
    padding: 15px 30px;
    margin-bottom: 20px;
}

.smile-seal span {
    display: block;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.smile-seal span:last-child {
    font-size: 0.85rem;
    font-weight: 400;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-details {
        text-align: left;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
    
    .schedule-list strong {
        display: block;
        margin-bottom: 5px;
    }
}

/* ==========================================================================
   Contador Regresivo Styles
   ========================================================================== */

.countdown-container {
    background: #111111;
    color: white;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    display: inline-block;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(190, 139, 52, 0.4);
}

.countdown-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--prestige-gold);
    margin-bottom: 12px;
    font-weight: 600;
    text-align: left;
}

.countdown-grid {
    display: flex;
    justify-content: space-between;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.countdown-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-num {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    font-family: var(--font-primary);
}

.countdown-label {
    font-size: 0.7rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.countdown-finished {
    font-size: 1.2rem;
    color: var(--prestige-gold);
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
}

/* Responsiveness for Countdown */
@media (max-width: 576px) {
    .countdown-container {
        padding: 12px 15px;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .countdown-num {
        font-size: 1.6rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
}
