@font-face {
    font-family: Manrope;
    src: url("manrope.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("playfairdisplay.woff2") format("woff2");
    font-style: italic;
    font-weight: 500;
    font-display: swap;
}
:root {
    color-scheme: light;
    --ink: #12372a;
    --muted: #52635b;
    --green: #104330;
    --deep: #0c3023;
    --lime: #e2ed85;
    --mint: #e8f1e9;
    --paper: #f7f8f3;
    --line: #dce5dc;
    --white: #fff;
    font-family: Manrope, "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.02; }
h2 { font-size: clamp(2.15rem, 4.5vw, 3.65rem); }
p { color: var(--muted); line-height: 1.65; }
:focus-visible { outline: 3px solid #769527; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-nav { background: var(--paper); }
.nav-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.nav-inner nav { display: flex; gap: 30px; font-weight: 600; }
.nav-inner nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; width: max-content; }
.brand > span:last-child { color: #52763a; margin-left: -7px; }
.mark { display: grid; place-items: center; inline-size: 37px; block-size: 37px; border-radius: 12px; color: var(--lime); background: var(--green); font-size: 1.45rem; }
.button { min-height: 48px; border-radius: 9px; border: 1px solid transparent; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-align: center; line-height: 1.25; }
.primary { color: white; background: var(--green); }
.primary:hover { background: #1c6046; }
.lime { color: var(--deep); background: var(--lime); }
.lime:hover { background: #f0f7ae; }
.outline { color: white; border-color: #729384; }
.outline:hover { background: #ffffff14; }
.hero { background: var(--deep); color: white; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(25px, 5vw, 72px); padding-block: clamp(42px, 6vw, 84px); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .875rem; letter-spacing: .1em; font-weight: 750; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #82a13d; }
.hero .eyebrow { color: var(--lime); }
.hero .eyebrow span { background: var(--lime); }
.hero h1 { margin: 23px 0; font-size: clamp(3rem, 5.8vw, 5.5rem); }
.hero h1 em { color: var(--lime); font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: -.065em; }
.hero p { color: #dce8df; font-size: 1.12rem; max-width: 42ch; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.hero-gallery { min-width: 0; }
.gallery-frame { border: 1px solid #ffffff2b; border-radius: 24px; overflow: hidden; background: #113b2c; }
.gallery-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #294d3e; }
.gallery-frame figcaption { display: grid; gap: 3px; padding: 14px 18px 16px; }
.gallery-frame figcaption strong { font-size: 1.05rem; }
.gallery-frame figcaption span { color: #bed1c5; font-size: .8125rem; }
.gallery-nav:not([hidden]) { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 9px; }
.gallery-step, .gallery-dots button { color: #f5f8ee; background: transparent; min-height: 44px; }
.gallery-step { border: 1px solid #688b7b; border-radius: 8px; padding: 8px 12px; font-size: .875rem; font-weight: 700; }
.gallery-step:hover { background: #ffffff1c; }
.gallery-dots { display: flex; }
.gallery-dots button { display: grid; place-items: center; width: 38px; border: 0; border-radius: 8px; padding: 0; }
.gallery-dots span { width: 9px; height: 9px; border-radius: 50%; background: #849e91; }
.gallery-dots button[aria-current="true"] span { width: 22px; border-radius: 9px; background: var(--lime); }
.gallery-dots button:hover span { background: white; }
.section { padding-block: clamp(54px, 8vw, 104px); scroll-margin-top: 12px; }
.section h2, .clinic h2 { margin: 12px 0 24px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.service-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; margin-bottom: 14px; background: var(--mint); color: var(--green); font-size: 1.4rem; }
.service h3 { font-size: 1.32rem; letter-spacing: -.025em; margin-bottom: 6px; }
.service dl { width: 100%; margin-block: 14px; }
.service dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 8px; border-top: 1px solid var(--line); }
.service dd { text-align: right; font-weight: 750; }
.service dd small { font-size: .82rem; font-weight: 500; }
.text-link { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #84a28e; }
.text-link:hover { text-decoration-color: currentColor; }
.service .text-link { margin-top: auto; padding-top: 12px; }
.more { background: #e6efdd; }
.clinic { background: #e8efe5; }
.clinic-inner { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; align-items: center; gap: clamp(30px, 7vw, 100px); padding-block: 56px; }
.clinic-inner img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: 20px; }
.clinic h2 { margin-bottom: 7px; }
.clinic .role { font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.clinic .text-link { display: inline-block; margin-top: 15px; }
.booking { display: grid; grid-template-columns: 1fr 1.24fr; gap: clamp(22px, 6vw, 72px); align-items: start; }
.booking > div p { max-width: 42ch; margin-bottom: 18px; }
.form-card, .panel { border: 1px solid var(--line); background: white; border-radius: 16px; padding: clamp(16px, 3vw, 28px); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 650; min-width: 0; }
input, select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #becec2; border-radius: 8px; padding: 9px 11px; background: white; color: var(--ink); font-size: 1rem; }
select { appearance: none; padding-right: 32px; background: linear-gradient(45deg, transparent 50%, #456557 50%) right 17px center / 5px 5px no-repeat, linear-gradient(135deg, #456557 50%, transparent 50%) right 12px center / 5px 5px no-repeat, white; }
.form-note { font-size: .875rem; }
.notice { padding: 12px 14px; border-radius: 8px; }
.success { background: #e4f2e7; color: #13482d; }
.error { background: #fbe9e6; color: #892d23; }
footer { border-top: 1px solid var(--line); }

.admin-body { background: #f3f6f3; min-height: 100vh; }
.login { display: grid; grid-template-columns: 1fr 1fr; width: min(900px, calc(100% - 36px)); margin: clamp(24px, 12vh, 108px) auto; border-radius: 25px; overflow: hidden; background: white; box-shadow: 0 16px 55px #10342616; }
.login-brand, .login-form { padding: clamp(24px, 5vw, 60px); }
.login-brand { background: var(--deep); color: white; }
.login-brand .brand > span:last-child, .sidebar .brand > span:last-child { color: var(--lime); }
.login-brand h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); margin: 55px 0 20px; }
.login-brand p { color: #dce8df; }
.login-form h2 { font-size: 2.15rem; margin: 12px 0; }
.login-form .notice { margin-top: 15px; }
.stack { display: grid; gap: 16px; margin-block: 25px 18px; }
.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--deep); color: white; display: flex; flex-direction: column; gap: 32px; padding: 24px 17px; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a, .logout { padding: 11px; border-radius: 8px; }
.sidebar nav a:hover, .sidebar nav .active, .logout:hover { background: #ffffff22; }
.sidebar > form { margin-top: auto; }
.logout { color: white; background: transparent; border: 1px solid #719080; }
.dashboard { width: min(100%, 1380px); margin-inline: auto; padding: clamp(18px, 3.5vw, 50px); }
.dashboard-header, .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); margin: 8px 0; }
.dashboard > .notice { margin-top: 18px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.metric { display: grid; align-content: start; justify-items: start; gap: 10px; border-radius: 13px; padding: 15px; border: 1px solid var(--line); background: white; }
.metric:hover { border-color: #82a58c; }
.metric strong { font-size: 2rem; line-height: 1; }
.status { font-size: .875rem; font-weight: 700; border-radius: 50px; padding: 4px 9px; white-space: nowrap; }
.pending { background: #fff0cb; color: #704c03; }
.confirmed { background: #e0f2e6; color: #185839; }
.completed { background: #e1ebfb; color: #244983; }
.cancelled { background: #f9e8e7; color: #8a3432; }
.panel h2 { font-size: 1.65rem; letter-spacing: -.035em; }
.panel-head { margin-bottom: 19px; }
.panel-head span { color: var(--muted); }
.editor { margin-bottom: 20px; }
.editor .notice { margin-bottom: 16px; }
.save-button { align-self: end; }
.filters { display: grid; grid-template-columns: minmax(135px, 1.35fr) minmax(128px, 1fr) minmax(120px, 1fr) auto auto; align-items: end; gap: 10px; }
.filters .button { min-height: 44px; }
.filters .text-link { align-self: end; padding: 10px 0; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: 14px 11px; border-bottom: 1px solid var(--line); }
thead { background: #eef4ee; font-size: .875rem; }
tbody th { font-weight: 700; }
table small { display: block; color: var(--muted); font-weight: 400; margin-top: 3px; font-size: .875rem; }
.nowrap, .row-actions { white-space: nowrap; }
.row-actions, .pagination { display: flex; gap: 12px; }
.pagination { margin-top: 18px; flex-wrap: wrap; }
.empty { margin-top: 18px; background: #f1f6f1; padding: 28px 12px; text-align: center; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 950px) {
    .admin-shell { grid-template-columns: 175px minmax(0, 1fr); }
    .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .filters .text-link { justify-self: start; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 36px); }
    .nav-inner { min-height: 70px; gap: 10px; }
    .nav-inner nav { display: none; }
    .hero-grid, .booking { grid-template-columns: 1fr; }
    .clinic-inner { grid-template-columns: minmax(105px, 35%) 1fr; gap: 18px; padding-block: 40px; }
    .clinic h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); }
    .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 17px; gap: 12px 18px; }
    .footer-inner p { display: none; }
    .admin-shell, .login { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
    .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .sidebar > form { margin-top: 0; }
    .login-brand h1 { margin-top: 22px; }
}
@media (max-width: 480px) {
    .service-grid, .fields { grid-template-columns: 1fr; }
    .dashboard-header { align-items: flex-start; flex-direction: column; }
    .metrics, .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .clinic-inner { grid-template-columns: 1fr; }
    .clinic-inner img { width: min(100%, 240px); }
    .nav-inner .button { padding-inline: 10px; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
