/* ===== FONTS (локально, без Google Fonts) =====
   Inter и Playfair Display — лицензия SIL OFL 1.1 (тексты лицензий в папке fonts/).
   Вариативные шрифты: один файл покрывает все начертания. Браузер скачивает
   кириллицу только когда на странице есть русский текст (unicode-range). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/playfair-display-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/playfair-display-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.serif {
    font-family: 'Playfair Display', Georgia, serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

input,
textarea {
    font-family: inherit;
}

/* ===== COLORS ===== */
:root {
    --navy: #1A1A2E;
    --gold: #C9A96E;
    --gold-dark: #b8963d;
    --beige: #FCE0DA;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --olive: #7C8C56;
    --olive-dark: #6B7A4A;
    --olive-light: #8B9A6B;
    --olive-deep: #5A6740;
    --pink:#E7C7BA;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 32px;
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.logo span {
    color: var(--olive);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--olive);
}

.lang-switcher {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s;
    color: rgba(255, 255, 255, 0.6);
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: var(--olive);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-gold {
    background: var(--olive);
    color: #fff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: var(--olive-dark);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-gold-lg {
    background: var(--olive);
    color: #fff;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.btn-gold-lg:hover {
    background: var(--olive-dark);
    box-shadow: 0 12px 30px rgba(201, 169, 110, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--olive);
    color: var(--olive);
}

/* Mobile menu */
.mobile-toggle {
    display: block;
    color: #fff;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 
        max-height 0.4s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
        
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 16px;
    text-align: center;
}

.mobile-menu.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 24px 16px;
}

/* Кнопки меню */
.mobile-menu button {
    display: block;
    width: 220px;
    margin: 8px auto;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 9999px;
    transition: all 0.3s;
}

.mobile-menu button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Переключатель языков */
.mobile-lang {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang .lang-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 9999px;
}

.mobile-lang .lang-btn:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Кнопка CTA */
.mobile-cta {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 9999px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.6), rgba(26, 26, 46, 0.9));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    color: var(--olive);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 8px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.hero h1 span {
    color: white;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-top: 24px;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 6px;
    height: 12px;
    background: var(--olive);
    border-radius: 9999px;
    animation: pulse 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 80px 0;
}

.section-beige {
    background: var(--beige);
}

.section-white {
    background: var(--white);
}

.section-label {
    color: var(--olive);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    display: block;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-top: 12px;
}

