
:root {
    /* Pedivine brand: plum as the calm base, coral + green from the logo */
    --bg: #faf6f8;
    --surface: #fffdfd;
    --surface-soft: #f7edef;
    --surface-green: #f0f4ed;
    --surface-warm: #f7f1ec;
    --text: #2b252a;
    --muted: #6f646a;
    --primary: #73536f;
    --primary-dark: #573d54;
    --primary-soft: #f0e7ef;
    --accent: #f07f8d;
    --accent-dark: #cf6170;
    --accent-soft: #fdecef;
    --green: #557a4d;
    --green-dark: #3f6138;
    --green-soft: #edf3e9;
    --border: #d9cbd4;
    --border-soft: #eadfe5;
    --danger: #8c2432;
    --danger-bg: #fff2f4;
    --success: #2d6342;
    --success-bg: #eef8f1;
    --warning: #745417;
    --warning-bg: #fff9e8;
    --shadow-sm: 0 10px 30px rgba(76, 52, 70, 0.07);
    --shadow-md: 0 24px 64px rgba(76, 52, 70, 0.11);
    --radius-sm: 0.65rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --content: 73rem;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI Variable Text", "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

img {
    height: auto;
}

a {
    color: var(--primary-dark);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 0.08em;
}

a:hover {
    text-decoration-thickness: 0.12em;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
input[type="checkbox"],
input[type="radio"],
select {
    cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
    cursor: not-allowed;
}

:focus-visible {
    outline: 3px solid #382331;
    outline-offset: 3px;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus,
:target {
    scroll-margin-top: 6.5rem;
}

::selection {
    background: var(--primary);
    color: #fff;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text);
    font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.12;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.55rem, 5.3vw, 4.4rem);
    letter-spacing: -0.048em;
}

h2 {
    font-size: clamp(2rem, 3.3vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    letter-spacing: -0.022em;
}

p,
ul,
ol {
    margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

.container {
    width: min(100% - 2.5rem, var(--content));
    margin-inline: auto;
}

.readable {
    max-width: 71ch;
}

.readable h2 {
    margin-top: 2.8rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
}

.readable h2:first-child {
    margin-top: 0;
}

.readable p,
.readable li {
    color: var(--muted);
}

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

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    transform: translateY(-170%);
    padding: 0.75rem 1rem;
    border-radius: 0.7rem;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-md);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(252,248,250,0.92));
    border-bottom: 1px solid rgba(115, 83, 111, 0.12);
    box-shadow: 0 7px 24px rgba(72, 49, 68, 0.10);
}

@supports (backdrop-filter: blur(12px)) {
    .site-header {
        background: rgba(255, 252, 253, 0.86);
        backdrop-filter: blur(14px);
    }
}

.header-inner {
    min-height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.75rem;
    color: var(--text);
    text-decoration: none;
    font-size: 1.38rem;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.brand img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.nav-link {
    position: relative;
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    padding: 0.35rem 0.1rem;
    color: #40363d;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-link[aria-current="page"] {
    color: var(--primary-dark);
}

.button,
button.button {
    display: inline-flex;
    min-height: 3rem;
    min-width: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid var(--primary);
    border-radius: 0.8rem;
    padding: 0.72rem 1.15rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 7px 18px rgba(93, 55, 74, 0.14);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button.button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    text-decoration: none;
}

.button:active,
button.button:active {
    transform: translateY(1px);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-dark);
    border-color: #bfaab8;
    box-shadow: none;
}

.button-secondary:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.button-danger {
    background: var(--danger);
    border-color: var(--danger);
}

.button-danger:hover {
    background: #6f1925;
    border-color: #6f1925;
}

.main-nav > .button {
    margin-left: 0.2rem;
    border-radius: 0.8rem;
    padding-inline: 1.1rem;
}

.menu-button {
    display: none;
    min-height: 3rem;
    min-width: 3rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--text);
    font-weight: 700;
}

.mobile-nav {
    display: none;
    padding: 0 0 1rem;
}

.mobile-nav.is-open {
    display: grid;
    gap: 0.35rem;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 83% 18%, rgba(240, 127, 141, 0.18), transparent 24rem),
        radial-gradient(circle at 14% 18%, rgba(115, 83, 111, 0.15), transparent 20rem),
        radial-gradient(circle at 74% 86%, rgba(85, 122, 77, 0.12), transparent 19rem),
        linear-gradient(180deg, #faf3f6 0%, #f5edf3 100%);
    border-bottom: 1px solid rgba(122, 90, 143, 0.14);
}

