:root {
    --bg: #f8f4eb;
    --panel: #fffdf8;
    --text: #1e1e1b;
    --muted: #59564e;
    --brand: #2f5d4f;
    --brand-dark: #1e4036;
    --gold: #c5a26b;
    --line: #e6dcc9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

main {
    display: block;
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    position: relative;
}

.header-row {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 24px);
    min-height: 68px;
    padding: 8px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    flex-shrink: 0;
    max-width: min(220px, 32vw);
}

.logo-mark {
    color: var(--gold);
    font-size: 1.35rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.logo-title {
    font-size: 1rem;
    font-weight: 700;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: clamp(2px, 0.8vw, 10px);
    min-width: 0;
}

.nav a {
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
    line-height: 1.2;
}

.header-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(8px, 1.2vw, 16px);
    flex-shrink: 0;
    margin-left: auto;
}

.header-phone {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    line-height: 1;
    padding: 6px 0;
}

.header-phone:hover {
    color: var(--brand-dark);
}

.nav a:hover {
    background: rgba(239, 230, 214, 0.65);
    color: var(--text);
}

.nav a.active {
    background: transparent;
    color: var(--brand-dark);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn-header-cta {
    flex-shrink: 0;
    padding: 9px 15px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid rgba(197, 162, 107, 0.65);
    box-shadow: 0 4px 14px rgba(30, 64, 54, 0.2);
}

.btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-solid {
    background: var(--brand);
    color: #fff;
}

.btn-solid:hover {
    background: var(--brand-dark);
}

.btn-outline {
    border: 1px solid var(--line);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-booking {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    border-radius: 14px;
    font-weight: 600;
    color: #fff;
    border: 1px solid transparent;
    box-shadow:
        0 4px 14px rgba(20, 30, 24, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-booking:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(20, 30, 24, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-booking:active {
    transform: translateY(0);
}

.btn-booking__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.btn-booking__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    gap: 2px;
}

.btn-booking__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.btn-booking__channel {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-booking--whatsapp {
    background: linear-gradient(135deg, #2fd06a 0%, #1aab5a 52%, #128c4e 100%);
}

.btn-booking--whatsapp:hover {
    filter: brightness(1.05);
}

.btn-booking--max {
    background: linear-gradient(135deg, #7b6cff 0%, #5b4fe8 48%, #4338ca 100%);
}

.btn-booking--max:hover {
    filter: brightness(1.06);
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.booking-actions--hero {
    margin-top: 0;
}

.booking-actions--hero .btn-booking {
    min-width: 200px;
    backdrop-filter: blur(6px);
}

.booking-actions--hero .btn-booking--whatsapp {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.95), rgba(18, 140, 78, 0.98));
    border-color: rgba(255, 255, 255, 0.2);
}

.booking-actions--hero .btn-booking--max {
    background: linear-gradient(135deg, rgba(123, 108, 255, 0.95), rgba(67, 56, 202, 0.98));
    border-color: rgba(255, 255, 255, 0.2);
}

.booking-actions--card {
    flex-direction: column;
    gap: 10px;
}

.booking-actions--card .btn-booking {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 16px 11px 12px;
}

.booking-actions--card .btn-booking__icon {
    width: 38px;
    height: 38px;
}

.booking-actions--card .btn-booking__channel {
    font-size: 14px;
}

.booking-actions--detail {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.booking-actions--detail .btn-booking {
    min-width: 240px;
}

.hero {
    padding: 86px 0 72px;
    background:
        linear-gradient(rgba(24, 30, 26, 0.45), rgba(24, 30, 26, 0.42)),
        url("/assets/images/hero-banner.jpg") center/cover no-repeat,
        radial-gradient(circle at 20% 20%, rgba(197, 162, 107, 0.2), transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(47, 93, 79, 0.22), transparent 30%);
    color: #fff;
}

.hero::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin-top: 28px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero p {
    max-width: 680px;
    margin: 0 0 28px;
    color: #ece6d8;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

section {
    padding: 56px 0;
}

h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: clamp(26px, 4vw, 36px);
}

.grid {
    display: grid;
    gap: 18px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: stretch;
}

.services-grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-grid .card .service-image {
    flex-shrink: 0;
}

.services-grid .card > p:not(.meta):not(.price) {
    flex: 1 1 auto;
    margin-bottom: 0;
    min-height: 3.2em;
}

.services-grid .service-link {
    margin-top: auto;
    padding-top: 14px;
}

.services-grid .booking-actions--card {
    margin-top: 10px;
    width: 100%;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
}

.card:hover {
    transform: translateY(-3px);
    transition: transform 0.2s ease;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
}

.service-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    display: block;
}

.service-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--brand-dark);
}

.about-page .about-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--ink);
    font-weight: 600;
}

.about-page .about-heading {
    margin: 28px 0 12px;
    font-size: 1.35rem;
    color: var(--brand-dark);
}

.about-page .about-heading:first-of-type {
    margin-top: 0;
}

.about-page .about-list {
    margin: 0 0 18px;
    padding-left: 1.2rem;
    line-height: 1.7;
}

.about-page .about-list li + li {
    margin-top: 8px;
}

.about-page .about-cta {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(47, 93, 79, 0.08), rgba(197, 162, 107, 0.12));
    font-weight: 500;
    line-height: 1.65;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.about-actions .booking-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ——— Страница карточки услуги ——— */
.service-hero {
    padding: 48px 0 64px;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(105deg, rgba(18, 28, 24, 0.82) 0%, rgba(18, 28, 24, 0.55) 48%, rgba(18, 28, 24, 0.35) 100%),
        var(--service-hero-image, url("/assets/images/hero-banner.jpg")) center/cover no-repeat;
}

.page-service .service-hero::after {
    display: none;
}

.service-hero-title {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: clamp(38px, 5.5vw, 58px);
    line-height: 1.08;
    max-width: 820px;
    margin: 0 0 14px;
    letter-spacing: 0.01em;
}

.service-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    font-size: 20px;
    color: #f3ebdc;
}

.service-hero-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 22px;
}

