/* ============================================================
   We Rent Houses COS — shared styles
   Direction: "Mountain Bold" — full-bleed dark hero, big type,
   mountain blue & pine green, warm sand/cream, gold accent.
   ============================================================ */

:root {
  --navy-deep: #0E2530;
  --navy: #15323F;
  --pine: #2C5547;
  --pine-deep: #1E3E33;
  --blue: #3F6E82;
  --blue-light: #6E9DAF;
  --sand: #F4EEE2;
  --cream: #FBF7EF;
  --ink: #20302F;
  --ink-soft: #4A5A57;
  --gold: #D8A24A;
  --gold-deep: #B98328;
  --line: rgba(21, 50, 63, 0.12);
  --shadow-lg: 0 30px 60px -28px rgba(14, 37, 48, 0.45);
  --shadow-md: 0 14px 34px -18px rgba(14, 37, 48, 0.35);
  --maxw: 1200px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Hanken Grotesk'; font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 10px; cursor: pointer;
  border: 1.6px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #e3b25e; box-shadow: 0 12px 26px -12px rgba(216,162,74,.7); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: #346250; box-shadow: 0 12px 26px -12px rgba(44,85,71,.6); }
.btn-cream { background: var(--cream); color: var(--navy-deep); }
.btn-cream:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(251,247,239,.42); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(251,247,239,.08); }
.btn-ghost-dark { background: transparent; color: var(--navy); border-color: rgba(21,50,63,.28); }
.btn-ghost-dark:hover { border-color: var(--navy); background: rgba(21,50,63,.05); }
.btn-sm { padding: 11px 19px; font-size: 14.5px; border-radius: 8px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,37,48,.0); transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled { background: var(--navy-deep); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.site-header.solid { background: var(--navy-deep); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 21px; color: var(--cream); letter-spacing: -.01em; display:flex; align-items:center; gap:10px; }
.brand .cos { color: var(--gold); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(251,247,239,.86); font-weight: 500; font-size: 15.5px; transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--cream); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: .25s; }

/* ---------- Mountain motif ---------- */
.mtn-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; display: block; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--cream); margin-top: calc(-1 * var(--header-h)); }
.hero-photo {
  position: absolute; inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1c4150, #163a30);
}
.hero-photo .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(14,37,48,.86) 0%, rgba(14,37,48,.62) 34%, rgba(14,37,48,.30) 60%, rgba(14,37,48,.20) 100%),
    linear-gradient(180deg, rgba(14,37,48,.55) 0%, rgba(14,37,48,.30) 30%, rgba(14,37,48,.55) 72%, rgba(14,37,48,.92) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 16px, transparent 16px 32px);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .82fr; gap: 56px; align-items: center; padding: calc(56px + var(--header-h)) 0 130px; }
.hero-eyebrow { font-size: 13px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 26px; }
.hero h1 { font-size: clamp(54px, 7vw, 104px); line-height: .94; font-weight: 800; letter-spacing: -.025em; }
.hero h1 .alt { color: var(--blue-light); }
.hero-sub { font-size: 19.5px; line-height: 1.55; color: rgba(251,247,239,.84); max-width: 480px; margin-top: 26px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display:flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stat .n { font-family:'Bricolage Grotesque'; font-size: 27px; font-weight: 800; color: var(--cream); }
.hero-trust .stat .l { font-size: 13.5px; color: rgba(251,247,239,.62); margin-top: 2px; }

/* ---------- Lead card ---------- */
.lead-card {
  background: var(--cream); color: var(--ink); border-radius: 20px; padding: 30px 28px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.lead-card h3 { font-size: 22px; color: var(--navy); font-weight: 800; }
.lead-card .lc-sub { font-size: 14.5px; color: var(--ink-soft); margin: 7px 0 20px; line-height:1.45; }
.lead-field {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 15px;
  font-family: 'Hanken Grotesk'; font-size: 15px; color: var(--ink); background: #fff; margin-bottom: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-field::placeholder { color: rgba(32,48,47,.45); }
.lead-field:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(44,85,71,.12); }
.lead-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.lead-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 13px; }
.lead-note b { color: var(--pine); font-weight: 700; }

/* ---------- Section scaffolding ---------- */
.section { padding: 92px 0; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--pine); }
.section-head { max-width: 620px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; color: var(--navy); font-weight: 800; letter-spacing: -.02em; margin-top: 16px; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Three-up cards ---------- */
.threeup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.aud-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.aud-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(14,37,48,.4); }
.aud-photo { height: 188px; position: relative; }
.ph {
  position: relative;
  background:
    linear-gradient(135deg, rgba(63,110,130,.16), rgba(44,85,71,.2)),
    repeating-linear-gradient(45deg, rgba(0,0,0,.025) 0 12px, transparent 12px 24px),
    var(--sand);
  display: flex; align-items: center; justify-content: center;
}
.ph[data-label]::after {
  content: attr(data-label); position: absolute; bottom: 11px; left: 12px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--navy); opacity: .42; background: rgba(255,255,255,.5); padding: 3px 8px; border-radius: 4px;
}
.ph svg.ph-ic { width: 40px; height: 40px; opacity: .3; }
.aud-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.aud-body { padding: 26px 26px 30px; flex: 1; display:flex; flex-direction:column; }
.aud-body .tag { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.aud-body h3 { font-size: 25px; color: var(--navy); font-weight: 800; margin: 8px 0 10px; }
.aud-body p { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 16px; }
.aud-body .aud-link { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--pine); display:inline-flex; gap:7px; align-items:center; }
.aud-body .aud-link:hover { gap: 11px; }