.section-title span {
    color: var(--olive);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-desc {
    color: var(--gray-600);
    margin-top: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ===== BENEFITS ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    color: var(--olive);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    font-size: 2rem;
}

.benefit-card h3 {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.benefit-card p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== ABOUT ===== */
.about-content {
    max-width: 896px;
    margin: 0 auto;
    margin-top: 32px;
}

.about-intro {
    color: var(--gray-700);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 16px;
    text-align: center;
}

.about-text {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
    text-align: center;
}

.about-q {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 32px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-card {
    background: var(--beige);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--olive);
    font-size: 1.5rem;
}

.about-card h4 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.about-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

.about-cta {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1.125rem;
    margin-bottom: 24px;
}

/* ===== ANIMAL SWITCH BUTTONS ===== */
.animal-switch {
    display: flex;
    gap: 4px;
    background: #fff;
    border-radius: 9999px;
    padding: 4px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: fit-content;
    margin: 24px auto;
}

.animal-btn {
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    color: var(--gray-500);
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 120px;
}

.animal-btn:hover {
    color: var(--navy);
}

.animal-btn.active-before {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.animal-btn.active-after {
    background: var(--olive);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
/* ===== SERVICES / PRICES ===== */
.services-list {
    max-width: 960px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 32px;
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--olive);
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.service-time {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.service-time svg {
    color: var(--olive);
}

.service-desc {
    color: var(--gray-700);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 16px;
}

.service-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-section-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 4px;
}

.service-result {
    color: var(--olive);
    font-weight: 500;
    margin-top: 4px;
}

.price-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    margin-top: 16px;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
}

@media (min-width: 640px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.price-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--beige);
    border-radius: 8px;
}

.price-dot {
    width: 6px;
    height: 6px;
    background: var(--olive);
    border-radius: 50%;
    flex-shrink: 0;
}

.price-item span {
    font-size: 0.875rem;
    color: var(--navy);
    font-weight: 500;
}

/* ===== CAT PRICE TABLE (цены по весу) ===== */
.cat-price-table {
    width: 100%;
    margin-top: 8px;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 0.875rem;
    color: var(--navy);
}

.cat-price-table th,
.cat-price-table td {
    padding: 8px 12px;
    text-align: left;
    vertical-align: middle;
}

.cat-price-table thead th {
    padding-top: 4px;
    padding-bottom: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cat-price-table thead th:not(:first-child),
.cat-price-table td {
    width: 22%;
    text-align: center;
    white-space: nowrap;
}

/* «kg» не должно превращаться в «KG» */
.cat-price-table thead th:not(:first-child) {
    text-transform: none;
    font-size: 0.8125rem;
    letter-spacing: 0;
}

.cat-price-table tbody th,
.cat-price-table tbody td {
    background: var(--beige);
}

.cat-price-table tbody th {
    position: relative;
    padding-left: 26px;
    font-weight: 500;
    border-radius: 8px 0 0 8px;
}

.cat-price-table tbody th::before {
    content: '';
    position: absolute;
    left: 12px;
    top: calc(8px + 0.8em);
    width: 6px;
    height: 6px;
    margin-top: -3px;
    background: var(--olive);
    border-radius: 50%;
}

.cat-price-table tbody td {
    font-weight: 600;
}

.cat-price-table tbody td:last-child {
    border-radius: 0 8px 8px 0;
}

@media (max-width: 480px) {
    .cat-price-table th,
    .cat-price-table td {
        padding: 8px 6px;
    }

    .cat-price-table tbody th {
        padding-left: 22px;
    }

    .cat-price-table tbody th::before {
        left: 9px;
    }
}


/* HINWEIS CARD */
.price-group.price-note {
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(201, 169, 110, 0.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    margin-top: 32px;
}

/* заголовок */
.price-group.price-note .price-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

/* текст */
.price-group.price-note p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 6px;
}

/* важное */
.price-group.price-note .note-important {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(201, 169, 110, 0.35);
    font-weight: 600;
    color: var(--navy);
}

/* чтобы Hinweis вел себя как service-card */
.price-group.price-note {
    width: 100%;
    box-sizing: border-box;
    margin: 32px auto 0;
}
/* ===== BEFORE/AFTER ===== */
.ba-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.ba-toggle-inner {
    background: #fff;
    border-radius: 9999px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: inline-flex;
}

.ba-btn {
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    color: var(--gray-500);
}

.ba-btn:hover {
    color: var(--navy);
}

.ba-btn.active-before {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ba-btn.active-after {
    background: var(--olive);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ba-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    aspect-ratio: 3/4;
    background: var(--gray-100);
    width: 100%;
    /* фото целиком помещается по высоте экрана вместе с кнопками */
    max-width: clamp(280px, calc((100vh - 260px) * 0.75), 768px);
    margin: 0 auto;
    touch-action: pan-y;
}

.ba-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.3s, color 0.3s;
}

.ba-arrow:hover {
    background: var(--olive);
    color: #fff;
}

.ba-arrow-prev {
    left: 12px;
}

.ba-arrow-next {
    right: 12px;
}

.ba-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}

.ba-dot {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-dot::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    transition: background 0.3s, transform 0.3s;
}

.ba-dot:hover::before {
    background: var(--gray-400);
}

.ba-dot.active::before {
    background: var(--olive);
    transform: scale(1.25);
}

.ba-image-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.7s ease;
}

.ba-image-container img.hidden {
    opacity: 0;
}

.ba-label-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ba-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 12px 24px;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 32px;
}

.ba-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

/* ===== GALLERY ===== */
.gallery-filter {
    display: flex;
    gap: 4px;
    background: #fff;
    border-radius: 9999px;
    padding: 4px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: fit-content;
    max-width: 100%;
    margin: 24px auto 0;
}

.gallery-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: all 0.3s;
    white-space: nowrap;
}

.gallery-filter-btn:hover {
    color: var(--navy);
}