.hero::before {
    content: "";
    position: absolute;
    width: 25rem;
    height: 25rem;
    right: -8rem;
    top: -11rem;
    border: 1px solid rgba(240, 127, 141, 0.22);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.72fr);
    gap: clamp(2.4rem, 7vw, 6rem);
    align-items: center;
    min-height: 34rem;
    padding-block: clamp(4.2rem, 8vw, 6.8rem);
}

.hero-copy {
    max-width: 46rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.hero-copy h1 {
    max-width: 12ch;
}

.lead {
    max-width: 60ch;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.6vw, 1.24rem);
    line-height: 1.7;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.65rem;
}

.hero-copy > .field-help {
    max-width: 60ch;
    margin-top: 1rem;
    color: #756b6f;
    font-size: 0.92rem;
}

.hero-copy .button-secondary {
    background: rgba(255, 253, 253, 0.90);
    border-color: rgba(122, 90, 143, 0.42);
}

.hero-card {
    position: relative;
    overflow: hidden;
    justify-self: end;
    width: min(100%, 24rem);
    background: rgba(255, 253, 253, 0.90);
    border: 1px solid rgba(115, 83, 111, 0.14);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 10rem;
    height: 10rem;
    right: -5rem;
    bottom: -5rem;
    border-radius: 50%;
    background: rgba(240, 127, 141, 0.12);
}

.hero-card img {
    display: block;
    width: min(12.5rem, 68%);
    margin: 0 auto;
}

.hero-card p {
    position: relative;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 0.98rem;
}



.hero-visual {
    justify-self: end;
    width: min(100%, 30rem);
}

.hero-photo-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(115, 83, 111, 0.14);
    border-radius: 1.65rem;
    background: #fff;
    box-shadow: 0 26px 64px rgba(76, 52, 70, 0.14);
}

.hero-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-logo-badge {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    padding: 0.45rem;
    border: 1px solid rgba(115, 83, 111, 0.14);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 32px rgba(76, 52, 70, 0.16);
    backdrop-filter: blur(8px);
}

.hero-logo-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-visual-copy {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    padding: 0.95rem 0.15rem 0;
}

.hero-visual-copy strong {
    color: var(--text);
    font-size: 1rem;
}

.hero-visual-copy span {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: right;
}

.hero-facts {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.3rem;
}

