:root {
  --primary: #7cb518;
  --primary-dark: #5f8f0f;
  --primary-light: #9ae622;
  --black: #0f0f0f;
  --dark: #1a1a1a;
  --gray-900: #222;
  --gray-700: #555;
  --gray-500: #777;
  --gray-200: #e9ecef;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius: 6px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-700);
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gray-900);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.top-bar a {
  color: #ddd;
}

.top-bar a:hover {
  color: var(--primary-light);
}

/* Header */
.site-header {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-link img {
  height: 44px;
  width: auto;
}

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

.main-nav a {
  color: #f2f2f2;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-header .btn-outline {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.site-header .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.25) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 4rem 0 7rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 52ch;
  font-size: 1.05rem;
  color: #e8e8e8;
}

.hero-search {
  position: relative;
  margin-top: -3.5rem;
  z-index: 5;
  margin-bottom: 3rem;
}

.search-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  align-items: end;
}

.search-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.search-card select,
.search-card input {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-dark {
  background: var(--dark);
  color: #ccc;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-head .eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

/* Brand strip */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  opacity: 0.75;
}

.brand-strip span {
  font-weight: 800;
  color: #aaa;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.brand-strip span:hover {
  color: var(--primary);
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.plan-card,
.service-card,
.project-card,
.team-card,
.news-card,
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.plan-card img,
.project-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.plan-card .body,
.service-card,
.project-card .body,
.team-card .body,
.news-card .body,
.pricing-card {
  padding: 1.25rem;
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0.75rem 0;
}

.plan-price {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
}

.service-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-top: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(124, 181, 24, 0.12);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

/* Two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-weight: 700;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Coverage types */
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.type-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.type-item:hover {
  border-color: var(--primary);
  background: rgba(124, 181, 24, 0.06);
}

.type-item strong {
  display: block;
  color: var(--gray-900);
}

/* Inquiry section */
.inquiry-section {
  position: relative;
  background: center/cover no-repeat;
  padding: 5rem 0;
}

.inquiry-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.inquiry-section .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.inquiry-copy h2 {
  color: var(--white);
}

.inquiry-copy p {
  color: #ddd;
}

.form-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--gray-900);
}

.form-control {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.form-control:focus {
  outline: 2px solid rgba(124, 181, 24, 0.35);
  border-color: var(--primary);
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.checkbox-row label {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-success {
  display: none;
  background: rgba(124, 181, 24, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

.hero-search-note {
  display: none;
  margin-top: 0.75rem;
  background: rgba(124, 181, 24, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.hero-search-note.show {
  display: block;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}

.stars {
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

/* Page banner */
.page-banner {
  background: var(--dark);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.breadcrumb {
  color: #bbb;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-light);
}

/* Footer */
.footer-cta {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 0;
}

.footer-cta .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-cta h3 {
  color: var(--white);
  margin: 0;
}

.site-footer {
  background: var(--black);
  color: #aaa;
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

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

.footer-links a {
  color: #aaa;
}

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

.social-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2a2a2a;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #2c2c2c;
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: #aaa;
}

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

/* Content pages */
.content-prose {
  max-width: 900px;
  margin: 0 auto;
}

.content-prose h2 {
  margin-top: 2rem;
}

.content-prose ul {
  padding-left: 1.25rem;
}

.content-prose li {
  margin-bottom: 0.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-box strong {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.pricing-card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.45rem;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Mobile nav */
@media (max-width: 991px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .grid-3,
  .grid-4,
  .type-grid,
  .stat-grid,
  .footer-grid,
  .split,
  .inquiry-section .container {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 575px) {
  .search-card {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-outline {
    display: none;
  }
}