:root {
  --bg: #fafdf8;
  --green-50: #eef8ea;
  --green-100: #d4edc9;
  --green-300: #7bc45f;
  --green-500: #5db144;
  --green-700: #3d8a2a;
  --purple-500: #4b1d4d;
  --purple-700: #361338;
  --ink: #2a1f2b;
  --muted: #5f5560;
  --line: rgba(75, 29, 77, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(75, 29, 77, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(250, 253, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.header-phone,
.button {
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.header-phone:hover {
  color: var(--purple-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple-500);
  font-size: 14px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--purple-500);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: 120px clamp(20px, 5vw, 72px) 56px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(93, 177, 68, 0.22), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(75, 29, 77, 0.1), transparent 38%),
    linear-gradient(135deg, var(--green-50) 0%, var(--bg) 48%, #f5f0f6 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: -8%;
  right: -4%;
  width: min(48vw, 420px);
  height: min(48vw, 320px);
  border-radius: 50%;
  background: var(--green-500);
  opacity: 0.12;
  transform: rotate(-18deg);
}

.hero-content,
.hero-logo {
  position: relative;
  z-index: 2;
}

.hero-logo img {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(75, 29, 77, 0.14));
}

.place,
.section-label {
  margin: 0 0 18px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.02;
  color: var(--purple-500);
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.button:hover,
.header-phone:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(93, 177, 68, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--purple-500);
}

.intro,
.services-section,
.contact {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 8vw, 108px);
  align-items: end;
  background: var(--white);
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.06;
  color: var(--purple-500);
}

.intro > p,
.contact-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.services-section {
  background: linear-gradient(180deg, var(--green-50), var(--bg));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

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

.service-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.service-number {
  color: var(--green-500);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.16;
  color: var(--purple-500);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.services-note {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--purple-500);
  color: var(--white);
}

.proof-item {
  display: grid;
  min-height: 190px;
  align-content: center;
  gap: 6px;
  padding: 38px clamp(20px, 5vw, 72px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1;
  color: var(--green-300);
}

.proof-item span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  background: var(--white);
}

.contact h2 {
  margin-bottom: 22px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--green-50);
}

.contact-panel a {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--purple-500);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(75, 29, 77, 0.08);
}

.map-section iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-links {
  display: flex;
  position: fixed;
  inset: 76px 16px auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(250, 253, 248, 0.98);
  box-shadow: var(--shadow);
}

body.nav-open .nav-links a {
  padding: 14px 16px;
  border-radius: 10px;
}

body.nav-open .menu-button span:first-child {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-button span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

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

  .hero-logo {
    display: none;
  }

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

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .intro,
  .contact,
  .proof {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    height: 44px;
  }

  .header-phone {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    padding: 100px 16px 42px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .intro,
  .services-section,
  .contact {
    padding: 68px 16px;
  }

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

  .service-card {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
