:root {
  --emerald: #087f5b;
  --midnight: #102a43;
  --lime: #b7e44c;
  --mist: #e8f5ef;
  --sand: #f6f1e8;
  --white: #ffffff;
  --text: #17202a;
  --muted: #62717f;
  --line: rgba(16, 42, 67, 0.13);
  --shadow: 0 22px 60px rgba(16, 42, 67, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 26px rgba(16, 42, 67, 0.08);
}

.brand {
  display: grid;
  gap: 0;
  letter-spacing: 0;
}

.brand span {
  color: var(--emerald);
  font-weight: 900;
  line-height: 1;
}

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

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  justify-content: center;
}

.main-nav a {
  color: var(--midnight);
  font-size: 0.88rem;
  font-weight: 700;
}

.header-actions,
.hero-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.language {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--midnight);
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
}

.btn-lime {
  background: var(--lime);
  color: var(--midnight);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 7px;
  width: 42px;
}

.menu-toggle span {
  background: var(--midnight);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  align-items: center;
  background: var(--sand);
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  min-height: 700px;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 76px) 86px;
}

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

.hero h1 {
  color: var(--midnight);
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  max-width: 900px;
}

.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 600;
  max-width: 650px;
}

.reveal {
  animation: riseIn 650ms ease both;
}

.collage {
  aspect-ratio: 1 / 1.02;
  min-height: 470px;
  position: relative;
}

.collage img {
  border: 8px solid var(--sand);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  position: absolute;
}

.collage-main {
  height: 68%;
  left: 8%;
  top: 18%;
  width: 68%;
}

.collage-top {
  height: 36%;
  right: 2%;
  top: 0;
  width: 48%;
}

.collage-bottom {
  bottom: 2%;
  height: 34%;
  right: 8%;
  width: 42%;
}

.rent-label {
  animation: floatLabel 3.8s ease-in-out infinite;
  background: var(--lime);
  border-radius: var(--radius);
  color: var(--midnight);
  font-size: 0.9rem;
  font-weight: 900;
  left: 0;
  padding: 12px 16px;
  position: absolute;
  top: 8%;
  z-index: 2;
}

.section-wide,
.section-narrow {
  margin: 0 auto;
  padding: 86px clamp(18px, 5vw, 76px);
}

.section-wide {
  max-width: 1440px;
}

.section-narrow {
  max-width: 1180px;
}

.search-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -52px;
  position: relative;
  z-index: 5;
}

.search-panel h2,
.section-heading h2,
.featured-copy h2,
.renters h2,
.owners h2,
.contact h2 {
  color: var(--midnight);
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 24px;
}

.search-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 1fr 1fr auto;
}

label {
  color: var(--midnight);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--emerald);
  outline: 3px solid rgba(8, 127, 91, 0.14);
}

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

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

.intent-card {
  border-radius: var(--radius);
  min-height: 270px;
  padding: 30px;
}

.intent-card span {
  display: block;
  font-weight: 900;
  margin-bottom: 54px;
}

.intent-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  margin: 0 0 14px;
}

.intent-card p {
  color: inherit;
  font-weight: 600;
}

.intent-card a {
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.intent-search {
  background: var(--emerald);
  color: var(--white);
}

.intent-owner {
  background: var(--midnight);
  color: var(--white);
}

.intent-help {
  background: var(--lime);
  color: var(--midnight);
}

.brand-statement {
  background: var(--emerald);
  color: var(--white);
  padding: clamp(76px, 10vw, 130px) clamp(18px, 5vw, 76px);
}

.brand-statement div {
  margin: 0 auto;
  max-width: 1120px;
}

.lime-line {
  background: var(--lime);
  display: block;
  height: 8px;
  margin-bottom: 34px;
  width: 96px;
}

.brand-statement h2 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0 0 26px;
}

.brand-statement p {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600;
  max-width: 760px;
}

.section-heading {
  margin-bottom: 30px;
}

.type-scroll {
  display: grid;
  gap: 16px;
  grid-auto-columns: minmax(240px, 310px);
  grid-auto-flow: column;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.type-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
}

.type-card img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  width: 100%;
}

