/* ==========================================================================
   Stomatologia Strawczyn — 2026
   Plain CSS, no framework. Sections:
   01 Fonts  02 Tokens  03 Base  04 Layout  05 Buttons  06 Header
   07 Hero  08 Info strip  09 Section titles  10 Services  11 Why us
   12 Notices  13 CTA  14 Page header  15 Article  16 Appointment form
   17 404  18 Footer  19 Mobile action bar  20 Motion
   ========================================================================== */

/* 01 Fonts — self-hosted (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/fraunces-normal-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/figtree-normal-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/figtree-normal-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 02 Tokens */
:root {
    --bg: #fbf7f4;
    --surface: #ffffff;
    --line: #eadfd9;
    --ink: #241b22;
    --muted: #6b5f68;
    --brand: #c6208d;          /* logo magenta — fills, icons, accents */
    --brand-ink: #b11a7e;      /* magenta for text on light backgrounds */
    --brand-hover: #a8187a;
    --rose: #f7e6f0;
    --rose-soft: #fbf0f5;
    --plum: #301a2b;
    --plum-2: #3e2538;
    --on-plum: #ffffff;
    --on-plum-muted: #dccbd6;
    --pink-on-plum: #f28ac9;
    --sage: #3f6e52;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-lg: 32px;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgb(36 27 34 / 0.04);
    --shadow: 0 1px 2px rgb(36 27 34 / 0.04), 0 12px 32px -16px rgb(36 27 34 / 0.18);

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(72px, 9vw, 128px);
    --header-h: 76px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 03 Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    background-image:
        radial-gradient(60rem 40rem at 100% -10%, rgb(247 230 240 / 0.7), transparent 60%),
        radial-gradient(50rem 36rem at -10% 30%, rgb(250 236 226 / 0.6), transparent 60%);
    background-repeat: no-repeat;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
    line-height: 1.04;
}

h2 {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
    line-height: 1.25;
}

p {
    margin: 0;
    text-wrap: pretty;
}

a {
    color: var(--brand-ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--brand-hover);
}

a[href^="tel:"],
.nowrap {
    white-space: nowrap;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: var(--rose);
    color: var(--ink);
}

.icon {
    width: 24px;
    height: 24px;
    flex: none;
}

/* Decorative tooth outlines (sprite #tooth-art) */
.band__art,
.cta__art,
.page-head__art,
.error-page__art svg {
    height: auto;
    aspect-ratio: 220 / 230;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--plum);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: none;
    color: #fff;
}

/* 04 Layout */
.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section);
}

.section + .section {
    padding-top: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--brand-ink);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.lead {
    color: var(--muted);
    font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    line-height: 1.55;
}

/* 05 Buttons */
.btn {
    --btn-bg: var(--brand);
    --btn-fg: #fff;
    --btn-border: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 26px;
    border: 1.5px solid var(--btn-border);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 600 1rem/1.2 var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn:hover {
    --btn-bg: var(--brand-hover);
    --btn-border: var(--brand-hover);
    color: var(--btn-fg);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -12px rgb(198 32 141 / 0.6);
}

.btn:active {
    transform: none;
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-border: var(--line);
    background: rgb(255 255 255 / 0.6);
}

.btn--ghost:hover {
    --btn-bg: var(--surface);
    --btn-fg: var(--ink);
    --btn-border: var(--ink);
    box-shadow: none;
}

.btn--on-dark {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-border: rgb(255 255 255 / 0.35);
    background: transparent;
}

.btn--on-dark:hover {
    --btn-bg: rgb(255 255 255 / 0.08);
    --btn-fg: #fff;
    --btn-border: #fff;
    box-shadow: none;
}

.btn--sm {
    min-height: 44px;
    padding: 8px 20px;
    font-size: 0.9375rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
}

.link-arrow .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
    transform: translateX(3px);
}

