/* Cindy Tseng, DDS — Classic Calm
   Lora (serif heads) + Public Sans (body)
   cream / deep green / terracotta */

:root {
  --cream: #FAF7F1;
  --cream-deep: #F3ECE1;
  --sand: #E8DDCF;
  --sand-soft: #F0E9DD;
  --green: #1E4D44;
  --green-ink: #14332E;
  --terra: #C97D52;
  --terra-deep: #B36A41;
  --terra-soft: #F0DCCB;
  --ink: #26312C;
  --muted: #5F6E66;
  --hairline: rgba(38, 49, 44, 0.14);
  --serif: "Lora", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: var(--green); }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--green-ink); margin: 0; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terra);
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; font-family: var(--sans); font-weight: 600;
  font-size: 15.5px; letter-spacing: 0.01em; padding: 14px 26px;
  border-radius: 999px; background: var(--green); color: var(--cream);
  border: 1.5px solid var(--green); cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--green-ink); border-color: var(--green-ink); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: rgba(30, 77, 68, 0.07); color: var(--green); transform: translateY(-1px); }
.btn.light { background: var(--cream); color: var(--green-ink); border-color: var(--cream); }
.btn.light:hover { background: #fff; border-color: #fff; }
.btn.small { font-size: 14px; padding: 10px 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream); border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 18px; padding-bottom: 18px;
}
.logo {
  font-family: var(--serif); font-size: 23px; color: var(--green-ink);
  text-decoration: none; white-space: nowrap;
}
.logo span { color: var(--terra); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--terra-deep); }
.main-nav a.active { color: var(--terra-deep); border-bottom-color: var(--terra); }
.main-nav .nav-phone-link { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span { width: 22px; height: 2px; background: var(--green-ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.header-phone-icon { display: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--cream-deep); text-align: center; }
.page-hero .wrap {
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  padding-top: 72px; padding-bottom: 72px;
}
.page-hero h1 { font-size: 52px; line-height: 1.1; max-width: 880px; text-wrap: balance; }
.page-hero p { font-size: 17.5px; color: var(--muted); max-width: 640px; }

/* ---------- Sections ---------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section.tight { padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.section-head h2 { font-size: 38px; line-height: 1.15; }
.section-head.center { align-items: center; text-align: center; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--cream); border: 1px solid var(--hairline);
  border-radius: 20px; padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.card .num { font-family: var(--serif); font-size: 17px; color: var(--terra); }
.card h3 { font-size: 25px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .more { font-size: 14.5px; font-weight: 600; color: var(--green); text-decoration: none; margin-top: auto; }
.card .more:hover { color: var(--terra-deep); }
.card.on-deep { background: var(--cream); }

/* rule-top item (services detail, insurance blocks) */
.rule-item { border-top: 2px solid var(--terra); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.rule-item h3 { font-size: 21px; }
.rule-item p { font-size: 15px; color: var(--muted); }

/* dot bullet rows */
.dot-row { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--green-ink); }
.dot-row::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--terra); flex-shrink: 0; }

/* pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  font-size: 13.5px; font-weight: 600; color: var(--green-ink);
  background: var(--sand-soft); border-radius: 999px; padding: 8px 16px;
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.narrow-left { grid-template-columns: 440px 1fr; }
.split.narrow-right { grid-template-columns: 1fr 440px; }
.split.head-left { grid-template-columns: 380px 1fr; align-items: start; }

/* ---------- Imagery ---------- */
.photo { object-fit: cover; width: 100%; border-radius: 24px; }
.arch { border-radius: 200px 200px 28px 28px; }
.ph {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, rgba(38,49,44,0.07) 0 10px, rgba(38,49,44,0.035) 10px 20px);
  border: 1px dashed rgba(38, 49, 44, 0.3); border-radius: 24px;
}
.ph em {
  font-family: ui-monospace, "SF Mono", monospace; font-style: normal;
  font-size: 11px; letter-spacing: 0.04em; color: rgba(38,49,44,0.6);
  background: rgba(250,247,241,0.85); padding: 5px 10px; border-radius: 4px;
  text-align: center; max-width: 85%;
}
.map-embed { border: 0; width: 100%; height: 100%; border-radius: 24px; display: block; filter: saturate(0.75); }
.map-frame { border-radius: 24px; overflow: hidden; background: var(--sand-soft); }