.hero-fact {
    padding: 0.65rem 0.4rem;
    border: 1px solid rgba(115, 83, 111, 0.13);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    color: #4a4346;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Sections */
.section {
    position: relative;
    padding-block: clamp(4rem, 7vw, 6rem);
}

/*
 * Geef iedere inhoudssectie een eigen rustig kleurvlak.
 * Hierdoor is de pagina duidelijk verdeeld zonder harde scheidingslijnen.
 */
.section:not(.hero):not(.section-soft):not(.section-warm) {
    background: #fcf9fa;
}

.hero + .section {
    background:
        radial-gradient(circle at 12% 16%, rgba(240, 127, 141, 0.07), transparent 22rem),
        radial-gradient(circle at 88% 88%, rgba(85, 122, 77, 0.05), transparent 20rem),
        linear-gradient(180deg, #fffdfd 0%, #faf7f8 100%);
}

.section-soft {
    background:
        radial-gradient(circle at 86% 14%, rgba(240, 127, 141, 0.11), transparent 24rem),
        radial-gradient(circle at 10% 86%, rgba(85, 122, 77, 0.07), transparent 20rem),
        linear-gradient(180deg, #f6ecef 0%, #f2e6eb 100%);
}

.section-warm {
    background:
        radial-gradient(circle at 14% 80%, rgba(85, 122, 77, 0.07), transparent 22rem),
        radial-gradient(circle at 88% 20%, rgba(240, 127, 141, 0.07), transparent 22rem),
        linear-gradient(180deg, #f7f3ef 0%, #f4eee9 100%);
}

.section-gallery {
    background:
        radial-gradient(circle at 12% 12%, rgba(240, 127, 141, 0.08), transparent 18rem),
        radial-gradient(circle at 85% 22%, rgba(85, 122, 77, 0.07), transparent 20rem),
        linear-gradient(180deg, #fffdfd 0%, #fbf6f8 100%);
    border-block: 1px solid rgba(115, 83, 111, 0.08);
}

/* De stappen-sectie krijgt weer een lichter vlak na de paarse behandelingenband. */
.section-soft + .section:not(.section-warm) {
    background: linear-gradient(180deg, #fcfafb 0%, #f8f3f5 100%);
}

.section-heading {
    max-width: 47rem;
    margin-bottom: 2.4rem;
}

.section-heading p {
    max-width: 64ch;
    margin-top: 1rem;
    color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1.15rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(115, 83, 111, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.55rem;
    box-shadow: var(--shadow-sm);
}

.card h2,
.card h3 {
    color: #332b31;
}

.card h2 {
    font-size: clamp(1.55rem, 2vw, 2rem);
    margin-bottom: 0.8rem;
}

.card h3 {
    margin-bottom: 0.65rem;
}

.card p,
.card li {
    color: var(--muted);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.card-link::after {
    content: "→";
    transition: transform 150ms ease;
}

.card-link:hover::after {
    transform: translateX(3px);
}

.price {
    margin: 1rem 0 0;
    color: var(--primary-dark) !important;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}


.section-soft .treatment-card {
    box-shadow: 0 16px 38px rgba(76, 52, 70, 0.09);
}

.section-soft .section-heading .eyebrow,
.section-soft .section-heading h2 {
    position: relative;
    z-index: 1;
}

/* Home-specific cards */
.feature-card {
    box-shadow: none;
    background: transparent;
    border-color: transparent;
    padding: 0.4rem 1.25rem 0.4rem 0;
}

.feature-card::before {
    content: "";
    display: block;
    width: 2.4rem;
    height: 0.2rem;
    margin-bottom: 1.1rem;
    border-radius: 999px;
    background: var(--accent);
}

.feature-card:nth-child(2)::before {
    background: var(--green);
}

.feature-card:nth-child(3)::before {
    background: var(--primary);
}

.treatment-card {
    display: flex;
    min-height: 15rem;
    flex-direction: column;
}

.treatment-card .price {
    margin-top: auto;
    padding-top: 1rem;
}

.step-card {
    position: relative;
    overflow: hidden;
    min-height: 13.5rem;
    padding-top: 4.2rem;
    box-shadow: none;
}

.step-number {
    position: absolute;
    top: 1.15rem;
    left: 1.45rem;
    color: rgba(115, 83, 111, 0.14);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
}

.check-list {
    padding-left: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 0.7rem;
    padding-left: 1.75rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.04rem;
    color: var(--green);
    font-weight: 800;
}

.notice {
    margin-top: 1.5rem;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    background: #fff;
    color: var(--muted);
}

.notice strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.notice-warning {
    border-left-color: #8b671a;
    background: var(--warning-bg);
}

.contact-strip {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 2.8rem);
    border: 1px solid rgba(122, 90, 143, 0.18);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #7a5a8f 0%, #684b7b 55%, #5f466f 100%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(93, 67, 111, 0.22);
}

.contact-strip::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    background: linear-gradient(#cfb1df, #fff);
}

.contact-strip h2 {
    max-width: 20ch;
    color: #fff;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.contact-strip p {
    max-width: 57ch;
    margin-top: 0.7rem;
    color: rgba(255, 255, 255, 0.84);
}

.contact-strip a:not(.button) {
    color: #fff;
}

.contact-strip .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.contact-strip .button-secondary {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.contact-strip .button-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.contact-strip .button {
    box-shadow: none;
}

.contact-strip .button {
    white-space: nowrap;
}


/* Brand polish: small visual details derived from the Pedivine logo */
.hero::after {
    content: "";
    position: absolute;
    width: 8.5rem;
    height: 8.5rem;
    left: -3rem;
    bottom: -4rem;
    border: 1px solid rgba(85, 122, 77, 0.18);
    border-radius: 50%;
}

.hero-card {
    isolation: isolate;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 7rem;
    height: 7rem;
    left: -3.4rem;
    top: -3.2rem;
    border-radius: 50%;
    background: rgba(85, 122, 77, 0.09);
    z-index: -1;
}

.hero-fact:nth-child(1) {
    border-color: rgba(240, 127, 141, 0.22);
    background: var(--accent-soft);
}

.hero-fact:nth-child(2) {
    border-color: rgba(85, 122, 77, 0.20);
    background: var(--green-soft);
}

.hero-fact:nth-child(3) {
    border-color: rgba(115, 83, 111, 0.18);
    background: var(--primary-soft);
}

.feature-card {
    position: relative;
    padding-top: 0;
}

.feature-icon {
    display: inline-grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    margin-bottom: 1.15rem;
    border: 1px solid currentColor;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(76, 52, 70, 0.06);
}

.feature-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon-coral { color: var(--accent-dark); background: var(--accent-soft); }
.feature-icon-green { color: var(--green-dark); background: var(--green-soft); }
.feature-icon-plum { color: var(--primary-dark); background: var(--primary-soft); }

.feature-card::before {
    display: none;
}

.treatment-card {
    overflow: hidden;
}

.treatment-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.28rem;
    background: var(--accent);
}

.treatment-card:nth-child(2)::before { background: var(--green); }
.treatment-card:nth-child(3)::before { background: var(--primary); }

.treatment-card::after {
    content: "";
    position: absolute;
    width: 7rem;
    height: 7rem;
    right: -4.2rem;
    bottom: -4.2rem;
    border: 1px solid rgba(115, 83, 111, 0.10);
    border-radius: 50%;
}

.step-card {
    border-top: 3px solid rgba(240, 127, 141, 0.58);
}

.step-card:nth-child(2) { border-top-color: rgba(85, 122, 77, 0.52); }
.step-card:nth-child(3) { border-top-color: rgba(115, 83, 111, 0.55); }


.step-card {
    padding-top: 1.55rem;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.28rem 0.75rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gallery-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.7fr);
    gap: 1.4rem;
    align-items: start;
    margin-bottom: 2rem;
}

.gallery-note {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(115, 83, 111, 0.12);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(254,250,252,0.98));
    box-shadow: var(--shadow-sm);
}

.gallery-note::after {
    content: "";
    position: absolute;
    inset: auto -1.8rem -1.8rem auto;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 127, 141, 0.16), rgba(240, 127, 141, 0));
}

.gallery-note-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    margin-bottom: 1rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #fff 0%, #fdf5f7 100%);
    border: 1px solid var(--border-soft);
}

.gallery-note-brand img {
    width: 2.9rem;
    height: 2.9rem;
    object-fit: contain;
}

.gallery-note h3 {
    margin-bottom: 0.6rem;
}

.gallery-note p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.gallery-check-list li::before {
    color: var(--accent-dark);
}

.editorial-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.gallery-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid rgba(115, 83, 111, 0.10);
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-sm);
}

