/* Yagasaki Dental Center redesign. Format: service grid. One container, a 12-column grid, equal-height cards.
   Icons only on things a visitor acts on or scans for (hours, phone, address, insurance, office features). */
:root {
  --bg: #ffffff;
  --alt: #f6f4f1;
  --card: #ffffff;
  --line: #e7e2dc;
  --ink: #1d1b1f;
  --muted: #5f5a61;
  --accent: #7a2a38;        /* the burgundy of the logo's "Dental Center" */
  --accent-deep: #62202c;
  --accent-tint: #f6ecee;
  --night: #1d1b1f;
  --r: 14px;
  --wrap: 1440px;
  --pad: 24px;
  --gap: 20px;
  --sec: 96px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --serif: "DM Serif Text", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
}
@media (max-width: 700px) { :root { --pad: 16px; --sec: 64px; --nav-h: 64px; --gap: 14px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); font-feature-settings: "kern" 1; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: var(--serif); }
p { margin: 0 0 1em; text-wrap: pretty; }  /* no single word left alone on a last line */
button, input, textarea { font: inherit; color: inherit; }
button, a, summary, label { touch-action: manipulation; }
.btn, .nav__burger, summary, .seg span { user-select: none; -webkit-user-select: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--light { background: #fff; color: var(--ink); }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #000; }
  .btn--accent:hover { background: var(--accent-deep); }
  .btn--line:hover, .btn--ghost:hover { background: var(--card); border-color: var(--ink); }
  .btn--light:hover { background: var(--alt); }
  .btn--line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- icons: Gentleface at its native 16px in a 36px tinted tile, one size everywhere ---------- */
.ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-tint); color: var(--accent); flex: none; }
.ico svg { width: 16px; height: 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo { display: block; color: var(--ink); flex: none; }
.logo { display: block; width: 180px; height: auto; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--muted); padding: 8px 0; transition: color .2s ease; }
.nav__links a[aria-current] { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__phone { font-variant-numeric: tabular-nums; }
.nav__actions .btn { min-height: 40px; padding: 8px 14px; gap: 8px; font-size: 15px; }  /* header buttons sit tighter than page buttons */
.nav__burger { display: none; align-items: center; gap: 8px; background: none; border: 0; min-height: 44px; padding: 0 4px; font-weight: 500; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); } }
@media (max-width: 1240px) { .nav__phone { display: none; } }  /* the number shows with its icon, or not at all */
@media (max-width: 1040px) {
  .nav__links, .nav__phone, .nav__actions .btn { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: inline-flex; }
  .logo { width: 150px; }
}
.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: #fff; padding: 16px 0 32px; overflow: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: 30px; line-height: 1.2; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
body.menu-open { overflow: hidden; }

/* phone dock: call and book within thumb reach */
.dock { display: none; }
@media (max-width: 700px) {
  .dock { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line); }
  .dock { transition: transform .3s var(--ease); }
  .dock--wait, .dock.is-away { transform: translateY(110%); }      /* on the homepage it waits until the hero buttons leave the screen */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.menu-open .dock { display: none; }
}

/* ---------- sections and grid ---------- */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sec--alt { background: var(--alt); }
.sec--info { padding: 0 0 var(--sec); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sec__head h2 { font-size: clamp(32px, 3.2vw, 44px); }
.sec__head p { color: var(--muted); margin: 10px 0 0; max-width: 56ch; }
.sec__head .btn { flex: none; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); grid-auto-rows: 1fr; }  /* every card in a grid is as tall as the tallest, stacked or not */
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--5 { --cols: 5; }
.grid--even { grid-auto-rows: 1fr; }      /* every card in the grid has the same height */
@media (max-width: 1040px) { .grid--4, .grid--5 { --cols: 3; } .grid--4.grid--info { --cols: 4; } }  /* hero cards stay in one row so they stay above the fold */
@media (max-width: 860px) { .grid--3, .grid--4, .grid--5 { --cols: 2; } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4, .grid--4.grid--info { --cols: 1; } .grid--5 { --cols: 2; } }
@media (max-width: 700px) { .sec__head { flex-direction: column; align-items: flex-start; } }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; height: 100%; }
.card .ico { margin-bottom: 4px; }
.card__t { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.3; }
.card__p { color: var(--muted); font-size: 16px; margin: 0; }
.card__more { text-decoration: none; margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); }
.card__more svg { transition: transform .2s var(--ease); }
.card--link { transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease); }
.card--link:active { transform: scale(.99); }
.card--flush { padding: 0; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .card--link:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 10px 30px -18px rgba(29,27,31,.35); transform: translateY(-2px); }
  .card--link:hover .card__more svg { transform: translateX(3px); }
}
@media (max-width: 700px) { .card { padding: 22px; } }
.card--info .card__t.is-open { color: #3f6e45; }

/* ---------- hero: full-bleed photo filling the first screen, the 4 info cards inside it at the foot ----------
   Desktop: photo covers the whole section (cards included), so text and cards are both above the fold.
   Phone: photo covers only the text block; the cards stack on white below it. */
.hero { position: relative; isolation: isolate; background: #2a2a2a; }
.hero__inner { position: static; min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; padding-bottom: clamp(20px, 3.5vh, 40px); }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,16,20,.78) 0%, rgba(18,16,20,.55) 38%, rgba(18,16,20,0) 66%); }  /* neutral scrim under the text */
.hero__text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vh, 64px) 0 clamp(24px, 4vh, 48px); max-width: 680px; color: #fff; }
.hero h1 { font-size: clamp(44px, min(6vw, 8.6vh), 88px); line-height: 1; letter-spacing: -0.01em; }
.lede { font-size: 20px; color: var(--muted); max-width: 44ch; margin: 20px 0 0; }
.hero .lede { color: rgba(255,255,255,.86); font-size: clamp(17px, 2.3vh, 21px); margin-top: clamp(12px, 2vh, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.6vh, 32px); }
.hero .grid--info .card { padding: clamp(18px, 2.6vh, 26px) 24px; gap: 6px; box-shadow: 0 18px 40px -28px rgba(20,18,22,.55); }
.hero .grid--info .card__p { font-size: 15px; }
@media (max-width: 860px) {
  .hero { background: transparent; }
  .hero__inner { min-height: 0; padding-bottom: 0; }
  .hero__text { position: relative; min-height: calc(100svh - var(--nav-h)); justify-content: flex-end; padding: 0 0 28px; }
  .hero__media { inset: 0 calc(var(--pad) * -1); }                 /* photo spans the text block, edge to edge */
  .hero__photo { object-position: 72% 30%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(18,16,20,.86) 0%, rgba(18,16,20,.6) 45%, rgba(18,16,20,0) 75%); }
  .hero h1 { font-size: 42px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero .grid--info { margin: 16px 0 var(--sec); }
}

