/* Hallmark v2.0.0 | SmileCare | custom dental.svg direction | Inter and warm sage */
 /* Critique: carry the original tooth illustration and teal palette into working booking controls. */
:root {
  --ink: #193b3a;
  --muted: #526b66;
  --teal: #17665e;
  --teal-deep: #104d47;
  --paper: #f9faf7;
  --card: #fffdf9;
  --sage: #e8f2e8;
  --line: #c8dbcf;
  --peach: #efb385;
  --white: #fcfff9;
  --face: Inter, "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--face); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
a { color: var(--teal); text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; background: var(--sage); color: var(--muted); }
.button:active { transform: translateY(1px); }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; line-height: 1.06; font-weight: 780; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -.067em; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.3vw, 3.4rem); letter-spacing: -.055em; }
h3 { font-size: 1.37rem; letter-spacing: -.028em; }
p { color: var(--muted); }
.wrap { width: min(1220px, calc(100% - 3rem)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.navigation, .nav-links, .nav-actions, .actions, .footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.navigation { min-height: 78px; justify-content: space-between; }
.nav-links a, .nav-actions > a:not(.button) { text-decoration: none; font-weight: 650; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand-mark, .service-mark { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--sage); color: var(--teal); border-radius: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .65rem 1rem; border: 1px solid var(--teal); border-radius: .7rem; background: var(--teal); color: var(--white); font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { background: var(--teal-deep); }
.secondary { background: var(--paper); border-color: var(--line); color: var(--teal); }
.secondary:hover { background: var(--sage); }
.text-button { background: transparent; padding: .35rem .1rem; color: var(--teal); border: 0; text-decoration: underline; text-underline-offset: .2em; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem); }
.hero p { margin-block: 1.4rem; font-size: 1.15rem; max-width: 31ch; }
.hero-image { position: relative; margin: 0; border-radius: 28px; overflow: clip; }
.hero-image figcaption { position: absolute; inset: auto 5% 5%; background: var(--card); color: var(--teal); padding: .65rem .9rem; border-radius: .7rem; font-weight: 650; }
.benefits { border-block: 1px solid var(--line); }
.benefits ul, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.benefits ul { list-style: none; padding: 1rem 0; font-weight: 650; }
.benefits li::before { content: "✓"; color: var(--teal); margin-right: .65rem; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section h2 { margin-bottom: 2rem; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.services article { display: grid; gap: .6rem; align-content: start; min-height: 235px; padding: 1.3rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; }
.services article:nth-child(3n + 2) .service-mark { background: var(--peach); color: var(--ink); }
.services article a { width: fit-content; font-weight: 750; }
.locations { font-size: .92rem; font-weight: 650; }
.steps-band { background: var(--sage); }
.steps { padding-inline-start: 1.5rem; }
.steps p, .faq p { margin-top: .6rem; }
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 1.25rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.closing { background: var(--teal); color: var(--white); padding-block: 2.4rem; }
.closing .wrap, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.footer { padding-block: 1.4rem; }
.booking { max-width: 850px; padding-block: 3rem; }
.booking h1 { margin-block: .7rem; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.selected { color: var(--ink); font-weight: 750; }
.demo-note { margin-block: .8rem; }
.booking-panel { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); background: var(--card); border-radius: 1rem; }
.chat { list-style: none; padding: 0; display: grid; gap: .65rem; }
.chat li { padding: .65rem .8rem; max-width: 90%; border-radius: .7rem; overflow-wrap: anywhere; }
.chat .out { background: var(--sage); justify-self: start; }
.chat .in { background: var(--paper); border: 1px solid var(--line); justify-self: end; }
.booking-form, .composer { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.composer { margin-top: 1rem; }
.composer label { flex-basis: 100%; font-weight: 650; }
.composer input { flex: 1; min-width: 7rem; padding: .6rem; border: 1px solid var(--muted); border-radius: .6rem; color: var(--ink); background: var(--white); }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 2rem); }
  .navigation { padding-block: .7rem; gap: .55rem; }
  .nav-links { order: 3; width: 100%; }
  .hero, .faq { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits ul, .steps { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
}
@media (max-width: 460px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .nav-actions { gap: .5rem; }
}
