:root {
    --bg: #f4efe8;
    --bg-soft: #efe7dc;
    --panel: rgba(255, 255, 255, 0.72);
    --panel-solid: #fffaf5;
    --line: rgba(75, 58, 46, 0.12);
    --text: #2f241d;
    --muted: #6b5b4f;
    --accent: #9f7b5e;
    --accent-strong: #7d5e45;
    --success: #4c7b60;
    --danger: #9b5449;
    --shadow: 0 18px 60px rgba(82, 60, 43, 0.12);
    --radius: 28px;
    --radius-small: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(208, 181, 152, 0.28), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 25%),
        linear-gradient(180deg, #f8f4ee 0%, #f0e7da 100%);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(244, 239, 232, 0.75);
    border-bottom: 1px solid rgba(75, 58, 46, 0.08);
}

.nav-shell,
.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand,
h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
}

.brand {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
    color: var(--muted);
}

.button,
.link-chip,
.text-button {
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.85rem 1.3rem;
    border: none;
    border-radius: 999px;
    background: var(--accent-strong);
    color: #fff;
    cursor: pointer;
}

.button:hover,
.button:focus-visible,
.link-chip:hover,
.text-button:hover {
    transform: translateY(-1px);
}

.button-secondary {
    background: rgba(125, 94, 69, 0.12);
    color: var(--accent-strong);
}

.button-small {
    min-height: 40px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}

.button-full {
    width: 100%;
}

.button-danger {
    background: var(--danger);
    color: #fff;
}

.link-chip {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.text-button {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--accent-strong);
    cursor: pointer;
}

.eyebrow {
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    color: var(--muted);
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-grid,
.about-grid,
.booking-grid,
.contact-grid,
.admin-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.hero-copy,
.hero-panel,
.about-grid > *,
.booking-grid > *,
.contact-grid > *,
.admin-grid-two > * {
    min-width: 0;
}

.hero-copy h1,
.section-heading h2,
.booking-intro h2,
.admin-page-header h1,
.about-grid h2,
.contact-grid h2 {
    margin: 0;
    line-height: 1.05;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.hero-copy h1 {
    max-inline-size: 11ch;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.hero-text,
.booking-intro p,
.about-grid p,
.contact-card p,
.soft-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions,
.button-row,
.stack-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-points,
.info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0;
    margin: 1.75rem 0 0;
    list-style: none;
}

.hero-points li,
.info-strip span {
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(75, 58, 46, 0.08);
}

.hero-panel {
    display: grid;
    gap: 1rem;
}

.hero-card,
.treatment-card,
.gallery-card,
.booking-card,
.contact-card,
.admin-panel,
.admin-stat-card,
.panel-subcard,
.login-card {
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow);
}

.hero-card,
.booking-card,
.admin-panel,
.login-card {
    padding: 1.5rem;
}

.accent-card {
    background: linear-gradient(160deg, rgba(159, 123, 94, 0.18), rgba(255, 255, 255, 0.55));
}

.card-kicker,
.treatment-meta,
.step-header span {
    color: var(--muted);
    font-size: 0.85rem;
}

.slot-preview {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.slot-preview:last-child {
    border-bottom: none;
}

.section {
    padding: 4rem 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(239, 231, 220, 0.2));
}

.section-feature {
    padding-top: 5rem;
}

.section-heading {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.treatment-grid,
.gallery-grid,
.admin-stats-grid,
.gallery-admin-grid {
    display: grid;
    gap: 1.25rem;
}

.treatment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid,
.gallery-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 2rem;
}

.treatment-card,
.gallery-card,
.gallery-admin-card {
    overflow: hidden;
}

.treatment-card,
.gallery-card {
    padding: 1.5rem;
}

.treatment-card h3,
.gallery-card figcaption,
.admin-panel h2,
.login-card h1 {
    margin: 0 0 0.75rem;
}

.treatment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.gallery-card img,
.gallery-admin-card img {
    aspect-ratio: 0.95;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 1rem;
}

.booking-card {
    display: grid;
    gap: 1rem;
}

.booking-step {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--line);
    opacity: 0.72;
}

.booking-step.is-active {
    opacity: 1;
}

.step-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(159, 123, 94, 0.16);
    color: var(--accent-strong);
    font-weight: 700;
}

.step-header p {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.booking-treatment-list,
.slot-selection,
.admin-stack-list,
.stack-form,
.contact-card,
.login-card {
    display: grid;
    gap: 0.85rem;
}

.booking-treatment-option,
.slot-button,
.field-wide,
.gallery-admin-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
}

.booking-treatment-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.9rem 1rem;
    cursor: pointer;
}

.booking-treatment-option input {
    margin-top: 0.35rem;
}

.slot-button {
    display: grid;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    text-align: left;
    cursor: pointer;
}

.slot-button.is-selected {
    border-color: rgba(125, 94, 69, 0.45);
    background: rgba(159, 123, 94, 0.12);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.field-wide {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(75, 58, 46, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.checkbox {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.checkbox input {
    width: auto;
}

.form-feedback,
.flash {
    padding: 0.9rem 1rem;
    border-radius: 18px;
}

.form-feedback[data-type='success'],
.flash-success {
    background: rgba(76, 123, 96, 0.14);
    color: var(--success);
}

.form-feedback[data-type='error'],
.flash-error {
    background: rgba(155, 84, 73, 0.12);
    color: var(--danger);
}

.contact-card {
    align-content: start;
    padding: 1.5rem;
}

.contact-card a:first-child {
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
}

.site-footer {
    padding: 2rem 0 3rem;
    color: var(--muted);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-body {
    min-height: 100vh;
}

.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(75, 58, 46, 0.08);
    background: rgba(255, 255, 255, 0.42);
}

.admin-nav,
.admin-meta {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
}

.admin-nav a {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    color: var(--muted);
}

.admin-nav a.is-active,
.admin-nav a:hover {
    background: rgba(159, 123, 94, 0.14);
    color: var(--accent-strong);
}

.admin-content {
    padding: 2rem;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-stat-card strong {
    display: block;
    margin-top: 0.8rem;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

.booking-admin-card,
.gallery-admin-card {
    padding: 1rem;
}

.gallery-admin-grid {
    align-items: start;
}

.gallery-admin-card img {
    aspect-ratio: 1;
}

.panel-subcard {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.55);
}

.preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.admin-login-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.login-card {
    width: min(100%, 520px);
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .booking-grid,
    .contact-grid,
    .admin-grid-two,
    .treatment-grid,
    .gallery-grid,
    .admin-stats-grid,
    .gallery-admin-grid,
    .form-grid,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
    }

    .admin-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(75, 58, 46, 0.08);
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: 3.5rem;
    }

    .nav-shell,
    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions,
    .button-row,
    .stack-links {
        flex-direction: column;
    }

    .hero-copy h1,
    .section-heading h2,
    .booking-intro h2,
    .admin-page-header h1,
    .about-grid h2,
    .contact-grid h2 {
        font-size: 2.4rem;
    }

    .section,
    .section-feature {
        padding: 3rem 0;
    }

    .admin-content {
        padding: 1rem;
    }
}