/* 06 Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(251 247 244 / 0.82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -20px rgb(36 27 34 / 0.4);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: block;
    flex: none;
    border-radius: 8px;
}

.brand img {
    width: auto;
    height: 58px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.nav__link:hover {
    background: var(--rose-soft);
    color: var(--ink);
}

.nav__link[aria-current="page"] {
    color: var(--brand-ink);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

.nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 6px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nav__phone .icon {
    width: 20px;
    height: 20px;
    color: var(--brand);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle .icon-close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

@media (max-width: 1080px) {
    .nav__phone {
        display: none;
    }
}

@media (max-width: 860px) {
    :root {
        --header-h: 68px;
    }

    .brand img {
        height: 44px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 12px var(--gutter) 24px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgb(36 27 34 / 0.35);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
    }

    .nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.2s, transform 0.25s var(--ease);
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav__link {
        display: flex;
        min-height: 56px;
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-family: var(--font-display);
        font-size: 1.375rem;
    }

    .nav__link:hover {
        background: none;
    }

    .nav__actions {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
    }

    .nav__phone {
        display: none;
    }

    .nav__actions .btn {
        width: 100%;
    }
}

@media (min-width: 861px) {
    .nav__actions .nav__call-mobile {
        display: none;
    }
}

/* 07 Hero */
.hero {
    position: relative;
    padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 em {
    display: block;
    color: var(--brand-ink);
    font-style: italic;
}

.hero .lead {
    max-width: 34ch;
    margin-bottom: 32px;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 32px;
    list-style: none;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero__facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__facts .icon {
    width: 18px;
    height: 18px;
    color: var(--sage);
}

.hero-art {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
}

.hero-art svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.hero-art__orbit {
    transform-origin: 240px 240px;
    animation: spin 90s linear infinite;
}

.hero-art__tooth,
.hero-art__swoosh,
.hero-art__shine {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.chip small {
    display: block;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.chip__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rose);
    color: var(--brand);
}

.chip__icon .icon {
    width: 20px;
    height: 20px;
}

.hero-art .chip {
    position: absolute;
}

.hero-art .chip--status {
    left: -4%;
    bottom: 16%;
}

.hero-art .chip--kids {
    right: -2%;
    top: 5%;
}

.status-dot {
    position: relative;
    width: 10px;
    height: 10px;
    flex: none;
    border-radius: 50%;
    background: var(--muted);
}

.is-open .status-dot {
    background: var(--sage);
}

.is-open .status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--sage);
    opacity: 0;
    animation: ping 2.4s var(--ease) infinite;
}

.chip--status {
    padding-left: 16px;
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        max-width: 420px;
    }

    .hero .lead {
        max-width: 40ch;
    }
}

@media (max-width: 480px) {
    .hero-art .chip {
        font-size: 0.875rem;
    }

    .hero-art .chip--status {
        left: 0;
        bottom: 6%;
    }

    .hero-art .chip--kids {
        right: 0;
        top: 4%;
    }

    .hero .btn-row .btn {
        flex: 1 1 100%;
    }
}

