
:root {
  --navy: #002c74;
  --blue: #004aad;
  --sky: #7cbdfd;
  --mist: #cbe4fd;
  --cream: #fcf8f0;
  --paper: #ffffff;
  --ink: #002c74;
  --ink-soft: #3d5f93;
  --forest: #004aad;
  --forest-dark: #002c74;
  --amber: #7cbdfd;
  --terra: #004aad;
  --terra-dark: #002c74;
  --sand: #cbe4fd;
  --line: #cbe4fd;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(46, 58, 52, .10);
  --shadow-sm: 0 4px 14px rgba(46, 58, 52, .08);
  --font-head: 'Balsamiq Sans', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-hand: 'Neucha', 'Balsamiq Sans', cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
  overflow-x: clip;
}

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

img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 108, 74, .35);
}
.btn--primary:hover { background: var(--terra-dark); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 253, 248, .85);
  color: var(--forest-dark);
  border: 2px solid rgba(61, 107, 79, .35);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 17px; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header--scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(46, 58, 52, .07);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--terra);
}
.logo__icon { width: 34px; height: 34px; flex: none; }
.logo__text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.05;
  color: var(--ink);
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--ink); background: var(--sand); }
.nav__link--active { color: var(--forest-dark); background: var(--sand); }
.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.header__phone:hover { color: var(--terra); }
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: var(--sand);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger--open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(251, 246, 238, .97) 0%,
    rgba(251, 246, 238, .88) 34%,
    rgba(251, 246, 238, .45) 62%,
    rgba(251, 246, 238, .05) 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 60px;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(46, 58, 52, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f7f0e3;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--terra);
}
.hero__stats span { font-size: 14px; color: var(--ink-soft); }

.section { padding: 96px 0; }
.section--tinted { background: var(--sand); }
.section--accent {
  background:
    radial-gradient(800px 400px at 15% 20%, rgba(232, 145, 45, .14), transparent 60%),
    radial-gradient(700px 380px at 85% 80%, rgba(61, 107, 79, .12), transparent 60%),
    var(--cream);
}
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}
.section__lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0 0 44px;
}

.cards { display: grid; gap: 22px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(232, 145, 45, .15);
  color: var(--terra);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.wherewhen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.wherewhen__item {
  padding: 30px;
  border-radius: var(--radius);
  color: #fdf8ef;
}
.wherewhen__item h3 { font-size: 20px; margin-bottom: 10px; }
.wherewhen__item p { margin: 0; opacity: .92; font-size: 15.5px; }
.wherewhen__item:first-child { background: var(--forest); }
.wherewhen__item:last-child { background: var(--terra); }

.seasons { display: grid; gap: 22px; }
.season {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.season__main { padding: 40px 42px; }
.season__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(61, 107, 79, .12);
  color: var(--forest-dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.season__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.season__title { font-size: 30px; font-weight: 900; margin-bottom: 14px; }
.season__desc { color: var(--ink-soft); margin: 0 0 24px; }
.season__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.season__facts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
}
.season__facts b {
  flex: none;
  width: 118px;
  font-size: 12.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.season__side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px;
  background: var(--forest);
  color: #fdf8ef;
}
.season__price { font-family: var(--font-head); font-size: 21px; font-weight: 900; }
.season__note { font-size: 14px; opacity: .85; margin: 0; }
.season__cta { background: var(--amber); color: var(--forest-dark); }
.season__cta:hover { background: #f5a94d; }
.season--empty .season__main { grid-column: 1 / -1; text-align: center; padding: 48px; }

.gallery { position: relative; margin-top: 26px; }
.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  scroll-snap-align: start;
}
.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(46, 58, 52, .55);
  backdrop-filter: blur(6px);
  color: #f7f0e3;
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
}
.gallery__btn:hover { background: rgba(46, 58, 52, .8); }
.gallery__btn--prev { left: 14px; }
.gallery__btn--next { right: 14px; }
.gallery__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.gallery__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 253, 248, .55);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.gallery__dot--active { background: var(--amber); transform: scale(1.25); }

.logo__icon--img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }

.person { text-align: center; }
.person__photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin: 4px auto 18px;
  border: 4px solid var(--sand);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.person:hover .person__photo { transform: scale(1.08); box-shadow: var(--shadow); }