.gallery-filter-btn.active {
    background: var(--olive-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-count {
    font-size: 0.75rem;
    font-weight: 500;
}

@media (max-width: 400px) {
    .gallery-filter-btn {
        padding: 10px 14px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    display: block;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: zoom-in;
    transition: box-shadow 0.3s;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--olive);
    outline-offset: 3px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-more {
    text-align: center;
    margin-top: 32px;
}

.gallery-more-btn {
    border: 2px solid var(--olive-deep);
    color: var(--olive-deep);
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s;
}

.gallery-more-btn:hover {
    background: var(--olive-dark);
    color: #fff;
}

.gallery-more-btn[hidden] {
    display: none;
}

/* Lightbox: просмотр фото на весь экран */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 20, 0.97);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 56px 72px;
}

.lightbox.open {
    display: flex;
}

/* все фото 3:4 — рамка фиксированная, чтобы при листании ничего не прыгало */
.lightbox-img {
    display: block;
    aspect-ratio: 3 / 4;
    width: auto;
    height: min(calc(100vh - 112px), calc((100vw - 144px) * 4 / 3));
    height: min(calc(100dvh - 112px), calc((100vw - 144px) * 4 / 3));
    object-fit: contain;
    border-radius: 12px;
    background: #1f1f2b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2a2a36;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-btn:hover,
.lightbox-btn:focus-visible {
    background: var(--olive);
    outline: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
}

.lightbox-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

.lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* на телефоне фото на всю ширину, стрелки внизу рядом со счётчиком (листать удобнее свайпом) */
@media (max-width: 640px) {
    .lightbox {
        padding: 64px 12px 80px;
    }

    .lightbox-img {
        height: min(calc(100vh - 144px), calc((100vw - 24px) * 4 / 3));
        height: min(calc(100dvh - 144px), calc((100vw - 24px) * 4 / 3));
    }

    .lightbox-arrow {
        top: auto;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        transform: none;
    }

    .lightbox-prev {
        left: 16px;
    }

    .lightbox-next {
        right: 16px;
    }

    .lightbox-counter {
        bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    }
}

/* ===== MAP ===== */
.map-section {
    padding: 64px 0;
    background: #fff;
}

.map-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.map-frame iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* заглушка карты: Google грузится только по кнопке */
.map-consent {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background-color: #f4f1ec;
    background-image:
        linear-gradient(rgba(124, 140, 86, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 140, 86, 0.09) 1px, transparent 1px);
    background-size: 32px 32px;
}

.map-consent-icon {
    font-size: 2rem;
    line-height: 1;
}

.map-consent-address {
    font-weight: 600;
    color: var(--navy);
}

.map-consent-btn {
    padding: 12px 28px;
    font-size: 0.9375rem;
}

.map-consent-note {
    max-width: 440px;
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.map-consent-link {
    color: var(--olive-deep);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.map-consent-ext {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--olive-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.map-consent-link:hover,
.map-consent-ext:hover {
    color: var(--navy);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 960px;
    margin: 48px auto 0;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--olive);
    font-size: 1.25rem;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.contact-item a {
    color: var(--olive);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--olive-dark);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    outline: none;
    transition: all 0.3s;
    font-size: 0.875rem;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.form-group textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    background: var(--olive);
    color: #fff;
    padding: 16px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    border: none;
}

.form-submit:hover {
    background: var(--olive-dark);
    box-shadow: 0 12px 30px rgba(201, 169, 110, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    color: #22c55e;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    display: none;
}

.form-success.show {
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: #fff;
    padding: 64px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer h3 span {
    color: var(--olive);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer h4 {
    font-weight: 600;
    color: var(--olive);
    margin-bottom: 16px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-info a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.footer-info a:hover {
    color: var(--olive);
    text-decoration-color: var(--olive);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.footer-nav button {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-nav button:hover {
    color: var(--olive);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.footer-legal button {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    transition: color 0.3s;
}

.footer-legal button:hover {
    color: var(--olive);
}

@media (min-width: 768px) {
    .footer-grid>div:nth-child(1) {
        text-align: left;
    }

    .footer-grid>div:nth-child(2) {
        text-align: center;
    }

    .footer-grid>div:nth-child(3) {
        text-align: right;
    }
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 16px;
    max-width: 768px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: var(--navy);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
}

.modal-close {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 32px 24px;
    overflow-y: auto;
    max-height: calc(85vh - 64px);
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.7;
}

.modal-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 24px;
    margin-bottom: 8px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 16px;
    margin-bottom: 4px;
}

.modal-body p {
    margin-bottom: 12px;
}

.modal-body a {
    color: var(--olive-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-inner {
    max-width: 640px;
    margin: 0 auto;
    background: var(--navy);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-inner h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-inner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-accept {
    background: var(--olive);
    color: #fff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cookie-accept:hover {
    background: var(--olive-dark);
}

.cookie-details {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.cookie-details:hover {
    border-color: var(--olive);
    color: var(--olive);
}

.cookie-reject {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.cookie-reject:hover {
    border-color: var(--olive);
    color: var(--olive);
}

/* ===== SVG ICONS ===== */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
}

/* ===== UTILITY ===== */
.text-center {
    text-align: center;
}

.mt-12 {
    margin-top: 48px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-5 {
    margin-bottom: 20px;
}