/* =========================================================
   Ashburn Oral Surgeon: site styles
   Plain CSS, no build step. Colors and fonts live in the
   variables below, so one change re-themes the whole site.
   Signature shape: the arch (hero photo, closing CTA band).
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Young+Serif&display=swap');

:root {
  --brand:        #134e4a;   /* spruce: primary, links, buttons */
  --brand-dark:   #0c3532;   /* deep spruce: hovers, footer */
  --honey:        #f4c45a;   /* warm accent: key calls to action */
  --honey-dark:   #e5ae37;
  --ink:          #16302e;   /* body text */
  --ink-soft:     #4d6260;   /* secondary text */
  --line:         #d6e6e1;   /* hairlines / borders */
  --bg:           #ffffff;
  --bg-alt:       #eaf4f1;   /* mint wash for alternating sections */
  --bg-dark:      #0c3532;
  --max:          1160px;
  --radius:       16px;
  --font-head: 'Young Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .6em; color: var(--brand); }
h3 { font-size: 1.3rem; margin-bottom: .4em; }
p  { margin-bottom: 1rem; color: var(--ink-soft); max-width: 72ch; }
a  { color: var(--brand); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
p > .btn, .wrap > .btn { margin-top: 6px; margin-right: 10px; }

.muted { color: var(--ink-soft); font-size: .92rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 20px; max-width: var(--max); margin: 0 auto;
}
.nav__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); }
.nav__logo:hover { text-decoration: none; }
.nav__logo strong { font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; letter-spacing: -.01em; }
.nav__logo::before {
  content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f4c45a'%3E%3Cpath d='M7.5 3C5 3 3.5 5 3.5 7.6c0 2.2.9 3.6 1.6 5.4.6 1.7.8 3.6 1.2 5.5.3 1.4.9 2.5 1.9 2.5 1.3 0 1.6-1.6 1.9-3.3.3-1.6.7-3.2 1.9-3.2s1.6 1.6 1.9 3.2c.3 1.7.6 3.3 1.9 3.3 1 0 1.6-1.1 1.9-2.5.4-1.9.6-3.8 1.2-5.5.7-1.8 1.6-3.2 1.6-5.4C20.5 5 19 3 16.5 3c-1.9 0-2.9 1-4.5 1S9.4 3 7.5 3z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.nav__logo img { max-height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }

.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: -12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 260px; padding: 10px 0; box-shadow: 0 18px 40px rgba(12,53,50,.12);
}
/* invisible bridge so hover isn't lost moving into the submenu */
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none; }
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 9px 20px; font-size: .95rem; }
.dropdown a:hover { background: var(--bg-alt); color: var(--brand); }

.nav__call {
  background: var(--honey); color: var(--ink) !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700 !important;
}
.nav__call:hover { background: var(--honey-dark); text-decoration: none; }

.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--brand); }
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 8px 0; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 4px 0 4px 14px; min-width: 0; }
  .nav__toggle { display: block; }
  .nav__call { display: inline-block; margin-top: 6px; }
}

/* ---------- hero: copy on spruce, photo in an arch ---------- */
.hero { position: relative; color: #fff; background: var(--brand); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,53,50,.6), rgba(12,53,50,.85)); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 90px 20px; }
.hero__eyebrow { color: var(--honey); font-weight: 600; font-size: 1rem; letter-spacing: .01em; }
.hero h1 { color: #fff; margin: 12px 0 18px; max-width: 14ch; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.18rem; max-width: 44ch; }
.hero__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .btn:not(.btn--ghost), .cta-band .btn:not(.btn--ghost) { background: var(--honey); color: var(--ink); }
.hero .btn:not(.btn--ghost):hover, .cta-band .btn:not(.btn--ghost):hover { background: var(--honey-dark); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); }

@media (min-width: 901px) {
  .hero::after { display: none; }
  .hero::before { /* faint large arch behind the copy */
    content: ""; position: absolute; z-index: 0; left: -140px; bottom: -260px;
    width: 520px; height: 620px; border-radius: 260px 260px 0 0;
    background: rgba(255,255,255,.04);
  }
  .hero__media {
    left: auto; top: 64px; bottom: 0;
    right: max(20px, calc((100% - var(--max)) / 2 + 20px));
    width: min(42%, 480px);
  }
  .hero__media::before { /* honey outline arch, offset */
    content: ""; position: absolute; top: -22px; left: 22px; right: -22px; bottom: 0;
    border: 2px solid var(--honey); border-bottom: 0; border-radius: 260px 260px 0 0; opacity: .7;
  }
  .hero__media img {
    position: relative; border-radius: 260px 260px 0 0; object-position: 62% center;
    animation: arch-rise .9s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero__inner { min-height: 600px; display: flex; flex-direction: column; justify-content: center; padding: 100px 20px 110px; }
  .hero__inner > * { max-width: 52%; }
  .hero h1 { max-width: 15ch; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column-reverse; }
  .hero::after { display: none; }
  .hero__media { position: relative; inset: auto; height: 300px; margin: 0 20px; }
  .hero__media img { border-radius: 180px 180px 0 0; }
  .hero__inner { padding: 56px 20px 40px; width: 100%; }
}
@keyframes arch-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.82); }
.section__lead { max-width: 68ch; font-size: 1.1rem; }
.section__lead p { font-size: inherit; }
.center { text-align: center; }
.center .section__lead, .center p { margin-left: auto; margin-right: auto; }

