/* ============================================================
   Easy Dental Care Center, Norcross GA - Preview Rebuild
   Palette from their real logo: maroon + lime, slate support
   ============================================================ */

:root {
  --maroon: #8b1a3a;       /* their logo tooth badge */
  --maroon-700: #6d1430;   /* darker maroon */
  --maroon-50: #fbeef2;
  --lime: #b6c800;         /* their logo sonar arcs */
  --lime-600: #93a300;
  --slate: #376a8a;        /* their weebly template blue (support) */
  --slate-900: #1d3a4c;    /* deep slate for dark sections */
  --slate-50: #eef3f6;
  --cream: #f8f4ee;
  --paper: #ffffff;
  --ink: #24242a;
  --muted: #5f636b;
  --line: #e8e0d6;
  --shadow-sm: 0 2px 8px rgba(29,58,76,.06);
  --shadow: 0 18px 50px rgba(29,58,76,.12);
  --shadow-lg: 0 30px 80px rgba(29,58,76,.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(--maroon); text-decoration: none; transition: color .2s; }
a:hover { color: var(--maroon-700); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--slate-900); 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--slate { background: var(--slate-900); color: #dbe6ec; }
.section--slate h2, .section--slate 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(--maroon);
  margin-bottom: 14px;
}
.section--slate .eyebrow { color: var(--lime); }

/* ---------- 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(--maroon); color: #fff; box-shadow: 0 10px 26px rgba(139,26,58,.30); }
.btn--primary:hover { background: var(--maroon-700); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(139,26,58,.42); }
.btn--lime { background: var(--lime); color: var(--slate-900); }
.btn--lime:hover { background: var(--lime-600); color: var(--slate-900); transform: translateY(-2px); }
.btn--slate { background: var(--slate); color: #fff; }
.btn--slate:hover { background: var(--slate-900); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--slate-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--maroon); color: var(--maroon); }
.section--slate .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--slate .btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,244,238,.88);
  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,244,238,.97); }
.header .wrap { max-width: 1320px; }
.nav { display: flex; align-items: center; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; padding-right: 40px; }
.brand__mark { height: 42px; width: auto; flex: none; }
.brand__logo { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 20px; list-style: none; margin-right: 26px; }
.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(--lime); transition: width .25s; }
.nav__links a:hover, .nav__links a.active { color: var(--maroon); }
.nav__links a.active::after, .nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--slate-900); font-size: .95rem; }
.nav__phone:hover { color: var(--maroon); }
.nav__phone svg { color: var(--maroon); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--slate-900); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(52px, 8vw, 92px) 0 clamp(60px, 9vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--maroon-50); color: var(--maroon);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  margin-bottom: 22px;
}
.hero__badge svg { color: var(--lime-600); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--maroon); 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 .n { font-family: var(--serif); font-size: 1.9rem; color: var(--slate-900); 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, 520px); object-fit: cover; }
.hero__media::before {
  content: ""; position: absolute; inset: -28px -28px auto auto; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(182,200,0,.35), 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: #f5a623; font-size: .95rem; letter-spacing: 1px; }
.hero__chip strong { display: block; font-family: var(--serif); color: var(--slate-900); font-size: 1.05rem; }
.hero__chip span { font-size: .8rem; color: var(--muted); }

.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(--maroon-50), transparent 65%); border-radius: 50%;
}

/* ---------- Marquee strip ---------- */
.strip { background: var(--slate-900); color: #cfe0e7; 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(--lime); }

/* ---------- 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: rgba(182,200,0,.5); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--maroon-50); color: var(--maroon);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--slate-900); }
.card h3 a:hover { color: var(--maroon); }
.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(--lime-600); flex: none; margin-top: 3px; }
.section--slate .flist li { color: #cfe0e7; }
.section--slate .flist svg { color: var(--lime); }

/* 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; }

/* ---------- 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: #f5a623; 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(--slate-900); }
.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(--slate-900); display: block; }
.svc-list span { color: var(--muted); font-size: .92rem; }
.svc-list .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; margin-top: 8px; }

/* ---------- price tiles ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.price-tile { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 28px 24px; text-align:center; box-shadow: var(--shadow-sm); }
.price-tile .amt { font-family: var(--serif); font-size: 2.4rem; color: var(--maroon); line-height:1; }
.price-tile h3 { margin-bottom: 6px; }
.price-tile p { color: var(--muted); font-size: .9rem; margin: 10px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--maroon) 0%, var(--slate-900) 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(182,200,0,.4), transparent 70%); }

/* ---------- Page hero (inner) ---------- */
.phero { background: var(--slate-900); color: #dbe8ec; padding: clamp(60px, 9vw, 104px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.phero h1 { color: #fff; margin-bottom: 14px; }
.phero p { color: rgba(255,255,255,.80); max-width: 640px; }
.phero .eyebrow { color: var(--lime); }
.phero::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(139,26,58,.5), 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(--slate-900); 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(--maroon); box-shadow: 0 0 0 3px var(--maroon-50); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { display:none; background: var(--slate-50); border-left: 4px solid var(--lime); border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--slate-900); font-size:.95rem; }

/* ---------- 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(--maroon-50); color: var(--maroon); 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(--slate-900); 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(--maroon); transition: transform .25s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 24px 22px; color: var(--muted); }

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

/* ---------- Footer ---------- */
.footer { background: var(--slate-900); color: #aec2cc; 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: #aec2cc; display: block; margin-bottom: 10px; font-size: .95rem; }
.footer a:hover { color: var(--lime); }
.footer__brand img { height: 40px; margin-bottom: 14px; }
.footer__brand p { font-size: .93rem; color: #91a7b1; margin-top: 4px; }
.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: #7c94a0; }
.footer__bottom a { display: inline; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; background: var(--slate-900); 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 ---------- */
.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); }
  .price-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@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%); }
  .nav__phone { display: none; }
}
