:root {
  --forest: #15331b;
  --ember: #ef6623;
  --moss: #056839;
  --bg: #f4efe8;
  --panel: rgba(255, 255, 255, 0.78);
  --text: #102116;
  --muted: rgba(16, 33, 22, 0.72);
  --border: rgba(21, 51, 27, 0.12);
  --shadow: 0 24px 60px rgba(16, 33, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  overflow-x: clip;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(239, 102, 35, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(5, 104, 57, 0.18), transparent 28%),
    linear-gradient(180deg, #faf7f2 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(21, 51, 27, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 51, 27, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 70%);
}

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

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

button {
  font: inherit;
}

.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;
}

.site-shell {
  width: 100%;
  max-width: 1180px;
  padding-inline: 10px;
  margin: 0 auto;
}

.site-header,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 1px solid var(--border);
  border-left: 0;
  border-right: 0;
  background: linear-gradient(-135deg, #112417, var(--forest));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: radial-gradient(circle, rgba(239, 102, 35, 0.2), rgba(239, 102, 35, 0) 70%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ember);
}

.brand-name {
  font-family: "Dela Gothic One", serif;
  font-size: clamp(1.25rem, 3.6vw, 2.4rem);
  line-height: 0.95;
  font-weight: 400;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: clamp(42px, 6vw, 64px);
  height: clamp(42px, 6vw, 64px);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(21, 51, 27, 0.08);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--forest);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 24px;
  margin-right: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 2px 0;
  border-radius: 2px;
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding: 18px 22px 20px;
}

.hero-copy {
  max-width: 62rem;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
}

h2,
h3 {
  margin: 0;
  color: var(--forest);
}

h2 {
  font-family: "arial black", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.1rem;
  margin: 4px 0px;
}

.lead,
.section p,
.contact-card p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 50ch;
  font-size: 1rem;
  margin: 12px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ember), #ff7d37);
  box-shadow: 0 18px 30px rgba(239, 102, 35, 0.24);
}

.button-secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 51, 27, 0.12);
}

.equipment-image {
  width: 100%;
  border-radius: 22px;
  margin: 16px 0;
}

.section {
  margin-top: 16px;
  padding: 26px 22px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 200ch;
}

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

.service-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 51, 27, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(16, 33, 22, 0.08);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  font-size: 0.85rem;
  font-weight: 800;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.showcase-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 51, 27, 0.08);
}

.showcase-media {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 16px;
  margin-bottom: 16px;
  padding: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-media:not(.carousel) {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: none;
}

.showcase-media:not(.carousel) img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-media.carousel {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-height: 460px;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  outline: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(239, 102, 35, 0.28);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: transparent;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  box-shadow: 0 10px 18px rgba(16, 33, 22, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.carousel-button-prev {
  left: 10px;
  transform: translateY(-50%);
}

.carousel-button-next {
  right: 10px;
  transform: translateY(-50%);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-50%) scale(1.03);
}

.carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%);
}

.carousel-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.cta h2 {
  max-width: 22ch;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card p {
  display: block;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 51, 27, 0.08);
  color: var(--forest);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 33, 22, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  color: #fff;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-text {
  min-width: 0;
  font-size: 1.1rem;
}

.footer {
  padding: 24px 8px 0;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .cta,
  .service-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  h1 {
    max-width: none;
  }

  .hero {
    padding-top: 16px;
  }

  .showcase-media.carousel {
    max-height: none;
  }

  .carousel-button {
    width: 34px;
    height: 34px;
  }

  .carousel-button-prev {
    left: 8px;
  }

  .carousel-button-next {
    right: 8px;
  }
}

@media (max-width: 720px) {
   .site-header {
    border-radius: 0;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 10px;
    column-gap: 6px;
  }

  .brand {
    min-width: 0;
    gap: 4px;
    justify-self: start;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    padding: 0;
    box-shadow: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    margin-top: 4px;
  }

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

  .nav-links a {
    width: 100%;
  }

  .brand-name {
    font-size: clamp(0.92rem, 4.4vw, 1.2rem);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .brand-mark {
    width: clamp(30px, 8vw, 40px);
    height: clamp(30px, 8vw, 40px);
  }

  h1 {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
    line-height: 1.08;
  }

  .lead {
    font-size: 0.95rem;
    margin-top: 12px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    display: none;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