.gallery-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-tile figcaption {
    padding: 0.85rem 1rem 1rem;
    color: #554d53;
    font-size: 0.95rem;
}

.gallery-tile-large {
    grid-row: span 2;
}

.gallery-tile-large img {
    height: 100%;
    min-height: 100%;
}

/* The CTA is intentionally lighter than the old solid-purple block so it belongs to the rest of the site. */
.contact-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(1.25rem, 3vw, 2.2rem);
    align-items: center;
    padding: clamp(1.6rem, 4vw, 2.3rem);
    border: 1px solid rgba(115, 83, 111, 0.15);
    background:
        radial-gradient(circle at 92% 14%, rgba(240, 127, 141, 0.11), transparent 12rem),
        radial-gradient(circle at 10% 100%, rgba(85, 122, 77, 0.10), transparent 11rem),
        linear-gradient(135deg, #fffdfd 0%, #faf4f6 58%, #f4f0ed 100%);
    color: var(--text);
    box-shadow: 0 18px 48px rgba(76, 52, 70, 0.09);
}

.contact-strip::before {
    inset: 1.25rem auto 1.25rem 0;
    width: 0.28rem;
    border-radius: 999px;
    background: linear-gradient(var(--accent), var(--primary) 54%, var(--green));
}

.contact-brandmark {
    display: grid;
    width: 5.6rem;
    height: 5.6rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(115, 83, 111, 0.12);
    border-radius: 1.4rem;
    background: rgba(255,255,255,0.86);
    box-shadow: 0 10px 28px rgba(76, 52, 70, 0.07);
}

.contact-brandmark img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
}

.contact-copy { min-width: 0; }