/* ---------- treatments as ruled lists ---------- */
.tcols { columns: 3; column-gap: 48px; }
.tcol { break-inside: avoid; margin-bottom: 36px; }
.tcol__h { font-family: var(--serif); font-size: 24px; margin-bottom: 4px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows a { display: grid; grid-template-columns: 1fr 16px; gap: 2px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rows__name { font-weight: 600; }
.rows__text { grid-column: 1; color: var(--muted); font-size: 15px; }
.rows svg { grid-row: 1 / 3; grid-column: 2; color: var(--muted); transition: transform .2s var(--ease), color .2s ease; }
.sec .wrap > .rows { columns: 2; column-gap: 48px; }
.sec .wrap > .rows li { break-inside: avoid; }
@media (hover: hover) and (pointer: fine) { .rows a:hover .rows__name { color: var(--accent); } .rows a:hover svg { transform: translateX(3px); color: var(--accent); } }
@media (max-width: 1040px) { .tcols { columns: 2; } }
@media (max-width: 700px) { .tcols { columns: 1; } .sec .wrap > .rows { columns: 1; } }

/* ---------- office features: photo beside four items ---------- */
.split2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: center; }
.photo { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--alt); aspect-ratio: 3 / 2; }
.photo { isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }  /* corners hold even while the card fades in */
.photo--tall { aspect-ratio: 4 / 5; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.feat { display: flex; flex-direction: column; gap: 8px; }
.feat .ico { margin-bottom: 4px; }
.feat .card__p .link { font-size: 15px; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; gap: 32px; } .photo--tall { aspect-ratio: 3 / 2; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- dentists ---------- */
.person { padding: 0; overflow: hidden; gap: 4px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; }
.person .card__t, .person .card__p { padding: 0 20px; }
.person .card__p { padding-bottom: 20px; font-size: 15px; }
.person .card__t { font-size: 17px; }

/* ---------- reviews: equal-height cards ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faqgrid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
.faqgrid__side { height: auto; }
.faqgrid__side .btn { align-self: flex-start; margin-top: 8px; }
.faqgrid__list { padding: 4px 28px; height: auto; display: block; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; color: var(--muted); transition: transform .25s var(--ease); }
.qa[open] summary svg { transform: rotate(180deg); }
.qa { interpolate-size: allow-keywords; }
.qa::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
.qa[open]::details-content { height: auto; }
.qa__a { color: var(--muted); padding-bottom: 20px; }
.qa__a p:last-child { margin: 0; }
@media (max-width: 860px) { .faqgrid { grid-template-columns: 1fr; } .faqgrid__list { padding: 4px 20px; } }

/* ---------- call to action ---------- */
.ctacard { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 20px; background: var(--accent); color: #fff; }
.ctacard h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 10px; }
.ctacard p { margin: 0; max-width: 52ch; color: rgba(255,255,255,.85); }
.ctacard__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 860px) { .ctacard { flex-direction: column; align-items: flex-start; padding: 32px 24px; } .ctacard__actions { width: 100%; } .ctacard__actions .btn { flex: 1 1 100%; } }

/* ---------- inner pages ---------- */
.phead { background: var(--alt); padding: 32px 0 48px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.phead h1 { font-size: clamp(38px, 4.4vw, 60px); }
.phead .lede { margin-top: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.aside { display: grid; gap: var(--gap); position: sticky; top: calc(var(--nav-h) + 24px); }
.aside .card { height: auto; }
.aside .btn { margin-top: 4px; }
.aside .link { margin-top: 4px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }
.prose { max-width: 68ch; }
.prose.narrow { max-width: 760px; height: auto; display: block; }
.sub { font-family: var(--sans); font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.main > .sub:first-child, .prose > .sub:first-child { margin-top: 0; }
.ticks { padding-left: 1.2em; }
.products { color: var(--muted); font-size: 15px; margin-top: 24px; }
.products strong { color: var(--ink); font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--r); overflow: hidden; margin: 32px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; }
.steps .card { padding: 22px; gap: 12px; }
.steps__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-weight: 600; font-size: 15px; }
.layout .steps.grid--4 { --cols: 2; }
@media (max-width: 560px) { .steps { --cols: 1 !important; } }
.hours { list-style: none; padding: 0; margin: 0 0 8px; font-size: 15px; font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.hours li + li { border-top: 1px solid var(--line); }
.hours li span:first-child { color: var(--muted); }
.stack { display: grid; gap: var(--gap); }
.bio { flex-direction: row; gap: 32px; height: auto; }
.bio img { width: 200px; height: 200px; object-fit: cover; border-radius: 12px; flex: none; }
.bio .card__t { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.role { color: var(--accent); font-weight: 600; margin: 6px 0 16px; }
@media (max-width: 700px) { .bio { flex-direction: column; gap: 20px; } .bio img { width: 140px; height: 140px; } .bio .card__t { font-size: 26px; } }
.plans { list-style: none; padding: 0; margin: 0; columns: 4 180px; column-gap: 32px; }
.plans li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 500; }
.map { aspect-ratio: 4 / 3; height: auto; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* forms */
.form { gap: 20px; height: auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field__label { font-weight: 600; font-size: 15px; }
.field label span, .field__label span { color: var(--muted); font-weight: 400; }
.field__hint { color: var(--muted); font-size: 14px; }
.field input, .field textarea { width: 100%; font-size: 17px; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.field__err { color: var(--accent); font-size: 14px; }
.field__err:empty { display: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--alt); border: 1.5px solid var(--line); border-radius: 999px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; font-weight: 500; transition: background-color .2s ease, color .2s ease; }
.seg input:checked + span { background: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form__done { display: flex; flex-direction: column; gap: 6px; }
.form__done[hidden] { display: none; }
.form.is-sent > :not(.form__done) { display: none; }

/* recap page */
.compare .compare__fig { margin: 0; align-items: center; background: var(--alt); }
.compare__fig img { width: min(300px, 100%); border-radius: 24px; box-shadow: 0 0 0 8px var(--ink); margin: 12px 0 16px; }
.compare__fig figcaption { color: var(--muted); font-size: 15px; }
.rtable { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.rtable th, .rtable td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); }
.rtable thead th { border-top: 0; color: var(--muted); font-weight: 600; font-size: 14px; background: var(--alt); }
.rtable tbody th { font-weight: 600; width: 20%; }
.rtable:not(.rtable--two) td:nth-child(2) { color: var(--muted); width: 38%; }
.recap__by { margin-top: 32px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .rtable, .rtable tbody, .rtable tr, .rtable th, .rtable td { display: block; width: auto !important; }
  .rtable thead { display: none; }
  .rtable tr { border-top: 1px solid var(--line); padding: 14px 18px; }
  .rtable tr:first-child { border-top: 0; }
  .rtable th, .rtable td { border: 0; padding: 3px 0; }
  .rtable:not(.rtable--two) td:nth-child(2)::before { content: "Current site: "; color: var(--ink); font-weight: 600; }
  .rtable:not(.rtable--two) td:nth-child(3)::before { content: "New site: "; font-weight: 600; }
}

/* ---------- footer ---------- */
.foot { background: var(--night); color: #bdb7b1; padding: 64px 0 24px; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.foot__brand { color: #fff; }
.foot__brand p { color: #bdb7b1; margin-top: 16px; max-width: 30ch; }
.logo--foot { width: 220px; }
.logo--foot [data-part="red"] { fill: #d6a0aa; }
.logo--foot [data-part="green"] { fill: #8fb894; }
.foot__h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.foot__hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.foot__hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 260px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.foot__legal a { color: #bdb7b1; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { text-decoration: underline; } }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- entrance: cards fade up once, only when JS runs ---------- */
.js [data-in] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-in].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-in] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- treatment cards with group filter ---------- */
.chips { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.has-js .chips { display: flex; }
.chips button { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 500; font-size: 15px; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease); }
.chips button:active { transform: scale(.97); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (hover: hover) and (pointer: fine) { .chips button:hover:not([aria-pressed="true"]) { border-color: var(--ink); } }
.tcard { gap: 8px; padding: 24px; }
.tcard .card__t { font-size: 18px; }
.tcard .card__p { font-size: 15px; }
.tcard[hidden] { display: none; }
@media (max-width: 700px) { .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1) 20px; padding: 2px var(--pad); scrollbar-width: none; } .chips button { flex: none; } }
