﻿/* шрифты влиты из fonts-vz.css — минус два блокирующих запроса */
/* Golos Text */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Golos-Text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Golos-Text-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: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Golos-Text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Golos-Text-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: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Golos-Text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Golos-Text-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: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Golos-Text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Golos-Text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Golos-Text-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;
}
/* Fira Sans */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Fira-Sans-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: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Fira-Sans-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: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Fira-Sans-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: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek-ext.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Fira-Sans-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;
}
/* Fira Sans Light */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Fira-Sans-Light-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Fira-Sans-Light-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;
}
/* ===== Санаторий «Подлеморье» — основной стиль ===== */

:root {
  /* палитра фирменного стиля «Всё здорово» (ДСС РЖД, 2023): бирюзовый + жёлтый */
  --dark: #221F1F;       /* основной тёмный текст брендбука */
  --dark-2: #3A3636;
  --bg: #FFFFFF;         /* белый фон */
  --bg-2: #F0F7F6;       /* светлый бирюзово-серый — фон экранов */
  --accent: #00A59E;     /* фирменный бирюзовый */
  --accent-2: #00A59E;   /* бирюзовый — ссылки, акценты */
  --ice: #F0F7F6;        /* светлый холодный фон */
  --sand: #CDE9E7;       /* бирюза 30% — светлые плашки */
  --sand-2: #00A59E;     /* бирюзовый для иконок */
  --btn: #FDC300;        /* фирменный жёлтый — кнопки, активные пункты */
  --btn-hover: #F0B400;
  --yellow-70: #FFD167;  /* жёлтый 70% */
  --yellow-30: #FFE9BA;  /* жёлтый 30% */
  --teal-70: #61BAB6;    /* бирюза 70% */
  --teal-30: #CDE9E7;    /* бирюза 30% */
  --text: #221F1F;
  --muted: #5F6B6A;
  --white: #ffffff;
  --line: #DDE9E8;       /* линия в бирюзовой гамме */
  --glass: #F0F7F6;      /* матовые светлые плашки */
  --glass-border: rgba(255,255,255,0.65);
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* заголовки — строгий гротеск по брендбуку (замена RussianRail) */
h1, h2, h3, h4 {
  font-family: "Golos Text", "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}

img { max-width: 100%; display: block; }

a { color: #101010; text-decoration: none; }
a:hover { color: var(--accent-2); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Шапка: плавающая овальная «пилюля» из стекла ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  padding: 0;
  margin-bottom: 0;
}
/* верхняя строка с телефоном */
.header-top {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.header-top .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 6px 40px;
}
.header-top a { color: var(--accent-2); font-weight: 600; text-decoration: none; }
.header-top a:hover { text-decoration: underline; }
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
  max-width: 100%;
  padding: 8px 40px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--dark);
  font-weight: 700;
  white-space: nowrap;
}
.brand:hover, .brand:hover small { color: var(--dark); }
.brand > span:last-child {
  display: block;
  line-height: 1.15;
  font-size: 22px;
  letter-spacing: 0.5px;
  /* название объекта — всегда бирюзовое, по брендбуку */
  color: var(--accent);
  text-transform: uppercase;
  font-family: "Golos Text", "Montserrat", Arial, sans-serif;
  font-weight: 700;
}
.brand .logo {
  width: 46px;
  height: auto;
  flex-shrink: 0;
  color: var(--sand-2);
  display: block;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
}
.brand small.brand-org {
  font-size: 9.5px;
  color: var(--dark);
  letter-spacing: 0.2px;
}

.main-nav { display: flex; gap: 2px; flex-wrap: nowrap; white-space: nowrap; }
.main-nav a {
  color: var(--text);
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 13px;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: rgba(0,165,158,0.10); color: var(--dark); }
.main-nav a.active { background: var(--btn); color: var(--dark); }

/* Бейдж РЖД в правом углу шапки */
.rzd-badge {
  order: -1;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 6px 11px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  line-height: 0;
}
.rzd-badge .rzd-logo {
  height: 22px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--dark);
  font-size: 26px;
  cursor: pointer;
}