.contact-strip h2 {
    max-width: 22ch;
    color: var(--text);
}

.contact-strip p {
    color: var(--muted);
}

.contact-strip a:not(.button) { color: var(--primary-dark); }
.contact-strip .eyebrow { color: var(--green-dark); }

.contact-strip .button-secondary {
    background: #fff;
    border-color: rgba(115, 83, 111, 0.28);
    color: var(--primary-dark);
}

.contact-strip .button-secondary:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.contact-strip .button { box-shadow: 0 8px 20px rgba(87, 61, 84, 0.12); }

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 750;
}

.footer-brand img {
    width: 2.9rem;
    height: 2.9rem;
    padding: 0.18rem;
    border-radius: 50%;
    background: #fff;
}

/* Tiny logo-colour accents keep generic cards from looking like template blocks. */
.section-soft .card:not(.treatment-card)::before,
.grid-2 > .card::before {
    content: "";
    position: absolute;
    width: 2.25rem;
    height: 0.18rem;
    top: 1.35rem;
    right: 1.35rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    opacity: 0.72;
}

/* Internal page header */
.page-header {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.4rem, 6vw, 5.1rem);
    background:
        radial-gradient(circle at 88% 0%, rgba(240, 127, 141, 0.13), transparent 22rem),
        radial-gradient(circle at 10% 100%, rgba(85, 122, 77, 0.08), transparent 18rem),
        linear-gradient(180deg, #faf3f6, #f5edf2);
    border-bottom: 1px solid var(--border-soft);
}

.page-header::after {
    content: "";
    position: absolute;
    width: 18rem;
    height: 18rem;
    right: -7rem;
    bottom: -10rem;
    border: 1px solid rgba(115, 83, 111, 0.13);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    max-width: 17ch;
}

.page-header p {
    max-width: 64ch;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.1rem;
}

/* Forms */
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.34fr);
    gap: 2rem;
    align-items: start;
}

.form-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: clamp(1.3rem, 4vw, 2.35rem);
    box-shadow: var(--shadow-sm);
}

.form-section {
    padding-block: 1.55rem;
    border-bottom: 1px solid var(--border-soft);
}

.form-section:first-child {
    padding-top: 0;
}

.form-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.form-section legend,
.form-section h2 {
    margin-bottom: 1rem;
    font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding-inline: 0;
    border: 0;
}

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

.field {
    display: grid;
    gap: 0.42rem;
}

.field + .field {
    margin-top: 1rem;
}

.form-grid .field + .field {
    margin-top: 0;
}

label,
.label {
    color: var(--text);
    font-weight: 650;
}

.field-help,
.required-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.required-note {
    margin-bottom: 1rem;
}

.required-label {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: 3.3rem;
    border: 1px solid #ab9ca2;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: #fffeff;
    color: var(--text);
    box-shadow: inset 0 1px 2px rgba(35, 28, 31, 0.03);
}

textarea {
    min-height: 8rem;
    resize: vertical;
}

input[type="date"] {
    appearance: auto;
    color-scheme: light;
    line-height: 1.35;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.68;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #7d6871;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-dark);
}

[aria-invalid="true"] {
    border-color: var(--danger) !important;
}

.field-error {
    margin: 0;
    color: var(--danger);
    font-size: 0.95rem;
    font-weight: 650;
}

.error-summary {
    margin-bottom: 1.4rem;
    border: 1px solid var(--danger);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.2rem;
    background: var(--danger-bg);
    color: #53111a;
}

.error-summary h2 {
    margin-bottom: 0.55rem;
    font-size: 1.22rem;
}

.error-summary ul {
    margin: 0;
}

.success-message {
    border: 1px solid var(--success);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    padding: 1.15rem;
    background: var(--success-bg);
    color: #163829;
}

.choice-grid {
    display: grid;
    gap: 0.75rem;
}