.type-card h3,
.type-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.type-card h3 {
  color: var(--midnight);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.type-card p {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.featured {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.35fr 0.65fr;
}

.featured-image {
  border-radius: var(--radius);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.featured-image img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.featured-image span {
  background: var(--lime);
  border-radius: var(--radius);
  color: var(--midnight);
  font-weight: 900;
  left: 22px;
  padding: 10px 14px;
  position: absolute;
  top: 22px;
}

.featured-copy strong {
  color: var(--emerald);
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.featured-copy p {
  color: var(--muted);
  font-weight: 700;
}

.locations {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 360px;
  position: relative;
}

.locations .section-heading {
  grid-column: 1 / -1;
}

.location-list {
  border-top: 1px solid var(--line);
}

.location-list a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 220px 1fr auto;
  padding: 22px 0;
}

.location-list span {
  color: var(--midnight);
  font-size: 1.5rem;
  font-weight: 900;
}

.location-list small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.location-list b {
  color: var(--emerald);
  font-size: 1.8rem;
  transition: transform 180ms ease;
}

.location-list a:hover b {
  transform: translateX(5px);
}

.location-preview {
  align-self: start;
  aspect-ratio: 0.82 / 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  position: sticky;
  top: 100px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.budget {
  background: var(--mist);
  max-width: none;
}

.budget .section-heading,
.budget-bands,
.demo-results {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.budget-bands {
  display: grid;
  gap: 10px;
}

.budget-bands button {
  align-items: center;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--midnight);
  cursor: pointer;
  display: flex;
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  font-weight: 900;
  justify-content: space-between;
  min-height: 82px;
  padding: 18px 24px;
  text-align: left;
}

.budget-bands button::after {
  color: var(--emerald);
  content: "→";
}

.budget-bands button.is-active {
  background: var(--midnight);
  color: var(--white);
}

.demo-results {
  color: var(--muted);
  font-weight: 700;
  margin-top: 22px;
}

.principles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.principles article,
.safety-grid article {
  border-top: 6px solid var(--emerald);
  padding-top: 22px;
}

.principles h2,
.safety-grid h3 {
  color: var(--midnight);
  font-size: 1.8rem;
  margin: 0 0 10px;
}

.principles p,
.safety-grid p,
.renters p,
.contact-copy p {
  color: var(--muted);
  font-weight: 600;
}

.renters {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: 0.95fr 1.05fr;
}

.renters img {
  aspect-ratio: 1 / 0.86;
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}

.owners {
  background: var(--midnight);
  color: var(--white);
  padding: clamp(76px, 10vw, 126px) clamp(18px, 5vw, 76px);
}

.owners div {
  margin: 0 auto;
  max-width: 1040px;
}

.owners .eyebrow {
  color: var(--lime);
}

.owners h2 {
  color: var(--white);
  max-width: 860px;
}

.owners p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  font-weight: 600;
  max-width: 620px;
}

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

.contact {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-copy a {
  color: var(--emerald);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
}

.contact-form,
.owner-form {
  display: grid;
  gap: 14px;
}

.site-footer {
  background: var(--midnight);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1.3fr 1fr;
  padding: 48px clamp(18px, 5vw, 76px);
}

.site-footer h2,
.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 700;
}

.site-footer > p {
  grid-column: 1 / -1;
}

.modal {
  align-items: center;
  background: rgba(16, 42, 67, 0.7);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  animation: modalIn 180ms ease both;
  background: var(--white);
  border-radius: var(--radius);
  max-height: 92vh;
  max-width: 620px;
  overflow: auto;
  padding: 30px;
  position: relative;
  width: min(100%, 620px);
}

.modal-close {
  background: var(--mist);
  border: 0;
  border-radius: 50%;
  color: var(--midnight);
  cursor: pointer;
  font-size: 1.8rem;
  height: 42px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
}

.modal-label {
  color: var(--emerald);
  font-weight: 900;
}

.modal-panel h2 {
  color: var(--midnight);
  font-size: 2.1rem;
  line-height: 1;
  margin: 18px 50px 12px 0;
}

.modal-price {
  color: var(--emerald);
  font-size: 1.5rem;
  font-weight: 900;
}

.mobile-sticky-cta {
  background: var(--emerald);
  bottom: 12px;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(16, 42, 67, 0.22);
  color: var(--white);
  display: none;
  font-weight: 900;
  left: 12px;
  min-height: 52px;
  padding: 14px 20px;
  position: fixed;
  right: 12px;
  text-align: center;
  z-index: 18;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatLabel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.is-open,
  .header-actions.is-open {
    background: var(--white);
    display: flex;
    grid-column: 1 / -1;
    justify-content: start;
  }

  .main-nav.is-open {
    align-items: stretch;
    flex-direction: column;
  }

  .hero,
  .featured,
  .locations,
  .renters,
  .contact {
    grid-template-columns: 1fr;
  }

  .collage {
    min-height: 560px;
  }

  .search-form,
  .principles,
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-form .btn {
    grid-column: 1 / -1;
  }

  .location-preview {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .hero {
    min-height: auto;
    padding: 42px 16px 78px;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.9rem);
  }

  .hero-actions,
  .header-actions.is-open {
    align-items: stretch;
    flex-direction: column;
  }

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

  .collage {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .collage img {
    border-width: 0;
    height: auto;
    position: static;
    width: 100%;
  }

  .collage-main,
  .collage-top,
  .collage-bottom {
    aspect-ratio: 1.35 / 1;
  }

  .rent-label {
    left: 12px;
    top: 12px;
  }

  .section-wide,
  .section-narrow {
    padding: 62px 16px;
  }

  .search-panel {
    margin: -38px 12px 0;
    padding: 24px 16px;
  }

  .search-form,
  .intent-grid,
  .principles,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .intent-card {
    min-height: 230px;
  }

  .brand-statement h2 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .featured-image {
    min-height: 360px;
  }

  .location-list a {
    grid-template-columns: 1fr auto;
  }

  .location-list small {
    grid-column: 1 / -1;
  }

  .budget-bands button {
    min-height: 70px;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }
}
