/* FLORIDIZ — свадебное направление. Светлая палитра. */

:root {
  --bg: #faf7f1;
  --bg-tint: #f3ede0;
  --card: #ffffff;
  --ink: #322c24;
  --ink-80: rgba(50, 44, 36, 0.8);
  --ink-75: rgba(50, 44, 36, 0.75);
  --ink-70: rgba(50, 44, 36, 0.7);
  --ink-62: rgba(50, 44, 36, 0.62);
  --ink-60: rgba(50, 44, 36, 0.6);
  --ink-50: rgba(50, 44, 36, 0.5);
  --ink-45: rgba(50, 44, 36, 0.45);
  --line: rgba(50, 44, 36, 0.14);
  --line-strong: rgba(50, 44, 36, 0.25);
  --dashed: rgba(50, 44, 36, 0.3);

  --olive: #7a8767;
  --olive-dark: #626f51;
  --olive-light: #bcc7a8;
  --olive-soft: rgba(122, 135, 103, 0.08);

  --dark: #29241c;
  --dark-ink: #f1ede4;
  --dark-ink-85: rgba(241, 237, 228, 0.85);
  --dark-ink-68: rgba(241, 237, 228, 0.68);

  --serif: 'Prata', Georgia, serif;
  --sans: 'Onest', -apple-system, 'Segoe UI', sans-serif;

  --pad-x: clamp(20px, 4.4vw, 64px);
  --pad-y: clamp(64px, 8vw, 100px);
  --gap-col: clamp(40px, 5.5vw, 80px);
  --nav-h: 70px;
}

/* ---------- база ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; }

a {
  color: var(--olive);
  text-decoration: none;
}
a:hover { color: var(--olive-dark); }

h1, h2, h3, p, ul, ol, figure, fieldset, legend {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }

::selection { background: var(--olive); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--olive);
  color: var(--bg);
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  color: var(--bg);
}

/* ---------- типовые элементы ---------- */

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.22;
  color: var(--ink);
  text-wrap: balance;
}
.h2--sm { font-size: clamp(26px, 3vw, 40px); line-height: 1.24; }
.h2--light { color: var(--dark-ink); line-height: 1.18; }

.lead {
  font-size: clamp(15.5px, 1.2vw, 16.5px);
  line-height: 1.65;
  color: var(--ink-70);
}
.lead--strong { color: var(--ink); }
.lead b { color: var(--ink); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow--plain { letter-spacing: 0.22em; }
.eyebrow--light { color: var(--olive-light); }
.eyebrow__rule {
  width: 32px;
  height: 1px;
  flex: none;
  background: currentColor;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 16px 30px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--lg { padding: 19px 42px; font-size: 16px; }
.btn--self-start { align-self: flex-start; }

.btn--primary {
  background: var(--olive);
  color: var(--bg);
}
.btn--primary:hover:not(:disabled) {
  background: var(--olive-dark);
  color: var(--bg);
}
.btn--primary:disabled {
  opacity: 0.65;
  cursor: default;
}

.btn--outline {
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 500;
  border-color: var(--olive);
  color: var(--olive);
  border-radius: 100px;
  background: transparent;
}
.btn--outline:hover {
  background: var(--olive);
  color: var(--bg);
}

.btn--ghost-light {
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-color: var(--olive-light);
  color: var(--olive-light);
  background: transparent;
}
.btn--ghost-light:hover {
  background: var(--olive-light);
  color: #141613;
}

.link-underline {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-50);
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--olive); border-color: var(--olive); }

.pill {
  display: inline-flex;
  padding: 13px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pill:hover { border-color: var(--olive); color: var(--olive); }

/* Чипы (фильтр + форма) */
.chip {
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink-80);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--olive); color: var(--olive); }
.chip.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--bg);
}
.chip.is-active:hover { background: var(--olive-dark); border-color: var(--olive-dark); color: var(--bg); }

/* Дэшед-плейсхолдеры для отсутствующих фото */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(50, 44, 36, 0.05) 0 10px, rgba(50, 44, 36, 0) 10px 20px),
    #f0eadc;
  border: 1px dashed var(--dashed);
}
.ph__text {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: rgba(50, 44, 36, 0.55);
  text-align: center;
  line-height: 1.7;
  padding: 0 24px;
}
.ph--work { position: absolute; inset: 0; }
.ph--tall {
  width: 100%;
  height: 620px;
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  background:
    repeating-linear-gradient(45deg, rgba(50, 44, 36, 0.05) 0 10px, rgba(50, 44, 36, 0) 10px 20px),
    #ece4d3;
}
.ph--tall .ph__text { font-size: 13px; padding: 0 40px; }

