/* ============================================
   Dana M. Busch DO, PC — Style System
   Palette: Deep Navy (#1A365D) + Warm Gold (#C8A45A)
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2D3748;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1A365D;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #C8A45A;
}

ul {
    list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.25;
    color: #1A365D;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1A365D;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C8A45A;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: #4A5568;
    max-width: 600px;
    margin: 0 auto;
}

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

.lead {
    font-size: 1.15rem;
    color: #4A5568;
    margin-bottom: 1.5rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: #C8A45A;
    color: #1A365D;
    border-color: #C8A45A;
}

.btn-primary:hover {
    background: #b8933f;
    border-color: #b8933f;
    color: #1A365D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 90, 0.35);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: #fff;
    color: #1A365D;
    border-color: #fff;
    transform: translateY(-2px);
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 54, 93, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1A365D;
}

.logo:hover {
    color: #1A365D;
}

.logo-icon {
    font-size: 1.5rem;
    color: #C8A45A;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #1A365D;
}

.logo-tagline {
    font-size: 0.7rem;
    color: #718096;
    letter-spacing: 0.05em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4A5568;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: #1A365D;
    background: rgba(26, 54, 93, 0.06);
}

.btn-nav {
    background: #1A365D;
    color: #fff !important;
    margin-left: 0.5rem;
}

.btn-nav:hover {
    background: #2a4a7f;
    color: #fff !important;
}

/* ── Mobile Nav Toggle ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: #1A365D;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 10px;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -7px;
    left: 0;
}

.hamburger::after {
    content: '';
    top: 7px;
    left: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1A365D;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.92) 0%,
        rgba(26, 54, 93, 0.75) 50%,
        rgba(26, 54, 93, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 8rem 1.5rem 5rem;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 164, 90, 0.15);
    border: 1px solid rgba(200, 164, 90, 0.4);
    color: #C8A45A;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    letter-spacing: 0.03em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C8A45A;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-headline em {
    color: #C8A45A;
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item svg {
    color: #C8A45A;
    flex-shrink: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── About Section ── */
.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(26, 54, 93, 0.15);
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #C8A45A;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-label {
    margin-bottom: 0.75rem;
}

.about-content .section-title {
    margin-bottom: 1.25rem;
}

.about-content > p {
    color: #4A5568;
    margin-bottom: 1rem;
}

.about-values {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 164, 90, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8A45A;
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    color: #1A365D;
    margin-bottom: 0.15rem;
}

.value-item span {
    font-size: 0.9rem;
    color: #718096;
}

/* ── Services Section ── */
.services {
    background: #F7F5F0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 54, 93, 0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.1);
    border-color: rgba(200, 164, 90, 0.3);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1A365D, #2a4a7f);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8A45A;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #1A365D;
}

.service-card p {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.65;
}

/* ── Patient Info Section ── */
.patient-info {
    background: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #F7F5F0;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-card:hover {
    border-color: rgba(200, 164, 90, 0.3);
    background: #fff;
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.08);
}

.info-step {
    width: 48px;
    height: 48px;
    background: #1A365D;
    color: #C8A45A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.info-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: #1A365D;
}

.info-card p {
    font-size: 0.9rem;
    color: #4A5568;
    line-height: 1.6;
}

.patient-cta {
    background: #1A365D;
    border-radius: 24px;
    padding: 3rem;
}

.patient-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.patient-cta-text h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.patient-cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.patient-cta-text a {
    color: #C8A45A;
    font-weight: 700;
}

.patient-cta-text a:hover {
    color: #d4b06a;
}

/* ── Insurance Section ── */
.insurance {
    background: #F7F5F0;
}

.insurance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.insurance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin-bottom: 1.5rem;
}

.insurance-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #4A5568;
    font-weight: 600;
}

.insurance-list svg {
    color: #C8A45A;
    flex-shrink: 0;
}

.insurance-note {
    font-size: 0.95rem;
    color: #4A5568;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #C8A45A;
}

.insurance-note a {
    font-weight: 700;
}

.insurance-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.insurance-card {
    background: #1A365D;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 360px;
}

.insurance-card svg {
    color: #C8A45A;
    margin-bottom: 1rem;
}

.insurance-card-label {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.insurance-card-sublabel {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Contact Section ── */
.contact {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(200, 164, 90, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8A45A;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1A365D;
    margin-bottom: 0.25rem;
}

.contact-detail p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-detail a {
    color: #1A365D;
    font-weight: 600;
}

.contact-detail a:hover {
    color: #C8A45A;
}

/* ── Contact Form ── */
.contact-form-wrap {
    background: #F7F5F0;
    border-radius: 24px;
    padding: 2.5rem;
}

.contact-form-header {
    margin-bottom: 1.5rem;
}

.contact-form-header h3 {
    font-size: 1.35rem;
    color: #1A365D;
    margin-bottom: 0.4rem;
}

.contact-form-header p {
    font-size: 0.9rem;
    color: #718096;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1A365D;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E2DED6;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: #2D3748;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C8A45A;
    box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A4A8;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    color: #48BB78;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    color: #1A365D;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #4A5568;
    margin-bottom: 0.5rem;
}

.success-alternate {
    font-size: 0.9rem !important;
    color: #718096 !important;
}

.success-alternate a {
    color: #C8A45A;
    font-weight: 700;
}

/* ── Map ── */
.map-section {
    height: 380px;
    background: #E2DED6;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Footer ── */
.site-footer {
    background: #1A365D;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    font-size: 1.25rem;
    color: #C8A45A;
}

.footer-logo-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    color: #fff;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C8A45A;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #C8A45A;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #C8A45A;
    font-weight: 600;
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-note {
    font-size: 0.75rem !important;
    max-width: 600px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .insurance-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image img {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    
    .main-nav a {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .btn-nav {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .hero-content {
        padding: 7rem 1.5rem 4rem;
    }
    
    .hero-headline {
        font-size: clamp(1.65rem, 6vw, 2.25rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-trust {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .patient-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .insurance-content {
        grid-template-columns: 1fr;
    }
    
    .insurance-list {
        grid-template-columns: 1fr;
    }
    
    .insurance-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 6rem 1rem 3rem;
    }
    
    .contact-form-wrap {
        padding: 1.5rem;
    }
    
    .patient-cta {
        padding: 2rem 1.5rem;
    }
}
