/* ================================================
   GREEN ZONA — Premium Landscape Design CSS
   ================================================ */

/* ---- CSS Variables ---- */
:root {
  --green-dark: #0d2b1a;
  --green-main: #1a4731;
  --green-mid: #2d6a4f;
  --green-accent: #4CAF50;
  --green-light: #74c476;
  --gold: #d4a843;
  --gold-light: #f0c96d;
  --white: #ffffff;
  --off-white: #f4f8f5;
  --text-primary: #1a2e1e;
  --text-muted: #5a7a64;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(13, 43, 26, 0.18);
  --shadow-hover: 0 20px 60px rgba(13, 43, 26, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-accent) 0%, var(--green-mid) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 38px;
  font-size: 1.05rem;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(45, 106, 79, 0.15));
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: var(--green-mid);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Reveal Animations ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 43, 26, 0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 24px;
  font-size: 0.88rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  outline: none;
  /* Remove focus ring */
  -webkit-tap-highlight-color: transparent;
  /* Remove mobile tap highlight */
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Убираем верхний внутренний отступ секции */
  padding: 0 0 10px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  will-change: transform;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 43, 26, 0.85) 0%,
      rgba(13, 43, 26, 0.6) 50%,
      rgba(13, 43, 26, 0.4) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Уплотнено */
  padding-top: 95px;
  padding-bottom: 30px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #a8e6ab;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  margin-top: 0;
  /* Убираем лишний отступ сверху */
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  text-align: center;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
  /* Уменьшено с 56px */
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  z-index: 4;
  background: rgba(13, 43, 26, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px 36px;
  max-width: 520px;
  margin: 20px auto 0;
  /* Уменьшено с 30px */
  /* Добавляем отступ сверху, чтобы не жалось к кнопкам */
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-display);
}

.stat-item span:last-of-type {
  font-size: 1.5rem;
  color: var(--green-accent);
  font-weight: 800;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  opacity: 0.5;
}

.scroll-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green-accent), transparent);
  animation: scrollLine 2s ease infinite;
}

.hero-scroll span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: 0.3
  }

  50% {
    opacity: 1
  }
}

/* Leaves/Grass at hero bottom */
.hero-grass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: flex-start;
}

.grass-img {
  width: 420px;
  max-width: 45vw;
  animation: grassWave 4s ease-in-out infinite;
  transform-origin: bottom left;
  opacity: 0.45;
}

@keyframes grassWave {

  0%,
  100% {
    transform: rotate(-2deg) scaleY(1);
  }

  50% {
    transform: rotate(2deg) scaleY(1.02);
  }
}

/* ================================================
   SERVICES
   ================================================ */
.services-section {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid rgba(76, 175, 80, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-accent), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--green-mid);
  letter-spacing: 0.5px;
}

/* ================================================
   WHY US
   ================================================ */
.why-section {
  padding: 120px 0;
}

.why-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) saturate(0.6);
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 43, 26, 0.92) 0%, rgba(26, 71, 49, 0.85) 100%);
}

.why-content {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.why-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
}

.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(76, 175, 80, 0.35);
  line-height: 1;
  margin-bottom: 12px;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ================================================
   ANIMATED SCENE
   ================================================ */
.anim-scene {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  padding: 80px 0;
}

.anim-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(76, 175, 80, 0.08) 0%, transparent 70%);
}

.anim-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.anim-text .section-title {
  text-align: left;
}

.anim-text p {
  color: var(--text-muted);
  margin: 20px 0 32px;
  line-height: 1.7;
}

.anim-scene-visual {
  position: relative;
  height: 420px;
}

.anim-bench {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  max-width: 100%;
  z-index: 2;
}

.anim-grass {
  position: absolute;
  bottom: -10px;
  left: -20px;
  width: 280px;
  z-index: 1;
  opacity: 0.8;
}

.anim-pot {
  position: absolute;
  bottom: 10px;
  right: -10px;
  width: 110px;
  z-index: 3;
}

.float-slow {
  animation: floatY 6s ease-in-out infinite;
}

.float-medium {
  animation: floatY 4s ease-in-out infinite 0.5s;
}

.float-fast {
  animation: floatY 3s ease-in-out infinite 1s;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

.anim-grass {
  animation: grassDrift 5s ease-in-out infinite;
}

@keyframes grassDrift {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

.anim-pot {
  animation: potSway 4s ease-in-out infinite 0.8s;
}

@keyframes potSway {

  0%,
  100% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(4deg);
  }
}

/* ================================================
   PORTFOLIO
   ================================================ */
.portfolio-section {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.portfolio-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 26, 0.85) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  align-self: flex-start;
  margin-top: auto;
}

