/* ==========================================================================
   Дизайн-токены (Переменные) - Утренний туман
   ========================================================================== */
:root {
    --deep: #2E5A6B;      /* Тёмный сине-бирюзовый */
    --pale: #F1F6F7;      /* Очень светлый холодный фон */
    --mist: #D6E4E9;      /* Светло-голубой для карточек и разделителей */
    --ink: #1E3742;       /* Почти чёрный с синим подтоном */
    --muted: #5F6E73;     /* Вторичный текст */
    --white: #FFFFFF;     /* Белый */

    /* Акцент — тёплый коралл. Три оттенка, каждый для своей задачи:
       --accent      заливки: кнопки, полоски, декоративные элементы
       --accent-soft текст на тёмном фоне (контраст к --deep = 4.9:1)
       --accent-ink  текст на светлом фоне (контраст к --pale = 5.9:1)
       Чистый коралл как текст не используем: на --deep он даёт 2.8:1 */
    --accent: #E8845F;
    --accent-soft: #F8C6B0;
    --accent-ink: #A33F1B;
    --accent-text: #3D1207; /* текст поверх коралловой заливки, 6.1:1 */

    /* Кремовый фон иллюстрации в герое — им же залита карточка с текстом */
    --cream: #FDE4C1;
    
    --font-heading: 'Geologica', 'Noto Sans Armenian', sans-serif;
    --font-body: 'Onest', 'Noto Sans Armenian', sans-serif;
    
    --container-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Сброс и базовые стили
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--pale);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Фокус для доступности */
:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 4px;
}

/* SVG Иконки */
.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Типографика
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.5em;
}

h1, .hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    line-height: 1;
}

h2, .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

.text-center { text-align: center; }

/* Коралловая черта под центрированными заголовками — связывает секции между собой */
.section-title.text-center {
    position: relative;
    padding-bottom: 1.25rem;
}

.section-title.text-center::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--accent);
}

/* ==========================================================================
   Лейаут (Layout)
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 0;
    }
}

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

.section--deep .section-title,
.section--deep .section-text,
.section--deep h3,
.section--deep p {
    color: var(--white);
}

.section--deep .section-text {
    opacity: 0.9;
}

.section--deep .card {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ==========================================================================
   Компоненты (Components)
   ========================================================================== */

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--deep);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--outline {
    background-color: transparent;
    color: var(--deep);
    border: 1px solid var(--deep);
}

/* Акцентная кнопка — главный призыв к действию */
.btn--accent {
    background-color: var(--accent);
    color: var(--accent-text);
}

.btn--accent:hover {
    background-color: #DE7550;
    opacity: 1;
}

/* Коралловая обводка — для второстепенных действий на светлом фоне */
.btn--outline-accent {
    background-color: transparent;
    color: var(--accent-ink);
    border: 1px solid var(--accent-ink);
}

.btn--outline-accent:hover {
    background-color: var(--accent-ink);
    color: var(--white);
    opacity: 1;
}

.btn--light {
    background-color: var(--pale);
    color: var(--deep);
    border-radius: var(--radius-md);
}

.btn--light:hover {
    background-color: var(--mist);
}

.btn--icon {
    gap: 0.5rem;
}

.btn--icon .icon {
    width: 20px;
    height: 20px;
}

/* Карточки */
.card {
    background-color: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    padding: 2rem;
}

