/* Wadas Dental & Associates — wadasdentistry.com
   Layout: one centered column (max 1120px); bands span full width, content sits on the column.
   Brand: logo violet + navy, Calibri (Carlito fallback). Single light theme by design. */
:root {
  --violet: #7653b3;
  --violet-deep: #5a3d93;
  --violet-soft: #ece6f6;
  --lilac-wash: #f6f3fb;
  --navy: #1d2757;
  --ink: #1a1e35;
  --muted: #565b74;
  --line: #dfd8ec;
  --paper: #fcfbfe;
  --white: #ffffff;
  --ok: #2f7a55;
  --font: Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --col: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 66ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 700; color: var(--violet); margin-bottom: .6rem; }
.lede { font-size: 1.28rem; color: var(--muted); }
.wrap { max-width: var(--col); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(48px, 8vw, 88px); }
.band.wash { background: var(--lilac-wash); }
.band.navy { background: var(--navy); color: #e9e7f5; }
.band.navy h2, .band.navy h3 { color: var(--white); }
.band.navy a { color: #d9ccf3; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-deep); color: var(--white); }
.btn-ghost { border-color: var(--violet); color: var(--violet-deep); background: transparent; }
.btn-ghost:hover { background: var(--violet-soft); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand-name { font-weight: 700; font-size: 1.15rem; line-height: 1.05; }
.brand-name small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 8px; font-size: 1rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--violet-soft); color: var(--navy); }
.header-phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; font-size: 1.05rem; }
.menu { display: none; }
@media (max-width: 980px) {
  .nav, .site-header .btn-primary.header-cta { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--navy); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: flex; }
  .menu-panel { display: none; flex-direction: column; position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 230px; box-shadow: 0 12px 30px rgba(29,39,87,.14); }
  .menu-panel a { padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 8px; }
  .menu-panel a:hover { background: var(--violet-soft); }
}
@media (max-width: 560px) { .header-phone { font-size: .95rem; } .brand-name small { display: none; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--white), var(--lilac-wash)); padding-block: clamp(40px, 7vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 24px 48px rgba(29,39,87,.18); }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--white); border-radius: 12px; padding: 10px 14px; font-size: .95rem; box-shadow: 0 8px 20px rgba(29,39,87,.15); max-width: calc(100% - 32px); }
.hero-photo figcaption strong { display: block; color: var(--navy); }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 1rem; }
.hero .facts li::before { content: "✓"; color: var(--violet); font-weight: 700; margin-right: 6px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { max-width: 420px; } }

/* Notice: the two Wadas names */
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--violet); border-radius: 12px; padding: 18px 20px; }
.notice img { width: 40px; flex: none; }
.notice p { margin: 0; max-width: none; }
.notice strong { color: var(--navy); }

/* Grids & cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { font-size: 1.02rem; color: var(--muted); margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 1rem; }
.section-head { margin-bottom: 32px; }

/* Doctors */
.doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.doc img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; }
.doc-body { padding: 20px 22px 24px; }
.doc-tag { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--violet); }
.doc h3 { margin: 4px 0 8px; }
.doc p { font-size: 1rem; color: var(--muted); margin: 0; }

/* Membership */
.plan { background: var(--white); border-radius: 18px; padding: 28px; border: 2px solid var(--violet); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--violet-soft); border: 2px solid var(--violet); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: .52em; width: 6px; height: 9px; border: solid var(--violet-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Visit / hours */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours th { color: var(--ink); }
.hours td { text-align: right; color: var(--navy); font-weight: 700; }
.hours tr.closed td { color: var(--muted); font-weight: 400; }
.big-phone { font-size: 1.9rem; font-weight: 700; color: var(--navy); text-decoration: none; }

/* Quotes */
.quote { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); margin: 0; }
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote cite { font-style: normal; color: var(--violet-deep); font-weight: 700; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 66px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps strong { color: var(--navy); display: block; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 32px); box-shadow: 0 16px 40px rgba(29,39,87,.08); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 1rem; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px var(--violet-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .92rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.small { font-size: .92rem; color: var(--muted); }
.callout { background: var(--violet-soft); border-radius: 12px; padding: 18px 20px; }
.callout p:last-child { margin-bottom: 0; }
.alert { background: #fff4f2; border: 1px solid #f0c8bf; border-radius: 12px; padding: 16px 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #d6d5ea; padding-block: 48px 28px; font-size: 1rem; }
.site-footer a { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-brand { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; }
.footer-brand img { width: 120px; height: auto; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 18px; font-size: .88rem; color: #b9b8d3; }

/* Mobile call bar (landing pages) */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; background: var(--white); border-top: 1px solid var(--line); padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
  .callbar .btn { flex: 1; justify-content: center; }
  body.has-callbar { padding-bottom: 76px; }
}
@media (max-width: 700px) {
  .site-header .wrap > .btn-primary { display: none; }
  .callbar .btn { white-space: nowrap; font-size: 1rem; padding: .8em 1em; }
}

/* Office photography */
.photo-wide, .photo-tall { margin: 0; }
.photo-wide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 35%; border-radius: 18px; }
.photo-tall img { width: 100%; max-width: 520px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; margin: 8px 0 24px; }
@media (max-width: 620px) { .photo-wide img { aspect-ratio: 3 / 2; } }