/* ---------- Stars / reviews ---------- */
.stars { display: flex; gap: 2px; color: var(--terra); font-size: 14px; line-height: 1; letter-spacing: 2px; }
.review {
  border-radius: 20px; padding: 32px 30px; margin: 0;
  display: flex; flex-direction: column; gap: 16px; background: var(--cream-deep);
}
.review.alt { background: var(--sand-soft); }
.review.on-cream { background: var(--cream); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--ink); }
.review figcaption {
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--terra); margin-top: auto;
}

/* ---------- Bands ---------- */
.band-deep { background: var(--cream-deep); }
.band-sand { background: var(--sand-soft); }
.cta-band { background: var(--green); color: var(--cream); }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-top: 64px; padding-bottom: 64px;
}
.cta-band h2 { font-size: 34px; color: var(--cream); line-height: 1.15; }
.cta-band p { font-size: 16px; opacity: 0.8; margin-top: 8px; }

/* info callout */
.callout {
  background: var(--sand-soft); border-radius: 16px; padding: 18px 24px;
  font-size: 15px; color: var(--muted); line-height: 1.6;
}
.callout strong { color: var(--green-ink); font-weight: 700; }

/* hours table */
.hours { display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; max-width: 380px; font-size: 15px; }
.hours dt { font-weight: 600; color: var(--green-ink); margin: 0; }
.hours dd { color: var(--muted); margin: 0; }

/* form */
.form { display: flex; flex-direction: column; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea {
  font-family: var(--sans); font-size: 15px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--hairline);
  background: var(--cream); color: var(--ink); width: 100%;
}
.form input::placeholder, .form textarea::placeholder { color: #9AA6A0; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--terra); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }

/* download rows */
.dl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--cream); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 16px 20px; text-decoration: none; transition: border-color 0.15s ease;
}
.dl-row:hover { border-color: var(--terra); }
.dl-row span { font-size: 15px; font-weight: 600; color: var(--green-ink); }
.dl-row b { font-size: 18px; color: var(--terra); font-weight: 400; }

/* numbered step circles */
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 99px; flex-shrink: 0;
  background: var(--green); color: var(--cream);
  font-family: var(--serif); font-size: 20px;
}

/* breadcrumb */
.crumb { font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--terra-deep); }
.crumb b { color: var(--terra); font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-ink); color: var(--cream); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo { color: var(--cream); font-size: 24px; }
.footer-brand p { font-size: 14.5px; opacity: 0.7; max-width: 320px; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { font-size: 14.5px; color: var(--cream); opacity: 0.85; text-decoration: none; }
.footer-nav a:hover { opacity: 1; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; opacity: 0.85; text-align: right; }
.footer-contact a { color: var(--cream); text-decoration: none; }
.footer-base {
  border-top: 1px solid rgba(250, 247, 241, 0.15); padding-top: 20px;
  font-size: 13px; opacity: 0.55; display: flex; justify-content: space-between; gap: 16px;
}

/* ================= HOME-SPECIFIC ================= */
.home-hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.home-hero h1 { font-size: 58px; line-height: 1.08; }
.home-hero .lede { font-size: 18px; color: var(--muted); max-width: 520px; }
.home-hero-text { display: flex; flex-direction: column; gap: 26px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-social { display: flex; gap: 10px; align-items: center; }
.hero-social span { font-size: 14px; color: var(--muted); }
.hero-photo { position: relative; height: 560px; }
.hero-photo .backdrop { position: absolute; inset: 32px -24px -24px 32px; background: var(--sand); border-radius: 200px 200px 28px 28px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 200px 200px 28px 28px; }
.trust-strip { background: var(--cream-deep); }
.trust-strip .wrap { display: flex; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.welcome { text-align: center; }
.welcome .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 104px; padding-bottom: 104px; }
.welcome .statement { font-family: var(--serif); font-size: 24px; line-height: 1.6; color: var(--ink); max-width: 820px; }
.doc-card {
  position: absolute; left: 24px; bottom: -28px;
  background: var(--green); color: var(--cream); border-radius: 16px;
  padding: 18px 24px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 18px 40px rgba(20, 51, 46, 0.25);
}
.doc-card .name { font-family: var(--serif); font-size: 19px; }
.doc-card .cred { font-size: 13px; opacity: 0.8; }
.trang-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--sand-soft); border-radius: 18px; padding: 20px 24px;
}
.trang-card .ph { width: 76px; height: 76px; border-radius: 99px; flex-shrink: 0; }
.trang-card .name { font-family: var(--serif); font-size: 19px; color: var(--green-ink); }
.trang-card p { font-size: 14.5px; color: var(--muted); }

