/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --color-green: #269827;
  --color-green-dark: #1a7a1b;
  --color-green-light: #32ba34;
  --color-green-pale: #f0fdf4;
  --color-dark: #1a2e1a;
  --color-text: #374151;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f7faf7;
  --color-bg-dark: #111111;
  --color-border: #d4e5d4;
  --color-yellow: #eab308;
  --color-amber: #d97706;
  --color-amber-light: #fef3c7;
  --color-red: #dc2626;
  --color-orange: #f97316;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
  --transition: 0.2s ease;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

a { color: var(--color-green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--color-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
.section {
  padding: 3rem 0;
}
.section-alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.text-center { text-align: center; }
.text-green { color: var(--color-green); }
.text-muted { color: var(--color-text-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-green {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}
.btn-green:hover { background: var(--color-green-dark); border-color: var(--color-green-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}
.btn-outline:hover { background: var(--color-green); color: #fff; }
.btn-dark {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}
.btn-dark:hover { background: #243524; border-color: #243524; }

/* ===== NAV ===== */
.nav {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 1rem;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-dark);
}
.nav-logo:hover { text-decoration: none; }
.nav-logo svg { flex-shrink: 0; }
.nav-logo-img { height: 85px; width: auto; display: block; }
.nav-logo .logo-text-home { color: var(--color-green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-green); text-decoration: none; }
.nav-links a.active { color: var(--color-green); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.nav-toggle svg { display: block; }

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-dropdown-toggle svg {
  transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  padding-top: 0.75rem;
  min-width: 180px;
  list-style: none;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-dark);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: var(--color-bg-alt);
  color: var(--color-green);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 50%, var(--color-green-light) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.hero-note {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.25rem;
  margin: 0 auto;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  text-decoration: none;
  color: var(--color-dark);
  transition: all var(--transition);
}
.category-card:hover {
  text-decoration: none;
  border-color: var(--color-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-icon {
  color: var(--color-green);
  margin-bottom: 0.75rem;
}
.category-icon svg {
  width: 48px;
  height: 48px;
}
.service-tile .category-icon svg {
  width: 64px;
  height: 64px;
}
.category-card span {
  font-weight: 600;
  font-size: 0.9rem;
}
.category-card.coming-soon {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}
.category-card.coming-soon::after {
  content: "Coming Soon";
  position: absolute;
  bottom: 0.5rem;
  font-size: 0.65rem;
  color: var(--color-text-light);
  font-weight: 400;
}

/* ===== SERVICE TILE GRID ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.service-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  text-decoration: none;
  color: var(--color-dark);
  transition: all var(--transition);
}
.service-tile:hover {
  text-decoration: none;
  border-color: var(--color-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-tile svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  color: var(--color-green);
}
.service-tile h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.service-tile .btn { margin-top: auto; }

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 1.5rem;
  justify-content: center;
}
.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.pricing-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.pricing-card .card-subtitle {
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.pricing-card .includes {
  text-align: left;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.pricing-card .includes li {
  list-style: none;
  padding: 0.2rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.pricing-card .includes li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0.75rem 0 0;
}
.pricing-card .price-unit {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

/* ===== GAUGE BADGE ===== */
.gauge-badge {
  display: flex;
  justify-content: center;
  margin: 0 0 0;
}
.gauge-img {
  width: 300px;
  height: auto;
  display: block;
}

/* ===== IMPACTS ===== */
.impacts {
  text-align: left;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.impacts-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.impacts li {
  list-style: disc;
  margin-left: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding: 0.1rem 0;
}

/* ===== FAQ ===== */
.faq-section { margin-top: 3rem; }
.faq-section h2 { margin-bottom: 1.5rem; }
.faq-group h3 {
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-green);
}

details.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  background: var(--color-bg);
}
details.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: transform var(--transition);
}
details.faq-item[open] summary::after {
  content: "\2212";
}
details.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}
details.faq-item .faq-answer ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}
details.faq-item .faq-answer li {
  margin: 0.25rem 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.testimonial-stars {
  color: var(--color-yellow);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.testimonial-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-dark);
}

/* ===== CONTACT FORM ===== */
.contact-section {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 50%, var(--color-green-light) 100%);
  padding: 3rem 0;
}
.contact-form {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-form h2 { margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
}
.form-group input,
.form-group textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
.form-group textarea { min-height: 100px; resize: vertical; }

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 50%, var(--color-green-light) 100%);
  color: rgba(255,255,255,0.8);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer a {
  color: #fff;
}
.footer a:hover { color: #fff; text-decoration: underline; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 50%, var(--color-green-light) 100%);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; }
.page-header p { opacity: 0.9; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 0.4rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-green); }
.breadcrumb span { color: var(--color-text-light); margin: 0 0.25rem; }

/* ===== EDITORIAL CONTENT ===== */
.editorial { max-width: 760px; margin: 0 auto; }
.editorial p { margin-bottom: 1rem; }
.editorial h3 { margin: 2rem 0 0.75rem; }
.editorial ul { margin: 0.5rem 0 1rem 1.5rem; }
.editorial li { margin: 0.25rem 0; }

.red-flag-card {
  background: #fef2f2;
  border-left: 4px solid #b52020;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.red-flag-card h3 {
  color: #b52020;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}
.red-flag-card p { margin-bottom: 0.5rem; font-size: 0.9rem; }
.red-flag-card ul { margin: 0.5rem 0 0 1.25rem; font-size: 0.9rem; }

/* ===== COMING SOON ===== */
.coming-soon-page {
  text-align: center;
  padding: 6rem 1rem;
}
.coming-soon-page h1 { margin-bottom: 1rem; }
.coming-soon-page p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 2rem 0; }
  .hero { padding: 3rem 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
}
