/* =========================================
   Land Clearing & Grading Demo - style.css
   ========================================= */

/* -------------
   Base reset
   ------------- */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020617;
  color: #e5e7eb;
  line-height: 1.5;
}

/* Smooth rendering */
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* -------------
   Layout helpers
   ------------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

/* -------------
   Global theme
   ------------- */

.demo-land-clearing {
  --lc-bg: #060807;
  --lc-bg-alt: #101412;
  --lc-surface: #151c18;
  --lc-surface-alt: #1c2520;
  --lc-accent: #f2b041;
  --lc-accent-soft: rgba(242, 176, 65, 0.14);
  --lc-accent-alt: #f8e0a3;
  --lc-border-subtle: rgba(148, 163, 184, 0.2);
  --lc-text-main: #f9fafb;
  --lc-text-muted: #9ca3af;
}

/* -------------
   Header / nav
   ------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.site-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.8rem;
  background: radial-gradient(circle at 30% 0%, #f2b041, #f97316);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f2b041, #f97316);
  transition: width 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 0.55rem;
  padding: 0.25rem 0.5rem;
  color: #e5e7eb;
}

/* -------------
   Buttons
   ------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(to right, #f2b041, #f97316);
  border-color: transparent;
  color: #111827;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: rgba(249, 250, 251, 0.5);
  color: #f9fafb;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-full {
  width: 100%;
}

/* -------------
   Demo banner
   ------------- */

.demo-ribbon {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.demo-ribbon-earth {
  background: radial-gradient(circle at top left, #263322, #020617);
}

.demo-ribbon .container {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.demo-ribbon p {
  margin: 0;
  text-align: center;
}

/* -------------
   Hero section
   ------------- */

.hero-land-clearing {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-land-clearing .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
}

.hero-land-clearing .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

.hero-land-clearing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 176, 65, 0.27), transparent 55%),
    linear-gradient(to bottom, rgba(6, 8, 7, 0.7), #060807);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.18);
  color: var(--lc-accent-alt);
  margin-bottom: 0.85rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0 0 0.7rem;
  color: #f9fafb;
}

.hero-text p {
  max-width: 36rem;
  color: #e5e7eb;
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: #d1d5db;
  font-size: 0.94rem;
}

.hero-trust-list span {
  color: var(--lc-accent);
  margin-right: 0.35rem;
}

.hero-demo-note {
  margin-top: 0.9rem;
  font-size: 0.83rem;
  color: #9ca3af;
}

/* Hero card */

.hero-card {
  background:
    radial-gradient(circle at top, rgba(242, 176, 65, 0.12), transparent 65%),
    linear-gradient(to bottom right, var(--lc-surface), var(--lc-surface-alt));
  padding: 1.6rem 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
}

.hero-card p {
  font-size: 0.92rem;
  color: #e5e7eb;
  margin: 0 0 1rem;
}

.hero-mini-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}

.hero-mini-form input,
.hero-mini-form select,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.55rem 0.7rem;
  color: #f9fafb;
  font-size: 0.9rem;
}

.hero-mini-form input::placeholder,
.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

.hero-mini-form .btn-full {
  margin-top: 0.4rem;
}

.form-note {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

/* -------------
   Section header
   ------------- */

.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.section-header p {
  color: #cbd5f0;
  font-size: 0.98rem;
}

/* -------------
   Video section
   ------------- */

.video-section {
  background: radial-gradient(circle at top right, #192018, #060807);
}

.video-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 2.4rem;
  align-items: center;
}

.video-copy .feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #d1d5db;
}
.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feature-list li::before {
  content: "•";
  color: var(--lc-accent);
  margin-right: 0.4rem;
}

.video-frame {
  max-width: 500px;
  margin: 0 auto;
}

.video-poster {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7);
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: none;
  padding: 0.85rem 1.35rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.78);
  color: #f9fafb;
}

.video-play-btn span:first-child {
  font-size: 1.1rem;
}

.video-caption {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.6rem;
  text-align: center;
}

/* -------------
   Services
   ------------- */