/* Бейджик */
.badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background-color: var(--white);
    color: var(--ink);
    border: 1px solid var(--mist);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Хедер (Header)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(241, 246, 247, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

.header.is-scrolled {
    border-bottom-color: var(--mist);
    padding: 0.5rem 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Логотип 54 px. При прокрутке и на телефоне уменьшается,
   чтобы шапка не съедала первый экран */
.header__logo-img {
    height: 54px;
    width: auto;
    display: block;
    flex-shrink: 0;
    transition: height 0.3s ease;
}

.header.is-scrolled .header__logo-img {
    height: 44px;
}

@media (max-width: 991px) {
    .header__logo-img {
        height: 40px;
    }
    .header.is-scrolled .header__logo-img {
        height: 36px;
    }
    .header__logo a {
        gap: 9px;
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header__logo-img {
        transition: none;
    }
}

.header__nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 992px) {
    .header__nav {
        display: flex;
        align-items: center;
    }
}

.header__link {
    font-weight: 500;
    color: var(--ink);
}

.header__link:hover {
    color: var(--deep);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 992px) {
    .header__right {
        gap: 1.5rem;
    }
}

.header__btn {
    display: none;
}

@media (min-width: 992px) {
    .header__btn {
        display: inline-flex;
    }
}

/* Бургер */
.header__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    z-index: 101;
}

@media (min-width: 992px) {
    .header__burger {
        display: none;
    }
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    transition: var(--transition);
}

.header__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header__burger.is-active span:nth-child(2) {
    opacity: 0;
}
.header__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.header__nav.is-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--pale);
    padding-top: 5rem;
    align-items: center;
    gap: 2rem;
    font-size: 1.25rem;
}

/* Переключатель языков */
.lang-switcher {
    position: relative;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0.5rem;
}

.lang-switcher__btn:hover {
    color: var(--deep);
}

.lang-switcher__menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.lang-switcher.is-active .lang-switcher__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--ink);
    transition: background-color 0.2s;
}

.lang-switcher__item:hover {
    background-color: var(--mist);
}

/* ==========================================================================
   Секции
   ========================================================================== */

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7rem; /* отступ на высоту шапки с логотипом */
}

.hero.mode-solid {
    background-color: var(--deep);
}

.hero.mode-photo {
    background-size: cover;
    background-position: center;
    background-image: url('https://placehold.co/1920x1080/D6E4E9/5F6E73?text=Hero+Photo');
}

.hero.mode-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--deep);
    opacity: 0.75;
}

/* ==========================================================================
   Режим «иллюстрация» — вариант B
   Картинка не затемняется, текст стоит на кремовой карточке в цвет фона
   рисунка. Затемнение здесь недопустимо: оно убивает цвета иллюстрации,
   а белый текст на кремовом даёт контраст 1.2 вместо нужных 4.5.
   ========================================================================== */
.hero.mode-illustration {
    background-size: cover;
    background-position: center;
    background-color: var(--cream);
}

.hero.mode-illustration .container {
    display: flex;
    justify-content: center;
}

.hero.mode-illustration .hero__content {
    max-width: 560px;
    width: 100%;
    text-align: center;
    color: var(--ink);
    background-color: rgba(253, 228, 193, 0.93);
    border: 1px solid rgba(163, 63, 27, 0.16);
    border-radius: 16px;
    padding: 2.25rem 2rem 2.5rem;
}

.hero.mode-illustration .hero__title {
    color: var(--ink);
}

.hero.mode-illustration .hero__text {
    color: #4A5C64;
    opacity: 1;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
}

.hero.mode-illustration .hero__content .badge {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--accent-ink);
    border-color: rgba(163, 63, 27, 0.28);
}

.hero.mode-illustration .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.hero.mode-illustration .hero__info {
    align-items: center;
    color: #56676E;
    opacity: 1;
}

/* Кнопка остаётся коралловой: белая на кремовом фоне терялась бы */
.hero.mode-illustration .hero__actions .btn:not(.btn--accent) {
    background-color: var(--deep);
    color: var(--white);
}