.choice-card {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    min-height: 3.6rem;
    padding: 0.9rem 1rem;
    border: 1px solid #a99aa0;
    border-radius: 0.85rem;
    background: #fff;
    font-weight: 400;
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.choice-card:hover {
    border-color: var(--primary-dark);
}

.choice-card:has(input:checked) {
    border-color: var(--primary-dark);
    background: #fbf7f9;
    box-shadow: 0 0 0 1px rgba(85, 50, 68, 0.18);
}

.choice-card:has(input:disabled) {
    opacity: 0.58;
    background: #f4f2f2;
    cursor: not-allowed;
}

.choice-card input {
    width: 1.4rem;
    height: 1.4rem;
    margin: 0.15rem 0 0;
    flex: 0 0 auto;
    accent-color: var(--primary-dark);
}

.choice-title {
    display: block;
    color: var(--text);
    font-weight: 650;
}

.choice-description {
    display: block;
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.94rem;
}

.hidden {
    display: none !important;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sidebar-card {
    position: sticky;
    top: 6.2rem;
}

.sidebar-card h2 {
    font-size: 1.45rem;
}

.sidebar-card ul {
    padding-left: 1.2rem;
}

.booking-info-card {
    overflow: hidden;
    padding: 1.65rem;
    border-color: rgba(122, 90, 143, 0.18);
    background:
        radial-gradient(circle at 100% 0%, rgba(181, 140, 201, 0.16), transparent 10rem),
        linear-gradient(180deg, #fff 0%, #fbf8fd 100%);
    box-shadow: 0 16px 38px rgba(83, 59, 99, 0.10);
}

.booking-info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.3rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.booking-info-card .eyebrow {
    margin: 0 0 0.55rem;
    color: var(--primary);
    font-size: 0.73rem;
}

.booking-info-card .eyebrow::before {
    display: none;
}

.booking-info-card h2 {
    margin-bottom: 0.55rem;
    color: #302638;
    font-size: 1.55rem;
}

.booking-info-intro {
    margin-bottom: 1.15rem;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.55;
}

.info-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 !important;
    list-style: none;
}

.info-list li {
    position: relative;
    padding: 0.82rem 0 0.82rem 1.35rem;
    border-top: 1px solid rgba(122, 90, 143, 0.11);
    color: #615767;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-list li::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 0.1rem;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(181, 140, 201, 0.12);
}

.booking-info-contact {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.05rem;
    padding-top: 1.05rem;
    border-top: 1px solid rgba(122, 90, 143, 0.16);
}

.booking-info-contact > span {
    color: #5f5465;
    font-size: 0.9rem;
    font-weight: 600;
}

.booking-info-card .button {
    width: 100%;
    min-height: 2.85rem;
    background: var(--primary-soft);
    border-color: rgba(122, 90, 143, 0.34);
    color: var(--primary-dark);
}

.booking-info-card .button:hover {
    background: #e6daee;
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: none;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #352c33 0%, #292227 100%);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 0.9fr;
    gap: 3rem;
    padding-block: 3rem 2.5rem;
}

.site-footer h2 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.site-footer p,
.site-footer li {
    color: #e9e1e6;
    font-size: 0.96rem;
}

.site-footer a {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-block: 1.05rem 1.35rem;
    color: #cfc7ca;
    font-size: 0.88rem;
}

/* Admin */
.admin-body {
    background: #f7f2f4;
}

.admin-shell {
    width: min(100% - 2rem, 88rem);
    margin-inline: auto;
    padding-block: 2rem 4rem;
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-block: 1.3rem 2rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.stat-number {
    display: block;
    margin-top: 0.25rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.admin-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
}

.filter-link {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0.7rem;
    background: #fff;
    color: var(--text);
    font-weight: 650;
    text-decoration: none;
}

.filter-link[aria-current="true"] {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
}

.appointment-list {
    display: grid;
    gap: 1rem;
}

.appointment-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.appointment-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: flex-start;
    justify-content: space-between;
}

.appointment-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.meta-block {
    padding: 0.8rem;
    border-radius: 0.75rem;
    background: #f8f5f4;
}

.meta-label {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.87rem;
    font-weight: 700;
}

.status-new { color: #633f5b; background: #f5ecf2; }
.status-confirmed { color: #174b6b; background: #eaf5fb; }
.status-progress { color: #6f4d00; background: #fff8e6; }
.status-done { color: #22543d; background: #eef8f2; }
.status-cancelled { color: #8c1d2c; background: #fff2f4; }

.admin-form {
    display: grid;
    grid-template-columns: minmax(12rem, 0.35fr) minmax(16rem, 1fr) auto;
    gap: 0.8rem;
    align-items: end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.admin-form .field + .field {
    margin-top: 0;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #fbf5f7, #f1e8ee);
}

.login-card {
    width: min(100%, 30rem);
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 5vw, 2.4rem);
    box-shadow: var(--shadow-md);
}

.login-logo {
    display: block;
    width: 6.4rem;
    margin: 0 auto 1rem;
}

.login-card h1 {
    font-size: 2.25rem;
    text-align: center;
}

.login-card > p {
    text-align: center;
    color: var(--muted);
}

.data-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: #fff;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 34rem;
}

.data-table th,
.data-table td {
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid var(--border-soft);
    text-align: left;
}

.data-table th {
    background: #f7edf0;
}

.flash {
    margin-bottom: 1rem;
    border: 1px solid var(--success);
    border-left-width: 4px;
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    background: var(--success-bg);
    color: #163829;
    font-weight: 650;
}

.flash-error {
    border-color: var(--danger);
    background: var(--danger-bg);
    color: #53111a;
}

.empty-state {
    padding: 2rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
}

/* Motion */
.js .reveal {
    opacity: 0;
    transform: translateY(0.65rem);
    transition: opacity 320ms ease, transform 320ms ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .card,
    .hero-card,
    .hero-visual {
        transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
    }

    .card:not(.feature-card):hover,
    .hero-card:hover,
    .hero-visual:hover,
    .gallery-tile:hover,
    .gallery-note:hover {
        transform: translateY(-2px);
        border-color: #ddcbd5;
        box-shadow: 0 18px 42px rgba(76, 52, 70, 0.11);
    }

    .button:hover,
    button.button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(87, 61, 84, 0.22);
    }

    .button-secondary:hover {
        box-shadow: 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;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .mobile-nav {
        display: grid;
        gap: 0.35rem;
    }

    .mobile-nav .nav-link {
        padding-inline: 0.6rem;
    }

    .js .mobile-nav {
        display: none;
    }

    .js .mobile-nav.is-open {
        display: grid;
    }

    .js .menu-button {
        display: inline-flex;
    }

    .hero-grid,
    .form-layout,
    .footer-grid,
    .gallery-intro,
    .editorial-gallery {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: 0;
    }

    .hero-card,
    .hero-visual {
        justify-self: start;
        max-width: 30rem;
    }

    .sidebar-card {
        position: static;
    }

    .grid-3,
    .grid-4,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-tile-large {
        grid-row: auto;
    }

    .admin-form {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .appointment-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        gap: 1.8rem;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 1rem;
    }

    .container {
        width: min(100% - 1.25rem, var(--content));
    }

    .header-inner {
        min-height: 4.4rem;
    }

    .brand img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .brand {
        font-size: 1.22rem;
    }

    .hero-grid {
        gap: 2.2rem;
        padding-block: 3.4rem 3.8rem;
    }

    .hero-copy h1,
    .page-header h1 {
        max-width: none;
    }

    .hero-card,
    .hero-visual {
        width: 100%;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-visual-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }

    .hero-visual-copy span {
        text-align: left;
    }

    .hero-facts {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .form-grid,
    .stat-grid,
    .appointment-meta {
        grid-template-columns: 1fr;
    }

    .gallery-note,
    .gallery-tile figcaption {
        padding-inline: 1rem;
    }

    .feature-card {
        padding-right: 0;
    }

    .contact-strip {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .contact-brandmark {
        width: 4.9rem;
        height: 4.9rem;
    }

    .admin-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .button,
    button.button {
        width: 100%;
    }

    .hero-actions .button,
    .inline-actions .button {
        flex: 1 1 100%;
    }
}

@media (forced-colors: active) {
    .button,
    .choice-card,
    input,
    select,
    textarea,
    .status {
        border: 2px solid ButtonText;
    }

    :focus-visible {
        outline: 3px solid Highlight;
    }
}

@media (prefers-contrast: more) {
    :root {
        --muted: #443d40;
        --border: #5f4b55;
        --border-soft: #75636b;
    }

    .card,
    .choice-card,
    .form-card,
    .sidebar-card,
    .appointment-card,
    .stat-card,
    .notice {
        border-width: 2px;
    }
}

@media print {
    .site-header,
    .site-footer,
    .button,
    .menu-button,
    .admin-actions,
    .admin-filter,
    .admin-form {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .card,
    .appointment-card {
        box-shadow: none;
        break-inside: avoid;
    }
}
