/* ==========================================================
   Qibla Tour — стили лендинга
   Палитра — по брендбуку заказчика: тёмно-синий #031B3F,
   светлый #EDEAE5, туманный градиент.
   Шрифты — в fonts.css (--font-heading для заголовков, --font-main для текста, --font-arabic).
   ========================================================== */

:root {
  /* брендовые цвета */
  --navy: #031b3f;
  --navy-deep: #02122c;
  --cream: #edeae5;
  --cream-2: #e4e0d9;
  --paper: #f6f4f0;
  --mist: #95aabd;
  --blue: #426695;
  --grad: linear-gradient(160deg, #95aabd 0%, #426695 42%, #0d2a5c 72%, #031b3f 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 76px;
}

/* Тема секции задаёт локальные цвета — компоненты берут их через var() */
.theme-dark {
  --bg: var(--navy);
  --fg: var(--cream);
  --muted: rgba(237, 234, 229, .7);
  --faint: rgba(237, 234, 229, .5);
  --line: rgba(237, 234, 229, .12);
  --line-strong: rgba(237, 234, 229, .26);
  --card: rgba(255, 255, 255, .035);
  --card-hover: rgba(255, 255, 255, .06);
  --input: rgba(2, 18, 44, .55);
  --btn-bg: var(--cream);
  --btn-fg: var(--navy);
  --btn-hover: #ffffff;
  --accent-grad: linear-gradient(180deg, #ffffff 0%, #c9d3dd 50%, #95aabd 100%);
  --focus: var(--mist);
  background-color: var(--bg);
  color: var(--fg);
}
.theme-light {
  --bg: var(--cream);
  --fg: var(--navy);
  --muted: rgba(3, 27, 63, .7);
  --faint: rgba(3, 27, 63, .5);
  --line: rgba(3, 27, 63, .12);
  --line-strong: rgba(3, 27, 63, .26);
  --card: var(--paper);
  --card-hover: #fbfaf8;
  --input: var(--paper);
  --btn-bg: var(--navy);
  --btn-fg: var(--cream);
  --btn-hover: #0a2a5a;
  --accent-grad: linear-gradient(180deg, #426695 0%, #1a3a6c 55%, #031b3f 100%);
  --focus: var(--blue);
  background-color: var(--bg);
  color: var(--fg);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }
strong { font-weight: 500; }

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

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font: 400 15px/1 var(--font-main);
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(3, 27, 63, .45); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.header.is-scrolled,
.header--solid {
  background-color: rgba(3, 27, 63, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; }
/* название в шапке не переносим */
.brand__name {
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: .22em;
  color: var(--cream);
}

.nav { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { color: var(--fg); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--fg);
  transition: transform .25s ease;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
/* туманный градиент из брендбука */
.hero__glow {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(38% 46% at 72% 34%, rgba(149, 170, 189, .55), transparent 70%),
    radial-gradient(44% 52% at 82% 62%, rgba(66, 102, 149, .7), transparent 72%),
    radial-gradient(40% 50% at 18% 90%, rgba(66, 102, 149, .35), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -.005em;
  margin-bottom: 28px;
}
.hero__lead { color: var(--muted); font-size: 19px; max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }
.hero__facts {
  list-style: none; margin: 0; padding: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 20px 48px;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-main); font-weight: 400; font-size: 19px; }
.hero__facts span { color: var(--muted); font-size: 15px; }

.hero__visual { position: relative; aspect-ratio: 1; }
.hero__mark {
  position: relative;
  width: 100%; height: 100%;
  padding: 14%;
  object-fit: contain;
  animation: float 8s ease-in-out infinite;
}
.hero__ring {
  position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 40px rgba(237, 234, 229, .018), 0 0 0 80px rgba(237, 234, 229, .01);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background-color: var(--cream-2); }
.section__head { max-width: 660px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { font-family: var(--font-heading); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; }
.section__lead { color: var(--muted); margin-top: 22px; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split--center { align-items: center; }
.split .section__head { margin-bottom: 0; }

/* ---------- features ---------- */
.feature {
  padding: 34px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background-color .25s;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--card-hover); }
.feature__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  margin-bottom: 26px;
}
.feature__icon svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--cream); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-family: var(--font-heading); font-size: 20px; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 16px; }

/* ---------- tours ---------- */
.tour {
  position: relative;
  display: flex; flex-direction: column;
  padding: 38px 32px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tour--featured {
  background-color: var(--navy);
  background-image:
    radial-gradient(90% 60% at 100% 0%, rgba(149, 170, 189, .38), transparent 70%),
    radial-gradient(80% 60% at 0% 0%, rgba(66, 102, 149, .45), transparent 70%);
  border-color: transparent;
  box-shadow: 0 40px 80px -40px rgba(3, 27, 63, .6);
}
.tour__badge {
  position: absolute; top: -14px; left: 32px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid rgba(3, 27, 63, .15);
  font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
}
.tour__tag {
  display: inline-block;
  font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.tour__name { font-family: var(--font-heading); font-size: 32px; margin-bottom: 8px; }
.tour__meta { color: var(--muted); font-size: 16px; }
.tour__list {
  list-style: none; margin: 28px 0; padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid; gap: 12px;
  flex: 1;
}
.tour__list li { position: relative; padding-left: 26px; font-size: 16px; }
.tour__list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 12px; height: 6px;
  border-left: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  opacity: .7;
  transform: rotate(-45deg);
}
.tour__price { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.tour__price span {
  display: block; margin-top: 4px;
  color: var(--fg);
  font-family: var(--font-main); font-size: 24px; letter-spacing: 0; text-transform: none;
}

.tour__note { color: var(--faint); font-size: 14px; line-height: 1.5; margin: -12px 0 24px; }

/* число туров меняется из бота: 1, 2 или 4 карточки раскладываем ровно */
@media (min-width: 1025px) {
  .grid--3.grid--n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .grid--3.grid--n2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
  .grid--3.grid--n4 { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; row-gap: 40px; }
}

/* ---------- checklist ---------- */
.checklist {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.checklist li {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 0 4px rgba(149, 170, 189, .18);
}

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline__step {
  font-family: var(--font-main);
  font-size: 40px;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.timeline__item h3 { font-family: var(--font-heading); font-size: 22px; margin-bottom: 10px; }
.timeline__item p { color: var(--muted); }

/* ---------- excursions ---------- */
.excursions {
  margin-top: 40px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background-color: var(--navy);
  background-image:
    radial-gradient(70% 90% at 100% 0%, rgba(149, 170, 189, .35), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(66, 102, 149, .45), transparent 70%);
  color: var(--cream);
}
.excursions__title { font-family: var(--font-heading); font-size: 24px; margin-bottom: 24px; }
.excursions__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.excursions__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(237, 234, 229, .16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  font-size: 17px;
}
.excursions__list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 0 4px rgba(149, 170, 189, .2);
}

/* ---------- packing ---------- */
.grid--packing { grid-template-columns: repeat(3, 1fr); }
.pack {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pack h3 { font-family: var(--font-heading); font-size: 21px; margin-bottom: 16px; }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pack li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; }
.pack li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.pack__note {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; line-height: 1.5;
}
.pack--important {
  display: flex; flex-direction: column; justify-content: center;
  background-color: var(--navy);
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(149, 170, 189, .4), transparent 70%);
  border-color: transparent;
}
.pack--important p { color: var(--muted); font-size: 17px; }
.pack__kaaba { width: 44px; height: 44px; margin-bottom: 18px; }
.pack__kaaba rect { fill: var(--cream); }
.pack__kaaba .band { fill: var(--mist); }

/* ссылки на подсайт «Памятка» */
.memo-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.memo-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px 18px;
  padding: 12px 18px 20px 12px;
  border-radius: var(--radius);
  background-color: var(--navy);
  background-image: radial-gradient(70% 120% at 100% 0%, rgba(149, 170, 189, .35), transparent 70%);
  color: var(--cream);
  transition: transform .25s ease, box-shadow .25s ease;
}
.memo-link:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(3, 27, 63, .7); }
.memo-link img { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 1168 / 880; object-fit: cover; border-radius: 12px; background: #f5edda; }
.memo-link__text { display: grid; gap: 4px; padding-left: 6px; }
.memo-link__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(237, 234, 229, .55); }
.memo-link__title { font-family: var(--font-heading); font-size: 23px; line-height: 1.2; }
.memo-link__sub { color: rgba(237, 234, 229, .7); font-size: 16px; }
.memo-link__arrow {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
}
.memo-link__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--font-main);
  font-size: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* ---------- contact ---------- */
.contacts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.contacts li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
.contacts span { color: var(--faint); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; }
.contacts a { border-bottom: 1px solid var(--line-strong); transition: border-color .2s; justify-self: start; }
.contacts a:hover { border-color: var(--fg); }
.contacts__group { display: grid; gap: 8px; justify-items: start; }

.form {
  padding: 38px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field--row { grid-template-columns: 110px 1fr; gap: 14px; }
.field--row > div { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  background: var(--input);
  color: var(--fg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: 300 17px/1.4 var(--font-main);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field select option { color: var(--navy); background: var(--cream); }
.field select:disabled { opacity: .75; cursor: not-allowed; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--mist); box-shadow: 0 0 0 3px rgba(149, 170, 189, .2); }
.field input.is-invalid { border-color: #e39a8f; }
.form__note { color: var(--faint); font-size: 14px; text-align: center; }
.form__error { color: #f0b0a6; font-size: 15px; text-align: center; }
.form__error:empty { display: none; }

/* ---------- footer ---------- */
.footer { padding: 40px 0; background-color: var(--navy-deep); border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__copy { color: var(--faint); font-size: 15px; }
.footer .brand__mark { width: 34px; height: 34px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 32px; }
  .grid--packing { grid-template-columns: repeat(2, 1fr); }
  .memo-links { grid-template-columns: 1fr; }
  .memo-link { grid-template-columns: 150px 1fr auto; align-items: center; gap: 22px; padding: 14px 22px 14px 14px; }
  .memo-link img { grid-column: auto; }
  .memo-link__text { padding-left: 0; }
}

/* мобильное меню: в шапке 6 пунктов, поэтому прячем раньше остальной адаптивности */
@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(3, 27, 63, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__cta { margin-top: 20px; min-height: 52px; }
  .header.menu-open { background-color: rgba(3, 27, 63, .97); }
}

@media (max-width: 860px) {
  .excursions__list { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { order: -1; width: min(300px, 70vw); margin: 0 auto; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 88px 0; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .section__title { font-size: 26px; }
  .hero__title { font-size: 34px; }
  .container { padding: 0 16px; }
  .grid--4,
  .grid--packing,
  .excursions__list { grid-template-columns: 1fr; }
  .excursions { padding: 28px 20px; }
  .memo-link { grid-template-columns: 1fr auto; align-items: end; gap: 16px 18px; padding: 12px 18px 20px 12px; }
  .memo-link img { grid-column: 1 / -1; }
  .memo-link__text { padding-left: 6px; }
  .memo-link__title { font-size: 22px; }
  .memo-link__arrow { width: 44px; height: 44px; }
  .pack { padding: 28px 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 16px 28px; }
  .timeline__item { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .timeline__step { font-size: 32px; }
  .tour { padding: 34px 22px 24px; }
  .form { padding: 24px 18px; }
  .field--row { grid-template-columns: 1fr; }
  .contacts li { grid-template-columns: 1fr; gap: 4px; }
  .faq summary { font-size: 18px; padding: 22px 0; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
}

@media (max-width: 380px) {
  .brand { gap: 8px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 14px; letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