/* ---------- секции ---------- */

.section {
  padding: var(--pad-y) var(--pad-x);
}
.section--bordered { border-top: 1px solid var(--line); }
.section--tinted { background: var(--bg-tint); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section__head--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 44px;
}
.section__head-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section__head-note {
  max-width: 380px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-60);
  padding-bottom: 6px;
}

/* ---------- NAV ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 16px var(--pad-x);
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(50, 44, 36, 0.12);
}

.nav__logo {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.24em;
  color: var(--ink);
  white-space: nowrap;
}
.nav__logo:hover { color: var(--olive); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex: 1;
  justify-content: space-between;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  margin-left: auto;
}
.nav__link { color: var(--ink-80); }
.nav__link:hover { color: var(--olive); }

.nav__cta { flex: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
}
.nav__burger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  height: clamp(560px, 88vh, 860px);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(250, 247, 241, 0.7) 0%,
    rgba(250, 247, 241, 0.3) 35%,
    rgba(250, 247, 241, 0.93) 68%,
    var(--bg) 100%);
}
.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(16px, 2.2vw, 28px);
  padding: 0 var(--pad-x) clamp(40px, 6vw, 64px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.08;
  color: var(--ink);
  max-width: 1000px;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--olive);
}
.hero__lead {
  max-width: 640px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(50, 44, 36, 0.78);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 8px;
}

/* ---------- ЦИФРЫ ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 30px var(--pad-x);
  border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--ink);
}
.stats__num--accent { color: var(--olive); }
.stats__cap {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-60);
}

/* ---------- О СТУДИИ ---------- */

.about {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
  align-items: center;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.6vw, 36px);
}

.numlist {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.numlist__item { display: flex; gap: 20px; }
.numlist__num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--olive);
  min-width: 36px;
}
.numlist__body { display: flex; flex-direction: column; gap: 6px; }
.numlist__title { font-size: 18px; font-weight: 600; }
.numlist__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(50, 44, 36, 0.68);
}

.about__media {
  position: relative;
  height: 640px;
}
.about__img {
  position: absolute;
  object-fit: cover;
}
.about__img--back {
  top: 0; right: 0;
  width: 72%; height: 78%;
}
.about__img--front {
  bottom: 0; left: 0;
  width: 46%; height: 44%;
  border: 6px solid var(--bg);
}

/* ---------- УСЛУГИ ---------- */

.services { display: flex; flex-direction: column; }

.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr 120px;
  gap: 24px;
  align-items: baseline;
  padding: 26px 12px;
  margin: 0 -12px;
  border-top: 1px solid var(--line);
  transition: background-color 0.2s ease;
}
.service:hover { background: rgba(122, 135, 103, 0.05); }
.service__num {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--olive);
}
.service__title {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.service__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-62);
}
.service__img {
  width: 120px;
  height: 76px;
  object-fit: cover;
  align-self: center;
}

/* ---------- ШРИ-ЛАНКА ---------- */

.srilanka {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
  background: var(--bg-tint);
}
.srilanka__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 32px);
}

.dashlist { display: flex; flex-direction: column; }
.dashlist__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(50, 44, 36, 0.16);
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(50, 44, 36, 0.85);
}
.dashlist__item:last-child { border-bottom: 1px solid rgba(50, 44, 36, 0.16); }
.dashlist__dash { color: var(--olive); flex: none; }
.dashlist b { color: var(--ink); }