.service-hero-meta-sep {
    color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light {
    border: 1px solid rgba(197, 162, 107, 0.75);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
    background: rgba(197, 162, 107, 0.18);
    color: #fff;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.15s ease;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs-current {
    color: rgba(255, 255, 255, 0.55);
    max-width: min(420px, 60vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumbs-sep {
    opacity: 0.45;
}

.service-detail-section {
    padding: 0 0 72px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.service-detail-card {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
    gap: 36px;
    align-items: start;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow:
        0 20px 50px rgba(24, 30, 26, 0.1),
        0 4px 16px rgba(24, 30, 26, 0.04);
}

.service-detail-media {
    position: sticky;
    top: 100px;
}

.service-detail-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: none;
    object-fit: cover;
    border-radius: 16px;
    margin: 0;
    display: block;
    box-shadow: 0 12px 32px rgba(24, 30, 26, 0.12);
}

.service-detail-heading {
    text-align: center;
    margin-bottom: 22px;
}

.service-detail-mark {
    display: block;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.service-detail-heading h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 600;
    color: var(--brand-dark);
}

.service-detail-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.service-detail-text p {
    margin: 0 0 16px;
}

.service-detail-text p:last-child {
    margin-bottom: 0;
}

.service-detail-body .booking-actions--detail {
    margin-top: 28px;
    padding-top: 0;
    border-top: none;
    justify-content: center;
}

.price {
    font-weight: 700;
    color: var(--brand-dark);
}

.meta {
    color: var(--muted);
    font-size: 14px;
}

.features-section {
    position: relative;
    padding: 68px 0 72px;
    overflow: hidden;
}

.features-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(248, 244, 235, 0.72) 10%, rgba(248, 244, 235, 0.78) 90%, var(--bg) 100%),
        linear-gradient(135deg, rgba(47, 93, 79, 0.18), rgba(30, 40, 36, 0.28)),
        url("/assets/images/features-section-bg.jpg") center/cover no-repeat;
    z-index: 0;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

.features-mark {
    display: block;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.features-section-head h2 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    color: var(--brand-dark);
}

.features-section-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.features-section .feature {
    text-align: center;
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(197, 162, 107, 0.32);
    box-shadow:
        0 14px 34px rgba(24, 30, 26, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.feature {
    text-align: center;
}

.feature .icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f5ebda, #efe6d6);
    border: 1px solid rgba(197, 162, 107, 0.35);
    display: grid;
    place-items: center;
    font-size: 20px;
}

.feature-link {
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-link:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 14px 32px rgba(47, 93, 79, 0.12);
    color: inherit;
}

.hero .btn-cert-hero {
    border-color: rgba(197, 162, 107, 0.85);
    color: #fff;
}

.hero .btn-cert-hero:hover {
    background: rgba(197, 162, 107, 0.22);
    color: #fff;
}

/* ——— Блок сертификатов ——— */
.certificates-section {
    padding: 0 0 72px;
    position: relative;
}

.certificates-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%),
        linear-gradient(120deg, rgba(30, 64, 54, 0.72), rgba(24, 30, 26, 0.55)),
        var(--cert-section-bg, url("/assets/images/certificates-section-bg.jpg")) center/cover no-repeat;
    z-index: 0;
}

.certificates-section .container {
    position: relative;
    z-index: 1;
}

.certificates-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr);
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 24px;
    border: 1px solid rgba(197, 162, 107, 0.35);
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.97), rgba(255, 249, 240, 0.92)),
        var(--cert-card-bg, url("/assets/images/certificates-card-bg.jpg")) center/cover no-repeat;
    box-shadow:
        0 28px 60px rgba(18, 28, 24, 0.22),
        0 8px 24px rgba(18, 28, 24, 0.08);
}

