/* ===========================================================
   Hilltop Family Dental — shared styles
   Palette: warm white · sage green · dusty pink
   Type: Sora (headings) + Plus Jakarta Sans (body)
   =========================================================== */
:root {
  --warm-white: #faf8f4;
  --cream: #f2ede5;
  --paper: #ffffff;
  --sage: #7f9a82;
  --sage-deep: #5c7560;
  --sage-soft: #e7efe7;
  --pink: #d6a3a3;
  --pink-deep: #c2898a;
  --pink-soft: #f7eae9;
  --ink: #2c382f;
  --slate: #66726a;
  --line: rgba(44, 56, 47, 0.10);
  --shadow: 0 20px 50px rgba(44, 56, 47, 0.10);
  --shadow-sm: 0 10px 30px rgba(44, 56, 47, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display { font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--sage); color: #fff; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: var(--pink-deep); }
.eyebrow.center::after { content: ''; width: 20px; height: 2px; border-radius: 2px; background: var(--pink-deep); }
.eyebrow.light { color: #fff; }
.eyebrow.light::before, .eyebrow.light.center::after { background: var(--pink); }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: 100px; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(127,154,130,0.4); }
.btn-pink { background: var(--pink); color: #4a2f30; }
.btn-pink:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--sage); color: var(--sage-deep); }
.btn-outline:hover { background: var(--sage); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--sage-deep); border-color: #fff; }
.btn-white { background: #fff; color: var(--sage-deep); }
.btn-white:hover { background: var(--sage-soft); transform: translateY(-2px); }

/* ===== top bar + nav ===== */
.topbar { background: var(--sage-deep); color: #e6efe6; font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .pill { background: rgba(255,255,255,0.14); padding: 3px 12px; border-radius: 100px; font-weight: 600; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } }

nav { position: sticky; top: 0; z-index: 100; background: rgba(250,248,244,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s ease; }
nav.scrolled { box-shadow: 0 6px 24px rgba(44,56,47,0.07); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.brand .mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); font-family: 'Plus Jakarta Sans',sans-serif; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 15.5px; color: var(--ink); position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -27px; height: 3px; width: 0; background: var(--pink); border-radius: 3px; transition: width 0.25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--sage-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-family: 'Sora',sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.nav-phone svg { color: var(--sage); }
@media (max-width: 980px) { .nav-links, .nav-phone span { display: none; } nav .wrap { height: 64px; } }

/* ===== hero ===== */
.hero { position: relative; overflow: hidden; background:
   radial-gradient(ellipse at 85% 15%, rgba(214,163,163,0.18), transparent 45%),
   radial-gradient(ellipse at 10% 90%, rgba(127,154,130,0.16), transparent 45%),
   var(--warm-white); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 80px 32px 90px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 20px 0 12px; }
.hero h1 .accent { color: var(--sage-deep); }
.hero .sub { font-family: 'Sora',sans-serif; font-weight: 600; font-size: 19px; color: var(--pink-deep); margin-bottom: 16px; }
.hero p.lead { font-size: 19px; color: var(--slate); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-meta .m { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--slate); }
.hero-meta .m svg { color: var(--sage); flex-shrink: 0; }
.hero-stars { color: var(--pink-deep); letter-spacing: 1px; }

.hero-art { position: relative; }
.hero-art .main { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.hero-art .main img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .float { position: absolute; left: -28px; bottom: 36px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.hero-art .float .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-art .float b { font-family: 'Sora',sans-serif; font-size: 16px; display: block; }
.hero-art .float span { font-size: 13px; color: var(--slate); }
.hero-art .badge { position: absolute; right: -18px; top: 26px; background: var(--pink); color: #4a2f30; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-sm); font-family: 'Sora',sans-serif; font-weight: 700; text-align: center; line-height: 1.1; }
.hero-art .badge b { font-size: 22px; display: block; }
.hero-art .badge span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero-art { max-width: 460px; } }

/* ===== sections ===== */
.sec { padding: 92px 0; }
.sec.cream { background: var(--cream); }
.sec.sage { background: var(--sage-soft); }
.sec-head { max-width: 640px; margin-bottom: 50px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 14px 0 12px; }
.sec-head p { color: var(--slate); font-size: 18px; }

/* page banner */
.banner { position: relative; overflow: hidden; color: #fff; background: var(--sage-deep); }
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,56,47,0.55), rgba(44,56,47,0.78)); }
.banner .wrap { position: relative; z-index: 2; padding: 80px 32px; }
.banner h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); margin: 12px 0 10px; }
.banner p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 56ch; }
.crumbs { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 14px; }
.crumbs a:hover { color: #fff; }

/* ===== trust strip ===== */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 26px 32px; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-item .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--sage-soft); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item h4 { font-size: 15.5px; font-family: 'Sora',sans-serif; }
.trust-item p { color: var(--slate); font-size: 13px; line-height: 1.3; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* ===== services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--sage-soft); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-card:nth-child(even) .svc-ic { background: var(--pink-soft); color: var(--pink-deep); }
.svc-card h3 { font-size: 21px; margin-bottom: 8px; }
.svc-card p { color: var(--slate); font-size: 15.5px; }
.svc-card .tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--sage-deep); background: var(--sage-soft); padding: 4px 12px; border-radius: 100px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ===== split feature ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { width: 100%; border-radius: 26px; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow); }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 38px; } .split.rev .split-media { order: 0; } }

