/* ═══════════════════════════════════════════
   Capital Dental & Vision — Global Styles
   Luxury Dark Theme | Gold Accents
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #3d3d3d;
    --gold: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #a68b4b;
    --cream: #faf9f6;
    --white: #ffffff;
    --text-light: #b8b8b8;
    --text-muted: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.7;
    font-weight: 300;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

img { display: block; max-width: 100%; }
a { transition: all 0.3s ease; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
.gold { color: var(--gold); }
.italic { font-style: italic; }

/* ── Header ── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.5rem 4rem; background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,169,98,0.1);
    transition: all 0.4s ease;
}
.header-container {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600;
    color: var(--white); text-decoration: none; letter-spacing: 1px;
}
.logo span { color: var(--gold); }
.logo small {
    display: block; font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--text-light); font-weight: 400; margin-top: 2px;
}
nav { display: flex; align-items: center; gap: 2.5rem; }
nav a {
    text-decoration: none; color: var(--text-light);
    font-size: 0.75rem; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; position: relative;
}
nav a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
nav a:hover, nav a.active { color: var(--gold); }
nav a:hover::after, nav a.active::after { width: 100%; }
.header-cta {
    color: var(--gold); text-decoration: none;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; padding: 0.65rem 1.75rem;
    border: 1px solid var(--gold); transition: all 0.4s;
    margin-left: 1rem;
}
.header-cta:hover { background: var(--gold); color: var(--black); }

/* Mobile Menu */
.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 5px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
    padding: 10rem 4rem 5rem; text-align: center;
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
}
.page-hero-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.2); }
.page-hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 100%);
    z-index: 1;
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-hero .hero-label {
    font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.page-hero .hero-label::before, .page-hero .hero-label::after {
    content: ''; width: 40px; height: 1px; background: var(--gold);
}
.page-hero h1 {
    font-size: 4rem; font-weight: 400; line-height: 1.1;
    margin-bottom: 1.5rem; letter-spacing: -1px;
}
.page-hero p {
    font-size: 1.1rem; color: var(--text-light);
    max-width: 600px; margin: 0 auto; font-weight: 300;
}

/* ── Buttons ── */
.btn {
    font-size: 0.8rem; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; text-decoration: none;
    padding: 1.25rem 3rem; transition: all 0.4s; display: inline-block;
}
.btn-primary { background: var(--gold); color: var(--black); border: 1px solid var(--gold); }
.btn-primary:hover {
    background: var(--gold-light); transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(201,169,98,0.2);
}
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold-outline { border: 1px solid var(--gold); color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--black); }

/* ── Section Helpers ── */
.section { padding: 7rem 4rem; }
.section-dark { background: var(--black); }
.section-charcoal { background: var(--charcoal); }
.section-container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.25rem; display: block;
}
.section-title { font-size: 3rem; font-weight: 400; color: var(--white); }
.section-subtitle {
    font-size: 1.05rem; color: var(--text-light); font-weight: 300;
    max-width: 650px; margin: 1rem auto 0;
}

/* ── Divider ── */
.divider { max-width: 1400px; margin: 0 auto; padding: 0 4rem; }
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,98,0.3), transparent); }

