/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #1a3c2a;
  --green-700: #2d5a3f;
  --green-500: #4a8c5c;
  --green-300: #7dba8e;
  --green-100: #d4edda;
  --earth-900: #3e2c1f;
  --earth-700: #6b4f3c;
  --earth-300: #c4a882;
  --earth-100: #f5efe6;
  --cream: #fdfbf7;
  --white: #ffffff;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --accent: #e89b3a;
  --accent-hover: #d4892a;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-500); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--green-900);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-subtitle {
  text-align: center;
  color: var(--gray-700);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-900);
}
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav-logo span { font-size: 0.8rem; color: var(--green-700); display: block; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }

.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-900);
  background: var(--green-100);
}

.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  padding: 0.5rem;
  list-style: none;
}
.nav-links .dropdown:hover .dropdown-menu { display: block; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.3rem !important;
  border-radius: 50px !important;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)),
              url('../images/header-image.webp') center/cover no-repeat;
  color: var(--white);
  padding-top: 80px;
}

.hero-content { max-width: 750px; padding: 0 1.5rem; }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.phone-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary { background: var(--green-500); color: var(--white); }
.btn-primary:hover { background: var(--green-700); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green-900); }
.btn-white { background: var(--white); color: var(--green-900); }
.btn-white:hover { background: var(--green-100); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* ──layout page header ── */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  background: var(--green-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { opacity: 0.85; font-size: 1.1rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.75rem; }

/* ── Service Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 4rem 0;
}

.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--gray-700); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ──lé Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-500);
}
.pricing-card.featured {
  border-top-color: var(--accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-card h3 { margin-bottom: 0.3rem; }
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-700);
  margin: 1rem 0;
}
.pricing-card .price span { font-size: 1rem; color: var(--gray-400); font-weight: 400; }
.pricing-card ul { list-style: none; margin: 1.25rem 0; }
.pricing-card li {
  padding: 0.4rem 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.pricing-card li::before { content: '✓ '; color: var(--green-500); font-weight: 700; }

/* ── Video Grid ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--gray-200);
}
.video-card .video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-card .video-info { padding: 1.25rem; }

/* ── Testimonial Cards ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px; left: 20px;
  font-size: 4rem;
  color: var(--green-100);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card p { font-style: italic; color: var(--gray-700); margin-bottom: 1rem; }
.testimonial-card .author { font-weight: 700; color: var(--green-900); }

/* ── CTA Band ── */
.cta-band {
  background: var(--green-900);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 1.1rem; }

/* ── Footer ── */
.site-footer {
  background: var(--earth-900);
  color: var(--earth-300);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--earth-300); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { margin: 0; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray-700);
  line-height: 1;
  padding: 0.25rem;
}
.modal-close:hover { color: var(--gray-900); }
.modal-body { flex: 1; overflow: auto; }
.modal-body embed { width: 100%; min-height: 75vh; border: none; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ── Form ── */
.form-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 0;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--gray-900); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
}
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.checkbox-group label { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; }

/* ── Article ── */
.article { max-width: 800px; margin: 0 auto; padding: 4rem 0; }
.article h2 { margin: 2.5rem 0 1rem; }
.article h3 { margin: 2rem 0 0.75rem; }
.article p { margin-bottom: 1.25rem; color: var(--gray-700); }
.article ul, .article ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--gray-700); }
.article li { margin-bottom: 0.5rem; }
.article img { border-radius: var(--radius); margin: 2rem 0; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    position: fixed;
    top: 0.85rem;
    right: 1rem;
    z-index: 1001;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    padding: 80px 1.5rem 2rem;
    background: var(--white);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }

  /* Each top-level item spans full width */
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links > li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    padding: 0.9rem 0;
    border-radius: 0;
  }
  .nav-links a:hover, .nav-links a.active {
    background: none;
    color: var(--green-700);
  }
  .nav-links a.nav-cta {
    display: inline-block;
    margin: 0.5rem 0;
    padding: 0.7rem 1.5rem !important;
    text-align: center;
  }

  /* Dropdown parent links — chevron indicator */
  .nav-links .dropdown > a::after {
    content: ' ▾';
    font-size: 0.75rem;
    transition: transform 0.2s ease;
  }
  .nav-links .dropdown > a.open::after {
    content: ' ▴';
  }

  /* Dropdown menu — hidden by default, slides open */
  .nav-links .dropdown-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    position: static;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin: 0 0 0.5rem 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  }
  .nav-links .dropdown-menu.open {
    max-height: 300px;
    padding: 0.4rem 0;
  }
  .nav-links .dropdown-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.55rem 1rem;
    color: var(--gray-700);
  }
  .nav-links .dropdown-menu a:hover {
    color: var(--green-700);
    background: rgba(0,0,0,0.03);
  }

  /* Kill hover-based dropdown on mobile */
  .nav-links .dropdown:hover .dropdown-menu { max-height: 0; padding: 0; }
  .nav-links .dropdown .dropdown-menu.open { max-height: 300px; padding: 0.4rem 0; }

  .hero {
    min-height: auto;
    padding: 100px 1rem 3.5rem;
  }
  .hero-content {
    padding: 0;
  }
  .hero-content h1 {
    font-size: 1.9rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .phone-badge {
    font-size: 1.15rem;
    padding: 0.55rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA band — prevent button stacking */
  .cta-band {
    padding: 3rem 1.5rem;
  }
  .cta-band .btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0.75rem auto;
    justify-content: center;
  }
  .cta-band > span {
    display: block;
    text-align: center;
    margin: 0.25rem 0;
  }

  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { gap: 1rem; }
  .video-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .pricing-card.featured {
    transform: none;
  }

  .page-header {
    padding: 100px 1rem 3rem;
  }
  .page-header h1 {
    font-size: 1.7rem;
  }

  .form-section {
    padding: 1.5rem 0;
  }
  .estimate-form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .modal {
    max-height: 95vh;
    margin: 0.5rem;
    border-radius: var(--radius);
  }
  .modal-body embed {
    min-height: 70vh;
  }

  .article {
    padding: 2rem 0;
  }
  .article img {
    margin: 1.25rem 0;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .checkbox-group label {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }

  .info-card-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
