:root {
  --bg: #f7f4ed;
  --surface: #ffffff;
  --surface-soft: #eef5ec;
  --text: #16231b;
  --muted: #637066;
  --line: #dbe3d7;
  --accent: #2f7d4f;
  --accent-dark: #1f5c3a;
  --accent-soft: #dff0e6;
  --gold: #d8a748;
  --shadow: 0 24px 70px rgba(20, 45, 30, 0.14);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 237, 0.88);
  border-bottom: 1px solid rgba(219, 227, 215, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(47, 125, 79, 0.24);
}

.brand-text {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--accent-soft);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

.nav-burger-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] .nav-burger-line:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.nav-disabled {
  text-decoration: none;
}

.main-nav a {
  color: var(--text);
}

.nav-active {
  padding: 10px 14px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
}

.nav-disabled {
  color: #9aa59b;
  cursor: not-allowed;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.nav-dropdown-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  min-width: 300px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-item {
  display: block;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 12px;
}

.nav-dropdown-item.nav-disabled {
  color: #9aa59b;
  cursor: not-allowed;
}

@media (hover: hover) and (min-width: 1061px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .nav-dropdown:hover .nav-dropdown-chevron {
    transform: rotate(180deg);
  }
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  background: var(--accent-soft);
  border-radius: 999px;
}

.header-phone .phone-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(8px);
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -120px;
  background: rgba(47, 125, 79, 0.12);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: -160px;
  background: rgba(216, 167, 72, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lead,
.section-heading p,
.split-grid p,
.promo-card p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 18px 34px rgba(47, 125, 79, 0.26);
}

.btn-secondary {
  color: var(--accent-dark);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: grid;
  max-width: 700px;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 22px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  min-height: 560px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.hero-gallery {
  position: relative;
  height: 100%;
  min-height: 528px;
}

.gallery-main {
  display: block;
  width: 100%;
  height: 528px;
  object-fit: cover;
  border-radius: 26px;
}

.gallery-thumbs {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.gallery-thumb {
  height: 72px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  top: 34px;
  right: 34px;
  max-width: 285px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 14px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-plans {
  padding-top: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.plan-card {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(20, 45, 30, 0.08);
}

.plan-card img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #f1efe8;
}

.plan-card figcaption {
  padding: 16px 20px 20px;
  color: var(--muted);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.terms-card,
.route-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(20, 45, 30, 0.08);
}

.feature-card {
  padding: 28px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--accent-dark);
  font-size: 24px;
  background: var(--accent-soft);
  border-radius: 16px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: start;
  gap: 54px;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.route-item {
  min-height: 160px;
  padding: 26px;
}

.route-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 38px;
  line-height: 1;
}

.route-item span {
  color: var(--muted);
}

.terms-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.terms-panel p {
  color: var(--muted);
  font-size: 18px;
}

.terms-card {
  padding: 30px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "✓";
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: var(--accent);
  border-radius: 50%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-grid span {
  padding: 18px 20px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 227, 215, 0.9);
  border-radius: 18px;
}

.promo-section {
  padding-top: 0;
}

.promo-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 34px;
  padding: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%, rgba(216, 167, 72, 0.35), transparent 30%),
    linear-gradient(135deg, #244b33, #173323);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.promo-card .eyebrow,
.promo-card p {
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--text);
  background: #fff;
  border-radius: 26px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--text);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
}

.lead-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47, 125, 79, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.link-button {
  display: inline;
  padding: 0;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding: 34px 0;
  background: #111f16;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  font-weight: 800;
  text-decoration: none;
}

.footer-links .link-button {
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 14, 0.62);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 34px;
  background: var(--surface);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.modal-dialog-wide {
  width: min(760px, 100%);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  background: #f2f5f1;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.modal-form {
  padding: 0;
}

.privacy-text {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.privacy-text p {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: none;
  transform: translateX(-50%);
  max-width: min(520px, calc(100% - 40px));
  padding: 16px 20px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: #173323;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.toast.is-visible {
  display: block;
}

@media (min-width: 1200px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav actions";
    align-items: center;
    column-gap: 24px;
    padding: 14px 0;
  }

  .header-bar {
    display: contents;
  }

  .brand {
    grid-area: brand;
  }

  .header-actions {
    grid-area: actions;
  }

  .main-nav {
    grid-area: nav;
    justify-content: center;
    flex-wrap: nowrap;
  }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .main-nav {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .terms-panel,
  .promo-card,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }

  .hero-gallery {
    min-height: 0;
  }

  .gallery-main {
    height: clamp(280px, 50vw, 440px);
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-item strong {
    font-size: 32px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    justify-content: flex-start;
  }

  .nav-dropdown-menu {
    left: 0;
    transform: translateY(-8px);
  }

  .nav-dropdown.is-open .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu {
    transform: translateY(0);
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-stats span {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .nav-burger {
    display: flex;
  }

  .header-phone {
    width: 44px;
    min-width: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 14px;
  }

  .header-phone-text {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(20, 45, 30, 0.1);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-disabled,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .nav-active {
    border-radius: 14px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--surface-soft);
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 8px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-lead,
  .section-heading p,
  .split-grid p,
  .promo-card p,
  .terms-panel p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    margin-bottom: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 12px;
    border-radius: 24px;
  }

  .gallery-main {
    height: clamp(240px, 62vw, 360px);
    border-radius: 18px;
  }

  .gallery-thumbs {
    position: static;
    margin-top: 10px;
    padding: 8px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
  }

  .gallery-thumb {
    height: 64px;
  }

  .floating-card {
    position: static;
    max-width: none;
    margin-top: 12px;
    box-shadow: none;
    border: 1px solid var(--line);
    background: var(--surface-soft);
  }

  .route-list {
    grid-template-columns: 1fr;
  }

  .route-item {
    min-height: auto;
    padding: 20px;
  }

  .route-item strong {
    font-size: 28px;
  }

  .feature-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px;
  }

  .terms-card {
    padding: 22px;
  }

  .plan-card img {
    height: auto;
    max-height: 420px;
  }

  .promo-card {
    gap: 24px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .footer-inner,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal {
    padding: 16px;
    align-items: flex-end;
  }

  .modal-dialog {
    width: 100%;
    max-height: 90vh;
    padding: 28px 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    transform: none;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 56px 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .btn {
    min-height: 50px;
    padding: 0 20px;
    font-size: 14px;
  }

  .gallery-thumb {
    height: 52px;
  }

  .check-list li {
    font-size: 14px;
  }
}