/* full-width photo bands between sections */
.section > .wrap > img {
  width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%;
  border-radius: 28px !important;
}
@media (max-width: 600px) { .section > .wrap > img { aspect-ratio: 4 / 3; border-radius: 20px !important; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color .15s ease;
}
.card:hover { border-color: var(--brand); }
.section--alt .card { background: #fff; border-color: transparent; }
.section--alt .card:hover { border-color: var(--brand); }
.card h3 { color: var(--brand); }
.card p { flex: 1 0 auto; }
.card p:last-child { margin-bottom: 0; }
.card > a:last-child { margin-top: 4px; }

/* service / area link list: town chips with a pin */
.linklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
@media (max-width: 800px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .linklist { grid-template-columns: 1fr; } }
.linklist a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600;
  transition: border-color .15s ease, color .15s ease;
}
.linklist a::before {
  content: ""; width: 16px; height: 16px; flex: none; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.linklist a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* cost table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .98rem; }
th { background: var(--bg-alt); font-weight: 700; color: var(--brand); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; margin-bottom: 12px; }
.faq details[open] { border-color: var(--brand); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.15rem; padding: 18px 0; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-family: var(--font-body); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding-bottom: 18px; margin-bottom: 0; }

/* CTA band: spruce with an arch window */
.cta-band { position: relative; overflow: hidden; background: var(--brand); color: #fff; text-align: center; padding: 88px 20px; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 28px; bottom: 0; width: min(760px, 92%);
  transform: translateX(-50%); border-radius: 380px 380px 0 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(244,196,90,.35); border-bottom: 0;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); margin-left: auto; margin-right: auto; }
.cta-band .btn--ghost { color: #fff; border-color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- estimate / contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: 0 24px 50px rgba(12,53,50,.08); border-top: 6px solid var(--honey); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: #fbfdfc; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19,78,74,.15); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.8); padding: 64px 0 28px; border-top: 6px solid var(--honey); }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.15rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer p { max-width: none; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.82); font-size: .95rem; font-weight: 500; }
.site-footer a:hover { color: var(--honey); }
.site-footer .wc-phone { color: var(--honey); font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .86rem; color: rgba(255,255,255,.6); }
.footer-disclaimer { font-size: .84rem; color: rgba(255,255,255,.6); margin-top: 10px; line-height: 1.55; }

/* ---------- article pages (about, FAQ, team, legal) ---------- */
.article { max-width: 820px; }
.article h1 { margin-bottom: 16px; color: var(--brand); }
.article h2 { margin-top: 44px; }
.article h3 { margin-top: 28px; }
.article ul, .article ol { margin: 0 0 1rem 1.3em; color: var(--ink-soft); }
.article li { margin-bottom: .45rem; }
.article li::marker { color: var(--brand); }
.article__lead { font-size: 1.15rem; }
.article__date { margin-top: -4px; }
.faq-page h2 { font-size: 1.4rem; margin-top: 36px; }
.contact-list { list-style: none; margin: 22px 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.team-grid { margin-top: 24px; }
.team-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--honey); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.team-card .role { color: var(--brand); font-weight: 600; font-size: .92rem; margin-bottom: 8px; }

/* plain page titles (estimate, contact) get the serif brand color */
.split h1 { color: var(--brand); margin-bottom: 14px; }

/* phone link: stable hook for WhatConverts dynamic number insertion */
.wc-phone { font-weight: 700; }

/* Lead form status (Muse) */
.form-status { margin-top: 14px; font-size: .95rem; min-height: 1.2em; }
.form-status.success { color: #177245; font-weight: 600; }
.form-status.error { color: #b3261e; font-weight: 600; }
