:root {
  --color-bg: #f6f8f4;
  --color-surface: #ffffff;
  --color-surface-alt: #eef3ea;
  --color-text: #1c2b1a;
  --color-text-muted: #5a6b57;
  --color-primary: #2d5a27;
  --color-primary-dark: #1e3d1a;
  --color-accent: #3d7a35;
  --color-accent-hover: #4a9240;
  --color-border: rgba(45, 90, 39, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 16px 40px rgba(30, 61, 26, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.alt-bg {
  background: var(--color-surface-alt);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(30, 61, 26, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 88px;
  width: auto;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
  color: #d4edcc;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-nav {
  padding: 0.6rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
}

.btn-nav:hover {
  background: var(--color-accent-hover);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 45, 18, 0.88) 0%,
    rgba(30, 61, 26, 0.72) 50%,
    rgba(20, 45, 18, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-logo {
  height: 155px;
  width: auto;
  margin-bottom: 1.5rem;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.55));
}

.hero .eyebrow {
  color: #b8d4b0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.section-desc {
  color: var(--color-text-muted);
}

/* Split sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.split-section:last-child {
  margin-bottom: 0;
}

.split-section.reverse .split-image {
  order: 2;
}

.split-section.reverse .split-content {
  order: 1;
}

.split-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.illustration-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 3px solid rgba(45, 90, 39, 0.15);
}

.illustration-frame img {
  height: 360px;
  object-fit: contain;
  background: linear-gradient(160deg, #e8f0e8 0%, #f8faf6 100%);
}

.truck-frame img {
  background: linear-gradient(160deg, #c8d8e8 0%, #e8f2f8 100%);
}

/* Winter section */
.winter-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f6fa 0%, #f6f8f4 100%);
}

.winter-snowfall {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 160px 30px, #fff, transparent);
  background-size: 200px 200px;
  animation: snowfall 18s linear infinite;
  opacity: 0.5;
}

@keyframes snowfall {
  from { background-position: 0 0; }
  to { background-position: 200px 600px; }
}

.split-content h2,
.split-content h3 {
  font-family: var(--font-serif);
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.split-content h3 {
  font-size: 1.35rem;
}

.split-content > p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

/* Lists */
.check-list li,
.service-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.check-list li::before,
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.highlight-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.highlight-box strong {
  display: block;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
}

.highlight-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Service areas */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.area-tag {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.areas-note {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Contact */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cta-image img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-form-wrap h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.cta-form-wrap > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.contact-form {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 100px;
}

.label-optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem 1rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
}

.file-upload-label:hover,
.file-upload input:focus + .file-upload-label {
  border-color: var(--color-accent);
  background: var(--color-surface-alt);
}

.file-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  line-height: 1;
}

.file-upload-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.file-upload-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.file-list {
  margin-top: 0.75rem;
  padding: 0;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.file-list li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list .file-size {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.file-error {
  margin-top: 0.5rem;
  text-align: left;
  font-size: 0.85rem;
}

.form-success {
  margin-top: 1rem;
  text-align: center;
  color: var(--color-primary);
  font-weight: 600;
}

.form-error {
  margin-top: 1rem;
  text-align: center;
  color: #b42318;
  font-weight: 600;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-logo {
  height: 110px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 36ch;
  margin-bottom: 0.5rem;
}

.footer-insured {
  margin-top: 0.75rem;
  color: #b8d4b0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Careers page */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 45, 18, 0.9), rgba(30, 61, 26, 0.75));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 62ch;
}

.page-hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.page-hero .eyebrow {
  color: #b8d4b0;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.career-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.career-text > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(to top, rgba(30, 61, 26, 0.85), transparent 55%);
}

.image-overlay span {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.role-card h3 {
  font-family: var(--font-serif);
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.role-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.careers-apply {
  background: var(--color-primary-dark);
  color: #fff;
  text-align: center;
}

.careers-apply-inner {
  max-width: 52ch;
  margin-inline: auto;
}

.careers-apply h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.careers-apply > .container > p,
.careers-apply-inner > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: #fff;
  border-radius: 999px;
  transition: background var(--transition), transform 0.15s ease;
}

.apply-btn:hover {
  background: #d4edcc;
}

.apply-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.nav-active {
  color: #d4edcc !important;
  border-bottom: 2px solid #d4edcc;
  padding-bottom: 2px;
}

.careers-page .header {
  background: rgba(30, 61, 26, 0.96);
  backdrop-filter: blur(12px);
}

/* Mobile */
@media (max-width: 900px) {
  .careers-grid {
    grid-template-columns: 1fr;
  }

  .image-wrapper img {
    height: 300px;
  }
  .split-section,
  .split-section.reverse,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-image,
  .split-section.reverse .split-content {
    order: unset;
  }

  .split-image img {
    height: 260px;
  }

  .cta-image img {
    min-height: 260px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    background: rgba(30, 61, 26, 0.98);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links.open a:not(.btn) {
    color: #ffffff;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .logo-img {
    height: 68px;
  }

  .hero-logo {
    height: 120px;
  }

  .nav-links a:not(.btn) {
    font-size: 1.2rem;
  }
}