/* =========================================================
   strebersdorferhof.info — туристична компанія Favbet
   Албанія: тури, екскурсії, супровід мандрівників
   ========================================================= */

/* ---------- 1. Змінні та базові налаштування ---------- */
:root {
  --c-bg: #fdfaf5;
  --c-bg-alt: #f4fafc;
  --c-surface: #ffffff;
  --c-ink: #16323d;
  --c-ink-soft: #3d5a67;
  --c-muted: #6c8794;
  --c-brand: #1a87a8;
  --c-brand-dark: #0f6280;
  --c-brand-light: #e6f4f8;
  --c-accent: #ef9f3c;
  --c-accent-light: #fdf1e0;
  --c-line: #e4ebee;
  --c-sand: #f8efe0;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --shadow-s: 0 4px 14px rgba(22, 50, 61, .06);
  --shadow-m: 0 12px 30px rgba(22, 50, 61, .09);
  --shadow-l: 0 24px 60px rgba(22, 50, 61, .12);

  --container: 1180px;
  --header-h: 78px;

  --ff: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.22, .68, .35, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  background: var(--c-bg);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

a { color: var(--c-brand-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--c-brand); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--c-ink);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--c-brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 2. Каркас ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tint { background: var(--c-bg-alt); }
.section--sand { background: linear-gradient(180deg, #fffdf9, var(--c-sand)); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--c-brand-light);
  color: var(--c-brand-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-head p { color: var(--c-muted); margin-bottom: 0; }

.lead { font-size: 1.08rem; color: var(--c-ink-soft); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--c-brand-dark);
  color: #fff;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}

.btn--primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 135, 168, .28);
}
.btn--primary:hover {
  background: var(--c-brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 98, 128, .3);
}

.btn--ghost {
  background: transparent;
  color: var(--c-brand-dark);
  border-color: #c9e2ea;
}
.btn--ghost:hover {
  background: var(--c-brand-light);
  border-color: var(--c-brand);
  color: var(--c-brand-dark);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--c-accent);
  color: #4a2c05;
  box-shadow: 0 10px 24px rgba(239, 159, 60, .3);
}
.btn--accent:hover { background: #e08f2c; color: #3d2404; transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------- 4. Хедер ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-s);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--c-ink);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo:hover { color: var(--c-brand-dark); }
.logo__mark { width: 42px; height: 42px; flex: 0 0 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__sub {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--c-ink-soft);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--c-brand-dark); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 22px; }

/* кнопка всередині меню потрібна лише в мобільній версії */
.nav > .btn { display: none; }

.header__cta { display: inline-flex; }
.header__cta .btn { padding: 12px 24px; font-size: .9rem; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(900px 420px at 88% -6%, #ddf1f7 0%, rgba(221, 241, 247, 0) 62%),
    radial-gradient(700px 380px at 4% 12%, #fdf0dd 0%, rgba(253, 240, 221, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 46c160 28 300-18 460-14s280 44 470 32 350-46 510-28v54H0z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/cover;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.hero__title span { color: var(--c-brand-dark); }
.hero__text { font-size: 1.1rem; max-width: 56ch; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 30px;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  box-shadow: var(--shadow-s);
}
.hero__badges svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--c-brand); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero__stats dt {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-brand-dark);
  line-height: 1.1;
}
.hero__stats dd { margin: 4px 0 0; font-size: .9rem; color: var(--c-muted); }

/* Форма зворотного зв'язку */
.form-card {
  position: relative;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: var(--c-surface);
  box-shadow: var(--shadow-l);
}
.form-card__title { margin-bottom: 6px; }
.form-card__note { margin-bottom: 24px; font-size: .93rem; color: var(--c-muted); }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .87rem;
  font-weight: 700;
  color: var(--c-ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-s);
  background: #fcfefe;
  font: inherit;
  font-size: .96rem;
  color: var(--c-ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236c8794' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 135, 168, .13);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217, 83, 79, .1); }

.field__error {
  display: none;
  margin-top: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: #c9302c;
}
.field.has-error .field__error { display: block; }

.field--check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 20px 0 22px;
}
.field--check input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin-top: 3px;
  accent-color: var(--c-brand);
}
.field--check label { margin: 0; font-size: .85rem; font-weight: 500; color: var(--c-muted); line-height: 1.55; }
.field--check.has-error label { color: #c9302c; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  background: #e8f7ef;
  border: 1px solid #bfe6d1;
  color: #1c6b45;
  font-size: .92rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; animation: fadeUp .45s var(--ease) both; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- 6. Про компанію ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  background: var(--c-brand-light);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(26, 135, 168, .1));
  pointer-events: none;
}