.certificates-visual {
    display: flex;
    justify-content: center;
    padding: 8px;
}

.certificates-image {
    width: min(100%, 340px);
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 18px 40px rgba(24, 30, 26, 0.2),
        0 0 0 1px rgba(197, 162, 107, 0.25);
    transform: rotate(-2deg);
    transition: transform 0.25s ease;
}

.certificates-panel:hover .certificates-image {
    transform: rotate(0deg) scale(1.02);
}

.certificates-content {
    padding: 8px 4px;
}

.certificates-mark {
    display: block;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.certificates-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}

.certificates-title {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--brand-dark);
}

.certificates-text {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--muted);
}

.certificates-benefits {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.certificates-benefits li {
    position: relative;
    padding-left: 26px;
    color: var(--text);
    font-size: 15px;
}

.certificates-benefits li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 12px;
}

.certificates-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.btn-cert-primary {
    padding: 12px 22px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(47, 93, 79, 0.25);
}

.booking-actions--cert {
    margin-top: 0;
}

.booking-actions--cert .btn-booking {
    padding: 10px 14px 10px 12px;
}

.booking-actions--cert .btn-booking__icon {
    width: 36px;
    height: 36px;
}

.booking-actions--cert .btn-booking__channel {
    font-size: 13px;
}

.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.site-footer {
    flex-shrink: 0;
    margin-top: 48px;
    background: #152521;
    color: #e9e6de;
    padding: 44px 0 24px;
}

.site-footer h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #fff;
}

.site-footer p {
    margin: 0 0 8px;
}

.site-footer a {
    color: #e9e6de;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.footer-copy {
    margin-top: 24px;
    font-size: 14px;
    color: #bfb9aa;
    border-top: 1px solid #32463d;
    padding-top: 16px;
}

.page-service .service-detail-section {
    padding-bottom: 56px;
}