/* ===== insurance ===== */
.ins-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.ins-chip { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 28px; font-family: 'Sora',sans-serif; font-weight: 700; font-size: 17px; color: var(--slate); box-shadow: var(--shadow-sm); transition: transform 0.25s ease, color 0.25s ease; display: flex; align-items: center; gap: 10px; }
.ins-chip:hover { transform: translateY(-3px); color: var(--sage-deep); }
.ins-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.ins-note { text-align: center; margin-top: 26px; color: var(--slate); font-size: 15px; }

/* ===== team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member .photo { aspect-ratio: 1; overflow: hidden; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2,0.6,0.2,1); }
.member:hover .photo img { transform: scale(1.05); }
.member .info { padding: 24px; }
.member .info h3 { font-size: 21px; }
.member .info .role { color: var(--pink-deep); font-weight: 700; font-size: 14.5px; margin: 2px 0 10px; }
.member .info p { color: var(--slate); font-size: 14.5px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ===== reviews ===== */
.rev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-sm); }
.rev .stars { color: var(--pink-deep); letter-spacing: 2px; margin-bottom: 12px; }
.rev .quote { font-size: 16.5px; color: var(--ink); }
.rev .who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.rev .av { width: 46px; height: 46px; border-radius: 50%; background: var(--sage); color: #fff; font-family: 'Sora',sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rev .who b { display: block; font-family: 'Sora',sans-serif; font-size: 15px; }
.rev .who span { font-size: 13px; color: var(--slate); }
@media (max-width: 760px) { .rev-grid { grid-template-columns: 1fr; } }

/* ===== steps (new patients) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #fff; font-family: 'Sora',sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* download cards */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.dl:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.dl .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--pink-soft); color: var(--pink-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dl b { font-family: 'Sora',sans-serif; font-size: 15.5px; display: block; }
.dl span { font-size: 13px; color: var(--slate); }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: 'Sora',sans-serif; font-weight: 600; font-size: 18px; color: var(--ink); }
.faq-q .pm { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--sage-soft); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--pink); color: #4a2f30; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--slate); font-size: 16px; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 260px; padding-bottom: 22px; }

/* ===== CTA band ===== */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--sage-deep); }
.cta-band::before { content: ''; position: absolute; top: -120px; right: -100px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(214,163,163,0.4), transparent 70%); }
.cta-band .wrap { position: relative; z-index: 2; padding: 80px 32px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 50ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: start; }
.appt-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.af-field { display: flex; flex-direction: column; }
.af-field.full { grid-column: 1 / -1; }
.af-field label { font-weight: 600; font-size: 13.5px; color: var(--ink); margin-bottom: 7px; }
.af-field input, .af-field select, .af-field textarea { font-family: inherit; font-size: 15px; color: var(--ink); background: var(--warm-white); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border 0.2s, box-shadow 0.2s, background 0.2s; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus { outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 3px rgba(127,154,130,0.18); }
.af-field textarea { resize: vertical; min-height: 100px; }
.af-submit { width: 100%; justify-content: center; margin-top: 4px; }
.af-foot { text-align: center; font-size: 13px; color: var(--slate); margin-top: 14px; }
.af-success { display: none; text-align: center; padding: 24px; }
.af-success.show { display: block; }
.af-success .check { width: 66px; height: 66px; border-radius: 50%; background: var(--sage); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 18px; }
.af-success h3 { font-size: 26px; margin-bottom: 8px; }
.af-success p { color: var(--slate); }

.info-card { background: var(--sage-soft); border-radius: 24px; padding: 34px; }
.info-card h3 { font-size: 22px; margin-bottom: 20px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(44,56,47,0.1); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: #fff; color: var(--sage-deep); display: flex; align-items: center; justify-content: center; }
.info-row h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sage-deep); margin-bottom: 3px; }
.info-row p, .info-row a { color: var(--ink); font-size: 15.5px; }
.info-row a:hover { color: var(--sage-deep); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:last-child { color: var(--slate); }
.hours-list li.closed span:last-child { color: var(--pink-deep); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } .af-row { grid-template-columns: 1fr; } }

/* ===== footer ===== */
footer { background: var(--ink); color: #d7ded8; padding: 70px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot-brand .brand { color: #fff; }
.foot-brand .brand small { color: var(--pink); }
.foot-brand p { margin-top: 16px; font-size: 14.5px; color: #9eaea2; max-width: 34ch; }
.foot-col h5 { font-family: 'Sora',sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pink); margin-bottom: 16px; }
.foot-col a, .foot-col p { display: block; color: #d7ded8; font-size: 14.5px; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-phone { font-family: 'Sora',sans-serif; font-weight: 700; font-size: 21px; color: #fff; margin-bottom: 6px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; font-size: 13px; color: #87968a; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 34px; } .foot-brand { grid-column: 1 / -1; } }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2,0.6,0.2,1), transform 0.8s cubic-bezier(0.2,0.6,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
