/* Vista Dental — myvistadental.ca — built by Stockwise Marketing */
@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
:root {
  --paper: #FAF8F4; --panel: #F1EDE4; --sky: #E4F0E5;
  --ink: #16211A; --ink-soft: #55645A;
  --green: #157A34; --green-deep: #0E5A26;
  --gold: #C29A4B; --gold-deep: #A87F33;
  --hairline: #D6D2C6; --night: #0D1811; --btn-fg: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2 {
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 600; line-height: 1.06; letter-spacing: 0;
  text-wrap: balance; margin: 0 0 0.5em;
}
h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; margin: 0 0 0.5em; font-size: 1.12rem; }
h1 { font-size: 2.7rem; }
h2 { font-size: 1.95rem; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.2rem; }
.eyebrow { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--green); margin: 0 0 1rem; font-weight: 700; }
.eyebrow::after { content: ""; display: inline-block; vertical-align: middle; height: 1px; background: var(--gold); width: 2.6rem; margin-left: 0.75rem; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--green); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 0; }

/* header */
.topbar { background: var(--night); color: #B9CBD4; font-size: 0.8rem; }
.topbar .wrap { display: flex; justify-content: center; gap: 0.6rem; padding: 0.45rem 1.2rem; flex-wrap: wrap; text-align: center; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.tb-more { display: none; }
.masthead { background: var(--paper); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--hairline); transition: box-shadow 0.25s ease; }
.masthead.raised { box-shadow: 0 8px 28px rgba(13, 24, 17, 0.14); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { display: block; height: 48px; width: auto; }
nav.primary { display: none; align-items: center; gap: 1.4rem; }
nav.primary a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 650; padding: 0.2rem 0; border-bottom: 2px solid transparent; }
nav.primary a:hover { color: var(--ink); }
nav.primary a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--green); color: var(--btn-fg);
  font: 700 0.93rem/1 inherit; font-family: inherit;
  padding: 0.95rem 1.6rem; border: 1px solid var(--green); border-radius: 8px; letter-spacing: 0.02em; max-width: 100%; text-align: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--btn-fg); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--sky); color: var(--green-deep); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #16211A; }
