/* Prancie Paws: site styles. Works in Safari 15 and on phones. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --gold: #ffc300;
  --gold-soft: #ffe48a;
  --gold-deep: #9a6f00;
  --ink: #2b2622;
  --ink-soft: #4a423b;
  --muted: #6f655a;
  --cream: #fdf8ee;
  --cream-2: #f7efdc;
  --sky: #57cbec;
  --line: #eadfca;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 45, 20, .10);
  --head: "Fredoka", "Nunito", "Trebuchet MS", sans-serif;
  --body: "Nunito", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; vertical-align: -.2em; }
.crown { width: 46px; height: 29px; color: var(--gold); display: block; margin: 0 auto 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 500; font-size: 1.05rem;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #d9a400; }
.btn-gold:hover { background: #ffcd2e; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-line-ink { border-color: var(--ink); color: var(--ink); }
.btn-line-ink:hover { background: rgba(0,0,0,.08); color: var(--ink); }
.btn-small { font-size: .9rem; padding: 7px 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.center-row { justify-content: center; }
button.btn { font-family: var(--head); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; margin-right: auto; }
.brand img { width: 168px; height: auto; filter: drop-shadow(0 1px 0 rgba(120, 80, 0, .35)); }
.tagline { font-size: .78rem; color: var(--muted); letter-spacing: .04em; margin-top: -2px; padding-left: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; }
.site-nav a:hover { background: var(--cream-2); }
.site-nav a[aria-current="page"] { background: var(--gold-soft); }
.site-nav a.nav-book { border: 2px solid var(--ink); padding: 6px 14px; }
.site-nav a.nav-book:hover, .site-nav a.nav-book[aria-current="page"] { background: var(--ink); color: #fff; }
.head-call { padding: 9px 18px; font-size: .98rem; white-space: nowrap; }
.menu-btn { display: none; align-items: center; gap: 6px; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 7px 14px;
  font: 700 .95rem var(--body); cursor: pointer; }
.menu-btn .icon { width: 20px; height: 20px; }

@media (max-width: 1180px) {
  .head-call { display: none; }
}
@media (max-width: 860px) {
  .head-row { min-height: 64px; flex-wrap: wrap; }
  .brand img { width: 140px; }
  .tagline { padding-left: 23px; font-size: .72rem; }
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; width: 100%; padding: 4px 0 14px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; }
}

/* Mobile book / call bar */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 1.05rem var(--head); text-decoration: none; padding: 13px 10px; }
  .cb-book { background: var(--gold); color: var(--ink); }
  .cb-call { background: var(--ink); color: #fff; }
  body { padding-bottom: 56px; }
}

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { font-family: var(--head); font-weight: 500; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .6em; }
h1 .eyebrow { display: block; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-pic { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 48% 48% 24px 24px; border: 8px solid var(--white); box-shadow: var(--shadow), 0 0 0 3px var(--gold); }
.hero-crown { position: absolute; top: -26px; left: 50%; transform: translateX(-50%) rotate(-8deg); background: var(--white); border-radius: 50%; width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.hero-crown .crown { margin: 0; width: 44px; }
@media (max-width: 780px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 44px; }
  .hero-pic { max-width: 300px; order: -1; margin-top: 18px; }
  .hero-text { text-align: center; }
  .hero-text .btn-row { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
}

/* Sections */
.sec { padding: 64px 0; }
.sec-tight { padding: 40px 0 56px; }
.sec-cream { background: var(--cream); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.sec-head p { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.page-head { background: var(--cream); padding: 44px 0 36px; }
.page-head h1 { margin-bottom: .2em; }
.page-head p { color: var(--ink-soft); margin: .4em auto 0; max-width: 36em; }

/* Ticks */
ul.ticks { list-style: none; padding: 0; margin: 14px 0 18px; }
ul.ticks li { position: relative; padding-left: 30px; margin-bottom: 6px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b2622' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(60,45,20,.16); color: var(--ink); }
.card-pic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 0 0 2px; font-size: 1.15rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.4; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } .card-body { padding: 10px 12px 14px; } .card-body h3 { font-size: 1.02rem; } .card-body p { font-size: .85rem; } }

/* Promise band */
.promise { background: var(--gold); padding: 48px 0; }
.promise .eyebrow { color: var(--ink); opacity: .75; }
.promise-text { font-family: var(--head); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.25; margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.quote { margin: 0; background: var(--cream); border-radius: var(--radius); padding: 28px 28px 22px; position: relative; }
.quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4.5rem; color: var(--gold); position: absolute; top: -8px; left: 18px; line-height: 1; }
.quote blockquote { margin: 18px 0 12px; font-size: 1.1rem; }
.quote figcaption { font-weight: 700; color: var(--gold-deep); }
@media (max-width: 400px) { .quotes { grid-template-columns: 1fr; } }

/* Home gallery strip */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 28px; }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 780px) { .strip { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* Call to action */
.cta { background: var(--gold); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; color: var(--ink-soft); }

/* Service rows */
.svc { padding: 36px 0; }
.svc:nth-of-type(even) { background: var(--cream); }
.svc-in { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.svc.flip .svc-pic { order: 2; }
.svc-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-text h2 { margin-bottom: .4em; }
@media (max-width: 780px) {
  .svc-in { grid-template-columns: 1fr; gap: 20px; }
  .svc.flip .svc-pic { order: 0; }
}

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.price { background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.price-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px dashed var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.price-top h3 { margin: 0; }
.price-tag { font-family: var(--head); font-weight: 600; font-size: 1.4rem; background: var(--gold); border-radius: 999px; padding: 2px 14px; white-space: nowrap; }
.price p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.offer { text-align: center; margin: 28px 0 0; font-weight: 700; }
@media (max-width: 400px) { .prices { grid-template-columns: 1fr; } }

/* Teeth page panels and steps */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
@media (max-width: 860px) { .panels { grid-template-columns: 1fr; } }
.steps { text-align: left; max-width: 560px; margin: 0 auto 24px; padding-left: 1.4em; }
.steps li { margin-bottom: 10px; }
.note { background: var(--cream); border-left: 5px solid var(--gold); border-radius: 10px; padding: 14px 18px; text-align: left; margin-top: 28px; font-size: .97rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.g-item { display: block; border-radius: 14px; overflow: hidden; background: var(--cream-2); }
.g-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s ease; }
.g-item:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 16, 12, .94); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 10px; object-fit: contain; }
.lightbox p { color: #fff; margin: 12px 0 0; min-height: 1.4em; text-align: center; }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 48px; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lb-next { right: 14px; top: 50%; margin-top: -24px; }

/* About */
.about-in { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; }
.about-pic img { border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 3px var(--gold); width: 100%; }
@media (max-width: 780px) { .about-in { grid-template-columns: 1fr; gap: 24px; } .about-pic { max-width: 360px; margin: 0 auto; } }

/* Contact */
.contact-in { display: grid; grid-template-columns: 2fr 3fr; gap: 32px; align-items: start; }
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.contact-card h2 { font-size: 1.4rem; }
@media (max-width: 820px) { .contact-in { grid-template-columns: 1fr; } }
.foot-line { display: flex; gap: 10px; align-items: flex-start; }
.foot-line .icon { margin-top: .25em; color: var(--gold-deep); }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form h2 { font-size: 1.4rem; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-family: var(--head); font-weight: 600; font-size: 1.35rem; margin-bottom: 12px; padding: 0; }
.field { margin-bottom: 16px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
@media (max-width: 600px) { .field-row { flex-direction: column; gap: 0; } .form { padding: 18px; } }
label { display: block; font-weight: 700; margin-bottom: 5px; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fffdf8; border: 2px solid var(--line); border-radius: 12px; padding: 11px 13px;
  -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232b2622' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 22px; padding-right: 36px; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
.invalid input, .invalid textarea, input.invalid, .invalid .sig { border-color: #c0392b; }
.age-row { display: flex; gap: 10px; }
.age-row .age-num { max-width: 110px; }
.age-row select { max-width: 140px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sum input { max-width: 120px; }
.form-msg { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 700; }
.form-msg.err { background: #fdecea; color: #8e2a1f; }
.form-msg.ok { background: #e9f7ef; color: #1e6b3d; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done h2 { margin-bottom: .3em; }

.clause { border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; background: #fffdf8; }
.clause h3 { font-size: 1.1rem; margin-bottom: .4em; }
.clause-text p, .clause-text ol { margin: 0 0 .6em; }
.clause-text ol { padding-left: 1.3em; }
.clause.invalid { border-color: #c0392b; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 10px 0 0; cursor: pointer; background: var(--cream); border-radius: 10px; padding: 10px 12px; }
.check input { width: 24px; height: 24px; flex: none; margin: 0; padding: 0; border-radius: 6px; -webkit-appearance: checkbox; appearance: auto; accent-color: #d9a400; }

.sig-wrap { position: relative; }
.sig { width: 100%; height: 200px; border: 2px dashed #c9b88f; border-radius: 14px; background: #fffdf8; touch-action: none; display: block; cursor: crosshair; }
.sig-line { position: absolute; left: 20px; right: 20px; bottom: 34px; border-top: 1px solid #c9b88f; font-size: .8rem; color: var(--muted); padding-top: 2px; pointer-events: none; }

/* Footer */
.site-foot { background: var(--ink); color: #e9e1d4; padding: 52px 0 20px; font-size: .97rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--gold); }
.site-foot h2 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 36px; }
.foot-logo { width: 180px; }
.foot-tag { color: #bfb3a2; margin-top: 4px; padding-left: 30px; }
.site-foot .foot-line .icon { color: var(--gold); }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.foot-links li { margin-bottom: 6px; break-inside: avoid; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 16px; color: #a99d8c; font-size: .88rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* Booking */
.bk-intro { margin-bottom: 26px; }
.bk-step { margin-bottom: 30px; }
.bk-step[hidden] { display: none; }
.bk-step h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 10px; }
.bk-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); font-size: 1.1rem; flex: none; }
.bk-week { margin: 0 0 14px; }
.bk-week h3 { font: 700 .85rem var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.bk-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-day, .bk-time { font: inherit; cursor: pointer; border: 2px solid var(--line); background: var(--white); color: var(--ink); border-radius: 14px; transition: border-color .15s, background-color .15s; }
.bk-day { width: 74px; padding: 8px 4px; text-align: center; line-height: 1.15; }
.bk-day b { display: block; font: 600 1.45rem var(--head); }
.bk-day small { display: block; font-size: .78rem; color: var(--muted); }
.bk-time { padding: 10px 18px; font-weight: 700; }
.bk-day:hover, .bk-time:hover { border-color: var(--gold); }
.bk-day[aria-pressed="true"], .bk-time[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.bk-day[aria-pressed="true"] small { color: var(--ink); }
.bk-day:disabled, .bk-time:disabled { cursor: not-allowed; opacity: .45; background: var(--cream-2); text-decoration: line-through; }
.bk-day:disabled { text-decoration: none; }
.bk-dayname { font-weight: 700; margin-bottom: 10px; }
.bk-summary { background: var(--gold-soft); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.bk-wait { color: var(--muted); }
.bk-table { border-collapse: collapse; margin-bottom: 18px; }
.bk-table th { text-align: left; color: var(--muted); font-weight: 400; padding: 5px 18px 5px 0; vertical-align: top; }
.bk-table td { font-weight: 700; padding: 5px 0; }
@media (max-width: 400px) { .bk-day { width: calc(25% - 6px); } }
