/* ============================================================
   Atlanta Dentistry by Design, Preview Rebuild
   Design system: warm, premium, family-practice modern
   ============================================================ */

:root {
  /* Palette inherited from Atlanta Dentistry by Design's existing brand:
     navy wordmark (#00306c) + gold accent (#fcbf49) + silver tooth mark */
  --navy: #07294d;        /* their deep navy, darkened for dark sections */
  --teal: #0a3a6b;        /* their primary brand navy (the "primary") */
  --teal-700: #072e54;    /* deeper brand tone */
  --teal-50: #e7eef6;
  --gold: #c8890d;        /* their gold accent, deepened for AA contrast on white */
  --gold-soft: #fef6e3;   /* soft gold tint */
  --cream: #f7fafc;       /* cool paper background */
  --paper: #ffffff;
  --ink: #20242b;
  --muted: #5d636b;
  --line: #e3e7ec;
  --shadow-sm: 0 2px 8px rgba(7, 41, 77, .06);
  --shadow: 0 18px 50px rgba(7, 41, 77, .12);
  --shadow-lg: 0 30px 80px rgba(7, 41, 77, .18);
  --r: 18px;
  --r-lg: 28px;
  --max: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--muted); line-height: 1.6; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tint { background: var(--paper); }
.section--navy { background: var(--navy); color: #dfeaec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(198,154,85,.35); }
.btn--primary:hover { background: #d8ae67; color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(198,154,85,.45); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--navy .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,239,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: var(--shadow-sm); background: rgba(248,245,239,.96); }
.header .wrap { max-width: 1320px; }
.nav { display: flex; align-items: center; height: 86px; }
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; padding-right: 40px; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: clamp(.96rem, 2vw, 1.08rem); color: var(--navy); display: block; white-space: nowrap; line-height: 1.08; }
.brand__sub { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
@media (max-width: 560px){ .nav__phone { display: none; } }
@media (max-width: 400px){ .brand__name { font-size: .9rem; } .brand__sub { display: none; } }
.nav__links { display: flex; align-items: center; gap: 22px; list-style: none; margin-right: 28px; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .92rem; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav__links a:hover, .nav__links a.active { color: var(--teal); }
.nav__links a.active::after, .nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
/* Phone lives in the hero, contact page, footer and mobile call bar, kept out of the top bar to keep it clean */
.nav__phone { display: none; }
.nav__phone:hover { color: var(--teal); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--teal-50); color: var(--teal-700);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--teal); font-style: italic; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero__trust div { }
.hero__trust .n { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); font-weight: 600; line-height: 1; }
.hero__trust .l { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; height: clamp(360px, 46vw, 540px); object-fit: cover; }
.hero__media::before {
  content: ""; position: absolute; inset: -28px -28px auto auto; width: 180px; height: 180px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%); z-index: -1; border-radius: 50%;
}
.hero__chip {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px; max-width: 250px;
}
.hero__chip .stars { color: var(--gold); font-size: .95rem; letter-spacing: 1px; }
.hero__chip strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }
.hero__chip span { font-size: .8rem; color: var(--muted); }

/* Hero Version B, full-bleed building/photo background */
.hero--cover { padding: 0; min-height: clamp(520px, 72vh, 720px); display: flex; align-items: center; }
.hero--cover .hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero--cover .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero--cover .hero__overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(1,48,66,.92) 0%, rgba(1,48,66,.78) 38%, rgba(1,48,66,.42) 68%, rgba(1,48,66,.12) 100%); }
.hero--cover .wrap { padding-top: 80px; padding-bottom: 80px; }
.hero--cover .hero__copy { max-width: 600px; }
.hero--cover h1, .hero--cover .lead { color: #fff; }
.hero--cover .lead { color: rgba(255,255,255,.9); }
.hero--cover .hero__trust .n { color: #fff; }
.hero--cover .hero__trust .l { color: rgba(255,255,255,.75); }
.hero--cover .hero__badge { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px); }
@media (max-width:720px){ .hero--cover .hero__overlay { background: linear-gradient(180deg, rgba(1,48,66,.85), rgba(1,48,66,.92)); } }

.blob-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.blob-bg::after {
  content: ""; position: absolute; top: -120px; left: -120px; width: 440px; height: 440px;
  background: radial-gradient(circle, var(--teal-50), transparent 65%); border-radius: 50%;
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--navy); color: #cfe0e2; padding: 16px 0; }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; font-weight: 500; font-size: .92rem; }
.strip__inner span { display: inline-flex; align-items: center; gap: 9px; }
.strip svg { color: var(--gold); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--teal-50); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* feature list */
.flist { list-style: none; display: grid; gap: 12px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.flist svg { color: var(--teal); flex: none; margin-top: 3px; }
.section--navy .flist li { color: #cfe0e2; }
.section--navy .flist svg { color: var(--gold); }

/* two-col feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; height: 100%; max-height: 480px; object-fit: cover; }

/* ---------- Team ---------- */
.team-card { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 3/3.5; overflow: hidden; background: var(--teal-50); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { padding: 22px 24px 26px; }
.team-card__body h3 { margin-bottom: 2px; }
.team-card__role { color: var(--teal); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.team-card__body p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--paper); border-radius: var(--r); padding: 30px 30px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); position: relative; height: 100%;
}
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 1.02rem; color: var(--ink); margin-bottom: 16px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--navy); }
.quote cite span { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }

/* ---------- Services detailed list ---------- */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; list-style: none; }
.svc-list li { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.svc-list strong { color: var(--navy); display: block; }
.svc-list span { color: var(--muted); font-size: .92rem; }
.svc-list .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 70px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(198,154,85,.4), transparent 70%); }

/* ---------- Page hero (inner) ---------- */
.phero { background: var(--navy); color: #dbe8ea; padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 84px); position: relative; overflow: hidden; }
.phero h1 { color: #fff; margin-bottom: 14px; }
.phero p { color: rgba(255,255,255,.78); max-width: 620px; }
.phero .eyebrow { color: var(--gold); }
.phero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(15,110,116,.55), transparent 65%); }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.85); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .86rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: .98rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-50); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Info / contact tiles ---------- */
.info-tile { display: flex; gap: 16px; align-items: flex-start; }
.info-tile__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; flex: none; }
.info-tile h3 { font-size: 1.1rem; margin-bottom: 3px; }
.info-tile p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--r); }

/* ---------- Accordion (FAQ) ---------- */
.acc { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.acc summary { cursor: pointer; padding: 20px 24px; font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--teal); transition: transform .25s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Pill tags ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--teal-50); color: var(--teal-700); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebfc3; padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: #aebfc3; display: block; margin-bottom: 10px; font-size: .95rem; }
.footer a:hover { color: var(--gold); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: .93rem; color: #93a6ab; margin-top: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7d9298; }
.footer__bottom a { display: inline; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; background: var(--navy); padding: 10px 14px; gap: 10px; box-shadow: 0 -6px 24px rgba(0,0,0,.2); }
.callbar .btn { flex: 1; justify-content: center; padding: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .split { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Switch to the mobile menu before the full nav can crowd */
@media (max-width: 1140px) {
  .nav { height: 76px; }
  .brand { margin-right: auto; padding-right: 16px; }
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: block; }
  .nav__cta { gap: 6px; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); padding: 22px 24px; gap: 20px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
    margin-right: 0;
  }
  .nav.open .nav__links a { font-size: 1.05rem; }
  .callbar { display: flex; }
  body { padding-bottom: 64px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__chip { left: 50%; transform: translateX(-50%); }
}
