:root {
  --background: #f6f7f6;
  --foreground: #121314;
  --primary: #0b6e4f;
  --primary-rgb: 11, 110, 79;
  --secondary: #395b64;
  --accent: #f0b429;
  --muted: #6b7280;
  --border: #e3e7ea;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 30px 80px -50px rgba(var(--primary-rgb), 0.5);
  --hero-left: 1fr;
  --hero-right: 1fr;
  --hero-form-max: 600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--foreground);
  background: radial-gradient(
      900px circle at 10% 10%,
      rgba(240, 180, 41, 0.12),
      transparent 50%
    ),
    radial-gradient(
      900px circle at 80% 0%,
      rgba(var(--primary-rgb), 0.16),
      transparent 55%
    ),
    linear-gradient(180deg, #f9fafb 0%, #eef1f2 100%);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
}

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

.page {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 40px 0 120px;
}

.progress-bar {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  background: rgba(var(--primary-rgb), 0.8);
  transform: scaleX(0);
  z-index: 20;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(246, 247, 246, 0.7);
  border-bottom: 1px solid rgba(227, 231, 234, 0.8);
}

.site-nav {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.lang-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-btn {
  border: 1px solid transparent;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-weight: 600;
}

.lang-btn.is-active {
  border-color: rgba(var(--primary-rgb), 0.25);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--foreground);
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

.hero-left {
  display: flex;
  justify-content: center;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

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

.btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.ghost {
  border-color: var(--border);
  color: var(--foreground);
  background: transparent;
}

.form-card {
  width: min(100%, var(--hero-form-max));
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.form-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  color: var(--primary);
}

.form-intro p {
  margin: 0;
  color: var(--muted);
}

.form-subhead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.span-2 {
  grid-column: 1 / -1;
}

.form-action-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.form-action-row .btn {
  height: 48px;
  padding: 12px 28px;
}

.form-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: #7a8591;
}

.benefit {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.benefit-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #9aa3ad;
  color: #6b7681;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
}

.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.is-hidden {
  display: none;
}

.field input,
.field select,
.field textarea,
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(227, 231, 234, 0.9);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.form-message {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.about {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

.about-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-grid {
  display: grid;
  gap: 16px;
}

.highlight {
  padding: 18px;
  font-weight: 600;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-margin-top: 80px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.service-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.35;
}


.services-heading {
  grid-column: 1 / 2;
}

.services-row {
  display: grid;
  gap: 20px;
}

.services-row--top {
  grid-column: 2 / 4;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-row--bottom {
  grid-column: 1 / 4;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantee {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.guarantee-card,
.contact-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guarantee-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.site-footer {
  margin-top: 80px;
  background: linear-gradient(120deg, #0b6e4f, #0b6e4f);
  color: #eef3f4;
}

.footer-banner {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.footer-subtitle {
  margin: 0;
  color: rgba(230, 236, 239, 0.75);
  white-space: pre-line;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: #ffffff;
}

.footer-contact a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.thanks {
  display: grid;
  gap: 32px;
  text-align: center;
}

.thanks h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
  padding: 24px;
  text-align: left;
  animation: rise 0.8s ease forwards;
  opacity: 0;
  transform: translateY(24px);
}

.step-card:nth-child(1) {
  animation-delay: 0.1s;
}

.step-card:nth-child(2) {
  animation-delay: 0.25s;
}

.step-card:nth-child(3) {
  animation-delay: 0.4s;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, var(--hero-left)) minmax(0, var(--hero-right));
    align-items: center;
  }

  .hero-left {
    justify-content: flex-start;
  }

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

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

  .services-row {
    align-items: stretch;
  }
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-heading,
  .services-row--top,
  .services-row--bottom {
    grid-column: auto;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-card {
    padding: 20px;
  }

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

  .form-action-row {
    grid-template-columns: 1fr;
  }

  .form-benefits {
    flex-direction: column;
  }

  .services-row--top,
  .services-row--bottom {
    grid-template-columns: 1fr;
  }

  .footer-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .services-row--top,
  .services-row--bottom {
    grid-template-columns: 1fr;
  }
}