/* 08 Info strip */
.info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    container-type: inline-size;
    display: flex;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.info-card h2 {
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.info-card p,
.info-card li {
    font-size: 1.0625rem;
    line-height: 1.5;
}

.info-card strong {
    font-weight: 600;
}

.info-card ul {
    list-style: none;
}

.info-card a:not(.link-arrow) {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: break-word;
}

.info-card a:not(.link-arrow):hover {
    color: var(--brand-ink);
    text-decoration: underline;
}

.info-card .link-arrow {
    margin-top: 10px;
    font-size: 0.9375rem;
}

.info-card .status {
    margin-top: 10px;
}

.icon-chip {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 16px;
    background: var(--rose);
    color: var(--brand);
}

.icon-chip .icon {
    width: 26px;
    height: 26px;
}

.status {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
}

.status .status-dot {
    margin-top: calc((1.5em - 10px) / 2);
}

.status.is-open {
    color: var(--sage);
}

/* Closed: "Zamknięte" on the first line, when we open again below it */
.status:not(.is-open) .status__sep {
    display: none;
}

.status:not(.is-open) .status__detail {
    display: block;
    color: var(--ink);
    font-weight: 500;
}

/* E-mail addresses never wrap; inside cards and the footer they shrink to fit */
.email {
    white-space: nowrap;
}

.info-card .email {
    font-size: min(1.0625rem, (100cqi - 70px) / 15);
}

@media (max-width: 1139px) {
    .info-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 699px) {
    .info-strip {
        grid-template-columns: 1fr;
    }
}

/* Narrow phones: icon above the text, so the e-mail gets the full card width */
@media (max-width: 379px) {
    .info-card {
        flex-direction: column;
        gap: 14px;
    }

    .info-card .email {
        font-size: min(1.0625rem, 100cqi / 15);
    }
}

/* 09 Section titles */
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head > div {
    max-width: 640px;
}

.section-head p {
    margin-top: 16px;
    color: var(--muted);
}

.swoosh::after {
    content: "";
    display: block;
    width: 132px;
    height: 16px;
    margin-top: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 16' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23c6208d'/%3E%3Cstop offset='1' stop-color='%23c6208d' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 12C28 3 62 1 130 9' stroke='url(%23g)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / contain;
}

.on-dark .swoosh::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 16' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23f28ac9'/%3E%3Cstop offset='1' stop-color='%23f28ac9' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M2 12C28 3 62 1 130 9' stroke='url(%23g)' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 10 Services */
.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.service {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.service:hover {
    transform: translateY(-4px);
    border-color: #e9c9dc;
    box-shadow: var(--shadow);
}

.service .icon-chip {
    margin-bottom: 18px;
    transition: background-color 0.3s, color 0.3s;
}

.service:hover .icon-chip {
    background: var(--brand);
    color: #fff;
}

.service p {
    color: var(--muted);
    font-size: 1rem;
}

.service__num {
    position: absolute;
    top: 22px;
    right: 26px;
    color: #e3d3cc;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

@media (max-width: 980px) {
    .services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .services {
        grid-template-columns: 1fr;
    }

    .service {
        padding: 24px;
    }
}

/* 11 Why us — dark plum band */
.band {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 80px);
    border-radius: var(--radius-lg);
    background: var(--plum);
    color: var(--on-plum);
    isolation: isolate;
}

.band__art {
    position: absolute;
    left: -70px;
    bottom: -130px;
    z-index: -1;
    width: min(400px, 70%);
    color: rgb(255 255 255 / 0.08);
    transform: rotate(-12deg);
}

.on-dark .eyebrow {
    color: var(--pink-on-plum);
}

.on-dark a:not(.btn) {
    color: var(--pink-on-plum);
}

.why {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.why__intro p {
    margin: 20px 0 32px;
    color: var(--on-plum-muted);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
}

.feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 168px;
    padding: 24px;
    border: 1px solid rgb(255 255 255 / 0.08);
    border-radius: var(--radius);
    background: var(--plum-2);
}

.feature:nth-child(even) {
    transform: translateY(28px);
}

.feature .icon {
    width: 32px;
    height: 32px;
    color: var(--pink-on-plum);
}

.feature h3 {
    font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
}

@media (max-width: 900px) {
    .why {
        grid-template-columns: 1fr;
    }

    .feature:nth-child(even) {
        transform: none;
    }
}

@media (max-width: 480px) {
    .band {
        margin-inline: calc(var(--gutter) * -0.5);
        padding: 36px 22px;
        border-radius: var(--radius);
    }

    .features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .feature {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        min-height: 0;
        gap: 16px;
        padding: 18px 20px;
    }
}

/* 12 Notices */
.notices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.notice {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.notice:hover {
    transform: translateY(-3px);
    border-color: #e9c9dc;
    box-shadow: var(--shadow);
}

.notice__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.notice__meta .icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.notice__meta .icon-chip .icon {
    width: 22px;
    height: 22px;
}

.notice__title {
    flex: 1;
    font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
    line-height: 1.25;
}

.notice__title a {
    color: var(--ink);
    text-decoration: none;
}

/* Whole card is clickable via the title link */
.notice__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.notice__title a:focus-visible {
    outline: none;
}

.notice:has(.notice__title a:focus-visible) {
    outline: 3px solid var(--plum);
    outline-offset: 3px;
}

.notice .link-arrow {
    color: var(--brand-ink);
}

.notice:hover .link-arrow .icon {
    transform: translateX(3px);
}

@media (max-width: 760px) {
    .notices {
        grid-template-columns: 1fr;
    }

    .notice {
        padding: 24px;
    }
}

/* 13 CTA */
.cta {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: clamp(36px, 5vw, 64px);
    border: 1px solid #f0d6e5;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--rose) 0%, var(--rose-soft) 55%, #fdf6f1 100%);
    isolation: isolate;
}

.cta h2 {
    margin-bottom: 12px;
}

.cta p {
    max-width: 46ch;
    color: var(--muted);
}

.cta__art {
    position: absolute;
    right: -36px;
    bottom: -128px;
    z-index: -1;
    width: 250px;
    color: rgb(198 32 141 / 0.14);
    transform: rotate(10deg);
}

@media (max-width: 860px) {
    .cta {
        grid-template-columns: 1fr;
    }

    .cta__art {
        right: -50px;
        bottom: -70px;
        width: 200px;
    }
}

@media (max-width: 480px) {
    .cta .btn-row .btn {
        flex: 1 1 100%;
    }
}

/* 14 Page header (sub pages) */
.page-head {
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 56px);
}

.page-head h1 {
    max-width: 22ch;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
}

.page-head--article h1 {
    max-width: 34ch;
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
    line-height: 1.15;
}

.page-head .lead {
    max-width: 52ch;
    margin-top: 18px;
}

.page-head__art {
    position: absolute;
    right: max(var(--gutter), calc((100vw - var(--container)) / 2));
    top: 50%;
    width: 220px;
    color: rgb(198 32 141 / 0.16);
    transform: translateY(-50%) rotate(8deg);
    pointer-events: none;
}

@media (max-width: 760px) {
    .page-head__art {
        width: 140px;
        right: -24px;
        top: 24px;
        transform: rotate(8deg);
        opacity: 0.6;
    }
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    list-style: none;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 6px;
    color: #c9b8b0;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--brand-ink);
    text-decoration: underline;
}

.page-body {
    padding-bottom: var(--section);
}

/* 15 Article */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: clamp(32px, 4vw, 56px);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 20px;
    list-style: none;
    color: var(--muted);
    font-size: 0.9375rem;
}

.article-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-meta .icon {
    width: 18px;
    height: 18px;
    color: var(--brand);
}

.card {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.card h2 {
    margin-bottom: 20px;
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
}

.downloads {
    display: grid;
    gap: 10px;
    list-style: none;
}

.download {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    transition: border-color 0.2s, background-color 0.2s;
}

.download:hover {
    border-color: #e9c9dc;
    background: var(--rose-soft);
}

.download__type {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 12px;
    background: var(--rose);
    color: var(--brand-ink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.download__body {
    flex: 1;
    min-width: 0;
}

.download a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.download a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.download a:focus-visible {
    outline: none;
}

.download:has(a:focus-visible) {
    outline: 3px solid var(--plum);
    outline-offset: 2px;
}

.download small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.875rem;
}

.download > .icon {
    color: var(--brand);
}

.side-list {
    display: grid;
    gap: 4px;
    list-style: none;
}

.side-list a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s;
}

.side-list a:hover {
    background: var(--rose-soft);
}

.side-list a[aria-current="page"] {
    background: var(--rose-soft);
    box-shadow: inset 3px 0 0 var(--brand);
}

.side-list small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aside-title {
    margin-bottom: 12px;
    padding-inline: 16px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

/* 16 Appointment form */
.booking {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.9375rem;
    font-weight: 600;
}

.field label span {
    color: var(--brand-ink);
}

.field label small {
    color: var(--muted);
    font-weight: 500;
}

.input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    font: 400 1.0625rem/1.4 var(--font-body);
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.input::placeholder {
    color: #8f838b;
}

.input:hover {
    border-color: #d8c6be;
}

.input:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgb(198 32 141 / 0.14);
}

.input:user-invalid {
    border-color: #b42318;
}

textarea.input {
    min-height: 150px;
    resize: vertical;
}

.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 28px;
}

.form-note {
    flex: 1 1 260px;
    color: var(--muted);
    font-size: 0.9375rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.form-status {
    display: none;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.form-status.is-visible {
    display: flex;
}

.form-status--success {
    border: 1px solid #c7dccf;
    background: #eef5f0;
    color: #24442f;
}

.form-status--error {
    margin-top: 20px;
    border: 1px solid #f1c7c2;
    background: #fdf1ef;
    color: #8a1c12;
}

.form-status .icon {
    margin-top: 2px;
}

.form-status strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

.btn[disabled] {
    opacity: 0.7;
    cursor: progress;
}

.contact-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    gap: 16px;
}

.contact-aside .band {
    padding: 32px;
    border-radius: var(--radius);
}

.contact-aside .band h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.contact-aside .band p {
    color: var(--on-plum-muted);
}

.big-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-block: 20px 4px;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.on-dark a.big-phone {
    color: #fff;
}

.on-dark a.big-phone:hover {
    color: var(--pink-on-plum);
}

.big-phone .icon {
    width: 26px;
    height: 26px;
    color: var(--pink-on-plum);
}

.hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.hours th,
.hours td {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.hours th {
    font-weight: 500;
    color: var(--muted);
}

.hours td {
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.hours tr:last-child th,
.hours tr:last-child td {
    border-bottom: 0;
}

.contact-aside .card .status {
    margin-top: 8px;
}

.contact-aside .address {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-weight: 500;
}

.contact-aside .link-arrow {
    margin-top: 6px;
}

.contact-aside .card .aside-title {
    margin-bottom: 8px;
    padding-inline: 0;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .booking {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-foot .btn {
        width: 100%;
    }
}

/* 17 404 */
.error-page {
    display: grid;
    place-items: center;
    padding-block: clamp(56px, 10vw, 120px);
    text-align: center;
}

.error-page__art {
    position: relative;
    width: min(320px, 70vw);
    margin: 0 auto 24px;
    color: var(--brand);
}

.error-page__art svg {
    width: 100%;
    height: auto;
}

.error-page__code {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-top: 6%;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
    font-style: italic;
    font-weight: 500;
}

.error-page h1 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
}

.error-page p {
    margin-bottom: 32px;
    color: var(--muted);
}

.error-page .btn-row {
    justify-content: center;
}

/* 18 Footer */
.site-footer {
    padding-top: clamp(56px, 7vw, 88px);
    background: var(--plum);
    color: var(--on-plum-muted);
    font-size: 1rem;
}

.site-footer a:not(.btn) {
    color: #fff;
    text-decoration: none;
}

.site-footer a:not(.btn):hover {
    color: var(--pink-on-plum);
    text-decoration: underline;
}

.site-footer :focus-visible {
    outline-color: var(--pink-on-plum);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1.1fr 0.8fr;
    gap: 40px;
    padding-bottom: 56px;
}

.footer-brand img {
    width: auto;
    height: 64px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 30ch;
}

.footer-title {
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer-list li {
    display: flex;
    gap: 10px;
}

.footer-list .icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--pink-on-plum);
}

.footer-list a {
    overflow-wrap: break-word;
}

.footer-contact {
    container-type: inline-size;
}

.footer-contact .email {
    font-size: min(1rem, (100cqi - 30px) / 14.8);
}

.footer-hours th,
.footer-hours td {
    white-space: nowrap;
}

.footer-hours td {
    padding: 2px 0;
}

.footer-hours th {
    padding: 2px 16px 2px 0;
    font-weight: 400;
    text-align: left;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 24px;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    font-size: 0.9375rem;
}

.social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social .icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* 19 Mobile action bar */
.action-bar {
    display: none;
}

@media (max-width: 760px) {
    .action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 10px;
        padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
        background: rgb(251 247 244 / 0.9);
        -webkit-backdrop-filter: saturate(1.4) blur(14px);
        backdrop-filter: saturate(1.4) blur(14px);
        border-top: 1px solid var(--line);
        transform: translateY(110%);
        transition: transform 0.3s var(--ease);
    }

    .action-bar.is-visible {
        transform: none;
    }

    .action-bar .btn {
        min-height: 50px;
        padding-inline: 12px;
    }

    .has-action-bar .site-footer {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

/* 20 Motion */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ping {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    80%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes draw {
    from {
        stroke-dashoffset: 1;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(0.4);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-art__tooth {
        animation: draw 1.6s var(--ease) 0.2s both;
    }

    .hero-art__shine {
        animation: draw 0.6s var(--ease) 1.4s both;
    }

    .hero-art__swoosh {
        animation: draw 1.2s var(--ease) 0.9s both;
    }

    .hero-art__sparkles > * {
        transform-box: fill-box;
        transform-origin: center;
        animation: pop 0.5s var(--ease) both;
    }

    .hero-art__sparkles > :nth-child(1) { animation-delay: 1.6s; }
    .hero-art__sparkles > :nth-child(2) { animation-delay: 1.75s; }
    .hero-art__sparkles > :nth-child(3) { animation-delay: 1.9s; }

    .hero-art .chip {
        animation: rise 0.7s var(--ease) both;
    }

    .hero-art .chip--kids { animation-delay: 1.1s; }
    .hero-art .chip--status { animation-delay: 1.3s; }

    .hero__copy > * {
        animation: rise 0.7s var(--ease) both;
    }

    .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
    .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
    .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
    .hero__copy > :nth-child(5) { animation-delay: 0.24s; }

    /* Scroll reveal — only when JS is running, so content never stays hidden */
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
        transition-delay: var(--reveal-delay, 0s);
    }

    .js [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
    }

    .js .feature[data-reveal].is-revealed:nth-child(even) {
        transform: translateY(28px);
    }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
    .js .feature[data-reveal].is-revealed:nth-child(even) {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .site-header,
    .action-bar,
    .hero-art,
    .site-footer {
        display: none;
    }

    body {
        background: #fff;
    }
}