@media (max-width: 575px) {
    .hero.mode-illustration .hero__content {
        padding: 1.75rem 1.25rem 2rem;
        border-radius: 14px;
    }
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero__content {
    max-width: 800px;
    color: var(--white);
}

.hero__content .badge {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.hero__text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .hero__actions {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}

.hero__actions .btn:not(.btn--accent) {
    background-color: var(--white);
    color: var(--deep);
}

.hero__actions .btn:not(.btn--accent):hover {
    background-color: var(--pale);
}

.hero__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Адрес — ссылка на блок контактов. Подчёркивание появляется при наведении,
   чтобы в покое строка выглядела как обычная подпись, а не как кнопка */
.hero__info-item--link {
    color: inherit;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.hero__info-item--link span {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.hero__info-item--link:hover span,
.hero__info-item--link:focus-visible span {
    text-decoration-color: currentColor;
}

.hero__info-item--link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Цвет наведения зависит от режима: на кремовой карточке — тёмный коралл,
   на затемнённом фото цвет менять нельзя, там остаётся белый */
.hero.mode-illustration .hero__info-item--link:hover {
    color: var(--accent-ink);
}

@media (prefers-reduced-motion: reduce) {
    .hero__info-item--link,
    .hero__info-item--link span {
        transition: none;
    }
}

/* Stats Block */
.stats {
    background-color: var(--deep);
    padding: 76px 0;
    position: relative;
    overflow: hidden;
    /* SVG-паттерн: силуэты собаки, кошки, расчёски, ножниц */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg stroke='rgba(255,255,255,0.14)' stroke-width='1' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(25,25) rotate(-20)'%3E%3Ccircle cx='8' cy='7' r='5.5'/%3E%3Ccircle cx='8' cy='23' r='5.5'/%3E%3Cline x1='12' y1='10' x2='44' y2='2'/%3E%3Cline x1='12' y1='20' x2='44' y2='28'/%3E%3C/g%3E%3Cg transform='translate(175,38) rotate(8)'%3E%3Crect x='0' y='0' width='52' height='8' rx='2'/%3E%3Cline x1='5' y1='8' x2='5' y2='20'/%3E%3Cline x1='11' y1='8' x2='11' y2='20'/%3E%3Cline x1='17' y1='8' x2='17' y2='20'/%3E%3Cline x1='23' y1='8' x2='23' y2='20'/%3E%3Cline x1='29' y1='8' x2='29' y2='20'/%3E%3Cline x1='35' y1='8' x2='35' y2='20'/%3E%3Cline x1='41' y1='8' x2='41' y2='20'/%3E%3Cline x1='47' y1='8' x2='47' y2='20'/%3E%3C/g%3E%3Cg transform='translate(18,162)'%3E%3Cellipse cx='45' cy='28' rx='28' ry='18'/%3E%3Ccircle cx='75' cy='16' r='13'/%3E%3Cpath d='M64,6 C60,-2 52,0 50,6'/%3E%3Cpath d='M82,6 C86,-2 92,0 90,6'/%3E%3Cline x1='22' y1='40' x2='20' y2='58'/%3E%3Cline x1='33' y1='44' x2='31' y2='62'/%3E%3Cline x1='57' y1='44' x2='55' y2='62'/%3E%3Cline x1='68' y1='40' x2='70' y2='58'/%3E%3Cpath d='M18,28 C5,20 2,10 8,8'/%3E%3C/g%3E%3Cg transform='translate(166,155)'%3E%3Cellipse cx='35' cy='28' rx='22' ry='16'/%3E%3Ccircle cx='57' cy='14' r='11'/%3E%3Cpath d='M48,5 L45,-3 L52,4'/%3E%3Cpath d='M64,5 L67,-3 L60,4'/%3E%3Cline x1='17' y1='38' x2='15' y2='54'/%3E%3Cline x1='26' y1='42' x2='25' y2='58'/%3E%3Cline x1='44' y1='42' x2='43' y2='58'/%3E%3Cline x1='53' y1='38' x2='55' y2='54'/%3E%3Cpath d='M15,24 C0,20 -4,12 0,8 C4,4 10,14 15,20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 460px 460px;
    background-repeat: repeat;
}

/* Ограничение ширины контейнера внутри stats */
.stats .container {
    max-width: 1120px;
}

.stats__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 576px) {
    .stats__inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }
    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (min-width: 992px) {
    .stats__inner {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        align-items: stretch;
    }
    .stat-item {
        flex: 1;
        padding: 0 24px;
    }
    .stat-item:first-child {
        padding-left: 0;
    }
    .stat-item:last-child {
        padding-right: 0;
    }
    /* Вертикальные разделители между колонками */
    .stat-item + .stat-item {
        border-left: 1px solid rgba(255,255,255,0.15);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.stat-item__value {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 500;
    color: var(--white);
    /* Меньше единицы — иначе внутренние поля шрифта отрывают
       число от подписи и пара распадается на два элемента */
    line-height: 0.9;
    font-variant-numeric: tabular-nums;
    /* Резервируем минимальную ширину по самому длинному числу (> 3 200) */
    min-width: 5ch;
}

.stat-item__label {
    /* Крупнее и плотнее прежнего: подпись должна звучать утверждением,
       а не мелким примечанием под числом */
    font-size: clamp(15px, 1.35vw, 18px);
    font-weight: 500;
    line-height: 1.25;
    color: #F7BDA2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease calc(var(--stat-delay, 0ms) + 300ms),
                transform 0.4s ease calc(var(--stat-delay, 0ms) + 300ms);
}

.stat-item__label.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .stat-item__label {
        transition: none;
    }
}

/* About */
#about {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    #about {
        padding: 4rem 0;
    }
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }
}

.about__image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about__content {
    text-align: left;
}

@media (min-width: 992px) {
    .about__content {
        max-width: 520px;
    }
}

.section-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--muted);
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        align-items: start;
    }
}