/* ---------- Services strip ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 40px; margin-top: 44px; }
.svc { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; }
.svc .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: rgba(44,85,71,.1); display: flex; align-items: center; justify-content: center; }
.svc .ic svg { width: 21px; height: 21px; stroke: var(--pine); fill: none; stroke-width: 1.7; }
.svc h4 { font-size: 17px; color: var(--navy); font-weight: 700; }
.svc p { font-size: 14.5px; color: var(--ink-soft); margin: 4px 0 0; line-height: 1.5; }

/* ---------- Contact strip ---------- */
.contact-band { position: relative; overflow: hidden; background: var(--pine-deep); color: var(--cream); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 80px 0; }
.contact-inner h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.contact-inner .c-sub { font-size: 18px; line-height: 1.6; color: rgba(251,247,239,.82); margin-top: 16px; max-width: 440px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.cd-row { display: flex; gap: 15px; align-items: flex-start; }
.cd-row .ic { width: 46px; height: 46px; flex:none; border-radius: 12px; background: rgba(251,247,239,.1); display:flex; align-items:center; justify-content:center; }
.cd-row .ic svg { width: 22px; height: 22px; stroke: var(--gold); fill:none; stroke-width: 1.7; }
.cd-row .lbl { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,247,239,.6); font-weight: 600; }
.cd-row .val { font-size: 18px; font-weight: 600; color: var(--cream); margin-top: 3px; }
.cd-row .val a:hover { color: var(--gold); }
.cd-row .val small { display:block; font-size: 13.5px; font-weight: 400; color: rgba(251,247,239,.62); margin-top: 3px; }

/* ---------- Tenant CTA band ---------- */
.tenant-band { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--cream); text-align: center; }
.tenant-inner { position: relative; z-index: 2; padding: 96px 0 120px; }
.tenant-inner .eyebrow { color: var(--gold); }
.tenant-inner h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin-top: 16px; }
.tenant-inner p { font-size: 19px; color: rgba(251,247,239,.82); max-width: 540px; margin: 18px auto 0; line-height: 1.55; }
.tenant-inner .btn { margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(251,247,239,.7); padding: 70px 0 34px; border-top: 1px solid rgba(251,247,239,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer p.about { font-size: 15px; line-height: 1.6; max-width: 280px; }
.footer h5 { font-family:'Hanken Grotesk'; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(251,247,239,.5); font-weight: 700; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 15px; color: rgba(251,247,239,.78); transition: color .15s ease; }
.footer ul a:hover { color: var(--gold); }
.footer .foot-contact { font-size: 15px; line-height: 1.7; }
.footer .foot-contact a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(251,247,239,.1); font-size: 13.5px; color: rgba(251,247,239,.5); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a:hover { color: var(--gold); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--cream); }
.page-hero-photo { position: absolute; inset: 0; }
.page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: 0; }
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(14,37,48,.90) 0%, rgba(14,37,48,.70) 38%, rgba(14,37,48,.38) 66%, rgba(14,37,48,.28) 100%),
    linear-gradient(180deg, rgba(14,37,48,.45) 0%, rgba(14,37,48,.30) 36%, rgba(14,37,48,.62) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 16px, transparent 16px 32px);
}
.page-hero-inner { position: relative; z-index: 2; padding: 70px 0 120px; max-width: 720px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: .98; font-weight: 800; letter-spacing: -.025em; margin-top: 18px; }
.page-hero p { font-size: 19.5px; line-height: 1.55; color: rgba(251,247,239,.84); margin-top: 20px; }

/* ---------- Form embed panel ---------- */
.form-section { background: var(--sand); padding: 0 0 96px; }
.form-shell {
  margin-top: -78px; position: relative; z-index: 5;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.form-shell-head { padding: 30px 38px; border-bottom: 1px solid var(--line); background: var(--cream); }
.form-shell-head h2 { font-size: 26px; color: var(--navy); font-weight: 800; }
.form-shell-head p { font-size: 15.5px; color: var(--ink-soft); margin: 6px 0 0; }
.form-embed { padding: 18px 26px 30px; min-height: 300px; }
.form-embed .lacrm-embed { margin: 0; }
.embed-fallback { padding: 40px; text-align: center; color: var(--ink-soft); font-size: 15px; }
.embed-fallback a { color: var(--pine); font-weight: 700; text-decoration: underline; }

/* ---------- Info aside (interior pages) ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.info-list .il { display: flex; gap: 14px; align-items: flex-start; }
.info-list .il .ic { width: 40px; height:40px; flex:none; border-radius: 10px; background: rgba(44,85,71,.1); display:flex; align-items:center; justify-content:center; }
.info-list .il .ic svg { width: 20px; height: 20px; stroke: var(--pine); fill:none; stroke-width: 1.7; }
.info-list .il h4 { font-size: 16.5px; color: var(--navy); font-weight: 700; }
.info-list .il p { font-size: 14.5px; color: var(--ink-soft); margin: 3px 0 0; line-height: 1.5; }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: calc(34px + var(--header-h)) 0 120px; }
  .lead-card { max-width: 460px; }
  .threeup { grid-template-columns: 1fr; max-width: 460px; }
  .services { grid-template-columns: 1fr 1fr; }
  .contact-inner, .info-grid { grid-template-columns: 1fr; gap: 36px; }
  /* stacked: don't let the form-shell's desktop lift pull it up into the card above */
  .info-grid .form-shell { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .brand { font-size: 18px; gap: 8px; padding-right: 16px; }
  .nav { gap: 14px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 22px 22px;
    box-shadow: 0 20px 30px -16px rgba(0,0,0,.5); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid rgba(251,247,239,.08); }
  .nav-links .btn { margin-top: 12px; width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-trust { gap: 20px; }
  /* give the interior page hero room below the sticky header on mobile */
  .page-hero-inner { padding: 104px 0 84px; }
}