:root {
  --bg: #f5f7f2;
  --bg-soft: #ebf0e2;
  --surface: #ffffff;
  --text: #15221d;
  --muted: #4e6058;
  --line: #d4dfd3;
  --brand: #0f766e;
  --brand-strong: #0d5f58;
  --accent: #f3a712;
  --accent-soft: #ffe4ad;
  --shadow: 0 12px 36px rgba(18, 42, 31, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 90% 8%, rgba(243, 167, 18, 0.14), transparent 38%),
    radial-gradient(circle at 7% 20%, rgba(15, 118, 110, 0.12), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.45;
  pointer-events: none;
}

.bg-shape-1 {
  width: 280px;
  height: 280px;
  background: #57b4a8;
  top: -60px;
  right: -80px;
  animation: drift1 8s ease-in-out infinite alternate;
}

.bg-shape-2 {
  width: 240px;
  height: 240px;
  background: #ffcc6e;
  bottom: -80px;
  left: -60px;
  animation: drift2 9s ease-in-out infinite alternate;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--brand), var(--accent));
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--text);
  color: #fff;
}

.hero {
  padding: 38px 0 22px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--brand-strong);
  margin: 0 0 10px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: none;
  line-height: 1.03;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.hero-copy {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), #1f8f85);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.28);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.stats-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.stat-value {
  margin: 0;
  font-weight: 700;
}

.stat-label {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 54px 0;
}

.section-head h2,
.section h2 {
  margin-top: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1.1;
}

.cards-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-tint {
  background:
    linear-gradient(180deg, rgba(235, 240, 226, 0.6) 0%, rgba(235, 240, 226, 0.2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.faq-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0;
  font-size: 1.06rem;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.offer-box {
  background: linear-gradient(165deg, #11413c 0%, #136e65 100%);
  color: #effaf9;
  border-radius: 24px;
  padding: clamp(22px, 5vw, 44px);
  box-shadow: 0 24px 40px rgba(8, 47, 42, 0.28);
}

.offer-box .kicker {
  color: var(--accent-soft);
}

.offer-box p {
  color: rgba(239, 250, 249, 0.88);
}

.offer-box .btn-primary {
  background: var(--accent);
  color: #19231e;
  box-shadow: 0 10px 22px rgba(243, 167, 18, 0.36);
}

.offer-box .btn-ghost {
  color: #effaf9;
  border-color: rgba(239, 250, 249, 0.52);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 16, 0.62);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}

.modal-backdrop[hidden] {
  display: none;
}

.proposal-modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(6, 25, 20, 0.35);
  border: 1px solid var(--line);
  position: relative;
}

.proposal-modal h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.modal-copy {
  margin: 10px 0 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.proposal-form {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.proposal-form label {
  font-size: 0.95rem;
  font-weight: 600;
}

.proposal-form input,
.proposal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.proposal-form input:focus,
.proposal-form textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.28);
  border-color: var(--brand);
}

.form-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-error,
.form-success {
  margin: 0;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.92rem;
}

.form-error {
  background: #fdebec;
  color: #8e212b;
  border: 1px solid #f5c5ca;
}

.form-success {
  background: #e8f7ef;
  color: #11593a;
  border: 1px solid #b9e5cd;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer {
  padding: 24px 0 36px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(18, 42, 31, 0.2);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift1 {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(24px) translateX(-28px);
  }
}

@keyframes drift2 {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(-22px) translateX(30px);
  }
}

@media (max-width: 980px) {
  .stats-grid,
  .cards-grid,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 22px;
  }

  .btn {
    width: 100%;
  }

  .offer-box {
    border-radius: 20px;
  }

  .proposal-modal {
    padding: 18px;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }
}
