/* ============================================================
   №9 қалалық емхана — Шымкент
   Main stylesheet
   ============================================================ */

:root {
  /* Brand palette — official medical blue + teal accent */
  --blue-900: #0a3a64;
  --blue-800: #0d477c;
  --blue-700: #115895;
  --blue-600: #1769bf;
  --blue-500: #2e86de;
  --blue-100: #e6f0fb;
  --blue-050: #f3f8fe;
  --teal-600: #0f9b8e;
  --teal-500: #16b3a3;
  --green-500: #2bb673;
  --amber-500: #f0a500;
  --red-500: #e0453a;

  --ink-900: #14202e;
  --ink-700: #344455;
  --ink-500: #5e6f80;
  --ink-300: #97a6b4;

  --line: #e2e9f1;
  --bg: #f4f8fc;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(16, 56, 100, .06);
  --shadow: 0 10px 30px rgba(16, 56, 100, .10);
  --shadow-lg: 0 20px 50px rgba(16, 56, 100, .16);

  --container: 1200px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
}

a { color: var(--blue-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue-800); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--tint { background: var(--white); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section__head p { color: var(--ink-500); font-size: 17px; margin: 10px 0 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(23,105,191,.32); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--accent { background: var(--teal-500); color: #fff; box-shadow: 0 8px 20px rgba(15,155,142,.30); }
.btn--accent:hover { background: var(--teal-600); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--blue-700); }
.btn--outline { background: #fff; color: var(--blue-700); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-700); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--blue-900);
  color: #cfe2f6;
  font-size: 13.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar a { color: #e7f1fb; }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar__contacts span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__contacts svg { width: 15px; height: 15px; opacity: .8; }
.topbar__tools { display: flex; align-items: center; gap: 8px; }

.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; overflow: hidden; }
.lang button {
  background: transparent; color: #cfe2f6; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  padding: 5px 12px; transition: background .15s, color .15s;
}
.lang button.is-active { background: var(--teal-500); color: #fff; }

.a11y-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  color: #cfe2f6; border-radius: 100px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; font-size: 12px; font-family: var(--font-head); font-weight: 600;
  line-height: 1;
}
.a11y-btn svg { width: 14px; height: 14px; flex: none; }
.a11y-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 15px; }
.brand__logo {
  width: 62px; height: 62px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  border-radius: 15px;
}
.brand__logo svg { width: 44px; height: 44px; }
.brand__text strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  color: var(--blue-800); font-size: 23px; line-height: 1.1; letter-spacing: -.015em;
  white-space: nowrap;
}
.brand__text span { display: block; font-size: 13px; color: var(--ink-500); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--ink-700); padding: 9px 11px; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--blue-050); color: var(--blue-700); }

.header__cta { display: flex; align-items: center; gap: 10px; }
/* «Как добраться» дублируется пунктом «Контакты» — убираем из шапки, чтобы не теснить меню */
.header__cta .btn--outline { display: none; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.burger span { display: block; width: 24px; height: 2.5px; background: var(--blue-800); margin: 5px auto; border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(22,179,163,.30), transparent 60%),
    linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 55%, var(--blue-500) 100%);
  color: #eaf3fe;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.2px, transparent 1.2px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 70px 0 84px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px; border-radius: 100px; font-size: 13.5px; font-weight: 600;
  font-family: var(--font-head); margin-bottom: 22px; color: #fff;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(43,182,115,.3); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.015em; }