.services-section {
  background: #060807;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: linear-gradient(to bottom right, var(--lc-surface), var(--lc-surface-alt));
  border-radius: 1rem;
  padding: 1.2rem 1.15rem 1.1rem;
  border: 1px solid var(--lc-border-subtle);
  font-size: 0.92rem;
}

.service-card h3 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
}

.service-card p {
  color: #d1d5db;
  margin: 0 0 0.5rem;
}

.service-card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
}

/* -------------
   Process steps
   ------------- */

.process-section {
  background: #101412;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(148, 163, 184, 0.1),
    rgba(249, 250, 251, 0.5),
    rgba(148, 163, 184, 0.1)
  );
  z-index: 0;
}

.process-step {
  position: relative;
  padding-top: 1.3rem;
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #060807;
  border: 2px solid var(--lc-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.process-step h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}

.process-step p {
  font-size: 0.88rem;
  color: #cbd5f0;
  margin: 0;
}

/* -------------
   Before / after
   ------------- */

.before-after-section {
  background: #060807;
}

.before-after-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.before-after-container {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid var(--lc-border-subtle);
}

.before-after-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.before-after-overlay {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 1px solid rgba(248, 250, 251, 0.7);
  transition: width 0.2s ease;
}

.before-after-slider {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.1rem;
  width: calc(100% - 2.8rem);
  z-index: 2;
}

.before-after-label {
  position: absolute;
  top: 0.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.before-label {
  left: 0.65rem;
}

.after-label {
  right: 0.65rem;
}

/* -------------
   Gallery
   ------------- */

.gallery-section {
  background: #101412;
}

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

.gallery-item {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--lc-border-subtle);
  background: #020617;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.gallery-item img:hover {
  transform: scale(1.04);
}

/* -------------
   Service area
   ------------- */

.service-area-section {
  background: #060807;
}

.service-area-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.area-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.area-columns h3 {
  font-size: 0.98rem;
  margin: 0 0 0.35rem;
}

.area-columns ul {
  padding-left: 1.15rem;
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5f0;
}

.service-map-placeholder .map-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  border-radius: 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  padding: 1.5rem;
  text-align: center;
  color: #e5e7eb;
}

.map-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* -------------
   Testimonials
   ------------- */

.testimonials-section {
  background: #101412;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  background: linear-gradient(to bottom right, var(--lc-surface), var(--lc-surface-alt));
  border-radius: 1rem;
  padding: 1.2rem 1.1rem 1.1rem;
  border: 1px solid var(--lc-border-subtle);
  font-size: 0.9rem;
}

.testimonial-text {
  color: #e5e7eb;
  margin: 0 0 0.7rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* -------------
   FAQ
   ------------- */

.faq-section {
  background: #060807;
}

.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid var(--lc-border-subtle);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  background: transparent;
  border: none;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  padding: 0 1rem;
}

.faq-answer p {
  font-size: 0.85rem;
  color: #d1d5db;
  margin: 0.5rem 0 0.9rem;
}

.faq-item.open .faq-question {
  background: rgba(15, 23, 42, 0.8);
}

/* -------------
   Quote section / forms
   ------------- */

.quote-section {
  background: #101412;
}

.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.quote-copy p {
  margin-bottom: 0.8rem;
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.quote-form label {
  font-size: 0.83rem;
}

.quote-form textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: #d1d5db;
}

/* -------------
   Lightbox (for .clickable-img)
   ------------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.lightbox:not(.hidden) {
  display: flex;
}


.lightbox img {
  max-width: 100%;
  max-height: 100%;
}

.lightbox-close {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-radius: 999px;
  width: 2.1rem;
  height: 2.1rem;
  cursor: pointer;
}

/* -------------
   Footer
   ------------- */

.site-footer {
  background: #020617;
  border-top: 1px solid rgba(30, 64, 175, 0.5);
  padding: 1.5rem 0 1.8rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: #e5e7eb;
}

/* -------------
   Responsive
   ------------- */

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    padding: 0.75rem 1.5rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

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

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .video-inner,
  .quote-inner,
  .service-area-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.1rem 0;
  }

  .hero-land-clearing {
    padding-top: 3.3rem;
  }

  .services-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .area-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-inner {
    gap: 1.4rem;
  }
}
