/* EXPERT DENTAL UX - 10 YEAR VET DESIGN */

:root {
    /* Modern Premium Palette - Inspired by Smile Direct, Ro, Hims */
    --primary: #1e293b;      /* Deep Navy/Charcoal - professional, modern */
    --primary-light: #334155;
    --accent: #10b981;       /* Emerald Green - fresh, modern, healthy */
    --accent-light: #34d399;
    --success: #10b981;      /* Green for positive actions */

    /* Neutrals */
    --bg-main: #F9FAFB;      /* Clean, clinical off-white */
    --white: #FFFFFF;
    --gray-dark: #374151;
    --gray-light: #9CA3AF;
    --gray-border: #E5E7EB;

    /* Typography */
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Work Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-dark);
    background: var(--bg-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary);
}

a {
    color: var(--accent);
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER - STICKY CTA */

.header {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 2px solid var(--gray-border);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(27, 75, 94, 0.08);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    font-size: 18px;
}

.logo-text .logo-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo-text .logo-sub {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent);
}

.header-cta .btn-phone {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(27, 75, 94, 0.2);
}

.header-cta .btn-phone:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 129, 74, 0.3);
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-inner {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .logo-text .logo-name {
        font-size: 14px;
    }

    .logo-text .logo-sub {
        font-size: 10px;
    }

    .nav {
        display: none;
    }

    .header-cta .btn-phone {
        padding: 0.5rem 0.75rem;
        font-size: 11px;
        gap: 0.25rem;
        white-space: nowrap;
    }

    .header-cta .btn-phone i {
        font-size: 12px;
    }
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(27, 75, 94, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 129, 74, 0.3);
}

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

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

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 16px;
}

/* HERO - PAIN/EMERGENCY FOCUSED */

.hero {
    background: linear-gradient(135deg, var(--bg-main) 0%, rgba(27, 75, 94, 0.05) 100%);
    padding: 4rem 2rem;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 44px;
    margin-bottom: 1rem;
    line-height: 1.35;
}

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

.hero-subtitle {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-icon {
    font-size: 20px;
}

.trust-text {
    font-size: 13px;
    color: var(--gray-dark);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(27, 75, 94, 0.15);
}


@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}


/* TRUST SECTION */

.trust-section {
    background: var(--white);
    padding: 3.5rem 2rem;
    border-bottom: 1px solid var(--gray-border);
}

.trust-section h2 {
    font-size: 32px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-card {
    padding: 1.75rem;
    background: var(--bg-main);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.trust-card h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 0.75rem;
}

.trust-card p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* SERVICES */

.services {
    background: var(--white);
    padding: 3.5rem 2rem;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-light);
    margin-bottom: 2.5rem;
}

.service-category {
    margin-bottom: 3rem;
}

.service-category h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-main);
    padding: 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--gray-border);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(232, 129, 74, 0.1);
    transform: translateY(-2px);
}

.service-card h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 12px;
    color: var(--gray-light);
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-meta i {
    color: var(--accent);
}

/* WHY US */

.why-us {
    background: var(--bg-main);
    padding: 3.5rem 2rem;
}

.why-us h2 {
    font-size: 32px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.why-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 1rem;
}

.why-card h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* FAQ */

.faq {
    background: var(--white);
    padding: 3.5rem 2rem;
    border-top: 1px solid var(--gray-border);
}

.faq h2 {
    font-size: 32px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--gray-border);
    border-radius: 6px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: var(--white);
    padding: 1.25rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--gray-dark);
    transition: all 0.2s;
}

.faq-q:hover {
    background: var(--bg-main);
    color: var(--accent);
}

.faq-q i {
    transition: transform 0.3s;
}

.faq-item.open .faq-q {
    background: var(--bg-main);
    color: var(--primary);
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    padding: 1.25rem;
    background: var(--bg-main);
    border-top: 1px solid var(--gray-border);
    display: none;
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.7;
}

.faq-item.open .faq-a {
    display: block;
}

/* CONTACT */

.contact {
    background: var(--bg-main);
    padding: 3.5rem 2rem;
    border-top: 1px solid var(--gray-border);
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.contact-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--gray-border);
}

.contact-box h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-box h3 i {
    color: var(--accent);
    font-size: 20px;
}

.big-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.big-text a {
    color: var(--primary);
}

.small-text {
    font-size: 12px;
    color: var(--gray-light);
    margin-bottom: 0.75rem;
}

/* MAPS */

.maps-container {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--gray-border);
}

.maps-container h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.maps-container iframe {
    box-shadow: 0 4px 12px rgba(27, 75, 94, 0.1);
    transition: box-shadow 0.3s;
}

.maps-container iframe:hover {
    box-shadow: 0 8px 20px rgba(27, 75, 94, 0.15);
}

/* CTA FOOTER */

.cta-footer {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.cta-footer h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 0.5rem;
}

.cta-footer p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

/* FOOTER */

.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    font-size: 13px;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
    }

    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 14px;
        white-space: nowrap;
    }

    .btn-phone {
        font-size: 12px !important;
        padding: 0.625rem 1rem !important;
        white-space: nowrap;
    }

    .header-cta .btn-phone {
        font-size: 12px;
        padding: 0.625rem 1rem;
        white-space: nowrap;
    }

    .contact-box p {
        font-size: 13px;
        word-break: break-word;
    }

    .contact-box p strong {
        display: block;
    }

    .maps-container iframe {
        height: 300px !important;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }
}