.contact-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.map-placeholder {
    min-height: 260px;
    border-radius: 14px;
    border: 1px dashed #ccbfa6;
    background: linear-gradient(160deg, #f4ebdb 0%, #efe2cd 100%);
    display: grid;
    place-items: center;
    color: #7a6f5e;
}

.map-wrap {
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-wrap iframe {
    width: 100%;
    min-height: 290px;
    border: 0;
    display: block;
}

.lead-form {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.lead-form label {
    font-weight: 600;
}

.lead-form input,
.lead-form textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.lead-form .hp {
    position: absolute;
    left: -10000px;
    opacity: 0;
}

.form-status {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
}

.form-status.ok {
    background: #e1f2e7;
    color: #1f5631;
}

.form-status.err {
    background: #f8e1e1;
    color: #7a2323;
}

.admin-page {
    padding: 30px 0 52px;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    background: linear-gradient(125deg, #f7f3ea, #f0e6d4);
}

.admin-sidebar {
    background: #17332b;
    color: #e7e2d8;
    padding: 22px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.admin-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 4px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-brand p {
    margin: 2px 0 0;
    color: #bfb6a4;
    font-size: 13px;
}

.admin-menu {
    margin-top: 18px;
    display: grid;
    gap: 6px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d8d0bf;
    border-radius: 10px;
    padding: 9px 10px;
}

.admin-menu a.active,
.admin-menu a:hover {
    background: rgba(226, 196, 141, 0.18);
    color: #fff;
}

.admin-content {
    padding: 24px 26px 40px;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-kpi-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(42, 44, 30, 0.06);
}

.admin-kpi-label {
    margin: 0 0 6px;
    color: #6e665a;
    font-size: 13px;
}

.admin-kpi-value {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1b3f33;
}

.admin-kpi-date {
    font-size: 18px;
}

.admin-header {
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.admin-header h1 {
    margin: 0 0 4px;
}

.admin-header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-search {
    min-width: 250px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
}

.admin-notify {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.admin-topbar {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-card-narrow {
    max-width: 520px;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-card h2 {
    margin-bottom: 14px;
}

.admin-repeater-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-items {
    display: grid;
    gap: 12px;
}

.admin-item {
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #fffefb;
}

.admin-item-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.drag-handle {
    display: inline-block;
    font-weight: 700;
    color: #8d7f67;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 2px 8px;
    cursor: move;
    user-select: none;
}

.admin-item.dragging {
    opacity: 0.55;
}

.admin-image-preview {
    max-width: 220px;
    max-height: 130px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #f5efe2;
}

.admin-remove {
    margin-top: 10px;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.admin-grid-2 label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.admin-grid-2 input,
.admin-grid-2 textarea,
.code-textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
}

.admin-col-full {
    grid-column: 1 / -1;
}

.admin-hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: #7a6f5c;
}

.admin-grid-2 select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
}

.code-textarea {
    font-family: Consolas, Monaco, monospace;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .logo-tagline {
        display: none;
    }

    .logo {
        max-width: 180px;
    }

    .logo-title {
        font-size: 0.92rem;
    }

    .nav a {
        padding: 6px 6px;
        font-size: 13px;
    }

    .header-phone {
        font-size: 12px;
    }
}

@media (max-width: 1100px) {
    .header-phone {
        display: none;
    }
}

@media (max-width: 1100px) {
    .header-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 10px 12px;
        padding: 10px 0;
    }

    .logo {
        grid-column: 1;
        max-width: none;
    }

    .nav-toggle {
        display: inline-flex;
        grid-column: 2;
    }

    .header-actions {
        grid-column: 3;
        margin-left: 0;
    }

    .nav {
        display: none;
        grid-column: 1 / -1;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--panel);
        box-shadow: 0 16px 36px rgba(24, 30, 26, 0.12);
    }

    .site-header.is-nav-open .nav {
        display: flex;
    }

    .nav a {
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 10px;
        text-align: left;
    }

    .nav a.active {
        box-shadow: none;
        border-left: 3px solid var(--gold);
        background: rgba(239, 230, 214, 0.75);
        padding-left: 11px;
    }

    .btn-header-cta {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 860px) {
    .contact-block {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 14px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .service-detail-media {
        position: static;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-header {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-search {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .hero {
        padding: 64px 0 54px;
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .hero p {
        font-size: 16px;
    }

    .service-image {
        height: 170px;
    }

    .card {
        padding: 16px;
    }

    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }

    .booking-actions--hero,
    .booking-actions--detail {
        flex-direction: column;
        width: 100%;
    }

    .booking-actions--hero .btn-booking,
    .booking-actions--detail .btn-booking {
        width: 100%;
        min-width: 0;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        padding: 20px;
        margin-top: 0;
    }

    .service-detail-media {
        position: static;
    }

    .service-detail-image {
        aspect-ratio: 16 / 10;
    }

    .service-hero {
        min-height: 360px;
        padding-top: 36px;
    }

    .logo-tagline {
        display: none;
    }

    .certificates-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .certificates-benefits {
        text-align: left;
    }

    .certificates-actions {
        justify-content: center;
    }

    .certificates-image {
        transform: none;
    }
}

/* ——— Franchise page ——— */
.franchise-hero {
    background:
        linear-gradient(rgba(20, 36, 30, 0.58), rgba(20, 36, 30, 0.52)),
        url("/assets/images/korona-tailanda-spa-banner.jpg") center/cover no-repeat,
        radial-gradient(circle at 20% 20%, rgba(197, 162, 107, 0.22), transparent 42%),
        var(--brand-dark);
    min-height: min(88vh, 720px);
    display: flex;
    align-items: center;
    padding: 96px 0 80px;
}

.franchise-hero .container {
    width: 100%;
}

.franchise-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.franchise-hero h1 {
    max-width: 820px;
}

.franchise-hero p {
    max-width: 720px;
    line-height: 1.7;
}

.franchise-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: center;
}

.franchise-about h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    color: var(--brand-dark);
    line-height: 1.2;
}

.franchise-about p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.franchise-aside-photo {
    min-height: 340px;
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(30, 64, 54, 0.18), rgba(30, 64, 54, 0.05)),
        url("/assets/images/spa-thailand-saransk-homepage-design.jpg") center/cover no-repeat;
    border: 1px solid rgba(197, 162, 107, 0.28);
    box-shadow: 0 18px 40px rgba(24, 30, 26, 0.12);
}

.franchise-aside-caption {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.franchise-advantages {
    background:
        linear-gradient(180deg, rgba(248, 244, 235, 0.2), rgba(239, 230, 214, 0.55));
}

.franchise-advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.franchise-advantage-card {
    text-align: left;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(197, 162, 107, 0.3);
    box-shadow: 0 12px 28px rgba(24, 30, 26, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.franchise-advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(47, 93, 79, 0.12);
}

.franchise-advantage-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 0 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f5ebda, #efe6d6);
    border: 1px solid rgba(197, 162, 107, 0.35);
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--brand-dark);
}

.franchise-advantage-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--brand-dark);
}

.franchise-advantage-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.franchise-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin-inline: auto;
}

.franchise-checklist li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 16px;
    line-height: 1.55;
}

.franchise-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.franchise-quote {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 34px;
    background: var(--panel);
    border: 1px solid rgba(197, 162, 107, 0.35);
    box-shadow: 0 16px 36px rgba(24, 30, 26, 0.08);
}

.franchise-quote p {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text);
}

.franchise-quote footer {
    color: var(--muted);
    font-weight: 600;
}

.franchise-cta {
    background:
        linear-gradient(145deg, #16352c 0%, #1e4036 42%, #2f5d4f 100%);
    color: #fff;
    padding: 72px 0;
}

.franchise-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 36px;
    align-items: start;
}

.franchise-cta-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.franchise-cta-copy p {
    margin: 0;
    color: #e8e0d0;
    font-size: 17px;
    line-height: 1.7;
    max-width: 520px;
}

.franchise-cta-form {
    background: rgba(255, 253, 248, 0.98);
    color: var(--text);
    border: 1px solid rgba(197, 162, 107, 0.35);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.franchise-cta-form .btn-solid {
    margin-top: 6px;
    width: 100%;
    text-align: center;
}

@media (max-width: 960px) {
    .franchise-advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .franchise-about-grid,
    .franchise-cta-inner {
        grid-template-columns: 1fr;
    }

    .franchise-aside-photo {
        min-height: 260px;
    }
}

@media (max-width: 620px) {
    .franchise-hero {
        min-height: auto;
        padding: 72px 0 58px;
    }

    .franchise-advantages-grid {
        grid-template-columns: 1fr;
    }

    .franchise-quote {
        padding: 22px 18px;
    }

    .franchise-quote p {
        font-size: 16px;
    }

    .franchise-cta {
        padding: 52px 0;
    }
}