/* team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-card img, .team-card .ph { height: 300px; border-radius: 18px; object-fit: cover; width: 100%; }
.team-card .name { font-family: var(--serif); font-size: 20px; color: var(--green-ink); }
.team-card .role { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); }

/* contact page */
.contact-phone-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--green); color: var(--cream); border-radius: 20px;
  padding: 28px 32px; text-decoration: none;
}
.contact-phone-card .num { font-family: var(--serif); font-size: 27px; }
.contact-phone-card .sub { font-size: 14px; opacity: 0.8; }
.contact-phone-card .glyph { font-size: 28px; }
.info-tile { background: var(--cream-deep); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.info-tile .label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); }
.info-tile .val { font-size: 15.5px; font-weight: 600; color: var(--green-ink); }
.info-tile .sub { font-size: 14px; color: var(--muted); }
.form-panel { background: var(--sand-soft); border-radius: 24px; padding: 40px 40px 44px; display: flex; flex-direction: column; gap: 18px; }
.form-panel h2 { font-size: 28px; }
.form-panel .note { font-size: 14.5px; color: var(--muted); }

/* featured quote */
.featured-quote { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.featured-quote blockquote {
  font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.35;
  color: var(--green-ink); margin: 0; max-width: 940px; text-wrap: balance;
}
.featured-quote .who { font-size: 13.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .home-hero h1 { font-size: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .split.narrow-left, .split.narrow-right, .split.head-left { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .wrap { padding-left: 24px; padding-right: 24px; }

  /* header → hamburger */
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--hairline);
    padding: 8px 24px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
  .main-nav a.active { border-bottom-color: var(--hairline); }
  .main-nav .nav-phone-link { display: block; color: var(--terra-deep); font-weight: 600; border-bottom: none; }
  .hamburger { display: flex; }
  .header-phone-full { display: none; }
  .header-phone-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 99px;
    background: var(--green); color: var(--cream);
    text-decoration: none; font-size: 18px;
  }
  .header-actions { display: flex; gap: 10px; align-items: center; }
  .logo { font-size: 19px; }

  .page-hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 15px; }

  .section, .section.tight { padding-top: 52px; padding-bottom: 52px; }
  .section-head h2 { font-size: 28px; }

  .home-hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 48px; }
  .home-hero h1 { font-size: 36px; }
  .home-hero .lede { font-size: 16px; }
  .hero-photo { height: 340px; }
  .hero-photo .backdrop { inset: 20px -12px -12px 20px; border-radius: 160px 160px 20px 20px; }
  .hero-photo img { border-radius: 160px 160px 20px 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-social { justify-content: center; }

  .trust-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .dot-row { font-size: 13.5px; }
  .welcome .wrap { padding-top: 56px; padding-bottom: 56px; }
  .welcome .statement { font-size: 20px; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 26px 24px; }
  .card h3 { font-size: 21px; }
  .photo, .arch { height: auto; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .team-card img, .team-card .ph { height: 200px; }
  .team-card .name { font-size: 17px; }

  .cta-band .wrap { flex-direction: column; text-align: center; padding-top: 40px; padding-bottom: 40px; gap: 20px; }
  .cta-band h2 { font-size: 26px; }

  .footer-cols { flex-direction: column; gap: 24px; }
  .footer-contact { text-align: left; }
  .footer-nav { flex-wrap: wrap; gap: 10px 22px; }
  .footer-base { flex-direction: column; gap: 6px; }

  .form .row2 { grid-template-columns: 1fr; }
  .form-panel { padding: 26px 24px; }
  .featured-quote blockquote { font-size: 22px; }
  .hours { gap: 8px 20px; }

  .doc-card { padding: 14px 18px; }
  .doc-card .name { font-size: 17px; }
  .contact-phone-card { padding: 22px 24px; gap: 16px; }
  .contact-phone-card .num { font-size: 22px; }
}
