html {
  background: var(--cream, #f4f1e7);
}

body.elliot-custom-page {
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito Sans", Arial, sans-serif;
  background: var(--cream, #f4f1e7);
  color: var(--ink, #191b12);
  margin: 0;
}

.elliot-custom-page button,
.elliot-custom-page input,
.elliot-custom-page select {
  font: inherit;
}

.elliot-honeypot {
  height: 1px !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
}

.contact-form-status {
  background: color-mix(in srgb, var(--wine) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--wine) 28%, transparent);
  border-radius: 10px;
  color: var(--wine);
  display: none;
  font-size: 15px;
  margin: 0 0 16px;
  padding: 11px 14px;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-submit[disabled] {
  cursor: wait;
  opacity: .72;
}

.lightbox-close,
.lightbox-nav,
.lightbox-zoom-controls button {
  align-items: center;
  display: inline-flex;
  font-family: Arial, sans-serif;
  justify-content: center;
}

.lightbox-close span {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.lightbox-nav span {
  font-size: 38px;
  line-height: 1;
}

.lightbox-zoom-controls button span {
  font-size: 25px;
  line-height: 1;
}

.elliot-router {
  min-height: 100vh;
  padding: 0 clamp(20px, 5vw, 76px) 34px;
}

.router-header {
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  display: flex;
  justify-content: space-between;
  min-height: 94px;
}

.router-gardens-link {
  align-items: center;
  border-bottom: 1px solid var(--olive);
  color: var(--olive-deep);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  padding-bottom: 4px;
}

.router-gardens-link span {
  color: var(--wine);
  font-size: 21px;
}

.router-hero {
  align-items: center;
  display: grid;
  gap: clamp(42px, 6vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  margin: 0 auto;
  max-width: 1500px;
  min-height: calc(100svh - 94px);
  padding: clamp(52px, 6vw, 88px) 0 clamp(64px, 7vw, 108px);
}

.router-hero-copy {
  max-width: 740px;
}

.router-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 6.8vw, 112px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .84;
  margin: 24px 0 0;
}

.router-hero h1 em,
.router-gardens-heading h2 em {
  color: var(--wine);
  font-weight: 400;
}

.router-hero-lead {
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.6;
  margin: 36px 0 0;
  max-width: 660px;
}

.router-hero-button {
  align-items: center;
  background: var(--olive-deep);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 18px;
  margin-top: 30px;
  padding: 16px 24px;
}

.router-hero-button span {
  color: #d8c8b3;
  font-size: 20px;
}

.router-hero-facts {
  border-top: 1px solid color-mix(in srgb, var(--ink) 17%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
  padding-top: 20px;
}

.router-hero-facts span {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
}

.router-hero-facts span::before {
  background: var(--wine);
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.router-hero-visual {
  margin: 0;
  min-height: clamp(540px, 47vw, 760px);
  position: relative;
}

.router-hero-photo {
  overflow: hidden;
  position: absolute;
}

.router-hero-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.router-hero-photo-main {
  border: 1px solid color-mix(in srgb, var(--wine) 38%, transparent);
  border-radius: 48% 48% 22px 22px / 25% 25% 22px 22px;
  height: 87%;
  left: 0;
  top: 0;
  width: 84%;
}

.router-hero-photo-main img {
  object-position: 52% center;
}

.router-hero-photo-accent {
  border: 10px solid var(--paper);
  border-radius: 999px 999px 22px 22px;
  bottom: 0;
  height: 48%;
  right: 0;
  width: 37%;
}

.router-hero-photo-accent img {
  object-position: 54% center;
}

.router-hero-visual figcaption {
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--wine) 20%, transparent);
  border-left: 3px solid var(--wine);
  border-radius: 0 14px 14px 0;
  bottom: 0;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 25px);
  font-style: italic;
  left: 0;
  line-height: 1.15;
  max-width: 300px;
  padding: 13px 20px 14px 18px;
  position: absolute;
  z-index: 3;
}

.router-gardens {
  margin: 0 auto;
  max-width: 1500px;
  padding: clamp(86px, 8vw, 132px) 0 0;
  scroll-margin-top: 24px;
}

.router-gardens-heading {
  align-items: end;
  display: grid;
  gap: 22px 70px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .45fr);
  margin-bottom: clamp(42px, 5vw, 70px);
}

.router-gardens-heading .section-kicker {
  grid-column: 1 / -1;
}

.router-gardens-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(60px, 6.4vw, 102px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .84;
  margin: 0;
}

.router-gardens-heading > p:last-child {
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.6;
  margin: 0 0 6px;
}

.router-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1500px;
}

.garden-choice {
  border-radius: 22px;
  color: #fff;
  min-height: clamp(500px, 56vw, 720px);
  overflow: hidden;
  position: relative;
}

.garden-choice-image,
.garden-choice-overlay {
  inset: 0;
  position: absolute;
}

.garden-choice-image {
  background-position: center;
  background-size: cover;
  transition: transform 700ms ease;
}

.garden-choice-odintsovo .garden-choice-image {
  background-image: url("https://elliot-kids.ru/wp-content/uploads/2026/06/bg-ft-t02.jpg");
}

.garden-choice-nakhabino .garden-choice-image {
  background-image: url("photos/hero.webp");
}

.garden-choice-overlay {
  background: linear-gradient(180deg, rgba(18, 20, 13, .03) 20%, rgba(18, 20, 13, .88) 100%);
}

.garden-choice-content {
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  padding: clamp(26px, 4vw, 52px);
  position: absolute;
  right: 0;
}

.garden-choice-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.garden-choice strong {
  font-family: var(--font-display);
  font-size: clamp(54px, 5.2vw, 86px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .84;
}

.garden-choice strong em {
  color: #d8c8b3;
  font-weight: 400;
}

.garden-choice-description {
  font-size: 18px;
  line-height: 1.55;
  margin-top: 25px;
  max-width: 520px;
}

.garden-choice-button {
  align-items: center;
  align-self: flex-start;
  background: var(--paper);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 18px;
  margin-top: 28px;
  padding: 15px 22px;
}

.garden-choice-button b {
  color: var(--wine);
  font-size: 21px;
}

.garden-choice:hover .garden-choice-image,
.garden-choice:focus-visible .garden-choice-image {
  transform: scale(1.035);
}

.garden-choice:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}

.router-footer {
  align-items: center;
  display: flex;
  font-size: 15px;
  justify-content: space-between;
  margin: 34px auto 0;
  max-width: 1500px;
}

.router-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.router-footer nav a {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
}

@media (max-width: 900px) {
  .router-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .router-hero-copy {
    max-width: 720px;
  }

  .router-hero-visual {
    min-height: 650px;
  }

  .router-gardens-heading {
    display: block;
  }

  .router-gardens-heading .section-kicker {
    margin-bottom: 24px;
  }

  .router-gardens-heading > p:last-child {
    margin-top: 28px;
    max-width: 640px;
  }

  .router-grid {
    grid-template-columns: 1fr;
  }

  .garden-choice {
    min-height: 590px;
  }

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

@media (max-width: 600px) {
  .elliot-router {
    padding-left: 16px;
    padding-right: 16px;
  }

  .router-header {
    min-height: 78px;
  }

  .router-header .wordmark {
    font-size: 38px;
  }

  .router-gardens-link {
    font-size: 14px;
  }

  .router-hero {
    gap: 46px;
    padding: 38px 4px 68px;
  }

  .router-hero h1 {
    font-size: clamp(52px, 15.8vw, 72px);
    margin-top: 20px;
  }

  .router-hero-lead {
    font-size: 18px;
    margin-top: 28px;
  }

  .router-hero-facts {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 34px;
  }

  .router-hero-visual {
    min-height: 470px;
  }

  .router-hero-photo-main {
    height: 77%;
    width: 94%;
  }

  .router-hero-photo-accent {
    border-width: 7px;
    height: 46%;
    width: 43%;
  }

  .router-hero-visual figcaption {
    bottom: 0;
    font-size: 19px;
    max-width: 230px;
    padding: 11px 15px 12px;
  }

  .router-gardens {
    padding-top: 74px;
  }

  .router-gardens-heading h2 {
    font-size: clamp(52px, 15vw, 70px);
  }

  .garden-choice {
    border-radius: 16px;
    min-height: 560px;
  }

  .garden-choice strong {
    font-size: clamp(52px, 15vw, 68px);
  }

  .garden-choice-description {
    font-size: 16px;
  }

  .router-footer nav {
    flex-direction: column;
  }
}
