:root {
  --teal: #0f6b68;
  --teal-dark: #084a47;
  --teal-soft: #dcefeb;
  --sand: #d9c7a3;
  --sand-soft: #f7f1e6;
  --gold: #f2b544;
  --gold-soft: #fff3cf;
  --mint: #7ab8a2;
  --charcoal: #1f2933;
  --ink-muted: #5f6f78;
  --white: #ffffff;
  --line: rgba(31, 41, 51, 0.12);
  --shadow: 0 18px 42px rgba(31, 41, 51, 0.12);
  --font-heading: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: #fffaf0;
  font-family: var(--font-body);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 12px;
  transform: translateY(-140%);
  background: var(--charcoal);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid rgba(31, 41, 51, 0.1);
  backdrop-filter: blur(18px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: 160px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
  color: var(--charcoal);
}

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

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white) !important;
  box-shadow: 0 10px 22px rgba(15, 107, 104, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: min(760px, 78svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 74, 71, 0.9) 0%, rgba(8, 74, 71, 0.74) 36%, rgba(8, 74, 71, 0.16) 72%),
    linear-gradient(0deg, rgba(31, 41, 51, 0.28), rgba(31, 41, 51, 0.05));
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  width: min(610px, 100%);
  margin: 24px 0 0;
  color: #edf8f4;
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.hero-helper {
  width: min(570px, 100%);
  margin: 16px 0 0;
  color: #d9ede8;
  font-size: 0.96rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #231a05;
  box-shadow: 0 14px 26px rgba(242, 181, 68, 0.25);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary.dark {
  border-color: rgba(31, 41, 51, 0.18);
  background: var(--white);
  color: var(--charcoal);
}

.button-light {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-proof div {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.hero-proof dt {
  font-size: 1.1rem;
  font-weight: 950;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: #d9ede8;
  font-size: 0.9rem;
}

.section,
.intro-band,
.cta-band {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: var(--sand-soft);
  border-block: 1px solid rgba(217, 199, 163, 0.55);
}

.intro-grid,
.controls-grid,
.questions-grid,
.consultant-grid,
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.cta-band p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.04rem;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2 + p {
  margin-top: 16px;
}

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

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.value-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card h3,
.value-card h3,
.process-list h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.info-card h3 {
  margin-top: 18px;
}

.card-accent {
  display: block;
  width: 50px;
  height: 6px;
  border-radius: 99px;
  background: var(--teal);
}

.card-accent.gold {
  background: var(--gold);
}

.card-accent.sand {
  background: var(--sand);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(122, 184, 162, 0.16);
}

.process-section {
  background: var(--teal-dark);
  color: var(--white);
}

.process-section .section-heading p {
  color: #d9ede8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--gold);
  color: #261b04;
  font-weight: 950;
}

.process-list p,
.value-card p {
  margin: 10px 0 0;
  color: inherit;
  opacity: 0.8;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.controls-section {
  background: #ffffff;
}

.control-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  background: var(--sand-soft);
  border: 1px solid rgba(217, 199, 163, 0.75);
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border-left: 5px solid var(--teal);
}

.control-row:nth-child(2) {
  border-left-color: var(--gold);
}

.control-row:nth-child(3) {
  border-left-color: var(--mint);
}

.control-row:nth-child(4) {
  border-left-color: var(--sand);
}

.control-row span {
  color: var(--ink-muted);
  font-weight: 800;
}

.control-row strong {
  text-align: right;
  color: var(--charcoal);
}

.value-section {
  background: var(--sand-soft);
}

.consultant-section {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.consultant-card {
  padding: 26px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.consultant-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.consultant-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.consultant-list li {
  position: relative;
  padding: 14px 14px 14px 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef8f5;
}

.consultant-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.questions-section {
  background: var(--white);
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-muted);
}

.cta-band {
  background: var(--teal);
  color: var(--white);
}

.cta-band .eyebrow,
.cta-band p {
  color: #ffefbd;
}

.cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--charcoal);
  color: var(--white);
}

.apply-page {
  min-height: 100vh;
  background: var(--sand-soft);
}

.apply-nav {
  margin-left: auto;
}

.apply-hero {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(8, 74, 71, 0.94), rgba(15, 107, 104, 0.72)),
    url("./assets/site/habivest-backyard-rentals-hero.png") center / cover;
  color: var(--white);
}

.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.6fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.apply-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.apply-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: #edf8f4;
  font-size: clamp(1.02rem, 1.8vw, 1.26rem);
}

.apply-panel {
  padding: 26px;
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.apply-panel h2 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.apply-next-section {
  background: var(--sand-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}

.footer-inner img {
  width: 150px;
}

.footer-inner p {
  margin: 10px 0 0;
  color: #d5dee4;
}

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

.footer-links a {
  text-decoration: none;
}

.footer-note {
  text-align: right;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 74, 71, 0.92) 0%, rgba(8, 74, 71, 0.82) 58%, rgba(8, 74, 71, 0.28) 100%),
      linear-gradient(0deg, rgba(31, 41, 51, 0.3), rgba(31, 41, 51, 0.08));
  }

  .hero-content {
    margin: 0 auto;
    padding-block: 56px;
  }

  .hero-proof,
  .fit-grid,
  .value-grid,
  .process-list,
  .intro-grid,
  .apply-grid,
  .controls-grid,
  .consultant-grid,
  .questions-grid,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    margin-bottom: 24px;
  }

  .cta-inner {
    justify-items: start;
  }

  .footer-note {
    text-align: left;
  }

  .apply-nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 640px) {
  .site-logo {
    width: 136px;
  }

  .hero-content {
    width: min(100% - 28px, 690px);
    padding-block: 42px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-proof {
    gap: 14px;
  }

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

  .button {
    min-height: 46px;
  }

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

  .section,
  .intro-band,
  .cta-band {
    padding-block: 46px;
  }

  .info-card,
  .value-card,
  .process-list li,
  .control-panel {
    padding: 18px;
  }

  .process-list li {
    min-height: auto;
  }

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

  .control-row strong {
    text-align: left;
  }
}