.about__chip {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 14px 20px;
  border-radius: var(--radius-m);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-m);
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-ink);
}
.about__chip small { display: block; font-weight: 500; color: var(--c-muted); }

.check-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: .99rem;
}
.check-list li strong { color: var(--c-ink); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4 6.3 11.6 13 4.8' fill='none' stroke='%231a87a8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/13px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: clamp(40px, 5vw, 62px);
}
.stat-card {
  padding: 26px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.stat-card b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-brand-dark);
  line-height: 1.1;
}
.stat-card span { font-size: .88rem; color: var(--c-muted); }

/* ---------- 7. Послуги ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: var(--c-surface);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-7px);
  border-color: #cfe7ee;
  box-shadow: var(--shadow-m);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 17px;
  background: var(--c-brand-light);
  color: var(--c-brand-dark);
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.card:hover .card__icon { background: var(--c-accent-light); transform: rotate(-6deg) scale(1.05); }
.card__icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: 16px; color: var(--c-muted); font-size: .96rem; }

.card__list { display: grid; gap: 9px; margin-top: auto; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--c-ink-soft);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---------- 8. Тури (анімована секція) ---------- */
.tours { position: relative; overflow: hidden; }

.tours__viewport {
  overflow: hidden;
  padding: 6px 4px 10px;
  margin: 0 -4px;
}
.tours__track {
  display: flex;
  gap: 24px;
  transition: transform .65s var(--ease);
  will-change: transform;
}

.tour {
  flex: 0 0 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tour:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); }

.tour__media {
  position: relative;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: var(--c-brand-light);
}
.tour__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1s var(--ease);
}
.tour:hover .tour__media img { transform: scale(1.12); }

.tour__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(5px);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-brand-dark);
}

.tour__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55));
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.tour:hover .tour__media::after { opacity: 1; }

.tour__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.tour__body h3 { margin-bottom: .35em; }
.tour__body p { font-size: .93rem; color: var(--c-muted); margin-bottom: 16px; }

.tour__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
}
.tour__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-bg-alt);
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}
.tour__meta svg { width: 14px; height: 14px; color: var(--c-brand); }

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}
.slider-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  color: var(--c-brand-dark);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.slider-btn:hover:not(:disabled) {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
  transform: scale(1.06);
}
.slider-btn:disabled { opacity: .38; cursor: not-allowed; }
.slider-btn svg { width: 20px; height: 20px; }

.slider-dots { display: flex; gap: 9px; }
.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cfdde2;
  cursor: pointer;
  transition: width .35s var(--ease), background-color .35s var(--ease);
}
.slider-dots button.is-active { width: 30px; background: var(--c-brand); }