/* ===== Hero: текст слева, фото здания в фирменной фигуре справа ===== */
.hero {
  background: var(--bg);
  color: var(--text);
  padding: 44px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero .hero-grid { position: relative; z-index: 1; }
/* текст hero — вровень с шапкой: контейнер во всю ширину, как у .site-header */
.hero .container {
  max-width: none;
  padding-left: 40px;
  padding-right: 40px;
}
/* фото Байкала с волной — фон на весь главный экран, вуаль для читаемости текста */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(244, 250, 249, 0.97) 0%,
    rgba(244, 250, 249, 0.86) 40%,
    rgba(244, 250, 249, 0.38) 72%,
    rgba(244, 250, 249, 0.08) 100%);
}
/* строка города над названием */
.hero-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
/* главный экран: название санатория — крупно, в две строки */
.hero-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 30px;
}
.hero-name .hero-name-top {
  font-family: "Golos Text", -apple-system, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(14px, 1.8vw, 19px);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: left;
  color: var(--muted);
}
/* название объекта — прописными строгим гротеском, по брендбуку всегда бирюзовое */
.hero-name .hero-name-main {
  font-family: "Golos Text", -apple-system, "Segoe UI", Arial, sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 64px);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--accent);
}
/* фото здания в «сломанной» фигуре + жёлтое кольцо, как на слайде презентации */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-blob {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  border-radius: 53% 47% 44% 56% / 49% 55% 45% 51%;
  box-shadow: 0 0 0 9px var(--btn);
}
/* Байкал больше не фигурой — фоном на весь экран (см. .hero-bg) */
.hero-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* бегущая строка под главным экраном */
.marquee {
  background: var(--btn);
  color: var(--dark);
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-move 38s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-group span {
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.marquee-group i {
  font-style: normal;
  margin: 0 28px;
  font-size: 14px;
  opacity: 0.9;
}
@keyframes marquee-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* анимацию не отключаем: на телефонах с режимом «уменьшить движение» строка замирала и выглядела сломанной */
/* сетка hero: текст слева, фигура с фото справа */
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-photos {
  display: none;
  flex-direction: column;
  gap: 18px;
}


.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--dark);
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  margin-bottom: 26px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
/* ряд кнопок: на телефоне складывается в столбик, чтобы не наезжали друг на друга */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
@media (max-width: 720px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { margin-left: 0; text-align: center; }
}
.btn-primary {
  background: var(--btn);
  color: var(--dark);
}
.btn-primary:hover { background: var(--btn-hover); color: var(--dark); }
.btn-outline { background: transparent; color: var(--accent-2); border-color: var(--accent-2); }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }

