/* SmileBridgeDrill — Dental / Orthodontics Practice
   Visual direction: white #ffffff + clinical teal #0d7c6e + soft gray #f4f6f8
*/

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

:root {
  --teal:         #0d7c6e;
  --teal-dark:    #085a4f;
  --teal-mid:     #0e9082;
  --teal-light:   #14a896;
  --teal-pale:    #c8eee9;
  --teal-ultra:   #e8f8f6;
  --white:        #ffffff;
  --gray-50:      #f4f6f8;
  --gray-100:     #edf0f3;
  --gray-200:     #dde2e8;
  --gray-400:     #9ba7b2;
  --gray-600:     #5f7282;
  --gray-700:     #3d5166;
  --text-main:    #1a2733;
  --text-muted:   #5c6e7e;
  --radius-sm:    5px;
  --radius-md:    10px;
  --radius-lg:    18px;
  --shadow-sm:    0 1px 4px rgba(13,124,110,.07);
  --shadow-md:    0 4px 20px rgba(13,124,110,.12);
  --shadow-lg:    0 10px 40px rgba(13,124,110,.16);
  --font-sans:    'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition:   180ms ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text-main); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--alt  { background: var(--gray-50); }
.section--dark { background: var(--teal-dark); color: var(--white); }
.section-label { font-size: .77rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; color: var(--teal-dark); }
.section--dark .section-title { color: var(--white); }
.section-sub   { font-size: 1.04rem; color: var(--text-muted); margin-top: 14px; max-width: 620px; }
.section--dark .section-sub { color: rgba(255,255,255,.73); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: .94rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-mid); border-color: var(--teal-mid); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  box-shadow: 0 2px 10px rgba(13,124,110,.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo-mark {
  width: 36px; height: 36px; background: var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--white); font-weight: 700;
}
.nav__brand-name { font-size: 1.15rem; color: var(--teal-dark); font-weight: 700; letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a { color: var(--gray-600); font-size: .88rem; font-weight: 500; padding: 8px 13px; border-radius: var(--radius-sm); transition: var(--transition); }
.nav__links a:hover { color: var(--teal); background: var(--teal-ultra); }
.nav__cta { background: var(--teal) !important; color: var(--white) !important; font-weight: 700 !important; }
.nav__cta:hover { background: var(--teal-mid) !important; }

/* ── Hero ── */
.hero {
  background: linear-gradient(145deg, var(--teal-dark) 0%, var(--teal) 70%, #0e9080 100%);
  color: var(--white);
  padding: 88px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -10%; top: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 6px 14px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.hero__title { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 700; line-height: 1.16; margin-bottom: 20px; }
.hero__title em { color: var(--teal-pale); font-style: normal; }
.hero__sub { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 500px; margin-bottom: 34px; line-height: 1.72; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust-row { display: flex; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.hero__trust-chip { background: rgba(255,255,255,.12); border-radius: 20px; padding: 5px 12px; font-size: .78rem; color: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.2); }
.hero__card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { font-size: 1.15rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 6px; }
.hero__card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.6; }
.hero__form-group { margin-bottom: 12px; }
.hero__form-group label { display: block; font-size: .77rem; font-weight: 700; color: var(--gray-600); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .05em; }
.hero__form-group select, .hero__form-group input { width: 100%; padding: 10px 13px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: .92rem; background: var(--gray-50); color: var(--text-main); transition: var(--transition); }
.hero__form-group select:focus, .hero__form-group input:focus { outline: none; border-color: var(--teal); background: var(--white); }
.hero__card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.hero__card-hipaa { font-size: .72rem; color: var(--gray-400); margin-top: 12px; text-align: center; line-height: 1.5; }

/* ── Stats ── */
.stats { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 38px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { text-align: center; padding: 0 20px; border-right: 1px solid var(--gray-200); }
.stats__item:last-child { border-right: none; }
.stats__number { font-size: 2.3rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stats__label { font-size: .78rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* ── Services ── */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 26px; margin-top: 50px; }
.service-card {
  background: var(--white); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-pale); }
.service-card__icon { width: 50px; height: 50px; background: var(--teal-ultra); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.68; }
.service-card__disc { font-size: .75rem; color: var(--gray-400); margin-top: 10px; font-style: italic; }

/* ── Process ── */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.process-step { text-align: center; padding: 20px 14px; }
.process-step__num { width: 50px; height: 50px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; color: var(--white); margin: 0 auto 14px; }
.process-step h3 { font-size: .98rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.process-step p { font-size: .87rem; color: var(--text-muted); line-height: 1.65; }

/* ── Trust ── */
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 50px; }
.trust__list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.trust__list li { display: flex; gap: 14px; align-items: flex-start; }
.trust__check { width: 26px; height: 26px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: .72rem; color: var(--white); font-weight: 700; }
.trust__list-text strong { display: block; color: var(--teal-dark); font-weight: 600; margin-bottom: 3px; }
.trust__list-text span { font-size: .88rem; color: var(--text-muted); }
.trust__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust__badge { background: var(--gray-50); border-radius: var(--radius-md); padding: 20px; text-align: center; border: 1px solid var(--gray-200); }
.trust__badge-num { font-size: 1.6rem; font-weight: 700; color: var(--teal-dark); }
.trust__badge-label { font-size: .77rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.trust__disclaimer { font-size: .75rem; color: var(--gray-400); margin-top: 16px; font-style: italic; }

/* ── HIPAA notice band ── */
.hipaa-band { background: var(--teal-ultra); border-top: 1px solid var(--teal-pale); border-bottom: 1px solid var(--teal-pale); padding: 28px 0; }
.hipaa-band__inner { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.hipaa-item { flex: 1; min-width: 200px; }
.hipaa-item h4 { font-size: .8rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.hipaa-item p { font-size: .84rem; color: var(--gray-700); line-height: 1.62; }

/* ── Testimonials ── */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; margin-top: 50px; }
.testimonial-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); padding: 30px; }
.testimonial-card p { font-size: .93rem; color: rgba(255,255,255,.87); line-height: 1.72; font-style: italic; }
.testimonial-card__author { margin-top: 20px; }
.testimonial-card__name { font-weight: 700; color: var(--teal-pale); font-size: .92rem; }
.testimonial-card__detail { font-size: .79rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.stars { color: var(--teal-pale); font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ── CTA ── */
.cta-band { background: var(--teal); padding: 64px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__text h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--white); }
.cta-band__text p { font-size: 1rem; color: rgba(255,255,255,.82); margin-top: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--teal-dark); color: rgba(255,255,255,.6); padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer__brand-name { font-size: 1.1rem; color: var(--white); font-weight: 700; margin-bottom: 10px; }
.footer__tagline { font-size: .85rem; line-height: 1.6; max-width: 220px; }
.footer__col-title { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-pale); margin-bottom: 14px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer__links a:hover { color: var(--teal-pale); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .78rem; }
.footer__disc { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: 10px; line-height: 1.55; }

/* ── Contact / Form ── */
.contact-page { padding: 60px 0 80px; }
.contact-page__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md); border-top: 4px solid var(--teal); }
.form-card h2 { font-size: 1.85rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.form-card .lead { color: var(--text-muted); font-size: .95rem; margin-bottom: 30px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .79rem; font-weight: 700; color: var(--gray-600); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .04em; }
.form-group .req { color: var(--teal); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: .93rem; font-family: var(--font-sans); background: var(--gray-50); color: var(--text-main); transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(13,124,110,.13); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group .hint { font-size: .75rem; color: var(--text-muted); margin-top: 5px; }
.legal-notice { background: var(--teal-ultra); border: 1.5px solid var(--teal-pale); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; font-size: .83rem; color: var(--gray-700); line-height: 1.65; }
.legal-notice strong { color: var(--teal-dark); }
.consent-group { display: flex; gap: 12px; align-items: flex-start; }
.consent-group input[type=checkbox] { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; flex-shrink: 0; }
.consent-group label { font-size: .85rem; color: var(--gray-700); line-height: 1.55; font-weight: 400; text-transform: none; letter-spacing: 0; }
.submit-btn { width: 100%; margin-top: 10px; justify-content: center; font-size: 1rem; padding: 15px; }
#form-status { margin-top: 16px; padding: 14px; border-radius: var(--radius-sm); font-size: .88rem; display: none; }
#form-status.success { background: #edfbf0; border: 1px solid #7de0a0; color: #1a5c30; display: block; }
#form-status.error   { background: #fff0f0; border: 1px solid #f0a0a0; color: #7a1a1a; display: block; }
.contact-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 84px; }
.sidebar-card { background: var(--white); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-200); }
.sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 12px; }
.sidebar-card p, .sidebar-card li { font-size: .85rem; color: var(--text-muted); line-height: 1.62; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-card li::before { content: '✓ '; color: var(--teal); font-weight: 700; }
.page-hero { background: var(--teal-dark); padding: 50px 0 42px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; color: var(--white); }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,.72); margin-top: 10px; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.breadcrumb a { color: var(--teal-pale); }
.breadcrumb a:hover { text-decoration: underline; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; font-weight: 700; color: var(--teal-dark); margin: 38px 0 13px; }
.prose h3 { font-size: 1.02rem; color: var(--teal-dark); margin: 24px 0 10px; font-weight: 600; }
.prose p, .prose li { font-size: .95rem; color: var(--gray-700); line-height: 1.78; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stats__item:nth-child(2) { border-right: none; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-page__grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .process__grid { grid-template-columns: 1fr; }
}
