:root {
  --ink: #17211d;
  --muted: #5e6a64;
  --paper: #fbfaf7;
  --white: #ffffff;
  --pine: #1f5a46;
  --pine-dark: #12382d;
  --clay: #b35c36;
  --sky: #dcecf1;
  --gold: #f2c15d;
  --line: #d9ddd6;
  --shadow: 0 24px 60px rgba(23, 33, 29, 0.15);
}

* {
  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;
}

button,
input,
select,
textarea {
  font: inherit;
}

.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, 54px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(217, 221, 214, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--pine);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--sky);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--pine);
}

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

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

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 26, 22, 0.78), rgba(12, 26, 22, 0.36), rgba(12, 26, 22, 0.1)),
    linear-gradient(0deg, rgba(12, 26, 22, 0.52), rgba(12, 26, 22, 0.02) 48%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 70px clamp(18px, 7vw, 92px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.button.primary,
.button.search-button {
  color: var(--white);
  background: var(--pine);
}

.button.primary:hover,
.button.search-button:hover {
  background: var(--pine-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.search-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, calc(100% - 36px));
  margin: -42px auto 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

.section,
.owner-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 90px 0;
}

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

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.section-heading p:not(.eyebrow),
.owner-section p,
.contact-section p {
  color: var(--muted);
  font-size: 17px;
}

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

.property-card,
.service-grid article,
.owner-card,
.testimonial,
details,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.property-card {
  overflow: hidden;
}

.property-image {
  min-height: 180px;
  background:
    linear-gradient(145deg, rgba(31, 90, 70, 0.16), rgba(179, 92, 54, 0.22)),
    url("assets/wyoming-rental-home.png");
  background-size: cover;
  background-position: center;
}

.property-image.cheyenne {
  background-position: 44% 54%;
}

.property-image.laramie {
  background-position: 56% 48%;
}

.property-image.casper {
  background-position: 36% 62%;
}

.property-image.jackson {
  background-position: 62% 38%;
}

.property-body {
  padding: 18px;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

.property-body p,
.property-body li,
.service-grid p,
.testimonial p,
details p {
  color: var(--muted);
}

.property-body ul {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  background: var(--sky);
  border-radius: 8px;
}

.band {
  width: 100%;
  max-width: none;
  padding: 90px clamp(18px, 5vw, 70px);
  background: #e9f1ed;
}

.band .section-heading,
.band .service-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid article {
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--clay);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.owner-section,
.contact-section,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.metrics div {
  padding: 18px;
  background: var(--sky);
  border-radius: 8px;
}

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

.metrics strong {
  font-size: 30px;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.owner-card,
.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-list span {
  padding: 12px 16px;
  color: var(--pine-dark);
  background: var(--sky);
  border: 1px solid #bed4dc;
  border-radius: 8px;
  font-weight: 800;
}

.testimonial {
  padding: 28px;
}

.testimonial p {
  margin-top: 0;
  font-size: 19px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq .section-heading {
  margin-bottom: 12px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.contact-section {
  width: 100%;
  padding: 90px clamp(18px, 6vw, 86px);
  color: var(--white);
  background: var(--pine-dark);
}

.contact-section .eyebrow {
  color: var(--gold);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  color: var(--ink);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: #10261f;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .search-panel,
  .property-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-section,
  .contact-section,
  .split {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin: 0 auto 54px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .search-panel,
  .property-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .owner-section {
    padding: 68px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