.hero h1 .accent { color: #aef0e6; }
.hero__lead { font-size: 18px; color: #d7e7f8; max-width: 560px; margin: 18px 0 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero__stats .num { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: #fff; }
.hero__stats .lbl { font-size: 13.5px; color: #bcd6f1; }

/* Hero side — photo */
.hero__media { position: relative; }
.hero__media-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4;
  border: 6px solid rgba(255,255,255,.14);
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,58,100,.55) 100%);
}
/* glass info card floating on the photo */
.hero__info {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 16px 18px;
  display: flex; gap: 14px; box-shadow: 0 12px 30px rgba(10,40,70,.28);
}
.hero__info .hi {
  flex: 1; display: flex; align-items: center; gap: 11px;
}
.hero__info .hi + .hi { border-left: 1px solid var(--line); padding-left: 14px; }
.hero__info .hi__ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff;
}
.hero__info .hi__ic.c1 { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); }
.hero__info .hi__ic.c2 { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); }
.hero__info .hi__ic svg { width: 19px; height: 19px; }
.hero__info .hi__k { font-size: 11.5px; color: var(--ink-500); line-height: 1.2; }
.hero__info .hi__v { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 15px; line-height: 1.2; }
/* floating accent badge top-right of photo */
.hero__chip {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  padding: 8px 14px; border-radius: 100px; display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 6px 18px rgba(10,40,70,.2);
}
.hero__chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(43,182,115,.25); }

/* ============================================================
   QUICK SERVICES
   ============================================================ */
.quick { margin-top: -54px; position: relative; z-index: 5; }
.quick__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s, border-color .2s;
}
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.qcard__ic {
  flex: none; width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
}
.qcard__ic svg { width: 25px; height: 25px; }
.qcard__ic.b1 { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); }
.qcard__ic.b2 { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); }
.qcard__ic.b3 { background: linear-gradient(135deg, var(--green-500), #38c98a); }
.qcard h3 { font-size: 16.5px; margin-bottom: 3px; }
.qcard p { font-size: 13.5px; color: var(--ink-500); margin: 0; }
.qcard .arrow { margin-left: auto; color: var(--ink-300); align-self: center; transition: transform .15s, color .15s; }
.qcard:hover .arrow { color: var(--blue-600); transform: translateX(3px); }

/* ============================================================
   ABOUT / MISSION
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about__media .mission-tag {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(10,58,100,.92); color: #fff; backdrop-filter: blur(4px);
  border-radius: 14px; padding: 18px 20px;
}
.about__media .mission-tag .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9fd8d0; font-weight: 700; font-family: var(--font-head); }
.about__media .mission-tag .v { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.3; margin-top: 4px; }
.about h2 { font-size: clamp(26px, 3.3vw, 36px); }
.about p { color: var(--ink-700); font-size: 16.5px; }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.about__list li { display: flex; gap: 13px; align-items: flex-start; }
.about__list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-050);
  color: var(--teal-600); display: grid; place-items: center;
}
.about__list .tick svg { width: 16px; height: 16px; }
.about__list b { color: var(--ink-900); font-family: var(--font-head); }

/* ============================================================
   LEADERSHIP
   ============================================================ */
.lead__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s;
}
.lcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.lcard__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--blue-050); }
.lcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s; }
.lcard:hover .lcard__photo img { transform: scale(1.04); }
.lcard__body { padding: 22px; }
.lcard__role { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-600); background: var(--blue-050); padding: 5px 11px; border-radius: 100px; margin-bottom: 12px; font-family: var(--font-head); }
.lcard__body h3 { font-size: 19px; margin-bottom: 4px; }
.lcard__body .pos { font-size: 14px; color: var(--ink-500); }
.lcard__bio { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.lcard__bio summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--blue-600); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.lcard__bio summary::-webkit-details-marker { display: none; }
.lcard__bio summary::after { content: '+'; font-size: 16px; line-height: 1; color: var(--teal-600); }
.lcard__bio[open] summary::after { content: '–'; }
.lcard__bio p { margin-top: 10px; font-size: 13.5px; line-height: 1.62; color: var(--ink-500); text-align: justify; }

/* ============================================================
   SPECIALTIES
   ============================================================ */
.spec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 18px; display: flex; align-items: center; gap: 13px;
  transition: transform .14s, border-color .2s, box-shadow .2s;
}
.scard:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.scard__ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; }
.scard__ic svg { width: 22px; height: 22px; }
.scard span { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink-900); }
.spec__cta { text-align: center; margin-top: 36px; }

/* ============================================================
   SCHEDULE (narrow specialists)
   ============================================================ */