.person h3 { font-size: 19px; margin-bottom: 4px; }
.person__role {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--amber);
}
.person p:last-child { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.project {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.project__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.project:hover .project__photo { transform: scale(1.04); }
.project__body { padding: 22px 24px 24px; }
.project__body h3 { font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.project__body p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-soft); }
.project__link {
  font-weight: 700;
  font-size: 14px;
  color: var(--terra);
}
.project__link::after { content: ' →'; }

.signup {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.signup__info h2 { font-size: 32px; font-weight: 900; margin-bottom: 14px; }
.signup__info p { color: var(--ink-soft); margin: 0 0 18px; }
.signup__phone a { font-weight: 800; color: var(--terra); text-decoration: none; }
.signup__phone a:hover { text-decoration: underline; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(232, 145, 45, .15);
}
.field input.field--invalid { border-color: var(--terra); }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--terra-dark);
}
.field__error--visible { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 4px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent__box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  background: #fff;
  position: relative;
  transition: background .15s, border-color .15s;
}
.consent input:checked + .consent__box { background: var(--forest); border-color: var(--forest); }
.consent input:checked + .consent__box::after {
  content: '';
  position: absolute;
  left: 6.5px; top: 3px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}
.signup__captcha { min-height: 100px; margin-top: 16px; }
.signup__submit { width: 100%; margin-top: 18px; }
.signup__done { text-align: center; padding: 30px 10px; }
.signup__done-icon {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(61, 107, 79, .12);
  color: var(--forest);
}
.signup__done-icon svg { width: 38px; height: 38px; }
.signup__done h3 { font-size: 24px; margin-bottom: 10px; }
.signup__done p { color: var(--ink-soft); margin: 0; }
.signup__again { margin-top: 20px; max-width: 100%; white-space: normal; }
@media (max-width: 560px) {
  .signup__again { width: 100%; padding: 14px 18px; font-size: 15px; }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.error-page { text-align: center; padding-block: 6rem; }

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contacts__block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.contacts__block h3 { font-size: 21px; margin-bottom: 20px; }
.contacts__list { list-style: none; margin: 0; padding: 0; }
.contacts__list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.contacts__list li:last-child { border-bottom: 0; }
.contacts__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.contacts__list a {
  font-size: 17px;
  font-weight: 700;
  color: var(--forest-dark);
  text-decoration: none;
}
.contacts__list a:hover { color: var(--terra); }
.docs__list { list-style: none; margin: 0; padding: 0; }
.docs__item {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  font: inherit;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color .18s, background .18s;
}
.docs__item::after {
  content: '↗';
  color: var(--ink-soft);
  font-weight: 700;
}
.docs__item:hover { border-color: var(--amber); background: #fff; }

.footer {
  padding: 40px 0;
  background: var(--forest-dark);
  color: #dce6de;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
}
.logo--footer { color: var(--amber); }
.logo--footer .logo__text { color: #fbf6ee; }
.footer__note { margin: 0; font-size: 14.5px; }
.footer__made { margin: 0 0 0 auto; font-size: 13.5px; opacity: .75; }
.footer__admin { color: inherit; opacity: .7; font-size: 13px; }
.footer__admin:hover { opacity: 1; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .22s ease, visibility .22s;
}
.modal--open { visibility: visible; opacity: 1; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 35, .55);
  backdrop-filter: blur(3px);
}
.modal__window {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82vh, 800px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 22px;
  padding: 38px 42px;
  box-shadow: 0 30px 80px rgba(30, 40, 35, .35);
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}
.modal--open .modal__window { transform: none; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--sand);
  color: var(--ink);
  cursor: pointer;
}
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 20px; height: 20px; }
.modal__title { font-size: 24px; margin-bottom: 18px; padding-right: 44px; }
.modal__content h4 { font-size: 16.5px; margin: 20px 0 6px; }
.modal__content p { margin: 0 0 14px; font-size: 15.5px; color: var(--ink-soft); }
.modal__content ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-soft); }
.modal__content li { margin-bottom: 6px; }
body.modal-open { overflow: hidden; }

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(.94);
  transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal--visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .gallery__slide { aspect-ratio: 4 / 3; }
  .gallery__btn { width: 38px; height: 38px; font-size: 16px; }
}

@media (max-width: 1020px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .signup { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 72px; }
  .header__inner { height: 62px; gap: 14px; }
  .header__right { margin-left: auto; gap: 10px; }
  .header__phone { display: none; }
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(46, 58, 52, .12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav--open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 12px 16px; font-size: 16px; }
  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(251, 246, 238, .9) 0%,
      rgba(251, 246, 238, .8) 45%,
      rgba(251, 246, 238, .55) 100%);
  }
  .hero__bg { background-position: 70% center; }
  .section { padding: 64px 0; }
  .wherewhen { grid-template-columns: 1fr; }
  .season { grid-template-columns: 1fr; }
  .season__main { padding: 30px 24px; }
  .season__side { padding: 28px 24px; }
  .contacts { grid-template-columns: 1fr; }
  .footer__made { margin-left: 0; }
}

@media (max-width: 560px) {
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .header__cta { padding: 10px 16px; font-size: 14px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero__stats b { font-size: 21px; }
  .hero__stats span { font-size: 12.5px; }
  .signup { padding: 28px 20px; border-radius: 22px; }
  .modal__window { padding: 28px 22px; }
}
