:root {
    --ink: #3a2c32;
    --ink-soft: #6d5a62;
    --rose: #c4819a;
    --rose-deep: #a85d78;
    --rose-soft: #f8e7ee;
    --blush: #f3d5e0;
    --cream: #fbf6f3;
    --paper: #f7f2ef;
    --white: #ffffff;
    --line: rgba(168, 93, 120, .16);
    --shadow: 0 16px 40px rgba(120, 70, 90, .08);
    --serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
    --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 1.02rem;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--rose-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .45em; color: #2f2428; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.site-header .wrap { width: min(1280px, calc(100% - 28px)); }
.skip {
    position: absolute; left: 12px; top: -40px; background: var(--rose-deep); color: white;
    padding: 8px 12px; border-radius: 8px; z-index: 50;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.kicker {
    font-family: var(--sans);
    font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--rose-deep); font-weight: 700; margin-bottom: .8rem;
}
.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 62ch; }
.rose-lead { color: var(--rose-deep); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.hint, .optional { color: var(--ink-soft); font-size: .92rem; }
.optional { font-weight: 400; }
.is-rose { color: var(--rose-deep); }

.site-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 18px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand__lockup { display: flex; align-items: center; gap: 8px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong, .brand__text small {
    font-family: var(--sans); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.brand__text strong { font-size: .68rem; color: #2f2428; }
.brand__text small { font-size: .6rem; color: var(--ink-soft); font-weight: 600; }
.brand__divider { width: 1px; height: 34px; background: var(--line); }
.nav { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.nav a { color: #4a3b41; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.nav a.is-active { color: var(--rose-deep); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
    display: none; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: white; gap: 5px;
    flex-direction: column; justify-content: center; align-items: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1.5px solid transparent; border-radius: 999px; padding: 12px 20px;
    background: var(--rose); color: white; text-decoration: none; font-weight: 600;
    font-family: var(--sans); cursor: pointer;
    box-shadow: 0 8px 18px rgba(196, 129, 154, .25);
}
.btn--outline, .btn--ghost {
    background: white; color: var(--rose-deep); border-color: #e7c3d0; box-shadow: none;
}
.btn--light { background: var(--rose); color: white; }
.btn--small { padding: 9px 16px; font-size: .92rem; white-space: nowrap; }
.btn__short { display: none; }
.hero-actions, .form-actions, .center-action { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.center-action { justify-content: center; margin-top: 26px; }
.text-link { font-weight: 700; color: var(--rose-deep); text-underline-offset: 3px; }

.hero { padding: 28px 0 8px; }
.hero-panel {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center;
    background:
        radial-gradient(420px 260px at 18% 20%, rgba(243, 213, 224, .7), transparent 70%),
        linear-gradient(180deg, #fff 0%, #fbf4f6 100%);
    border-radius: 32px; padding: 42px 42px 28px; position: relative; overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-panel::before, .banner::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M40 30c20 8 24 28 12 36-16-8-28-24-12-36z' fill='%23f3d5e0'/%3E%3Cpath d='M150 40c18 16 10 40-8 44 8-22 0-36 8-44z' fill='%23efd5cb'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8% top 10%; background-size: 280px;
    opacity: .85; pointer-events: none;
}
.hero-copy, .hero-visual, .banner > * { position: relative; }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); line-height: 1.02; max-width: 11em; }
.hero h1 em { font-style: italic; color: var(--rose-deep); font-weight: 500; }
.hero-visual { min-height: 320px; display: grid; align-items: end; }
.hero-visual svg { width: min(100%, 460px); margin-left: auto; }
.hero-note {
    position: absolute; right: 8%; bottom: 18%;
    font-family: var(--serif); font-style: italic; color: var(--rose-deep);
    font-size: 1.35rem; line-height: 1.25; text-align: right;
}

.section { padding: 42px 0; }
.section--tight { padding-top: 8px; }
.section__head { margin-bottom: 22px; max-width: 680px; }
.section__head--center { text-align: center; max-width: none; }
.section__head--center p { color: var(--ink-soft); }
.section__head--row { display: flex; justify-content: space-between; gap: 16px; align-items: end; max-width: none; }

.icon-row {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
    background: white; border-radius: 28px; padding: 22px 12px;
    box-shadow: var(--shadow);
}
.icon-row a {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-align: center; text-decoration: none; color: #4a3b41; font-weight: 600; font-size: .95rem;
}
.icon-row span {
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    color: var(--rose-deep); background: var(--rose-soft);
}
.icon { width: 24px; height: 24px; }

.about-home, .split-services, .detail-grid, .form-layout, .visit-grid, .doctor-profile {
    display: grid; gap: 28px; align-items: center;
}
.about-home { grid-template-columns: .9fr 1.1fr; }
.about-visual {
    min-height: 340px; border-radius: 28px; position: relative; overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.55)),
        linear-gradient(145deg, #f6e4ea, #f7efe8 55%, #e7d5cf);
    box-shadow: var(--shadow);
}
.about-visual__mark {
    position: absolute; left: 28px; bottom: 28px; background: rgba(255,255,255,.88);
    border-radius: 18px; padding: 16px 18px; max-width: 240px;
}
.about-visual__mark strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--rose-deep); }
.about-visual__mark span { color: var(--ink-soft); font-size: .92rem; }
.perk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.perk-row article { text-align: center; }
.perk-row span {
    width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 50%;
    display: grid; place-items: center; color: var(--rose-deep); background: var(--rose-soft);
}
.perk-row h3 { font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: 0; }

.split-services { grid-template-columns: 1fr 1fr; align-items: stretch; }
.service-panel {
    display: grid; grid-template-columns: .85fr 1.15fr; background: white;
    border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); min-height: 280px;
}
.service-panel__art { min-height: 220px; }
.service-panel__art--medical {
    background:
        radial-gradient(80px 60px at 30% 60%, rgba(255,255,255,.7), transparent 70%),
        linear-gradient(160deg, #f7e7ea, #e7d3d8);
}
.service-panel__art--aesthetic {
    background:
        radial-gradient(90px 70px at 60% 40%, rgba(255,255,255,.65), transparent 70%),
        linear-gradient(160deg, #f8e3ea, #f3d0c8);
}
.service-panel > div:last-child { padding: 26px 22px; }
.tick-list { list-style: none; padding: 0; margin: 0 0 16px; }
.tick-list li { position: relative; padding-left: 22px; margin: 6px 0; color: var(--ink-soft); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--rose); font-weight: 700; }

.card-grid, .clinic-grid, .value-grid, .focus-grid, .space-grid, .gallery-grid { display: grid; gap: 16px; }
.card-grid, .clinic-grid, .value-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid--doctors { grid-template-columns: repeat(4, 1fr); }
.card-grid--two, .gallery-grid, .space-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .doctor-card, .clinic-card, .aside-card, .form-card, .promo-card, .space-card, .empty, .contact-points article {
    background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
    box-shadow: var(--shadow);
}
.service-card { text-align: left; }
.service-card__icon {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: var(--rose-soft); color: var(--rose-deep); margin-bottom: 12px;
}
.service-card__clinic, .doctor-card__clinic, .doctor-card__role { color: var(--ink-soft); margin-bottom: .25rem; }
.doctor-card { text-align: center; padding: 16px 16px 20px; }
.doctor-card a { color: inherit; text-decoration: none; }
.doctor-card .avatar, .doctor-profile__photo {
    width: 100%; aspect-ratio: 1; height: auto; border-radius: 18px; object-fit: cover; margin: 0 auto 12px;
}
.doctor-card--focus .avatar { width: 112px; height: 112px; border-radius: 50%; font-size: 1.6rem; }
.avatar--initials {
    display: grid; place-items: center; background: linear-gradient(160deg, #f8e7ee, #f0c9d6);
    color: var(--rose-deep); font-family: var(--serif); font-size: 1.8rem;
}
.avatar--large { width: 180px; height: 180px; aspect-ratio: 1; border-radius: 24px; font-size: 2.6rem; }
.doctor-profile { grid-template-columns: 280px 1fr; align-items: start; }
.group-block { margin-bottom: 28px; }

.page-hero { padding: 22px 0 6px; }
.banner {
    position: relative; overflow: hidden; text-align: center;
    border-radius: 28px; padding: 62px 28px;
    background: linear-gradient(100deg, #fbf3ef 0%, #f7e4ea 46%, #f8f1ee 100%);
    box-shadow: var(--shadow);
}
.theme-aesthetic .banner { background: linear-gradient(100deg, #fdeff3, #f6d5e2 50%, #fbe8ee); }
.banner h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 16ch; margin-inline: auto; }
.banner .lead { margin-inline: auto; }
.banner .hero-actions { justify-content: center; }
.theme-medical .banner { background: linear-gradient(100deg, #f8f1ee, #f4e4ea 40%, #f7f3f1); }

.promo-grid, .promo-list { display: grid; gap: 16px; }
.promo-grid { grid-template-columns: 1fr 1fr; }
.promo-feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; margin-bottom: 18px; background: white; border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.promo-card { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: center; }
.promo-card img, .promo-feature img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.promo-feature__art, .space-art { min-height: 180px; border-radius: 18px; }
.space-art--wave { background: linear-gradient(160deg, #f7e7ea, #e7c9d4); }
.space-art--consult { background: linear-gradient(160deg, #f8efe8, #e7d5cf); }
.space-art--aesthetic { background: linear-gradient(160deg, #f8e3ea, #f3c9d4); }
.promo-feature__art { background: linear-gradient(160deg, #f7e7ee, #e7b7c8); }
.gallery-grid a { color: inherit; text-decoration: none; }
.gallery-grid img { aspect-ratio: 4/3; }
.gallery-grid span { display: block; margin-top: 8px; }

.contact-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.contact-points article h2 { font-size: 1.35rem; }
.form-layout { grid-template-columns: 1.2fr .8fr; align-items: start; }
.form-card label, .field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
input, select, textarea {
    width: 100%; border: 1px solid var(--line); background: white;
    border-radius: 14px; padding: 12px 14px; font-size: 16px;
}
textarea { resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--rose-deep); }
.field-error { color: var(--rose-deep); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-weight: 500; }
.check input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.flash { border-radius: 16px; padding: 12px 14px; margin: 16px auto; width: min(1160px, calc(100% - 36px)); }
.flash--success { background: #e7f6ee; }
.flash--error { background: #fdecef; }
.flash--info { background: #f8efe8; }
.reference { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: .03em; color: var(--rose-deep); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters a {
    border: 1px solid var(--line); background: white; color: var(--ink);
    border-radius: 999px; padding: 8px 14px; text-decoration: none;
}
.filters a.is-active { background: var(--rose); color: white; border-color: var(--rose); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin-top: 1.3em; }
.cta { margin: 10px 0 36px; }
.cta__row {
    display: flex; justify-content: space-between; gap: 18px; align-items: center;
    background: linear-gradient(90deg, #fdeff3, #f6dbe4); color: var(--ink);
    border-radius: 28px; padding: 28px;
}
.hours, .detail-list { margin: 0; }
.hours div, .detail-list div { border-top: 1px solid var(--line); padding-top: 12px; }
.hours dt, .detail-list dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.detail-list { margin-bottom: 16px; }
.detail-list dd { margin: 0; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 4px 10px; font-size: .85rem; font-weight: 700; background: #f8efe8; }
.status-pill--confirmed, .status-pill--completed { background: #e7f6ee; }
.status-pill--cancelled, .status-pill--no_show { background: #fdecef; }
.status-pill--rescheduled { background: var(--rose-soft); }
.visit { padding-bottom: 20px; }
.value-grid article, .focus-grid article, .steps li {
    background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps span {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--rose-soft); color: var(--rose-deep); font-family: var(--serif); margin-bottom: 10px;
}

.site-footer { background: white; color: var(--ink); padding: 48px 0 22px; margin-top: 20px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--rose-deep); text-decoration: none; display: block; margin-bottom: 6px; }
.site-footer h2 { font-size: 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.35fr; gap: 24px; }
.footer-hours p { margin: 0 0 8px; }
.footer-mark { font-family: var(--serif); font-size: 2rem; color: var(--rose-deep); }
.footer-base { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; }
.footer-meta { display: flex; justify-content: space-between; gap: 12px; }
.footer-meta a { display: inline; }
aside ol { margin: 0 0 1em; padding-left: 1.1em; }

dialog { border: 0; border-radius: 20px; padding: 16px; max-width: min(920px, calc(100% - 24px)); }
dialog img { max-height: 70vh; margin: 0 auto; }
dialog::backdrop { background: rgba(58, 44, 50, .55); }

@media (max-width: 1180px) {
    .hero-panel, .about-home, .split-services, .service-panel, .detail-grid, .form-layout,
    .doctor-profile, .footer-grid, .promo-feature, .contact-points { grid-template-columns: 1fr; }
    .card-grid, .clinic-grid, .value-grid, .card-grid--doctors, .gallery-grid, .space-grid, .perk-row { grid-template-columns: 1fr 1fr; }
    .icon-row { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: flex-start; background: white;
        border-bottom: 1px solid var(--line); padding: 8px 20px 16px; margin: 0;
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .header-actions { margin-left: auto; }
    .brand__divider, .brand__lockup:last-child { display: none; }
    .hero-visual { min-height: 0; }
    .hero-visual svg { width: min(100%, 320px); height: auto; margin: 8px auto 0; display: block; }
    .hero-note { position: static; text-align: left; margin-top: 8px; }
}
@media (max-width: 720px) {
    .btn__full { display: none; }
    .btn__short { display: inline; }
    .form-grid, .card-grid, .clinic-grid, .value-grid, .card-grid--doctors,
    .gallery-grid, .space-grid, .perk-row, .promo-grid, .promo-card, .icon-row, .steps { grid-template-columns: 1fr; }
    .cta__row, .section__head--row, .footer-meta { display: block; }
    .hero-panel { padding: 28px 20px; }
    .hero h1 { font-size: 2.15rem; line-height: 1.15; max-width: none; }
    .banner { padding: 42px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
