/* ============================================================
   BRIGHT SMILE DENTAL — DENTAL CLINIC TEMPLATE
   Light blue / teal, Plus Jakarta Sans, clean professional
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.05rem; font-weight: 700; }
p  { color: var(--text-muted); line-height: 1.78; }

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

/* Scroll Progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), #06b6d4);
  z-index: 1100; transition: width .1s linear;
}

/* Alert Bar */
.alert-bar {
  background: var(--primary-light);
  color: var(--primary-dark);
  text-align: center; padding: 9px 24px;
  font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* NAVBAR */
.navbar {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.1); }
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; gap: 40px;
}
.navbar-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.logo-sub { font-size: 0.48rem; color: var(--text-muted); letter-spacing: 3px; margin-top: 1px; text-transform: uppercase; }
.navbar-links { display: flex; list-style: none; gap: 28px; margin: 0 auto; }
.navbar-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; transition: color .2s;
}
.navbar-links a:hover { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.78rem; font-weight: 600; transition: color .2s;
}
.nav-phone:hover { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: all .2s; border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(8,145,178,.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-glow); }
.btn-lg { padding: 14px 28px; font-size: 0.9rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; inset: 0; top: 70px; z-index: 499;
  background: var(--bg); padding: 24px;
  border-top: 1px solid var(--border-subtle);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); text-decoration: none;
  font-size: 1rem; font-weight: 600;
  padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* Section */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-card); }
.section-header { text-align: center; margin-bottom: 56px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-sub { margin-top: 14px; font-size: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); background: var(--primary-glow);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 14px;
  border: 1px solid var(--border);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* HERO — split layout */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; }
.hero-left {
  display: flex; align-items: center;
  padding: 80px 64px 80px 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--bg) 100%);
}
.hero-right { position: relative; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 32px; left: 32px;
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.badge-title { font-size: 0.9rem; font-weight: 800; color: var(--text); }
.badge-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.hero-content { display: flex; flex-direction: column; gap: 22px; }
.eyebrow-pill {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; color: var(--primary);
  background: #fff; border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 100px;
  box-shadow: 0 2px 8px rgba(8,145,178,.1);
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem); color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1rem; color: var(--text-muted); max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 24px; padding-top: 24px;
  border-top: 1px solid var(--border-subtle); flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; }

/* Insurance Bar */
.insurance-bar {
  background: var(--surface); border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle); padding: 16px 0;
}
.insurance-bar .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.insurance-bar-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.insurance-list { display: flex; gap: 20px; flex-wrap: wrap; }
.insurance-item {
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  padding: 4px 12px; background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 6px;
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(8,145,178,.08); border-color: var(--border); transform: translateY(-2px); }
.service-icon {
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid;
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.service-title { font-size: 0.95rem; font-weight: 800; color: var(--text); }
.service-desc { font-size: 0.83rem; color: var(--text-muted); flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700; color: var(--primary);
  text-decoration: none; transition: gap .2s;
}
.service-link:hover { gap: 8px; }

/* Why Us */
.why-section { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--bg); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all .2s;
}
.why-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-color: var(--border); }
.why-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--primary-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.why-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--text); }
.why-card p { font-size: 0.84rem; }

/* Cosmetic */
.cosmetic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cosmetic-img-col { border-radius: 16px; overflow: hidden; }
.cosmetic-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.cosmetic-text-col { display: flex; flex-direction: column; gap: 20px; }
.cosmetic-text-col h2 { margin-top: 8px; }
.cosmetic-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.cosmetic-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff;
  font-size: 0.78rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: 0.9rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.cosmetic-step p { font-size: 0.83rem; }