.portfolio-tag {
  background: var(--green-accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.portfolio-info h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.portfolio-zoom {
  font-size: 1.5rem;
  align-self: flex-start;
  margin-top: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 2;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ================================================
   PROCESS
   ================================================ */
.process-section {
  background: var(--off-white);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  max-width: 200px;
  position: relative;
}

.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-accent);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 3px solid rgba(76, 175, 80, 0.15);
  position: relative;
}

.process-step:hover .step-icon {
  transform: scale(1.1);
  border-color: var(--green-accent);
  box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.1);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.process-arrow {
  align-self: center;
  margin-top: -60px;
  padding: 0 16px;
  font-size: 1.5rem;
  color: var(--green-accent);
  opacity: 0.5;
}

/* ================================================
   LEAD FORM
   ================================================ */
.form-section {
  background: var(--green-dark);
  padding: 100px 0;
}

.form-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(76, 175, 80, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

.form-section .section-header .section-title {
  color: var(--white);
}

.form-section .section-sub {
  color: rgba(255, 255, 255, 0.6);
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 56px 60px;
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

/* Progress */
.form-progress {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.ps-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.progress-step.active .ps-circle,
.progress-step.done .ps-circle {
  background: var(--green-accent);
  border-color: var(--green-accent);
  color: var(--white);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.ps-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.progress-step.active .ps-label {
  color: var(--green-accent);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
  text-align: center;
}

/* Service radios grid */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.service-option {
  cursor: pointer;
}

.service-option input {
  position: absolute;
  opacity: 0;
  width: 0;
}

.service-opt-card {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.svc-emoji {
  font-size: 1.8rem;
}

.service-option input:checked+.service-opt-card {
  border-color: var(--green-accent);
  background: rgba(76, 175, 80, 0.15);
  color: var(--white);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.25);
}

.service-opt-card:hover {
  border-color: rgba(76, 175, 80, 0.5);
  background: rgba(76, 175, 80, 0.08);
}

.form-error {
  color: #ff7875;
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
}

/* Slider */
.area-display {
  text-align: center;
  margin-bottom: 24px;
}

.area-value {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.area-unit {
  font-size: 1.4rem;
  color: var(--green-accent);
  font-weight: 600;
  margin-left: 4px;
}

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.slider-min,
.slider-max {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  white-space: nowrap;
}

.area-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, var(--green-accent) 0%, rgba(255, 255, 255, 0.15) 0%);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.area-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-accent);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
  transition: transform 0.2s;
}

.area-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.area-hints {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.area-hint-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.area-hint-btn:hover {
  background: rgba(76, 175, 80, 0.2);
  border-color: var(--green-accent);
  color: var(--white);
}

/* Contact Fields */
.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
}

.req {
  color: var(--green-accent);
}

.field-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.field-input:focus {
  border-color: var(--green-accent);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}

.field-readonly {
  opacity: 0.6;
  cursor: default;
}

.field-error {
  color: #ff7875;
  font-size: 0.8rem;
  min-height: 16px;
}

.field-input.error {
  border-color: #ff7875;
}

/* Step nav */
.step-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.step-nav .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.6);
}

.step-nav .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-submit {
  min-width: 260px;
  justify-content: center;
}

.form-legal {
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.76rem;
  margin-top: 16px;
}

.form-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--green-dark);
  position: relative;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grass {
  position: absolute;
  top: -40px;
  right: 0;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
}

.grass-img-footer {
  width: 400px;
  max-width: 50vw;
  margin-left: auto;
  opacity: 0.3;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  height: 70px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-links h4,
.footer-contacts h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contacts p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-accent);
}

.footer-phone {
  display: block;
  color: var(--green-accent) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px; /* Reduced margin to better fit social link */
}

.footer-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.footer-instagram:hover {
  color: var(--white) !important;
  transform: translateX(4px);
}

.footer-city {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================
   FLOAT PHONE & MODAL
   ================================================ */
.float-phone {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--green-accent), var(--green-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.5);
  transition: var(--transition);
  animation: phonePulse 2.5s ease infinite;
}

.float-phone:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(76, 175, 80, 0.65);
}

.float-phone svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

@keyframes phonePulse {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.5);
  }

  50% {
    box-shadow: 0 8px 48px rgba(76, 175, 80, 0.75), 0 0 0 12px rgba(76, 175, 80, 0.1);
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: linear-gradient(135deg, #1a4731, #0d2b1a);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.modal-box h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-box p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .anim-content {
    grid-template-columns: 1fr;
  }

  .anim-scene-visual {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/7;
  }

  .form-wrapper {
    padding: 40px 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 2001;
    /* Must be higher than .nav-links (2000) */
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    /* Use dynamic viewport height */
    background: #0d2b1a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
    /* Move outside navbar stacking context if needed, but here's high enough */
    visibility: hidden;
    /* Hide when closed to prevent issues */
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 20px;
  }

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

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

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

  .portfolio-item.featured {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin: 0;
    padding: 8px 0;
    align-self: center;
  }

  .service-select-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-wrapper {
    padding: 32px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .d-none-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-large {
    padding: 16px 28px;
    width: 100%;
    justify-content: center;
  }

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

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

  .service-select-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-nav {
    flex-direction: column;
  }

  .btn-submit {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .hero-title {
    font-size: 2.1rem;
    /* Уменьшаем, чтобы "Ландшафтный дизайн" влезал */
    line-height: 1.1;
  }

  .hero-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 100px;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .hero-stats {
    gap: 12px;
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .stat-item span:last-of-type {
    font-size: 1.1rem;
  }
}

/* ================================================
   ERROR PAGES
   ================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 24px;
  background-color: var(--off-white);
}

.error-content {
  max-width: 600px;
  width: 100%;
  padding: 40px;
  animation: errorFadeUp 0.6s ease-out forwards;
}

@keyframes errorFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--green-accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--green-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.error-text {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}