/* ---------- 9. Процес ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 26px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -18px;
  left: 26px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-brand), #37a7c4);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(26, 135, 168, .28);
}
.step h3 { margin-top: 24px; font-size: 1.12rem; }
.step p { margin: 0; font-size: .93rem; color: var(--c-muted); }

/* ---------- 10. Відгуки ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review {
  position: relative;
  padding: 34px 30px 28px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.review::before {
  content: "“";
  position: absolute;
  top: 6px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-brand-light);
  font-family: Georgia, "Times New Roman", serif;
}
.review__stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--c-accent); }
.review__stars svg { width: 17px; height: 17px; }
.review p { position: relative; font-size: .97rem; color: var(--c-ink-soft); }
.review__author { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.review__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: var(--c-brand-light);
  color: var(--c-brand-dark);
  font-weight: 800;
}
.review__author b { display: block; color: var(--c-ink); font-size: .95rem; }
.review__author span { font-size: .84rem; color: var(--c-muted); }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item.is-open { border-color: #c9e2ea; box-shadow: var(--shadow-m); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 21px 24px;
  border: none;
  background: none;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
}
.faq__q::after {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 2v10M2 7h10' stroke='%230f6280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/13px;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: rotate(135deg); background-color: var(--c-accent-light); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--c-muted);
}

/* ---------- 12. Контакти ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  background: #fff;
  box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-m); }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: var(--c-brand-light);
  color: var(--c-brand-dark);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--c-ink); font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .93rem; color: var(--c-muted); }
.contact-list a:hover { color: var(--c-brand-dark); }

.map-frame {
  margin-top: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  background: #eef6f9;
}

/* ---------- 13. Футер ---------- */
.footer {
  padding: clamp(52px, 6vw, 74px) 0 0;
  background: linear-gradient(180deg, #ffffff, #f2f8fa);
  border-top: 1px solid var(--c-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 50px);
  padding-bottom: 44px;
}
.footer__about p { font-size: .93rem; color: var(--c-muted); margin: 18px 0 0; max-width: 40ch; }
.footer h4 {
  margin-bottom: 18px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.footer__list { display: grid; gap: 11px; }
.footer__list a, .footer__list span { font-size: .93rem; color: var(--c-muted); }
.footer__list a:hover { color: var(--c-brand-dark); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--c-line);
  font-size: .87rem;
  color: var(--c-muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- 14. Сторінки політик ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 44px;
  background:
    radial-gradient(700px 320px at 82% 0%, #e2f2f7 0%, rgba(226, 242, 247, 0) 62%),
    linear-gradient(180deg, #fff, var(--c-bg));
  text-align: center;
}
.page-hero p { max-width: 680px; margin-inline: auto; color: var(--c-muted); margin-bottom: 0; }

.legal { padding: clamp(48px, 6vw, 76px) 0; }
.legal__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-m);
}
.legal__inner h2 { margin-top: 2em; font-size: 1.42rem; }
.legal__inner h2:first-of-type { margin-top: 0; }
.legal__inner h3 { margin-top: 1.6em; font-size: 1.08rem; }
.legal__inner ul { display: grid; gap: 10px; margin: 0 0 1.2em; }
.legal__inner ul li { position: relative; padding-left: 24px; font-size: .97rem; }
.legal__inner ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-brand);
}
.legal__meta {
  display: inline-block;
  margin-bottom: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--c-bg-alt);
  font-size: .84rem;
  color: var(--c-muted);
}
.legal__inner a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 15. Анімації ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.floaty { animation: floaty 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 16. Адаптив ---------- */
@media (max-width: 1080px) {
  .tour { flex: 0 0 calc((100% - 24px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  .header__cta { display: none; }
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-m);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .32s var(--ease), opacity .32s var(--ease), visibility .32s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 16px; border-radius: var(--radius-s); font-size: 1.02rem; }
  .nav__link:hover { background: var(--c-brand-light); }
  .nav__link::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 10px; }

  .hero__grid,
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .about__media { order: -1; max-height: 400px; }
  .hero__text { max-width: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 70px; }

  .tour { flex: 0 0 100%; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px 30px; }
  .hero__stats dt { font-size: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .logo__sub { display: none; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header__inner { width: min(100% - 28px, var(--container)); }
  .btn { width: 100%; padding: 14px 22px; }
  .hero__actions { display: grid; gap: 12px; }
  .card, .step, .review { padding: 26px 22px; }
  .form-card { padding: 24px 20px; border-radius: var(--radius-m); }
  .slider-nav { gap: 10px; }
  .review::before { font-size: 3.6rem; }
}