.sched__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  transition: transform .14s, border-color .2s, box-shadow .2s;
}
.dcard:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.dcard__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; }
.dcard__ic svg { width: 22px; height: 22px; }
.dcard__body { flex: 1 1 auto; min-width: 0; }
.dcard__body h3 { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink-900); margin: 0 0 2px; }
.dcard__doc { font-size: 13.5px; color: var(--ink-500); }
.dcard__time { flex: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head);
  font-weight: 600; font-size: 13px; color: var(--teal-600); background: var(--blue-050); padding: 6px 10px; border-radius: 100px; white-space: nowrap; }
.dcard__time svg { width: 15px; height: 15px; }

/* ============================================================
   NEWS
   ============================================================ */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ncard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s;
}
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ncard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-050); position: relative; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  padding: 5px 12px; border-radius: 100px; letter-spacing: .02em;
}
.ncard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ncard__date { font-size: 12.5px; color: var(--ink-300); display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-weight: 500; }
.ncard__date svg { width: 14px; height: 14px; }
.ncard h3 { font-size: 17.5px; line-height: 1.3; margin-bottom: 9px; }
.ncard p { font-size: 14px; color: var(--ink-500); margin: 0 0 16px; flex: 1; }
.ncard__more { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--blue-600); display: inline-flex; align-items: center; gap: 7px; }
.ncard:hover .ncard__more svg { transform: translateX(3px); }
.ncard__more svg { transition: transform .15s; width: 16px; height: 16px; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: stretch; }
.contacts__info { display: grid; gap: 16px; align-content: start; }
.cinfo {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.cinfo__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue-600); display: grid; place-items: center; }
.cinfo__ic svg { width: 23px; height: 23px; }
.cinfo h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-300); margin: 0 0 5px; font-family: var(--font-head); }
.cinfo p { margin: 0; color: var(--ink-900); font-weight: 600; font-size: 16px; }
.cinfo p span { display:block; font-weight: 400; font-size: 14px; color: var(--ink-500); }
.contacts__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 360px; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--blue-900); color: #b9d2ea; padding: 56px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer__brand .brand__text strong { color: #fff; font-size: 17px; }
.footer__brand .brand__text span { color: #8fb4d6; }
.footer__brand .brand__logo { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.footer p { font-size: 14px; color: #9fc0de; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: var(--font-head); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: #b9d2ea; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--teal-500); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: #84a8c9;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Accessibility high-contrast / large mode */
body.a11y { font-size: 18px; }
body.a11y .topbar, body.a11y .hero::after { filter: none; }
body.a11y * { transition: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta .btn span.lbl-full { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 50px 0 70px; }
  .hero__media { max-width: 480px; }
  .hero__media-frame { aspect-ratio: 16 / 11; }
  .quick__grid { grid-template-columns: 1fr; }
  .about__grid, .contacts__grid { grid-template-columns: 1fr; gap: 30px; }
  .lead__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .spec__grid { grid-template-columns: repeat(2, 1fr); }
  .sched__grid { grid-template-columns: 1fr 1fr; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .topbar__contacts span:nth-child(n+2) { display: none; }
  .sched__grid, .news__grid, .footer__grid { grid-template-columns: 1fr; }
  .spec__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scard { flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px; }
  .scard span { font-size: 13.5px; }
  .hero__stats { gap: 22px; }
  /* Шапка: только лого + бургер (CTA — в меню), бренд компактнее */
  .header__inner { min-height: 68px; gap: 10px; }
  .header__cta .btn { display: none; }
  .brand__logo { width: 50px; height: 50px; border-radius: 12px; }
  .brand__logo svg { width: 34px; height: 34px; }
  .brand { gap: 11px; }
  .brand__text strong { font-size: 18px; }
  .brand__text span { display: none; }
  .a11y-btn span { display: none; }
  .a11y-btn { padding: 6px; }
  .hero__info { flex-direction: column; gap: 10px; }
  .hero__info .hi + .hi { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 10px; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100; visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,32,46,.55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; width: min(82vw, 340px); height: 100%;
  background: #fff; box-shadow: var(--shadow-lg); padding: 22px;
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a { display: block; padding: 13px 8px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink-900); }
.drawer__close { position: absolute; top: 16px; right: 16px; background: var(--blue-050); border: 0; width: 40px; height: 40px; border-radius: 10px; font-size: 22px; cursor: pointer; color: var(--blue-800); }

/* ============================================================
   SLIDER (banners)
   ============================================================ */
.slider-sec { padding: 30px 0 0; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.slider__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.slide { position: relative; flex: 0 0 100%; min-height: 320px; display: flex; align-items: center; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,32,46,.82) 0%, rgba(10,32,46,.5) 52%, rgba(10,32,46,.12) 100%); }
.slide__content { position: relative; z-index: 2; color: #fff; padding: 44px 52px; max-width: 640px; }
.slide__content h2 { color: #fff; font-size: clamp(23px, 3.2vw, 36px); line-height: 1.18; margin-bottom: 12px; }
.slide__content p { color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.9); color: var(--blue-700); display: grid; place-items: center; transition: background .2s; }
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow:hover { background: #fff; }
.slider__arrow--prev { left: 16px; } .slider__arrow--next { right: 16px; }
.slider__dots { position: absolute; bottom: 16px; left: 52px; z-index: 3; display: flex; gap: 8px; }
.slider__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.5); transition: background .2s, width .2s; }
.slider__dots button.is-active { background: #fff; width: 24px; border-radius: 5px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.rcard__stars { color: #d9dee5; font-size: 17px; letter-spacing: 2px; }
.rcard__stars .on { color: #f5b301; }
.rcard__body { color: var(--ink-700); line-height: 1.6; flex: 1; }
.rcard__author { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.rcard__author b { font-family: var(--font-head); color: var(--ink-900); }
.rcard__author span { color: var(--ink-300); font-size: 13px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 860px; margin: 0 auto 36px; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; color: var(--ink-900); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; font-size: 22px; color: var(--teal-600); line-height: 1; }
.faq__item[open] summary::after { content: '–'; }
.faq__answer { padding: 0 22px 20px; color: var(--ink-500); line-height: 1.62; }

/* ============================================================
   FEEDBACK FORMS (reviews / questions)
   ============================================================ */
.feedback { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.feedback h3 { font-size: 20px; margin-bottom: 16px; }
.fform { display: flex; flex-direction: column; gap: 16px; }
.fform__row { display: grid; grid-template-columns: 1fr 160px; gap: 16px; }
.fform label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-500); }
.fform label > span { font-weight: 600; }
.fform input, .fform select, .fform textarea { font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--blue-050); color: var(--ink-900); transition: border-color .2s, background .2s; }
.fform input:focus, .fform select:focus, .fform textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.fform textarea { resize: vertical; }
.fform button { align-self: flex-start; }
.form-ok { background: #e7f7ed; border: 1px solid #b6e3c6; color: #1c7a43; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.form-err { color: #d23b3b; font-size: 13px; font-style: normal; }

@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .slide { min-height: 300px; }
  .slide::after { background: linear-gradient(180deg, rgba(10,32,46,.45) 0%, rgba(10,32,46,.86) 100%); }
  .slide__content { padding: 26px 22px; max-width: 100%; }
  .slide__content h2 { font-size: 22px; }
  .slide__content p { font-size: 14.5px; }
  .slider__arrow { display: none; }
  .slider__dots { left: 0; right: 0; justify-content: center; bottom: 12px; }
  .fform__row { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG (pages)
   ============================================================ */
.container--narrow { max-width: 820px; }
.crumbs { font-size: 13.5px; color: var(--ink-300); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--blue-600); }
.crumbs span { color: var(--ink-300); }
.section__head--left { text-align: left; max-width: 760px; margin-left: 0; }
.section__head--left h1 { font-size: clamp(28px, 4vw, 40px); }
.muted { color: var(--ink-500); }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.pager__btn { display: inline-flex; align-items: center; padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-900); background: #fff; transition: border-color .2s, color .2s; }
.pager__btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pager__btn.is-disabled { color: var(--ink-300); border-color: var(--line); cursor: default; }
.pager__info { font-size: 14px; color: var(--ink-500); }

.post__head { margin-bottom: 22px; }
.post__meta { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-500); margin-bottom: 12px; }
.post__author { color: var(--teal-600); font-weight: 600; }
.post__title { font-size: clamp(26px, 4vw, 40px); line-height: 1.18; }
.post__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.post__cover img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.post__body { font-size: 17px; line-height: 1.75; color: var(--ink-700); }
.post__body p { margin-bottom: 18px; }
.post__body h2, .post__body h3 { font-family: var(--font-head); color: var(--ink-900); margin: 28px 0 12px; }
.post__body ul, .post__body ol { margin: 0 0 18px 22px; }
.post__body li { margin-bottom: 8px; }
.post__body a { color: var(--blue-600); text-decoration: underline; }
.post__body img { max-width: 100%; border-radius: var(--radius-sm); }
.post__back { margin: 34px 0; }
.post__more { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.post__more h2 { font-size: 22px; margin-bottom: 22px; }
.post__more .news__grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) {
  .post__more .news__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SEARCH
   ============================================================ */
.search-form { display: flex; gap: 12px; margin-bottom: 26px; }
.search-form input { flex: 1; font: inherit; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink-900); }
.search-form input:focus { outline: none; border-color: var(--blue-500); }
.search-count { color: var(--ink-500); margin-bottom: 18px; font-size: 14px; }
.search-results { display: flex; flex-direction: column; gap: 14px; }
.sresult { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; transition: border-color .2s, box-shadow .2s; }
.sresult:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.sresult__type { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--teal-600); background: var(--blue-050); padding: 3px 9px; border-radius: 100px; margin-bottom: 8px; font-family: var(--font-head); }
.sresult h3 { font-size: 17px; margin-bottom: 5px; color: var(--ink-900); }
.sresult p { color: var(--ink-500); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   GALLERY (photos + videos) + LIGHTBOX
   ============================================================ */
.gallery-subhead { font-size: 22px; margin: 8px 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; }
.gphoto { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gphoto:hover img { transform: scale(1.06); }
.gphoto__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 9px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(10,32,46,.8)); }
.video-grid, .tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 44px; }
.tour-grid .vcard__frame { padding-top: 60%; }
.vcard__frame { position: relative; padding-top: 56.25%; border-radius: var(--radius-sm); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.vcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard figcaption { margin-top: 12px; font-family: var(--font-head); font-weight: 600; color: var(--ink-900); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8,22,34,.92); padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox__fig { max-width: 90vw; max-height: 86vh; margin: 0; text-align: center; }
.lightbox__img { max-width: 90vw; max-height: 78vh; border-radius: 8px; }
.lightbox__cap { color: #fff; margin-top: 14px; font-size: 15px; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid, .tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   AUTH (register / login / account)
   ============================================================ */
.auth-card { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .muted { margin-bottom: 22px; }
.auth-card .fform { margin-top: 8px; }
.auth-card .checkbox { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; }
.auth-card .checkbox input { width: auto; }
.auth-alt { margin-top: 20px; font-size: 14px; color: var(--ink-500); text-align: center; }
.auth-alt a { color: var(--blue-600); font-weight: 600; }
.account-info { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.account-info > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.account-info span { color: var(--ink-500); }
.account-info b { font-family: var(--font-head); color: var(--ink-900); }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ecp-status { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; background: var(--blue-050); color: var(--ink-700); border: 1px solid var(--line); }
.ecp-status--ok { background: #e7f7ed; border-color: #b6e3c6; color: #1c7a43; }
.ecp-status--err { background: #fdeaea; border-color: #f3c0c0; color: #c0392b; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .topbar, .header, .footer, .drawer, .no-print,
  .crumbs, .post__more, .post__back, .lightbox,
  .slider-sec, .feedback, .a11y-btn, .lang, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 0 !important; }
  .container, .container--narrow { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
  .post__title { font-size: 24pt; color: #000; }
  .post__meta { color: #333; }
  .post__cover { box-shadow: none; margin-bottom: 16px; }
  .post__cover img { max-height: 320px; }
  .post__body { font-size: 12pt; color: #000; }
  .post__body a { color: #000; text-decoration: none; }
  a[href]::after { content: ''; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