.cosmetic-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cosmetic-tag {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  background: var(--accent); border: 1px solid #bbf7d0;
  padding: 5px 12px; border-radius: 100px;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 14px; overflow: hidden;
  transition: all .2s;
}
.team-card:hover { box-shadow: 0 4px 24px rgba(8,145,178,.1); }
.team-img-wrap { aspect-ratio: 3/4; overflow: hidden; }
.team-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-img { transform: scale(1.04); }
.team-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.team-name { font-size: 1rem; font-weight: 800; color: var(--text); }
.team-title { font-size: 0.76rem; color: var(--primary); font-weight: 700; }
.team-spec, .team-edu {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: 0.76rem; color: var(--text-muted); line-height: 1.4;
}

/* Insurance & Financing */
.providers-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 48px;
}
.provider-chip {
  background: var(--bg); border: 1px solid var(--border-subtle);
  border-radius: 8px; padding: 10px 20px;
  font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
}
.financing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.financing-card {
  background: var(--bg); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.financing-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-glow); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.financing-card h3 { font-size: 0.95rem; }
.financing-card p { font-size: 0.83rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.t-stars { display: flex; gap: 2px; }
.t-quote { font-size: 0.9rem; color: var(--text-muted); font-style: italic; flex: 1; line-height: 1.7; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.t-name { font-size: 0.85rem; font-weight: 800; color: var(--text); }
.t-detail { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* FAQ */
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg); border: 1.5px solid var(--border-subtle);
  border-radius: 10px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.88rem; font-weight: 700;
  color: var(--text); text-align: left;
}
.faq-q i { transition: transform .3s; flex-shrink: 0; color: var(--text-muted); }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 22px 18px; font-size: 0.86rem; }

/* Booking */
.book-section { background: linear-gradient(135deg, #f0f9ff 0%, var(--bg) 100%); }
.book-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.book-info { display: flex; flex-direction: column; gap: 20px; }
.book-info h2 { margin-top: 8px; }
.new-patient-offer {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent); border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 16px 18px;
}
.new-patient-offer strong { font-size: 0.9rem; color: var(--text); display: block; margin-bottom: 4px; }
.new-patient-offer p { font-size: 0.82rem; }
.book-hours { display: flex; flex-direction: column; gap: 2px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.83rem; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.hours-day { color: var(--text-muted); }
.hours-time { color: var(--text); font-weight: 700; }
.book-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 800; color: var(--primary); text-decoration: none;
  transition: color .2s;
}
.book-phone:hover { color: var(--primary-dark); }

.book-form-wrap {
  background: #fff; border: 1px solid var(--border-subtle);
  border-radius: 16px; padding: 36px;
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
}
.book-form h3 { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.3px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card); border: 1.5px solid var(--border-subtle);
  border-radius: 8px; padding: 11px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.86rem; color: var(--text);
  outline: none; transition: border-color .2s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group select { appearance: none; cursor: pointer; }
.form-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.74rem; color: var(--text-muted); margin-top: 12px; justify-content: center;
}

/* Contact */
.contact-section { background: var(--primary); padding: 48px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.15); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon i { color: #fff !important; }
.contact-item h4 { font-size: 0.78rem; font-weight: 800; color: rgba(255,255,255,.6); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: #fff; text-decoration: none; line-height: 1.5; }

/* Footer */
.footer { background: var(--bg-card); border-top: 1px solid var(--border-subtle); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { display: flex; align-items: center; gap: 6px; }
.footer-logo .logo-main { font-size: 1rem; font-weight: 800; color: var(--text); }
.footer-brand > p { font-size: 0.82rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 8px; }
.social-link {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; transition: all .2s;
}
.social-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }
.footer-col h4 { font-size: 0.7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); transition: all .3s; pointer-events: none;
  box-shadow: 0 4px 14px rgba(8,145,178,.3);
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 40px; }
  .hero-right { min-height: 400px; }
  .hero-right .hero-img { max-height: 500px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cosmetic-grid { grid-template-columns: 1fr; }
  .cosmetic-img-col { display: none; }
  .book-grid { grid-template-columns: 1fr; }
  .financing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .navbar-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .hero-left { padding: 40px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 16px; }
}