/* ── Split Image + Text ── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 550px; }
.split-image { position: relative; overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.split-section:hover .split-image img { transform: scale(1.03); }
.split-text { display: flex; align-items: center; padding: 4rem 5rem; }
.split-text-inner { max-width: 500px; }
.split-text h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.split-text p {
    color: var(--text-light); font-size: 1rem; margin-bottom: 2rem;
    font-weight: 300; line-height: 1.9;
}
.check-list { list-style: none; }
.check-list li {
    padding: 0.75rem 0; display: flex; align-items: center; gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 400;
}
.check-list li:last-child { border-bottom: none; }
.check-list .check { color: var(--gold); }

/* ── Features Grid ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.feature {
    padding: 2.5rem; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s; position: relative; overflow: hidden;
}
.feature::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.feature:hover {
    background: rgba(201,169,98,0.05);
    border-color: rgba(201,169,98,0.2); transform: translateY(-5px);
}
.feature:hover::before { opacity: 1; }
.feature-icon { font-size: 1.8rem; margin-bottom: 1.25rem; }
.feature h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 0.75rem; }
.feature p { color: var(--text-light); font-size: 0.9rem; font-weight: 300; }

/* ── Comparison Table ── */
.compare-table-wrapper { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 700px; }
.compare-table thead th {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 500; padding: 1.5rem 1.25rem;
    text-align: center; border-bottom: 2px solid var(--gold); color: var(--white);
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.popular { background: rgba(201,169,98,0.1); }
.popular-badge {
    display: inline-block; font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase;
    background: var(--gold); color: var(--black);
    padding: 0.3rem 0.75rem; margin-bottom: 0.5rem; font-weight: 600;
}
.compare-table tbody td {
    padding: 1.25rem; text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-light); font-weight: 300;
}
.compare-table tbody td:first-child { text-align: left; color: var(--white); font-weight: 400; }
.compare-table tbody td.popular-col { background: rgba(201,169,98,0.05); }
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.compare-table tbody tr:hover td.popular-col { background: rgba(201,169,98,0.08); }
.compare-table .row-label {
    font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
    color: var(--gold); padding-top: 2rem;
}
.compare-table .price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem; color: var(--gold); font-weight: 500;
}
.compare-table .price small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem; color: var(--text-light); font-weight: 300;
}
.compare-note {
    text-align: center; margin-top: 2rem;
    font-size: 0.8rem; color: var(--text-light); font-weight: 300; line-height: 1.8;
}

/* ── Plan Cards ── */
.plan-card {
    background: var(--charcoal); border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden; transition: all 0.4s;
}
.plan-card:hover {
    border-color: rgba(201,169,98,0.3); transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.plan-image { height: 250px; position: relative; overflow: hidden; }
.plan-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.plan-card:hover .plan-image img { transform: scale(1.05); }
.plan-image-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem;
    background: linear-gradient(transparent, rgba(10,10,10,0.95));
}
.plan-name { font-size: 2.5rem; font-weight: 500; }
.plan-provider { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.plan-body { padding: 2.5rem; }
.plan-features { list-style: none; margin-bottom: 2.5rem; }
.plan-features li {
    padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: flex-start; gap: 1rem;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features .check { color: var(--gold); font-size: 0.9rem; margin-top: 3px; }
.plan-features .text strong { display: block; font-weight: 500; margin-bottom: 0.25rem; }
.plan-features .text span { font-size: 0.85rem; color: var(--text-light); font-weight: 300; }
.btn-network {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 1.1rem 2rem; background: var(--gold); color: var(--black);
    text-decoration: none; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; transition: all 0.4s;
}
.btn-network:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── Image Banner ── */
.image-banner { height: 400px; position: relative; overflow: hidden; }
.image-banner img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }
.image-banner-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 2; text-align: center; padding: 2rem;
}
.image-banner-overlay blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; font-weight: 400; font-style: italic;
    color: var(--white); max-width: 800px;
}
.image-banner-overlay blockquote .gold { color: var(--gold); }

/* ── Info Cards ── */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.info-card {
    padding: 3rem; background: var(--charcoal);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s; text-align: center;
}
.info-card:hover { border-color: rgba(201,169,98,0.2); transform: translateY(-5px); }
.info-card-icon {
    font-size: 2.5rem; margin-bottom: 1.5rem;
}
.info-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }
.info-card p { color: var(--text-light); font-size: 0.9rem; font-weight: 300; line-height: 1.8; }

/* ── Stats Row ── */
.stats-row { display: flex; justify-content: center; gap: 5rem; padding: 4rem 2rem; }
.stat { text-align: center; }
.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem; font-weight: 400; color: var(--gold); line-height: 1;
}
.stat-label {
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-light); margin-top: 0.5rem;
}

