/* ========================================
   BLEU DENTISTRY — Global Styles
   Brand blue: #1e5fcc | Navy: #0a1628 | Gold: #c9a84c | Red: #dc2626
   ======================================== */

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

:root {
  --blue: #1e5fcc;
  --blue-light: #e8f0fe;
  --blue-lighter: #f0f6ff;
  --navy: #0a1628;
  --gold: #c9a84c;
  --red: #dc2626;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1200px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 1000; }
.header-top { background: var(--navy); color: var(--white); font-size: .85rem; padding: .4rem 0; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.header-top a { color: var(--gold); font-weight: 600; }
.header-top a:hover { color: var(--white); }
.header-main { padding: .75rem 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 44px; width: auto; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); padding: .25rem; }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a { padding: .5rem .75rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--gray-700); transition: all var(--transition); }
.main-nav a:hover, .main-nav a.active { background: var(--blue-light); color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7em; }
.nav-dropdown .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 240px; padding: .5rem; z-index: 100; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: .5rem .75rem; border-radius: 8px; font-size: .85rem; }
.header-cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue); color: var(--white) !important; padding: .6rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: .9rem; transition: all var(--transition); white-space: nowrap; }
.header-cta:hover { background: var(--navy); color: var(--white) !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ── Mobile Nav ── */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 1rem; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: .75rem 1rem; }
  .nav-dropdown .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; }
  .nav-dropdown:hover .dropdown-menu { display: block; }
  .header-cta { width: 100%; text-align: center; justify-content: center; margin-top: .5rem; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1a52b3; color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
.btn-secondary:hover { background: var(--blue-light); color: var(--blue); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b8943e; color: var(--white); transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #b91c1c; color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-phone { background: var(--navy); color: var(--white); font-size: 1.2rem; }
.btn-phone:hover { background: var(--blue); color: var(--white); }

/* ── Hero ── */
.hero { padding: 5rem 0 4rem; background: linear-gradient(135deg, var(--white) 0%, var(--blue-lighter) 100%); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue-light); color: var(--blue); padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ── Section Patterns ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }
.section-blue { background: var(--blue-lighter); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--gray-300); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header p { color: var(--gray-600); font-size: 1.1rem; margin-top: .75rem; }
.section-label { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: .5rem; }

/* ── Cards ── */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; transition: all var(--transition); }
.card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
.card h3 { margin-bottom: .75rem; font-size: 1.15rem; }
.card p { color: var(--gray-600); font-size: .95rem; margin-bottom: 1rem; }
.card-img { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; margin: -2rem -2rem 1.5rem; }
.card-img img { width: 100%; height: 200px; object-fit: cover; }

/* ── Trust Bar ── */
.trust-bar { padding: 2rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-bar .container { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: var(--gray-600); }
.trust-item strong { color: var(--navy); font-size: 1.1rem; }
.trust-item svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }

/* ── Two Column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 768px) {
  .two-col, .two-col-reverse { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy); background: var(--white); border: none; width: 100%; text-align: left; font-family: var(--font-body); transition: background var(--transition); }
.faq-question:hover { background: var(--gray-50); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--blue); transition: transform var(--transition); flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--gray-600); line-height: 1.7; }

/* ── Reviews / Testimonials ── */
.review-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem; }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .75rem; }
.review-text { font-style: italic; color: var(--gray-700); margin-bottom: 1rem; }
.review-author { font-weight: 600; color: var(--navy); font-size: .9rem; }

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--blue); line-height: 1; }
.stat-label { color: var(--gray-600); margin-top: .25rem; font-size: .95rem; }

/* ── CTA Banner ── */
.cta-banner { padding: 4rem 0; background: var(--blue); color: var(--white); text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-banner .btn-primary { background: var(--white); color: var(--blue); }
.cta-banner .btn-primary:hover { background: var(--gray-100); color: var(--navy); }
.cta-banner .btn-secondary { border-color: var(--white); color: var(--white); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,.15); }

/* ── Footer ── */
.site-footer { background: var(--navy); color: var(--gray-300); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 1rem; }
.footer-brand img { height: 36px; margin-bottom: .5rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--gray-300); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: .9rem; margin-bottom: .5rem; }
.footer-contact a { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; text-align: center; font-size: .8rem; color: var(--gray-500); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Service Page ── */
.service-hero { padding: 4rem 0 3rem; background: linear-gradient(135deg, var(--blue-lighter), var(--white)); }
.service-hero h1 { margin-bottom: 1rem; }
.service-hero p { font-size: 1.15rem; color: var(--gray-600); max-width: 680px; }
.service-content { padding: 3rem 0; }
.service-content h2 { margin: 2.5rem 0 1rem; }
.service-content h3 { margin: 2rem 0 .75rem; }
.service-content ul, .service-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.service-content li { margin-bottom: .5rem; color: var(--gray-700); }

/* ── Blog ── */
.blog-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: var(--navy); }
.blog-card-body h3 a:hover { color: var(--blue); }
.blog-meta { font-size: .8rem; color: var(--gray-500); margin-bottom: .75rem; }
.blog-card-body p { font-size: .9rem; color: var(--gray-600); }

/* ── Breadcrumb ── */
.breadcrumb { padding: 1rem 0; font-size: .85rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 .4rem; }

/* ── Landing Page Specific ── */
.lp-hero { padding: 3.5rem 0; text-align: center; }
.lp-hero h1 { font-size: clamp(1.8rem, 5vw, 2.75rem); margin-bottom: 1rem; }
.lp-hero p { font-size: 1.15rem; color: var(--gray-600); max-width: 600px; margin: 0 auto 2rem; }
.lp-hero-emergency { background: linear-gradient(135deg, #fef2f2, #fff); }
.lp-hero-emergency h1 { color: var(--red); }
.lp-phone-giant { font-family: var(--font-heading); font-size: clamp(2rem, 6vw, 3.5rem); color: var(--navy); font-weight: 700; display: block; margin-bottom: 1.5rem; }
.lp-phone-giant a { color: var(--navy); }

/* ── Contact Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--gray-300); border-radius: 8px; font-family: var(--font-body); font-size: 1rem; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,95,204,.15); }

/* ── Special Offer Banner ── */
.offer-banner { background: linear-gradient(135deg, var(--gold), #d4ad5a); color: var(--navy); padding: 1rem 0; text-align: center; font-weight: 600; }
.offer-banner a { color: var(--navy); text-decoration: underline; }

/* ── Process Steps ── */
.process-steps { counter-reset: step; }
.process-step { display: flex; gap: 1.5rem; margin-bottom: 2rem; align-items: flex-start; }
.process-step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; flex-shrink: 0; }
.process-step-content h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.process-step-content p { color: var(--gray-600); font-size: .95rem; margin-bottom: 0; }

/* ── Geo Page ── */
.geo-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.geo-map iframe { width: 100%; height: 350px; border: 0; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