.btn.gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
nav.primary a.btn { color: var(--btn-fg); }
.menu-btn { display: flex; background: none; border: 0; cursor: pointer; padding: 0.5rem 0.2rem; width: 2.4rem; flex-direction: column; gap: 6px; align-items: stretch; }
.menu-btn i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--hairline); box-shadow: 0 18px 30px rgba(13, 24, 17, 0.16); padding: 0.4rem 0 1.3rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; text-decoration: none; color: var(--ink); font-size: 1.3rem; font-weight: 650; padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--hairline); }
.mobile-menu a.mm-cta { font-size: 0.95rem; font-weight: 700; color: var(--green); border-bottom: 0; padding-top: 1rem; }
.actionbar { display: grid; grid-template-columns: 1fr; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--hairline); transition: transform 0.25s ease; }
.actionbar.tucked { transform: translateY(110%); }
.actionbar a { text-align: center; text-decoration: none; padding: 0.95rem 0.5rem calc(0.95rem + env(safe-area-inset-bottom, 0px)); font-weight: 750; font-size: 0.95rem; letter-spacing: 0.03em; }
.actionbar .ab-book { background: var(--gold); color: #16211A; }
body { padding-bottom: 3.6rem; }

/* sections */
.hero { padding: 2.4rem 0 2.2rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero-full {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 66vh; background: var(--night);
}
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 20, 12, 0.9) 8%, rgba(9, 20, 12, 0.25) 60%, rgba(9, 20, 12, 0.35)); }
.hero-full .wrap { position: relative; z-index: 2; padding-top: 4rem; padding-bottom: 3rem; }
.hero-full h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem); max-width: 16ch; }
.hero-full .lede { color: #D9E4DA; }
.hero-full .offer-chip { border-left-color: var(--gold); color: #F0F5F0; }
.hero-full .offer-chip b { color: #A9E3B4; }
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 52ch; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.offer-chip { display: inline-flex; align-items: baseline; gap: 0.55rem; border-left: 3px solid var(--gold); padding: 0.15rem 0 0.15rem 0.9rem; margin-bottom: 1.3rem; font-weight: 700; font-size: 0.92rem; }
.offer-chip b { color: var(--green); font-size: 1.05rem; }
.img-frame { margin: 0; }
.img-frame img { width: 100%; display: block; border: 0; border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(22, 33, 26, 0.35); object-fit: cover; }
.img-frame figcaption { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.65rem; font-weight: 650; }
.img-frame.hero-shot img { aspect-ratio: 4 / 3; }
.img-frame.wide img { aspect-ratio: 16 / 8; }
.trustbar { border-block: 1px solid var(--ink); background: var(--paper); overflow: hidden; }
.trustbar ul { list-style: none; margin: 0; padding: 0.85rem 0; display: flex; gap: 2.6rem; width: max-content; white-space: nowrap; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); animation: tick 30s linear infinite; }
.trustbar li { display: flex; align-items: center; gap: 2.6rem; }
.trustbar li::after { content: "\2726"; color: var(--gold); font-size: 0.7rem; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trustbar ul { animation: none; width: auto; white-space: normal; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
  .trustbar li { gap: 1.6rem; }
}
.band { padding: 2.6rem 0; }
.band.tint { background: var(--sky); }
.band.panel { background: var(--panel); }
.band.night { background: var(--night); color: #CFDCE3; }
.band.night h2, .band.night h3 { color: #F0F5F7; }
.band.night p { color: #AFC2CC; }
.band.night a { color: #8FCBDD; }
.band.night .btn.gold { color: #16211A; }
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.price-lockup .from { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 700; }
.price-lockup .amount { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(4rem, 10vw, 6.2rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.price-lockup .amount sup { font-size: 0.45em; font-weight: 700; top: -0.9em; }
.price-lockup .note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.6rem; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 0.55rem 0 0.55rem 1.9rem; position: relative; border-bottom: 1px solid var(--hairline); }
.check-list li::before { content: ""; position: absolute; left: 0.2rem; top: 1.05rem; width: 0.85rem; height: 0.45rem; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.svc-rows li { border-bottom: 1px solid var(--hairline); }
.svc-rows a, .svc-rows .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 0.2rem; text-decoration: none; color: var(--ink); }
.svc-rows a:hover { background: var(--sky); }
.svc-name { font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; }
.svc-tag { font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; font-weight: 700; }
.svc-rows a .svc-tag::after { content: " \2192"; color: var(--gold); }
.cols-3 { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.stat-tiles { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.stat-tiles > div { border-top: 2px solid var(--ink); padding: 0.9rem 0 0; }
.stat-tiles b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 600; letter-spacing: 0; color: var(--green); }
.stat-tiles span { font-size: 0.87rem; color: var(--ink-soft); font-weight: 600; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: flex; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.steps li::before { content: counter(step); flex-shrink: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--gold); width: 2.1rem; padding-top: 0.1rem; }
.steps h3 { margin-bottom: 0.25em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
details.faq { border-bottom: 1px solid var(--hairline); }
details.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0.1rem; position: relative; font-weight: 650; font-size: 1.05rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.35rem; font-weight: 600; }
details.faq[open] summary::after { content: "\2013"; }
details.faq .a { padding: 0 0.1rem 1.1rem; color: var(--ink-soft); }
details.faq:first-of-type { border-top: 1px solid var(--hairline); }
.card { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 1.7rem 1.8rem; box-shadow: 0 18px 40px -24px rgba(22, 33, 26, 0.25); }
.band.night .card { background: rgba(255,255,255,0.05); border-color: #24402E; box-shadow: none; }

/* offer ladder */
.offers { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2rem; }
.offer-card {
  background: #fff; border: 1px solid var(--hairline); border-radius: 16px;
  padding: 1.8rem 1.7rem 1.5rem; box-shadow: 0 18px 40px -24px rgba(22, 33, 26, 0.25);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.offer-card .tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; color: var(--gold-deep); }
.offer-card .price { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 3.4rem; line-height: 1; color: var(--green); margin: 0.35rem 0 0.1rem; }
.offer-card h3 { margin: 0.2rem 0 0.4rem; font-size: 1.15rem; }
.offer-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 1.1rem; }
.offer-card .btn { margin-top: auto; align-self: flex-start; }
.assure { font-size: 0.8rem; color: var(--ink-soft); margin: 0.7rem 0 0; }
.smallprint { font-size: 0.76rem; color: var(--ink-soft); margin-top: 1.6rem; max-width: 70ch; }
.areas { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0.5rem 0 0; padding: 0; }
.areas li { border: 1px solid var(--hairline); border-radius: 3px; padding: 0.3rem 0.75rem; font-size: 0.82rem; font-weight: 650; color: var(--ink-soft); }
.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin: 1.4rem 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.page-head { padding: 0.8rem 0 1.8rem; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.doc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border: 0; border-radius: 16px; box-shadow: 0 18px 36px -20px rgba(22, 33, 26, 0.3); }
.doc h3 { margin: 0.75rem 0 0.1rem; font-size: 1.02rem; }
.doc-role { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; margin: 0; }
#book { scroll-margin-top: 6.5rem; }
.book-card { max-width: 40rem; }
form.book { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 40rem; width: 100%; }
form.book label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; font-weight: 700; }
form.book input, form.book select, form.book textarea {
  font: inherit; font-size: 1rem; width: 100%; max-width: 100%;
  padding: 0.75rem 0.9rem; border: 1px solid var(--hairline); border-radius: 3px;
  background: var(--paper); color: var(--ink); min-height: 2.75rem;
}
form.book textarea { min-height: 6rem; resize: vertical; }
form.book .form-actions { margin-top: 0.2rem; }
form.book .form-actions .btn { width: 100%; text-align: center; }
.offer-card .more { font-size: 0.85rem; margin: 0.65rem 0 0; }
.band.night .book-card { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 18px 40px -24px rgba(0,0,0,0.45); }
.band.night .book-card h2, .band.night .book-card h3 { color: var(--ink); }
.band.night .book-card p, .band.night .book-card .assure { color: var(--ink-soft); }
.band.night .book-card label { color: var(--ink); }
.cta-band .wrap { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.cta-band h2, .cta-band p { margin: 0; }
.cta-band p { margin-top: 0.3rem; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* footer */
.footer { border-top: 1px solid var(--hairline); background: var(--panel); margin-top: 3rem; }
.footer .wrap { display: grid; grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2.4rem; padding-bottom: 2rem; }
.footer h2 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 0.8rem; font-family: inherit; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer li { margin-bottom: 0.45rem; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .legal { border-top: 1px solid var(--hairline); padding-top: 1.1rem; font-size: 0.79rem; color: var(--ink-soft); }

/* tablet */
@media (min-width: 641px) {
  .tb-more { display: inline; }
  .topbar .wrap { justify-content: space-between; text-align: left; }
  .docs { max-width: 34rem; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
/* desktop */
@media (min-width: 901px) {
  body { padding-bottom: 0; }
  .actionbar, .menu-btn, .mobile-menu { display: none; }
  nav.primary { display: flex; }
  h1 { font-size: 4.3rem; max-width: 18ch; }
  h2 { font-size: 2.6rem; }
  .wrap { padding: 0 2.4rem; }
  .hero { padding: 4rem 0; }
  .band { padding: 5.4rem 0; }
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .hero-full { min-height: 74vh; }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3.5rem; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem; }
  .stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .img-frame.hero-shot img { aspect-ratio: 5 / 4; }
  form.book { grid-template-columns: 1fr 1fr; }
  form.book label.full, form.book .form-actions { grid-column: 1 / -1; }
  form.book .form-actions .btn { width: auto; }
  .footer .wrap { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.4rem; }
  .footer .legal { grid-column: 1 / -1; }
  .cta-band .wrap { flex-direction: row; justify-content: space-between; align-items: center; gap: 2rem; }
  .logo img { height: 54px; }
}

/* narrow phones */
@media (max-width: 420px) {
  .hero-full .wrap { padding-top: 2.4rem; padding-bottom: 2.2rem; }
  .hero-full h1 { font-size: 2.15rem; }
  .offer-card { padding: 1.4rem 1.2rem 1.3rem; }
  .offer-card .price { font-size: 2.7rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .docs { grid-template-columns: 1fr; max-width: 16rem; }
  form.book .form-actions .btn { width: 100%; }
}