/* ── CTA Section ── */
.cta-section {
    padding: 8rem 4rem; text-align: center;
    position: relative; overflow: hidden;
}
.cta-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.2); }
.cta-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(201,169,98,0.1) 0%, rgba(10,10,10,0.9) 70%);
    z-index: 1;
}
.cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-content h2 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.cta-content p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; font-weight: 300; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; }

/* ── Footer ── */
footer {
    padding: 5rem 4rem 3rem; background: var(--charcoal);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem; margin-bottom: 4rem;
}
.footer-brand .logo { margin-bottom: 1.5rem; display: block; }
.footer-brand p { color: var(--text-light); font-size: 0.9rem; font-weight: 300; line-height: 1.8; }
.footer-links h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
    color: var(--text-light); text-decoration: none;
    font-size: 0.85rem; font-weight: 300;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center;
}
.footer-disclaimer {
    color: var(--text-light); font-size: 0.75rem; font-weight: 300;
    max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.8;
}
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

/* ── Contact Specific ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info-card {
    padding: 3rem; background: var(--charcoal);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem; transition: all 0.4s;
}
.contact-info-card:hover { border-color: rgba(201,169,98,0.2); }
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 500; }
.contact-info-card p { color: var(--text-light); font-size: 0.95rem; font-weight: 300; line-height: 1.8; }
.contact-info-card a { color: var(--gold); text-decoration: none; }
.contact-info-card a:hover { color: var(--gold-light); }
.provider-links { display: flex; flex-direction: column; gap: 1.5rem; }
.provider-link {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 2rem; background: var(--charcoal);
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none; color: var(--white); transition: all 0.4s;
}
.provider-link:hover {
    border-color: rgba(201,169,98,0.3); transform: translateX(5px);
}
.provider-link .icon-circle {
    width: 60px; height: 60px; background: rgba(201,169,98,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0;
}
.provider-link h4 { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.25rem; }
.provider-link p { font-size: 0.85rem; color: var(--text-light); font-weight: 300; }

/* ── Procedure Coverage Lists ── */
.procedure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.procedure-category {
    padding: 2.5rem; background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
}
.procedure-category h3 {
    font-size: 1.3rem; font-weight: 500; margin-bottom: 0.5rem;
    color: var(--gold);
}
.procedure-category .count {
    font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 1.5rem; display: block;
}
.procedure-category ul { list-style: none; }
.procedure-category li {
    padding: 0.5rem 0; color: var(--text-light); font-size: 0.9rem; font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.procedure-category li:last-child { border-bottom: none; }

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.8s ease-out; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    header { padding: 1.25rem 2rem; }
    nav, .header-cta { display: none; }
    .mobile-toggle { display: flex; }
    .page-hero { padding: 8rem 2rem 4rem; }
    .page-hero h1 { font-size: 2.8rem; }
    .section { padding: 5rem 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .split-section { grid-template-columns: 1fr; }
    .split-image { height: 350px; }
    .split-image img { height: 100%; }
    .split-text { padding: 3rem 2rem; }
    .info-cards { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 2rem; }
    .cta-section { padding: 5rem 2rem; }
    .cta-content h2 { font-size: 2.5rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .image-banner { height: 300px; }
    .image-banner-overlay blockquote { font-size: 1.8rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .procedure-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2.5rem; }
    .compare-table thead th { font-size: 1rem; padding: 1rem 0.75rem; }
    .compare-table tbody td { padding: 1rem 0.75rem; font-size: 0.8rem; }
    .compare-table .price { font-size: 1.4rem; }
}
@media (max-width: 768px) {
    .page-hero h1 { font-size: 2.2rem; }
    .split-text h2 { font-size: 2rem; }
    .btn { width: 100%; max-width: 320px; text-align: center; }
}