/* hero-бейджи — крупные цифры на подсвеченных карточках */
.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.hero-badge {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.hero-badge b {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1;
  color: var(--dark);
}
.hero-badge span { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ===== Секции ===== */
.section { padding: 42px 0; }
.section.alt { background: linear-gradient(180deg, #F4FAF9 0%, #E2F2F0 100%); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.section-head h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  color: var(--dark);
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.35; }
.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ===== Линейные SVG-иконки (золотой оттенок) ===== */
.ico {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.icon { color: var(--sand-2); }

/* ===== Сетка карточек ===== */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 28px rgba(0,0,0,0.2); }
.card .icon {
  font-size: 28px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-2);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.card h3 { color: var(--dark); font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { color: var(--muted); font-size: 15.5px; padding-left: 18px; }
.card ul li { margin-bottom: 4px; }
/* компактная плашка: иконка слева, текст справа (блок «Какие заболевания лечим») */
.card-compact { padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.card-compact .icon { width: 46px; height: 46px; border-radius: 10px; margin-bottom: 0; flex-shrink: 0; }
.card-compact .icon .ico { width: 24px; height: 24px; }
.card-compact h3 { font-size: 16px; margin-bottom: 2px; }
.card-compact p { font-size: 14px; line-height: 1.45; }
.card .card-photo {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  margin: -20px 0 14px -20px;
  height: 150px;
  object-fit: cover;
}

/* ===== Списки с галочками ===== */
.checklist { list-style: none; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Карточки путёвок ===== */
.ticket {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.ticket h3 { color: var(--dark); font-size: 20px; margin-bottom: 6px; }
.ticket .ticket-note {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.ticket ul {
  color: var(--muted);
  font-size: 15px;
  padding-left: 18px;
  margin-bottom: 16px;
  flex-grow: 1;
}
.ticket ul li { margin-bottom: 5px; }
.ticket .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--sand-2);
  background: rgba(0,165,158,0.10);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ===== Таблица ===== */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.data th, table.data td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.data th {
  background: var(--bg-2);
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid var(--line);
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr:nth-child(even) td { background: rgba(0,165,158,0.05); }

/* ===== Раскладка две колонки ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
/* фото слева, текст справа */
.split-reverse .text { order: 2; }
.split-reverse .visual { order: 1; }
/* шахматный ряд сплитов */
.split + .split { margin-top: 40px; }
.split .text h2 { color: var(--dark); font-size: clamp(22px, 3vw, 28px); margin-bottom: 12px; }
.split .text p { color: var(--muted); margin-bottom: 12px; }
/* список направлений в сплите — фирменные точки */
.about-list {
  list-style: none;
  margin: 6px 0 16px;
  padding: 0;
}
.about-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.about-list li:last-child { border-bottom: 0; }
.about-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.about-list b { color: var(--dark); font-weight: 600; }
.split .visual {
  border-radius: var(--radius);
  min-height: 320px;
  background: linear-gradient(135deg, #61BAB6, #00A59E);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  text-align: center;
  padding: 20px;
}
/* фото в split-блоке — фирменная «сломанная» фигура, как на главном экране */
.split .visual.photo {
  padding: 0;
  background: none;
  overflow: visible;
  box-shadow: none;
}
.split .visual.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.06 / 1;
  object-fit: cover;
  display: block;
  border-radius: 53% 47% 44% 56% / 49% 55% 45% 51%;
  box-shadow: var(--shadow);
}
/* фото по брендбуку — ровный прямоугольник без фигуры, без обрезки */
.split .visual.photo img.photo-rect {
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
  object-fit: contain;
}
/* карта Яндекса внутри split-блока */
.split .visual.photo iframe {
  width: 100%;
  height: 420px;
  min-height: 320px;
  border: 0;
  display: block;
}

/* фото-плейсхолдер */
.photo-ph {
  border-radius: var(--radius);
  min-height: 240px;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--accent-2);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--line);
}

/* ===== CTA-блок: бирюзовый градиент по брендбуку ===== */
.cta-band {
  background: linear-gradient(135deg, #00A59E 0%, #00827C 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  text-align: center;
  margin-top: 12px;
  box-shadow: 0 6px 24px rgba(0,124,118,0.25);
}
.cta-band h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--dark); }

/* ===== Бирюзовая секция оформления путёвки ===== */
.section-band { background: linear-gradient(135deg, #00A59E 0%, #00827C 100%); }
.section-band .eyebrow { color: #FDC300; }
.section-band .section-head h2 { color: #fff; }
.section-band .section-head p { color: rgba(255,255,255,0.9); }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, #EAF7F5, #D8EFEC);
  color: #101010;
  padding: 16px 0 8px;
  margin-top: 0;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 8px;
}
.site-footer h4 { color: var(--accent); font-size: 13.5px; margin-bottom: 8px; }
.site-footer p { font-size: 12.5px; line-height: 1.5; }
.site-footer a { color: #101010; font-size: 12.5px; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(16,16,16,0.15);
  padding-top: 6px;
  font-size: 12px;
  color: #101010;
  text-align: center;
}
.footer-affil {
  margin-top: 2px;
  font-size: 11.5px;
  color: #101010;
}

/* ===== Хлебные крошки / заголовок страницы ===== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-2), #FFFFFF);
  color: var(--text);
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 8px; color: var(--dark); }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 17px; }

.lead-box {
  background: var(--bg-2);
  border-left: 4px solid var(--btn);
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  color: var(--muted);
}

/* ===== Полоса цифр о санатории (главная) ===== */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 14px;
  text-align: center;
}
.stat b { display: block; font-size: 30px; line-height: 1.1; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 400; }
/* ===== Ряд фотографий (страница «Лечение») ===== */
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.photo-row img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .photo-row { grid-template-columns: 1fr; gap: 16px; }
  .photo-row img { height: 200px; }
}

@media (max-width: 900px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .br-desk { display: none; }
}

/* ===== Плавное появление при прокрутке ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  /* главный экран на телефоне/планшете: текст сверху, фигура снизу */
  .hero { padding: 36px 0 56px; }
  .hero .container { padding-left: 24px; padding-right: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: 2; margin-bottom: 30px; }
  .hero-blob { max-width: 460px; aspect-ratio: 1.25 / 1; }
  .hero-bg::after {
    background: linear-gradient(180deg,
      rgba(244, 250, 249, 0.97) 0%,
      rgba(244, 250, 249, 0.88) 52%,
      rgba(244, 250, 249, 0.45) 100%);
  }
  .hero-name { margin-bottom: 24px; }
}
/* бургер уже с планшета: пунктов меню семь, в строку не влезают */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .rzd-badge { display: none; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    background: var(--bg-2);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; font-size: 16px; }
}
/* телефон: компактная шапка — длинная подпись бренда распирала страницу вширь,
   из-за неё страница листалась влево-вправо, а выпавшее меню уезжало за экран */
@media (max-width: 720px) {
  .site-header .container { padding: 8px 14px; gap: 10px; }
  .brand { white-space: normal; }
  .brand .logo { width: 36px; }
  .brand > span:last-child { font-size: 16px; }
  .brand small { font-size: 9px; }
  .brand small.brand-org { font-size: 8.5px; }
  .nav-toggle { font-size: 30px; padding: 2px 2px 2px 8px; }
  body { overflow-x: hidden; }
}

/* перенос, видимый только на телефоне — пара к .br-desk */
.br-mob { display: inline; }
@media (min-width: 901px) { .br-mob { display: none; } }

/* фотогалерея: обычные прямоугольные фото — без белой подложки, тени и скруглений */
.photo-tile { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.photo-tile .card-photo { width: 100%; max-width: none; margin: 0; height: 170px; object-fit: cover; }

/* видео из ВК: адаптивный плеер 16:9 */
.video-embed { position: relative; width: 100%; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 63, 60, .14); background: #013733; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* фотогалерея на телефоне: 2 колонки, фото пониже */
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery .card-photo { height: 140px; }
}

/* ===== Вопросы и ответы (FAQ) ===== */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid #D8E8E6; border-radius: 12px; padding: 12px 16px; }
.faq details[open] { border-color: #00A59E; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: #00A59E; font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 10px 0 0; line-height: 1.45; font-weight: 300; }
.faq details p + p { margin-top: 8px; }
@media (max-width: 900px) {
  .faq details { padding: 12px 14px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    background: var(--bg-2);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 12px 24px 20px;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; font-size: 16px; }
  .section { padding: 32px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Декоративные круги бренда («сломанные» окружности) ===== */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero::before,
.page-hero::after { content: ""; position: absolute; pointer-events: none; }
.page-hero::before {
  width: 320px; height: 300px;
  top: -80px; right: -70px;
  border: 24px solid var(--teal-30);
  border-radius: 53% 47% 44% 56% / 49% 55% 45% 51%;
  transform: rotate(14deg);
}
.page-hero::after {
  width: 140px; height: 150px;
  bottom: -45px; left: 5%;
  border: 13px solid rgba(253, 195, 0, 0.5);
  border-radius: 47% 53% 56% 44% / 52% 48% 52% 48%;
  transform: rotate(-16deg);
}
.section-band { position: relative; overflow: hidden; }
.section-band .container { position: relative; z-index: 1; }
.section-band::before {
  content: ""; position: absolute; pointer-events: none;
  width: 300px; height: 290px;
  top: -90px; right: -80px;
  border: 22px solid rgba(255, 255, 255, 0.16);
  border-radius: 53% 47% 44% 56% / 49% 55% 45% 51%;
  transform: rotate(10deg);
}
.section-band::after {
  content: ""; position: absolute; pointer-events: none;
  width: 190px; height: 180px;
  bottom: -70px; left: -55px;
  border: 16px solid rgba(253, 195, 0, 0.35);
  border-radius: 47% 53% 56% 44% / 52% 48% 52% 48%;
  transform: rotate(-12deg);
}
@media (max-width: 720px) {
  .page-hero::before { width: 200px; height: 190px; border-width: 16px; top: -60px; right: -55px; }
  .page-hero::after { display: none; }
}

/* ===== Карта БАМа фоном в блоке о городе ===== */
.bam-bg { position: relative; overflow: hidden; }
.bam-bg .container { position: relative; z-index: 1; }
.bam-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bam-karta2.jpg") center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

/* ===== Фотогалерея: просмотр фото на весь экран ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(16, 26, 25, 0.92);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
  position: absolute;
  top: 14px; right: 18px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }



