:root {
  --green-950: #07170f;
  --green-900: #102f1e;
  --green-800: #214b2d;
  --green-700: #315f38;
  --gold: #f4c037;
  --gold-dark: #d49c18;
  --ink: #151712;
  --muted: #5d625a;
  --line: #d8d2c5;
  --paper: #fffdf6;
  --cream: #f5f0e6;
  --white: #ffffff;
  --rust: #a8462d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  display: grid;
  grid-template-columns: 585px 1fr 260px;
  align-items: center;
  gap: 24px;
  min-height: 108px;
  padding: 16px 36px 14px;
  background: var(--white);
  border-bottom: 1px solid #ece7dd;
}

.brand,
.phone-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(585px, 100%);
  height: 111px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.2vw, 44px);
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.nav a {
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 4px solid transparent;
}

.nav a[aria-current="page"] {
  color: var(--green-800);
  border-bottom-color: var(--green-800);
}

.phone-link {
  justify-self: end;
  color: var(--ink);
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 38px;
  font-weight: 800;
}

.phone-link i {
  color: var(--green-800);
  font-size: 34px;
}

.phone-link small {
  display: block;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: clamp(42px, 7vw, 78px) clamp(20px, 4vw, 56px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 23, 15, 0.96) 0%, rgba(7, 23, 15, 0.84) 33%, rgba(7, 23, 15, 0.28) 58%, rgba(7, 23, 15, 0.05) 78%),
    url("assets/tractor-grapple-hero.png") center right/cover;
}

.hero-copy {
  max-width: 680px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(52px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 26px;
  text-transform: uppercase;
}

.hero h1::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 78px;
  height: 6px;
  margin: 18px 0 22px;
  background: var(--gold);
}

.hero p,
.page-hero p {
  max-width: 540px;
  font-size: 19px;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 34px 0 26px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.trust-row span:last-child {
  border-right: 0;
}

.trust-row i {
  font-size: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 66px;
  min-width: 248px;
  padding: 16px 34px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold-dark);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.minimum {
  margin-top: 12px;
  font-weight: 700;
}

.service-strip {
  padding: 24px 46px 34px;
  background: var(--paper);
  border-bottom: 1px solid #ebe4d8;
  text-align: center;
}

.service-strip h2 {
  margin-bottom: 20px;
  font-size: 36px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  gap: 0;
}

.strip-grid a {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 112px;
  padding: 8px 16px;
  color: var(--green-800);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.strip-grid a:last-child {
  border-right: 0;
}

.strip-grid i {
  font-size: 42px;
}

.strip-grid span {
  color: var(--ink);
  font-weight: 700;
}

.intro-band,
.availability-page,
.contact-layout,
.copy-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(48px, 7vw, 82px) clamp(20px, 5vw, 98px);
}

.intro-band .eyebrow,
.page-hero .eyebrow {
  color: var(--gold);
}

.intro-band p,
.copy-section p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.intro-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: 0 18px 42px rgba(7, 23, 15, 0.18);
}

.page-hero {
  min-height: 420px;
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 98px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 23, 15, 0.92) 0%, rgba(7, 23, 15, 0.74) 42%, rgba(7, 23, 15, 0.16) 82%),
    url("assets/tractor-grapple-hero.png") center right/cover;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(7, 23, 15, 0.92), rgba(7, 23, 15, 0.5)),
    url("assets/tractor-grapple-hero.png") center right/cover;
}

.availability-hero,
.contact-hero {
  background:
    linear-gradient(90deg, rgba(7, 23, 15, 0.92), rgba(7, 23, 15, 0.48)),
    url("assets/tractor-grapple-hero.png") center right/cover;
}

.pricing-hero {
  background:
    linear-gradient(90deg, rgba(7, 23, 15, 0.92), rgba(7, 23, 15, 0.5)),
    url("assets/tractor-grapple-hero.png") center right/cover;
}

.detail-list {
  display: grid;
  gap: 0;
  padding: clamp(36px, 6vw, 70px) clamp(20px, 5vw, 98px);
}

.detail-list article {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list article:first-child {
  border-top: 1px solid var(--line);
}

.detail-list i {
  color: var(--green-800);
  font-size: 48px;
}

.detail-list p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.availability-page {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.55fr);
  align-items: start;
  background: var(--cream);
}

.calendar-shell,
.availability-note,
.quote-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(7, 23, 15, 0.09);
}

.calendar-shell {
  padding: 24px;
}

.calendar-toolbar,
.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.calendar-legend {
  justify-content: flex-start;
  margin: 20px 0;
  color: var(--muted);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.calendar-legend i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.available {
  background: var(--green-700);
}

.limited {
  background: var(--gold);
}

.booked {
  background: var(--rust);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--green-800);
  font-size: 26px;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekdays {
  color: var(--muted);
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.day {
  min-height: 92px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.day strong,
.day span {
  display: block;
}

.day strong {
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 28px;
}

.day span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.day.muted {
  opacity: 0.35;
}

.day[data-status="available"] {
  border-left: 6px solid var(--green-700);
}

.day[data-status="limited"] {
  border-left: 6px solid var(--gold);
}

.day[data-status="booked"] {
  border-left: 6px solid var(--rust);
}

.availability-note,
.contact-card {
  padding: 28px;
}

.availability-note p,
.contact-card li {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(38px, 5vw, 72px) clamp(20px, 5vw, 98px) 0;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 42px rgba(7, 23, 15, 0.14);
}

.pricing-board article {
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 30px;
  color: var(--white);
  background: var(--green-900);
}

.pricing-board i {
  color: var(--gold);
  font-size: 42px;
}

.pricing-board strong {
  color: var(--gold);
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 48px;
  line-height: 1;
}

.pricing-board span {
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.copy-section {
  grid-template-columns: 0.8fr 1fr auto;
  align-items: center;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.6fr);
  align-items: start;
  background: var(--cream);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-family: Barlow Condensed, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  font: 500 16px Inter, Arial, sans-serif;
  background: var(--paper);
}

input[type="file"] {
  padding: 11px;
}

input[type="file"]::file-selector-button {
  margin-right: 14px;
  border: 1px solid var(--green-800);
  border-radius: 4px;
  padding: 9px 14px;
  color: var(--white);
  font: 800 15px Barlow Condensed, Arial, sans-serif;
  text-transform: uppercase;
  background: var(--green-800);
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.full,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--green-800);
  font-weight: 800;
}

.contact-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: var(--green-950);
  font-weight: 800;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .phone-link {
    justify-self: start;
  }

  .nav {
    justify-content: start;
    flex-wrap: wrap;
  }

  .strip-grid {
    grid-template-columns: repeat(4, minmax(110px, 1fr));
  }

  .intro-band,
  .availability-page,
  .contact-layout,
  .copy-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .brand-logo {
    width: min(480px, 100%);
    height: 93px;
  }

  .phone-link {
    font-size: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
    padding: 10px 0;
    margin: 0;
    border-right: 0;
  }

  .strip-grid,
  .pricing-board,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .strip-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-list article {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    gap: 5px;
  }

  .day {
    min-height: 68px;
    padding: 6px;
  }

  .day span {
    display: none;
  }

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