.service-card__title {
    margin-bottom: 0.5rem;
}

.section--deep .service-card__desc {
    color: #C3D5DB;
}

.service-card__desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
}

.section--deep .service-list__item {
    border-bottom: 1px dashed rgba(255,255,255,0.22);
}

.service-list__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--mist);
}

.service-list__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section--deep .service-list__name {
    color: #E3EDF0;
}

.service-list__name {
    padding-right: 1rem;
}

.section--deep .service-list__price {
    color: #FFFFFF;
    font-weight: 500;
}

.service-list__price {
    font-weight: 600;
    color: var(--deep);
    white-space: nowrap;
}

.services__action {
    margin-top: 3rem;
}

/* Gallery & Before/After Slider */
.gallery__grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.gallery__action {
    margin-top: 3rem;
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--mist);
    user-select: none;
}

.ba-slider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-slider__after-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
}

.ba-slider__after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* Будет перезаписано JS на ширину контейнера */
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--white);
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-50%);
}

.ba-slider__handle:focus-visible {
    outline: none;
}

.ba-slider__handle:focus-visible .ba-slider__handle-btn {
    outline: 2px solid var(--deep);
    outline-offset: 2px;
}

.ba-slider__handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: var(--white);
    border-radius: 50%;
    border: 1px solid var(--mist);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-slider__handle-btn::before,
.ba-slider__handle-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

.ba-slider__handle-btn::before {
    border-width: 4px 5px 4px 0;
    border-color: transparent var(--ink) transparent transparent;
    margin-right: 3px;
}

.ba-slider__handle-btn::after {
    border-width: 4px 0 4px 5px;
    border-color: transparent transparent transparent var(--ink);
}

/* FAQ Accordion */
.faq__list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    background-color: var(--white);
    overflow: hidden;
}

.faq-item__btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
}

.faq-item__icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.25s ease-in-out;
    color: var(--accent-ink);
}

.faq-item.is-open {
    border-color: var(--accent);
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-in-out;
}

.faq-item__content-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
}

/* Booking */
.booking__inner {
    max-width: 800px;
    margin: 0 auto;
}

.booking__widget-container {
    margin-top: 3rem;
    width: 100%;
    min-height: 400px;
    /* iframe уже дочерний, но по умолчанию он строчный и прижимается влево
       внутри колонки шириной 800px — выравниваем по центру */
    display: flex;
    justify-content: center;
}

.booking__placeholder {
    padding: 3rem;
    text-align: center;
}

.booking__placeholder-text {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.booking__placeholder-sub {
    color: var(--muted);
    margin-bottom: 2rem;
}

.booking__placeholder-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Contacts */
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contacts__inner {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contacts__block {
    margin-bottom: 2rem;
}

.contacts__block h3 {
    margin-bottom: 1rem;
}

.contacts__link {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.contacts__link:hover {
    color: var(--deep);
}

.contacts__addresses {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.address-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.address-card__text {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--ink);
    color: var(--white);
    padding: 3rem 0;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer__contacts {
    display: flex;
    gap: 1.5rem;
}

.footer__contacts a:hover {
    color: var(--mist);
}

.footer__copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Метки-заглушки, которые нужно заполнить */
.todo {
    background-color: #FFE9A8;
    color: #5A4300;
    border-radius: 3px;
    padding: 0 4px;
}
