:root {
  --bg: #f6f3ea;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1d2a21;
  --muted: #58655d;
  --line: rgba(29, 42, 33, 0.1);
  --brand: #2f6b45;
  --brand-dark: #234f34;
  --accent: #d7a94d;
  --shadow: 0 20px 60px rgba(35, 79, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 169, 77, 0.18), transparent 30%),
    linear-gradient(180deg, #faf8f1 0%, var(--bg) 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(250, 248, 241, 0.8);
  border-bottom: 1px solid var(--line);
}

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

.brand-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand {
  font-size: 1.45rem;
  font-weight: 800;
}

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

.nav-links a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid,
.location-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.split-grid h2,
.location-grid h2 {
  margin: 0.75rem 0 1rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  max-width: 12ch;
}

.lede,
.section-heading p,
.split-grid p,
.location-grid p,
.service-card p,
.feature-item p,
.footer-copy,
.hero-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-card,
.service-card,
.feature-item,
.map-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-card-inner {
  padding: 2rem;
}

.card-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.hero-card h2 {
  margin: 0.6rem 0 0.8rem;
  font-size: 2rem;
}

.callout-number {
  display: inline-block;
  margin: 1rem 0 1.25rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.info-block {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.text-link {
  font-weight: 700;
  color: var(--brand);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(47, 107, 69, 0.1);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.pill-soft {
  background: rgba(215, 169, 77, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(47, 107, 69, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-dark);
  border: 1px solid rgba(47, 107, 69, 0.2);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.hero-points {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 600;
}

.hero-points li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.35rem;
}

.section {
  padding: 2rem 0 3.75rem;
}

.section-alt {
  padding-top: 0.5rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.75rem;
}

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

.service-card,
.feature-item {
  padding: 1.4rem;
}

.service-card h3,
.feature-item strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.map-card {
  overflow: hidden;
  min-height: 360px;
}

.map-card-content {
  padding: 1.6rem;
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.map-card-content h3 {
  margin: 0;
  font-size: 1.5rem;
}

.map-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  padding: 1rem 0 2.5rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.footer-copy {
  margin: 0.35rem 0 0;
}


.delivery-section {
  padding-top: 0;
}

.delivery-shell {
  max-width: 1120px;
}

.delivery-section-head {
  max-width: 640px;
  margin-bottom: 1.35rem;
}

.delivery-section-head h2 {
  margin: 0.75rem 0 0.75rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 4vw, 3rem);
}

.delivery-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.delivery-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
}

.delivery-app-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 1.4rem;
  color: var(--text);
}

.delivery-form-card {
  align-content: start;
}

.delivery-card-top {
  margin-bottom: 1rem;
}

.delivery-card-eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.delivery-card-intro {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.delivery-app-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.1;
  color: var(--text);
}

.delivery-form {
  display: grid;
  gap: 0.75rem;
}

.delivery-form label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.delivery-form input {
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(29, 42, 33, 0.12);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
}

.delivery-form input::placeholder {
  color: #7a857e;
  opacity: 1;
}

.delivery-form input:focus {
  outline: 2px solid rgba(47, 107, 69, 0.18);
  border-color: rgba(47, 107, 69, 0.35);
}

.delivery-submit {
  margin-top: 0.15rem;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.delivery-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.delivery-error {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(176, 52, 52, 0.08);
  border: 1px solid rgba(176, 52, 52, 0.16);
  color: #8d2d2d;
}

.delivery-help {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.delivery-help p,
.delivery-empty-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

.delivery-results-card {
  display: grid;
  gap: 1rem;
}

.delivery-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.delivery-results-header h3 {
  margin: 0;
}

.delivery-call-btn {
  white-space: nowrap;
}

.delivery-empty-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px dashed rgba(29, 42, 33, 0.14);
  background: rgba(255, 255, 255, 0.45);
}

.delivery-empty-inner {
  display: grid;
  gap: 0.35rem;
}

.delivery-empty-inner strong {
  color: var(--brand-dark);
  font-size: 1.05rem;
}

.delivery-results {
  display: grid;
  gap: 1.1rem;
}

.delivery-results-list {
  display: grid;
  gap: 0.75rem;
}

.delivery-result-row {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(29, 42, 33, 0.08);
}

.delivery-result-row span {
  color: var(--muted);
  font-size: 0.94rem;
}

.delivery-result-row strong {
  text-align: right;
  font-size: 0.98rem;
  color: var(--text);
}

.delivery-result-total {
  align-items: center;
  background: linear-gradient(135deg, rgba(47, 107, 69, 0.1), rgba(215, 169, 77, 0.12));
  border-color: rgba(47, 107, 69, 0.14);
}

.delivery-result-total span {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.delivery-result-total strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--brand-dark);
}

.delivery-map-wrap {
  display: grid;
  gap: 0.6rem;
}

.delivery-map-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.delivery-map {
  height: 220px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(47, 107, 69, 0.14);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.delivery-map .leaflet-tile-pane {
  filter: sepia(0.08) saturate(0.92) hue-rotate(-8deg) brightness(1.01);
}

.delivery-map .leaflet-control-attribution {
  background: rgba(250, 248, 241, 0.92);
  color: var(--muted);
}

.delivery-map .leaflet-control-attribution a {
  color: var(--brand);
}

.leaflet-container {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #e9e3d4;
}

@media (max-width: 980px) {
  .delivery-app-grid {
    grid-template-columns: 1fr;
  }

  .delivery-form-card {
    min-height: auto;
  }

  .hero-grid,
  .location-grid,
  .split-grid,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .delivery-app-card {
    padding: 1.15rem;
    border-radius: 24px;
  }

  .delivery-form input {
    min-height: 54px;
  }

  .delivery-submit {
    min-height: 50px;
  }

  .delivery-result-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .delivery-result-row strong {
    text-align: left;
  }

  .delivery-map {
    height: 200px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid,
  .location-grid,
  .split-grid,
  .card-grid,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .map-card {
    min-height: 300px;
  }
}
