/* ---------- Tokens ---------- */
:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --mint: #eaf7f0;
  --mint-deep: #dcf1e6;
  --green-900: #0c3626;
  --green-800: #104a34;
  --green-700: #146c4a;
  --green-600: #1a855b;
  --green-500: #22a06b;
  --green-300: #8fdcb4;
  --ink: #11231c;
  --muted: #5b6f66;
  --line: #dfece5;
  --shadow-sm: 0 1px 2px rgba(12, 54, 38, .06), 0 8px 24px -16px rgba(12, 54, 38, .35);
  --shadow-md: 0 24px 60px -32px rgba(12, 54, 38, .35);
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1140px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .68, .24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--green-300); color: var(--green-900); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 251, 248, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--green-700); color: #d9f6e7;
  box-shadow: 0 8px 20px -10px rgba(20, 108, 74, .9);
  flex: 0 0 auto;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text {
  display: flex; flex-direction: column;
  font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1.05;
}
.logo-text small {
  font-size: 10.5px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.logo-text.light { color: #fff; }
.logo-text.light small { color: rgba(255, 255, 255, .6); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) {
  font-size: 15px; font-weight: 600; color: var(--muted);
  position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--green-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--green-800); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { display: none; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 46px; height: 46px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px;
  cursor: pointer;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15.5px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-primary {
  background: var(--green-700); color: #fff;
  box-shadow: 0 14px 28px -14px rgba(20, 108, 74, .85);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 20px 34px -16px rgba(20, 108, 74, .9); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--surface); color: var(--green-800);
  border-color: var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--green-300); background: var(--mint); transform: translateY(-2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font-weight: 700; color: var(--green-700);
}
.text-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 148px 0 clamp(56px, 7vw, 92px); overflow: hidden; }
.hero-glow {
  position: absolute; z-index: -1;
  width: 780px; height: 780px; right: -220px; top: -320px;
  background: radial-gradient(circle at center, rgba(143, 220, 180, .55), rgba(143, 220, 180, 0) 62%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: -260px; bottom: -380px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(234, 247, 240, .95), rgba(234, 247, 240, 0) 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 68px); align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.45rem, 5.6vw, 4.15rem); margin-bottom: 22px; }
.accent {
  color: var(--green-700);
  white-space: nowrap;
  background-image: linear-gradient(transparent 64%, rgba(143, 220, 180, .62) 64%, rgba(143, 220, 180, .62) 90%, transparent 90%);
}
.lead { font-size: clamp(1rem, 1.35vw, 1.12rem); color: var(--muted); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.trust {
  display: flex; align-items: center; gap: 10px;
  margin-top: 30px; font-size: 14.5px; color: var(--muted);
}
.trust strong { color: var(--ink); }
.rating-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff5db; color: #b07b06;
  border-radius: 999px; padding: 4px 11px 4px 9px;
  font-size: 14px; box-shadow: inset 0 0 0 1px rgba(240, 180, 41, .28);
}
.rating-badge svg { width: 15px; height: 15px; }
.rating-badge strong { color: #8a5f00; }

/* Info card */
.info-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: rotate(.6deg);
}
.birch {
  height: 14px;
  background:
    repeating-linear-gradient(90deg,
      var(--green-700) 0 26px,
      var(--green-600) 26px 34px,
      var(--green-700) 34px 60px,
      #f4faf6 60px 66px);
  opacity: .9;
}
.info-body { padding: 30px 30px 32px; display: grid; gap: 4px; }
.info-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.info-row:last-of-type { border-bottom: 0; }
.info-label {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); flex: 0 0 auto;
}
.info-value { font-weight: 700; font-size: 16px; text-align: right; }
.info-value.link:hover { color: var(--green-700); }
.badge-open { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 160, 107, .16);
}
.info-note {
  margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section-soft {
  background: linear-gradient(180deg, var(--mint) 0%, #f2faf6 100%);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 640px; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.section-sub { margin-top: 16px; color: var(--muted); }

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--mint-deep); }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 16px;
  background: var(--mint); color: var(--green-700);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--muted); min-height: 3em; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chips li {
  font-size: 12.5px; font-weight: 600; color: var(--green-800);
  background: var(--mint); border-radius: 999px; padding: 5px 11px;
  transition: background .2s;
}
.card:hover .chips li { background: var(--mint-deep); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px); align-items: start;
}
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 22px; }
.about-copy p + p { margin-top: 14px; }
.about-copy p { color: var(--muted); }

.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adv {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.adv:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.adv-num {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--green-500); margin-bottom: 14px;
}
.adv h3 { font-size: 1.02rem; margin-bottom: 7px; letter-spacing: -.015em; }
.adv p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Contacts ---------- */
.contacts-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
}
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.c-icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--mint); color: var(--green-700);
}
.c-icon svg { width: 21px; height: 21px; }
.c-text { display: flex; flex-direction: column; gap: 2px; }
.c-label { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-value { font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.c-value.link:hover { color: var(--green-700); }
.c-hint { font-size: 13px; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.map-wrap {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--mint);
  min-height: 380px; box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
  position: relative; z-index: 1;
  width: 100%; height: 100%; min-height: 380px; border: 0;
  background: transparent;
}
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(143, 220, 180, .35), transparent 60%),
    var(--mint);
  color: var(--green-800);
}
.map-fallback strong { font-size: 16px; max-width: 24ch; }
.map-pin {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--green-700);
  box-shadow: var(--shadow-sm);
}
.map-pin svg { width: 26px; height: 26px; }
.map-fallback .text-link { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-900); color: rgba(255, 255, 255, .72);
  padding: 56px 0 34px;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 40px; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a { font-size: 14.5px; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.copyright {
  grid-column: 1 / -1; padding-top: 26px; margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .5);
}

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .info-card { transform: none; max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
}

@media (max-width: 780px) {
  .nav-cta { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 14px auto 14px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 20px; padding: 12px;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 13px 14px; border-radius: 12px; font-size: 16px; color: var(--ink); }
  .nav > a:not(.btn)::after { display: none; }
  .nav > a:not(.btn):hover { background: var(--mint); }
  .nav-cta { margin-top: 6px; min-height: 50px; }
  .menu-toggle { display: flex; }

  body.menu-open { overflow: hidden; }

  .hero { padding-top: 118px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .advantages { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 100px; }

  .mobile-bar {
    position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px; border-radius: 20px;
    background: rgba(247, 251, 248, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px -22px rgba(12, 54, 38, .5);
  }
  .mobile-bar .btn { min-height: 48px; font-size: 15px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card p { min-height: 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { flex: 1 1 auto; }
  .logo-text small { display: none; }
  .info-body { padding: 24px 22px 26px; }
  .info-row { flex-direction: column; gap: 4px; }
  .info-value { text-align: left; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .map-wrap, .hero-glow { display: none; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
