:root {
  --green-dark: #0d3d12;
  --green: #1b5e20;
  --green-light: #2e7d32;
  --orange: #ff6d00;
  --orange-hover: #e65100;
  --gray-bg: #f5f7fa;
  --gray-text: #5a6470;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(27, 94, 32, 0.08);
  --radius: 8px;
  --font: "Poppins", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--orange);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: min(1170px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-bg);
}

.section--green {
  background: var(--green);
  color: rgba(255, 255, 255, 0.9);
}

.section--green .section-title h2,
.section--green > .container > .two-col > div > h2,
.section--green > .container > h2 {
  color: var(--white);
}

.section--green .service-card {
  color: var(--gray-text);
}

.section--green .service-card h3 {
  color: var(--green-dark);
}

.section--green .service-card p {
  color: var(--gray-text);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .tagline {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-hover);
  color: var(--white);
}

.btn--green {
  background: var(--green);
  color: var(--white);
}

.btn--green:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}

/* Top bar */
.topbar {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1360px, 98%);
}

.topbar__social {
  display: flex;
  gap: 14px;
  list-style: none;
}

.topbar__social a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.topbar__social a:hover {
  color: var(--orange);
}

.topbar__meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  font-size: 12px;
}

.topbar__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  width: min(1360px, 98%);
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 38px;
  width: auto;
  max-width: 240px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.nav__list li {
  flex-shrink: 0;
}

.nav__list a {
  color: var(--green-dark);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.nav__list a:hover,
.nav__list a.active {
  color: var(--orange);
}

.nav__cta {
  margin-left: 4px;
  flex-shrink: 0;
}

.nav__cta .btn {
  padding: 10px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(13, 61, 18, 0.88) 0%, rgba(27, 94, 32, 0.55) 55%, transparent 100%),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80") center/cover no-repeat;
}

.hero__content {
  max-width: 560px;
  color: var(--white);
  padding: 60px 0;
}

.hero__tag {
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 12px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 28px;
  font-size: 17px;
  opacity: 0.95;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  padding: 70px 0;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.breadcrumb {
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--orange);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--white);
  border: 1px solid #e3eef5;
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-card--active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.step-card--active h4 {
  color: var(--white);
}

.step-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--green);
}

.step-card--active .step-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--orange);
}

.step-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  line-height: 1.5;
}

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.badge-years {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.badge-years span {
  display: block;
  font-size: 28px;
}

.check-list {
  list-style: none;
  margin: 24px 0;
}

.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
  color: var(--green-dark);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Gallery */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.gallery-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 100px 100px 8px 8px;
}

/* Service cards on green bg */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--green);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card .link-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

/* FAQ / tabs */
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 14px;
  border: none;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  background: var(--gray-bg);
  color: var(--green);
}

.tab-btn:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.tab-btn:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tab-btn.active {
  background: var(--orange);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.accordion-item {
  border: 1px solid #e8ecef;
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: var(--white);
  border: none;
  font-family: var(--font);
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
}

.accordion-item.open .accordion-header::after {
  content: "−";
}

.accordion-body {
  display: none;
  padding: 0 20px 16px;
  font-size: 15px;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* Testimonial */
.testimonial-box {
  background: var(--green);
  border-radius: 24px;
  padding: 48px;
  color: var(--white);
  text-align: center;
}

.testimonial-box blockquote {
  font-size: 20px;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-avatars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.testimonial-avatars img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--orange);
  object-fit: cover;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--gray-bg);
}

.team-member h4 {
  font-size: 17px;
}

.team-member span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 500;
}

/* Appointment CTA */
.appointment-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.appointment-form-side {
  background: var(--green);
  padding: 48px;
  color: var(--white);
}

.appointment-form-side h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.appointment-img-side img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #e8ecef;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.pricing-card.featured {
  border-color: var(--orange);
  border-width: 2px;
  transform: scale(1.03);
}

.pricing-card .price {
  color: var(--orange);
  font-size: 42px;
  font-weight: 700;
}

.pricing-card .price span {
  font-size: 16px;
  color: var(--gray-text);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}

.pricing-card li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}

/* Partners bar */
.partners-bar {
  background: var(--green);
  padding: 28px 0;
}

.partners-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 24px;
}

.blog-card .date-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.form-group label.required::after {
  content: " *";
  color: var(--orange);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dde3e8;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.12);
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
  border-color: #d32f2f;
}

.form-group .error-msg {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 3px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  cursor: pointer;
}

.form-success {
  display: none;
  background: var(--green-light);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

.appointment-form-side .form-group label {
  color: rgba(255, 255, 255, 0.95);
}

.appointment-form-side input,
.appointment-form-side textarea,
.appointment-form-side select {
  border: none;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  color: var(--orange);
  font-size: 36px;
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.project-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13, 61, 18, 0.95));
  color: var(--white);
  padding: 24px;
}

.project-card__overlay h3 {
  color: var(--white);
  font-size: 18px;
}

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* Newsletter strip */
.newsletter-strip {
  background: var(--green);
  padding: 40px 0;
}

.newsletter-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter-strip h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.newsletter-inline {
  display: flex;
  flex: 1;
  max-width: 480px;
  gap: 0;
}

.newsletter-inline input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font);
}

.newsletter-inline button {
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Footer */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer .form-group input {
  background: rgba(255, 255, 255, 0.95);
  border: none;
}

.section--green > .container > p,
.section--green .two-col > div > p {
  color: rgba(255, 255, 255, 0.92);
}

.footer .logo-footer {
  margin-bottom: 16px;
}

.footer__about p {
  font-size: 14px;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
  list-style: none;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 14px;
}

.footer__social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer__links a:hover {
  color: var(--orange);
}

.footer__mini-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.footer__mini-post img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}

.footer__mini-post span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

.footer-bottom .legal-links {
  margin-top: 8px;
}

.footer-bottom .legal-links a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 12px;
}

.footer-bottom .legal-links a:hover {
  color: var(--orange);
}

/* Card white */
.content-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Responsive */
@media (min-width: 769px) and (max-width: 1280px) {
  .nav__list a {
    font-size: 12px;
    padding: 8px 5px;
  }

  .logo img {
    max-width: 200px;
    height: 36px;
  }

  .nav__cta .btn {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 1001;
  }
  .nav.open {
    right: 0;
  }
  .nav__list {
    flex-direction: column;
    width: 100%;
  }
  .nav__cta {
    margin-left: 0;
    width: 100%;
  }
  .nav__cta .btn {
    width: 100%;
  }
  .two-col,
  .faq-wrap,
  .appointment-split {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .pricing-grid,
  .blog-grid,
  .project-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .newsletter-inline {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .gallery-row {
    grid-template-columns: 1fr;
  }
}