:root {
  --bg: #f6f6f6;
  --primary: #465902;
  --text: #1f2933;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

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

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

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(246, 246, 246, 0.9);
  backdrop-filter: blur(10px);
  z-index: 99;
  border-bottom: 1px solid rgba(70, 89, 2, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #1f2933;
  font-weight: 500;
  font-size: 0.9rem;
}

.main-nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-small {
  padding: 0.5rem 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(70, 89, 2, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(70, 89, 2, 0.2);
}

.hero {
  padding-top: 6rem;
  padding-bottom: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: #607086;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  top: -35px;
  left: -30px;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 300px;
  border: 1px solid rgba(70, 89, 2, 0.05);
}

.hero-card h3 {
  margin: 0 0 .35rem 0;
}

.hero-card p {
  margin: 0;
  font-size: 0.85rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin-bottom: .5rem;
}

.section-header p {
  max-width: 50ch;
  margin: 0 auto;
  color: #607086;
}

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

.service-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(70, 89, 2, 0.03);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(70, 89, 2, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: .75rem;
}

.service-card h3 {
  margin-bottom: .35rem;
}

.mt-32 {
  margin-top: 2rem;
}

.centered {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.process-step {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 1.2rem 1.1rem 1.1rem;
  border: 1px solid rgba(70, 89, 2, 0.04);
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(70, 89, 2, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: .55rem;
  color: #1f2933;
}

.process-footer {
  margin-top: 1.6rem;
  text-align: center;
  color: #607086;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid rgba(70, 89, 2, 0.03);
  box-shadow: var(--shadow);
}

.testimonial-card p:first-child {
  font-size: .9rem;
  margin-bottom: .85rem;
}

.testimonial-meta {
  font-size: .75rem;
  color: #607086;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.4rem;
  color: #607086;
}

.contact-list li {
  margin-bottom: .55rem;
}

.contact-form {
  background: #ffffff;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(70, 89, 2, 0.05);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
}

input, textarea {
  width: 100%;
  padding: .6rem .65rem;
  border-radius: 10px;
  border: 1px solid rgba(31, 41, 51, 0.1);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border: 1px solid rgba(70, 89, 2, 0.4);
  box-shadow: 0 0 0 3px rgba(70, 89, 2, 0.08);
}

.error {
  border-color: #e53935 !important;
}

.error-message {
  display: none;
  font-size: .7rem;
  color: #e53935;
}

.full-width {
  width: 100%;
}

.form-legal {
  margin-top: .8rem;
  font-size: .7rem;
  color: #607086;
}

.form-legal a {
  color: var(--primary);
}

.main-footer {
  background: #f3f3f3;
  padding: 2.5rem 0 1rem 0;
  margin-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 2rem;
  margin-bottom: 1.25rem;
  align-items: start;
}

.footer-logo {
  margin-bottom: .6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .35rem;
}

.footer-links a {
  text-decoration: none;
  color: #1f2933;
  font-size: .85rem;
}

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

.footer-legal {
  font-size: .7rem;
  color: #607086;
}

.footer-copy {
  text-align: center;
  font-size: .7rem;
  color: #607086;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #1f2933;
  border-radius: 20px;
}

.legal-wrapper {
  padding-top: 6.5rem;
  padding-bottom: 3rem;
}

.legal-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(70, 89, 2, 0.03);
}

.legal-box h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.legal-meta {
  font-size: .8rem;
  color: #607086;
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav, .btn-small {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 5%;
    background: #ffffff;
    padding: .75rem .9rem;
    border-radius: 12px;
    gap: .6rem;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 5.5rem;
  }
  .hero-text h1 {
    font-size: 2.15rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