/* ---------- ПОРТФОЛИО ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filters .chip {
  padding: 10px 20px;
  font-size: 13.5px;
}

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  opacity: 1;
  transition: opacity 0.22s ease;
}
.works.is-switching { opacity: 0; }
.work {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.work.is-hidden { display: none; }

.work__frame {
  position: relative;
  overflow: hidden;
  height: 380px;
}
.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.work:hover .work__img { transform: scale(1.045); }

.work__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.work__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.work__cat {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-50);
  text-align: right;
  white-space: nowrap;
}

/* ---------- ОТЗЫВЫ ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 36px;
  background: var(--card);
  border: 1px dashed var(--dashed);
}
.review__quote {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--olive);
  line-height: 1;
}
.review__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-60);
  font-style: italic;
}
.review__author {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-75);
}

.partners {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.partners__label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-50);
  white-space: nowrap;
}
.partners__list {
  flex: 1;
  display: flex;
  gap: 16px;
}
.partners__box {
  flex: 1;
  height: 56px;
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-45);
  text-align: center;
}

/* ---------- ЭТАПЫ ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 26px;
  background: var(--card);
  border-top: 2px solid rgba(122, 135, 103, 0.4);
}
.step--first { border-top-color: var(--olive); }
.step__num {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--olive);
}
.step__title { font-size: 17px; font-weight: 600; }
.step__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-62);
}

/* ---------- ПОЧЕМУ С НАМИ СПОКОЙНО ---------- */

.calm {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-col);
}
.calm__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calm__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calm__item {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid rgba(50, 44, 36, 0.2);
}
.calm__item--last { border-bottom: 1px solid rgba(50, 44, 36, 0.2); }
.calm__num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--olive);
  min-width: 36px;
}
.calm__body { display: flex; flex-direction: column; gap: 6px; }
.calm__title { font-size: 18px; font-weight: 600; }
.calm__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(50, 44, 36, 0.65);
}

/* ---------- ФОРМА РАСЧЁТА ---------- */

.calc {
  padding-top: clamp(64px, 8.5vw, 110px);
  padding-bottom: clamp(64px, 8.5vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gap-col);
}
.calc__intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc__img {
  width: 100%;
  height: auto;
  margin-top: 12px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form__field { display: flex; min-width: 0; }

.input {
  width: 100%;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease;
}
.input:focus { border-color: var(--olive); }
.input:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(122, 135, 103, 0.35); }
.input::placeholder { color: var(--ink-45); }
.input.is-invalid { border-color: #a5463a; }

.textarea {
  min-height: 96px;
  resize: vertical;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form__checkbox {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--olive);
  cursor: pointer;
}
.form__consent-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-70);
  cursor: pointer;
}
.form__consent-label a { text-decoration: underline; }
.form__consent.is-invalid .form__consent-label { color: #a5463a; }

.form__submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.form__error {
  font-size: 14px;
  line-height: 1.5;
  color: #a5463a;
}
.form__error a {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}

.thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--olive-soft);
  border: 1px solid rgba(122, 135, 103, 0.4);
}
.thanks[hidden] {
  display: none;
}
.thanks__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 34px);
  color: var(--olive);
}
.thanks__text {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(50, 44, 36, 0.85);
}
.thanks__text a { text-decoration: underline; }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--gap-col);
}
.faq__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq__note {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-62);
}
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__h { font-size: inherit; font-weight: inherit; }

.faq__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
}
.faq__q {
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}
.faq__btn:hover .faq__q { color: var(--olive); }
.faq__icon {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--olive);
  line-height: 1;
  flex: none;
}

/* Панель всегда в DOM (SEO); закрытая — нулевой высоты.
   Без JS открыта первая (class is-open → height:auto). */
.faq__panel {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}
.faq__panel.is-open { height: auto; }
.faq__a {
  padding: 0 0 26px;
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(50, 44, 36, 0.68);
}

/* ---------- АННА ---------- */

.anna {
  background: var(--dark);
  color: var(--dark-ink);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}
.anna__media {
  position: relative;
  min-height: 720px;
}
.anna__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anna__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(56px, 7vw, 100px) clamp(24px, 6vw, 88px);
}
.anna__p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-ink-68);
}
.anna__p--lead {
  font-size: 17px;
  color: var(--dark-ink-85);
}
.anna__sign {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--dark-ink);
}

/* ---------- КОНТАКТЫ ---------- */

.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  padding: clamp(64px, 9vw, 120px) var(--pad-x) clamp(64px, 8vw, 100px);
}
.contacts__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  color: var(--ink);
  max-width: 820px;
  text-wrap: balance;
}
.contacts__lead {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
}
.contacts__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

/* ---------- БИЗНЕС КРОСС-БЛОК ---------- */

.cross {
  position: relative;
  overflow: hidden;
  margin: 0 var(--pad-x) clamp(64px, 8vw, 100px);
}
.cross__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cross__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 22, 19, 0.82) 0%, rgba(20, 22, 19, 0.25) 100%);
}
.cross__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px);
}
.cross__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  color: var(--dark-ink);
  max-width: 560px;
}
.cross__text {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(241, 237, 228, 0.82);
}
.cross .btn { margin-top: 8px; }

