/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; }
h3 { font-size: 1.125rem; font-weight: 600; }
p  { color: #475569; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2D9B6F;
  margin-bottom: 12px;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1E293B;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2D9B6F; }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF !important;
  background: #2D9B6F;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #228B5E !important; }

#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
#burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1E293B;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding: 80px 0 64px;
  text-align: center;
  background: #FFFFFF;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2D9B6F;
  background: #F0FBF6;
  border: 1px solid #BBE8D5;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

#hero h1 {
  max-width: 700px;
  margin: 0 auto 20px;
}

.hero-desc {
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  color: #64748B;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-img {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  max-height: 480px;
}
.hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #2D9B6F;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid #2D9B6F;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-primary:hover { background: #228B5E; border-color: #228B5E; }

.btn-outline {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E293B;
  background: transparent;
  padding: 12px 24px;
  border-radius: 4px;
  border: 2px solid #CBD5E1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: #2D9B6F; color: #2D9B6F; }

/* ============================================================
   FEATURES
   ============================================================ */
#features { background: #F8FAFB; }

.features-header {
  text-align: center;
  margin-bottom: 56px;
}
.features-header p {
  max-width: 480px;
  margin: 12px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: #F0FBF6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: #2D9B6F;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; line-height: 1.65; }

/* ============================================================
   STATS BAR
   ============================================================ */
#stats {
  padding: 64px 0;
  background: #1E293B;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  color: #94A3B8;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   PROCESS
   ============================================================ */
#process { background: #FFFFFF; }

.process-header {
  text-align: center;
  margin-bottom: 56px;
}
.process-header p {
  max-width: 480px;
  margin: 12px auto 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  padding: 28px 24px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
}

.step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2D9B6F;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.step h3 { margin-bottom: 10px; font-size: 1rem; }
.step p  { font-size: 0.875rem; line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: #F8FAFB; }

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.stars svg {
  width: 14px;
  height: 14px;
  fill: #F59E0B;
  stroke: none;
}

.testimonial-text {
  font-size: 0.925rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2D9B6F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
}
.author-location {
  font-size: 0.775rem;
  color: #94A3B8;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: #FFFFFF; }

.contact-header {
  text-align: center;
  margin-bottom: 56px;
}
.contact-header p {
  max-width: 480px;
  margin: 12px auto 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: #F0FBF6;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: #2D9B6F;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 4px;
}
.contact-detail-text span {
  font-size: 0.9rem;
  color: #1E293B;
}

.map-frame {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  margin-top: 24px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: none;
}

/* FORM */
.contact-form-wrap { display: flex; flex-direction: column; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1E293B;
}

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1E293B;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #2D9B6F; }

.form-policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.825rem;
  color: #64748B;
}
.form-policy input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #2D9B6F;
  flex-shrink: 0;
}
.form-policy a { color: #2D9B6F; text-decoration: underline; }

.btn-submit {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #2D9B6F;
  border: none;
  padding: 13px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.btn-submit:hover { background: #228B5E; }

#form-success {
  display: none;
  background: #F0FBF6;
  border: 1px solid #BBE8D5;
  border-radius: 4px;
  padding: 20px 24px;
  color: #1E7F55;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1E293B;
  padding: 48px 0 32px;
  color: #94A3B8;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
}

.footer-col p { font-size: 0.85rem; line-height: 1.65; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #2D9B6F; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-bottom a { color: #94A3B8; transition: color 0.2s; }
.footer-bottom a:hover { color: #2D9B6F; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 680px;
  background: #1E293B;
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-text { font-size: 0.85rem; color: #CBD5E1; flex: 1; min-width: 200px; }
.cookie-text a { color: #2D9B6F; text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-cookie-accept {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #2D9B6F;
  border: none;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: #228B5E; }

.btn-cookie-settings {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  background: transparent;
  border: 1px solid #475569;
  padding: 9px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-cookie-settings:hover { border-color: #94A3B8; color: #FFFFFF; }

/* ============================================================
   COOKIE MODAL
   ============================================================ */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal-box {
  background: #FFFFFF;
  border-radius: 4px;
  padding: 36px;
  max-width: 480px;
  width: 100%;
}
.cookie-modal-box h3 { margin-bottom: 12px; }
.cookie-modal-box p  { font-size: 0.875rem; margin-bottom: 24px; }

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #E2E8F0;
}
.cookie-toggle-row:last-of-type { border-bottom: none; margin-bottom: 24px; }

.cookie-toggle-label { font-size: 0.875rem; font-weight: 500; }
.cookie-toggle-label span { display: block; font-size: 0.775rem; color: #94A3B8; font-weight: 400; }

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #CBD5E1;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: #2D9B6F; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

.cookie-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  #burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }

  #navbar { position: relative; }

  .features-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .process-steps { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  #cookie-banner { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: stretch; }

  .hero-img img { height: 260px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; }
}
