:root {
  --ink: #102034;
  --muted: #5e6977;
  --paper: #f8fafc;
  --white: #ffffff;
  --blue: #045caf;
  --blue-deep: #013d7e;
  --red: #d63b2d;
  --green: #287b4b;
  --gold: #e7b448;
  --line: #dce4ee;
  --shadow: 0 20px 60px rgba(16, 32, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--blue-deep);
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-call {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: clamp(38px, 7vw, 90px) clamp(18px, 5vw, 72px) clamp(26px, 5vw, 56px);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 52%, rgba(231, 180, 72, 0.22) 100%),
    url("assets/tractor-field-bg.jpg") center / cover;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 6.4vw, 5.8rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: #344255;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.btn.primary {
  color: var(--white);
  background: var(--blue);
}

.btn.secondary {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--blue);
}

.btn.light {
  color: var(--blue-deep);
  background: var(--white);
}

.dealer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin: 38px 0 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.dealer-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.dealer-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dealer-strip dd {
  margin: 6px 0 0;
  color: var(--blue-deep);
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-media {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.hero-media img {
  width: min(100%, 620px);
  filter: drop-shadow(0 28px 42px rgba(16, 32, 52, 0.25));
}

.hero-badge {
  position: absolute;
  right: 0;
  bottom: 34px;
  min-width: 220px;
  padding: 18px 20px;
  color: var(--white);
  background: var(--blue-deep);
  border-left: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-badge span,
.hero-badge strong {
  display: block;
}

.hero-badge span {
  color: #d7e8ff;
  font-size: 0.85rem;
}

.hero-badge strong {
  font-size: 1.45rem;
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-contact article {
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
}

.info-label,
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-contact p,
.section p,
.model-card p,
.service-list p,
.visit-band p,
.location-copy p,
.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(54px, 8vw, 94px) clamp(18px, 5vw, 72px) 28px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: end;
}

.section-heading {
  max-width: 780px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) clamp(56px, 8vw, 96px);
}

.model-card {
  display: grid;
  grid-template-rows: 220px auto;
  gap: 18px;
  min-height: 430px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 32, 52, 0.08);
}

.model-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.feature-card {
  background: #fff8e6;
  border-color: #efd27d;
}

.tag {
  padding: 6px 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
}

.tag.blue {
  background: var(--blue);
}

.tag.green {
  background: var(--green);
}

.services {
  padding-bottom: clamp(56px, 7vw, 86px);
  background: var(--white);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list article {
  min-height: 190px;
  padding: 24px;
  background: var(--white);
}

.service-list article:nth-child(2) {
  border-top: 4px solid var(--gold);
}

.service-list article:nth-child(3) {
  border-top: 4px solid var(--green);
}

.service-list article:nth-child(4) {
  border-top: 4px solid var(--red);
}

.visit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(34px, 6vw, 64px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
}

.visit-band .eyebrow,
.visit-band p {
  color: #d8eaff;
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
  padding-bottom: clamp(56px, 8vw, 96px);
}

.location-copy {
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-stack a {
  display: block;
  padding: 14px 16px;
  color: var(--blue-deep);
  background: #eef6ff;
  border: 1px solid #cce2f7;
  border-radius: 6px;
  font-weight: 800;
}

.map-wrap {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.enquiry {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
  padding: clamp(48px, 8vw, 86px) clamp(18px, 5vw, 72px);
  background: #edf4ec;
  border-top: 1px solid #cce0ca;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid #cce0ca;
  border-radius: 8px;
}

.enquiry-form label {
  display: grid;
  gap: 7px;
  color: #364457;
  font-size: 0.92rem;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c9d3df;
  border-radius: 6px;
  font: inherit;
}

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

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #d8e6f5;
  background: #0c1828;
}

.site-footer p {
  color: #aab8c8;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 87px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .intro,
  .location,
  .enquiry {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 360px;
  }

  .quick-contact,
  .model-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .model-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand small {
    display: none;
  }

  .dealer-strip,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .hero-media {
    min-height: auto;
    place-items: stretch;
  }

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