:root {
  --cream: #f1e5cf;
  --offwhite: #f8f5ee;
  --red: #b52a20;
  --dark-red: #8f2119;
  --charcoal: #111315;
  --gray: #b8b8b5;
  --line: rgba(255,255,255,.22);
  --shadow: 0 12px 35px rgba(17,19,21,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}
.container-narrow {
  width: min(560px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 94px;
  background: rgba(241,229,207,.88);
  backdrop-filter: blur(4px);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 175px 1fr auto;
  gap: 28px;
  align-items: center;
}
.brand img { width: 150px; height: 82px; object-fit: contain; object-position: left center; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.main-nav a {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .35px;
  padding: 35px 0 28px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  height: 2px;
  background: transparent;
}
.main-nav a:hover::after,
.main-nav a.active::after { background: var(--red); }
.main-nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.phone-link { font-weight: 700; font-size: 14px; }

.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--charcoal); margin: 5px 0; }

.btn {
  display: inline-flex;
  min-height: 46px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .35px;
  transition: .2s ease;
  cursor: pointer;
}
.btn-red { background: var(--red); color: var(--offwhite); }
.btn-red:hover { background: var(--dark-red); transform: translateY(-1px); }
.btn-outline { background: rgba(241,229,207,.28); color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--offwhite); }
.btn-outline-light { background: transparent; color: var(--offwhite); border-color: rgba(248,245,238,.75); }
.btn-outline-light:hover { background: var(--offwhite); color: var(--charcoal); }
.btn-small { min-height: 42px; padding-inline: 25px; }
.btn-large { min-width: 210px; min-height: 52px; }

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-image {
  position: absolute; inset: 0;
  background: url("assets/hero-ranch.jpg") center/cover no-repeat;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(241,229,207,.98) 0%, rgba(241,229,207,.90) 26%, rgba(241,229,207,.35) 49%, rgba(241,229,207,0) 72%),
    linear-gradient(180deg, rgba(17,19,21,.04), rgba(17,19,21,.08));
}
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; }
.hero-copy { width: min(520px, 48%); padding-top: 75px; }
.red-rule { display: block; width: 60px; height: 4px; background: var(--red); margin-bottom: 18px; }
.hero h1,
.hero-red,
.about h2,
.about h3,
.section-heading h2,
.service-area h2,
.equipment h2,
.cta h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: -.4px;
}
.hero h1 { margin: 0; font-size: clamp(48px, 4.5vw, 64px); line-height: .95; }
.hero-red { margin-top: 5px; color: var(--red); font-size: clamp(48px, 4.5vw, 64px); line-height: .95; }
.hero-copy p { max-width: 455px; margin: 24px 0; font-size: 16px; line-height: 1.55; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.feature-strip { background: var(--charcoal); color: var(--offwhite); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  min-height: 150px;
  padding: 24px 28px 22px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
.feature-icon { color: var(--red); font-size: 35px; height: 40px; line-height: 40px; }
.feature h2 { margin: 6px 0 4px; font: 700 17px "Oswald", sans-serif; }
.feature p { margin: 0; font-size: 12.5px; line-height: 1.45; }

.about { display: grid; grid-template-columns: 42% 58%; min-height: 360px; }
.about-copy { background: var(--cream); padding: 58px 0; display: flex; align-items: center; }
.about h2 { margin: 0; font-size: 34px; line-height: 1; }
.about h3 { margin: 0 0 18px; color: var(--red); font-size: 34px; line-height: 1; }
.about p { max-width: 500px; margin: 0 0 12px; font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 10px 0 18px; font-size: 13px; font-weight: 600; }
.checks li { margin: 6px 0; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border-radius: 50%; background: var(--red); color: var(--offwhite); font-size: 11px; }
.about-image { background: url("assets/about-ranch.jpg") center/cover no-repeat; min-height: 360px; }

.services { padding: 48px 0 56px; background: var(--cream); }
.section-heading { text-align: center; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 38px; line-height: 1; }
.heading-rule { display: block; width: 52px; height: 3px; margin: 8px auto 0; background: var(--red); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card { background: var(--offwhite); border: 1px solid #d7ccba; border-radius: 4px; overflow: hidden; box-shadow: 0 3px 12px rgba(17,19,21,.06); }
.service-card > img { width: 100%; height: 100px; object-fit: cover; }
.service-card-body { padding: 12px 15px 16px; min-height: 126px; }
.service-icon { color: var(--red); font-size: 22px; float: left; margin-right: 7px; line-height: 1; }
.service-card h3 { margin: 2px 0 7px; font: 700 15px/1.15 "Oswald", sans-serif; }
.service-card p { clear: both; margin: 0; font-size: 11.5px; line-height: 1.45; }

.service-area {
  background: var(--red);
  color: var(--offwhite);
  padding: 42px 0;
}
.service-area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; font: 700 13px "Oswald", sans-serif; letter-spacing: 1px; margin-bottom: 8px; }
.service-area h2, .equipment h2 { margin: 0; font-size: 34px; line-height: 1; }
.service-area p, .equipment p { margin: 0; font-size: 14px; line-height: 1.6; }

.equipment { background: var(--offwhite); padding: 52px 0; }
.equipment-inner { display: grid; grid-template-columns: 42% 58%; gap: 30px; align-items: stretch; }
.equipment-inner > div:first-child { padding: 25px 20px 25px 0; }
.equipment-photo { min-height: 260px; background: url("assets/hero-ranch.jpg") center/cover no-repeat; }

.cta { background: var(--charcoal); color: var(--offwhite); padding: 34px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { margin: 0 0 2px; font-size: 34px; line-height: 1; }
.cta p { margin: 0; max-width: 520px; font-size: 13px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

.footer { background: var(--charcoal); color: var(--offwhite); border-top: 1px solid rgba(248,245,238,.2); padding-top: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.5fr; gap: 45px; padding-bottom: 26px; }
.footer-brand img { width: 150px; height: 115px; object-fit: contain; object-position: left center; filter: none; }
.footer h3 { margin: 8px 0 10px; color: var(--offwhite); font: 700 14px "Oswald", sans-serif; letter-spacing: .6px; }
.footer a, .footer p { display: block; margin: 5px 0; color: #d8d2c8; font-size: 12px; }
.footer a:hover { color: var(--offwhite); }
.socials { display: flex; gap: 9px; margin-top: 12px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #777; border-radius: 50%; }
.copyright { padding: 14px 0 20px; border-top: 1px solid rgba(248,245,238,.12); color: #aaa49a; font-size: 11px; }

@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 12px; }
  .header-actions .phone-link span { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
  .site-header { height: 78px; }
  .header-inner { grid-template-columns: 140px 1fr auto; }
  .brand img { width: 125px; height: 68px; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 15px 28px 22px; background: var(--cream); flex-direction: column; gap: 0; align-items: stretch; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(17,19,21,.12); }
  .main-nav a::after { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .header-actions { display: none; }
  .hero { min-height: 600px; }
  .hero-copy { width: 60%; padding-top: 70px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; }
  .about-copy { padding: 55px 0; }
  .about-image { min-height: 300px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-area-inner, .equipment-inner { grid-template-columns: 1fr; gap: 22px; }
  .equipment-photo { min-height: 300px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 32px, 560px); }
  .site-header { height: 72px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 120px; height: 64px; }
  .hero { min-height: 610px; }
  .hero-image { background-position: 67% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(241,229,207,.98) 0%, rgba(241,229,207,.86) 62%, rgba(241,229,207,.25) 100%); }
  .hero-copy { width: 100%; padding-top: 72px; }
  .hero h1, .hero-red { font-size: 45px; }
  .hero-copy p { font-size: 14px; max-width: 360px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .btn { width: 175px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 125px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .about-copy { padding: 45px 0; }
  .about h2, .about h3 { font-size: 31px; }
  .services { padding: 42px 0; }
  .section-heading h2 { font-size: 34px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card > img { height: 150px; }
  .service-card-body { min-height: 120px; }
  .service-area { padding: 38px 0; }
  .service-area h2, .equipment h2 { font-size: 31px; }
  .equipment { padding: 42px 0; }
  .equipment-photo { min-height: 220px; }
  .cta { padding: 36px 0; }
  .cta h2 { font-size: 31px; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