/* ---------- ФУТЕР ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.footer__tagline { font-size: 14px; color: var(--ink-60); }

.footer__cols {
  display: flex;
  gap: 40px 72px;
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col--geo { max-width: 220px; }
.footer__col-title {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
}
.footer__link {
  font-size: 14.5px;
  color: var(--ink-80);
}
.footer__link:hover { color: var(--olive); }
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer__sep { color: var(--ink-45); }
.footer__geo { font-size: 14.5px; color: var(--ink-80); }

.footer__bottom {
  border-top: 1px solid rgba(50, 44, 36, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-45);
}
.footer__bottom .footer__link { font-size: 13px; color: var(--ink-45); }
.footer__bottom .footer__link:hover { color: var(--olive); }

/* ---------- PRIVACY ---------- */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) var(--pad-x) clamp(64px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
}
.legal__updated { font-size: 14px; color: var(--ink-50); }
.legal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  margin-top: 12px;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-75);
}
.legal ul {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal a { text-decoration: underline; }
.legal__todo {
  padding: 14px 18px;
  background: var(--olive-soft);
  border: 1px dashed var(--dashed);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--ink-70);
}
.legal__back { font-size: 14.5px; }

/* ---------- ПЛАНШЕТ ~900px ---------- */

@media (max-width: 900px) {
  :root { --nav-h: 66px; }

  .nav {
    flex-wrap: wrap;
    position: sticky;
  }
  .nav__burger { display: flex; }
  .nav__menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 0 6px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__links {
    flex-direction: column;
    gap: 2px;
    margin-left: 0;
    font-size: 16px;
  }
  .nav__link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__cta { align-self: flex-start; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 24px var(--pad-x); }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .about,
  .srilanka,
  .calm,
  .calc,
  .faq {
    grid-template-columns: 1fr;
  }

  .about__media { height: 460px; order: -1; }
  .srilanka__media { order: 2; }
  .ph--tall { position: static; height: 420px; }

  .service {
    grid-template-columns: 56px 1fr 96px;
    grid-template-areas:
      "num title img"
      "num text  img";
    gap: 8px 20px;
    align-items: start;
  }
  .service__num { grid-area: num; }
  .service__title { grid-area: title; }
  .service__text { grid-area: text; }
  .service__img { grid-area: img; width: 96px; height: 72px; align-self: center; }

  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__frame { height: 320px; }

  .reviews { grid-template-columns: 1fr; }
  .partners {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .partners__list { flex-wrap: wrap; }
  .partners__box { flex: 1 1 45%; }

  .anna { grid-template-columns: 1fr; }
  .anna__media { min-height: 420px; }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ---------- МОБАЙЛ ~600px ---------- */

@media (max-width: 600px) {
  .hero { height: auto; min-height: 620px; }
  .hero__inner { padding-top: 120px; gap: 18px; }
  /* на узком экране текста больше — усиливаем засветку снизу */
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(250, 247, 241, 0.55) 0%,
      rgba(250, 247, 241, 0.35) 22%,
      rgba(250, 247, 241, 0.88) 48%,
      var(--bg) 78%);
  }

  .stats { grid-template-columns: 1fr; }
  .stats__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stats__item:last-child { border-bottom: 0; }

  .about__media { height: 360px; }

  .service {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "num title"
      "num text"
      "num img";
    gap: 10px 14px;
  }
  .service__img {
    grid-area: img;
    width: 100%;
    height: 160px;
    margin-top: 6px;
  }
  .service__title { font-size: 19px; }

  .works { grid-template-columns: minmax(0, 1fr); }
  .work__frame { height: 340px; }
  .work__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .work__cat { text-align: left; white-space: normal; }

  .partners__box { flex: 1 1 100%; }

  .review { padding: 28px 24px; }

  .form__row { grid-template-columns: 1fr; }
  .btn--lg { padding: 17px 28px; width: 100%; }
  .form__submit { align-self: stretch; width: 100%; }

  .hero__actions .btn--lg { width: auto; }

  .contacts__list { gap: 10px; }
  .pill { padding: 11px 20px; font-size: 14px; }

  .ph--tall { height: 320px; }
  .anna__media { min-height: 340px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .work:hover .work__img { transform: none; }
}
