/* leaseproper.com — Proper-T LLC. Custom rebuild (light / amber / Lato + Inter). */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --amber: #faa003;
  --amber-dark: #e08e00;
  --ink: #334155;        /* slate body text */
  --dark: #1f2a44;       /* headings / navy accents */
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f6f8fb;       /* light section bg */
  --line: #e6eaf0;
  --radius: 14px;
  --pill: 60px;
  --shadow: 0 4px 18px rgba(31, 42, 68, 0.08);
  --shadow-lg: 0 12px 36px rgba(31, 42, 68, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; }
h1, h2, h3, h4, .brand { font-family: Lato, system-ui, sans-serif; color: var(--dark); }
h1, h2 { font-weight: 900; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: var(--dark); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* Header */
header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 14px 22px; gap: 16px; }
.brand { color: var(--dark); text-decoration: none; font-weight: 900; font-size: 1.35rem; letter-spacing: 0.04em; }
.brand span { color: var(--amber); }
nav ul { display: flex; gap: 24px; list-style: none; align-items: center; flex-wrap: wrap; }
nav a { color: var(--dark); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
nav a:hover, nav a[aria-current="page"] { color: var(--amber-dark); }
.nav-toggle { display: none; background: none; border: 0; color: var(--dark); font-size: 1.6rem; cursor: pointer; }

/* Buttons — amber pills */
.btn { display: inline-block; background: var(--amber); color: #1a1206; text-decoration: none; font-family: Inter, sans-serif; font-weight: 700;
  font-size: 0.95rem; padding: 13px 30px; border-radius: var(--pill); border: 0; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--amber); }
.btn-outline:hover { background: var(--amber); color: #1a1206; }
.btn-ghost { background: #fff; color: var(--dark); border: 1px solid var(--line); }

/* Hero (YouTube background video, matching the current site) */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 150px 22px 160px;
  background: #1f2a44 url('https://img.youtube.com/vi/9H3iuLxPY5E/maxresdefault.jpg') center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video::after { content: ""; position: absolute; inset: 0; background: rgba(20,28,46,.55); z-index: 1; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; border: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; }
.hero .tagline { font-family: Inter, sans-serif; font-weight: 500; font-size: clamp(1rem, 2vw, 1.2rem); color: #f1f5f9; margin: 18px auto 30px; max-width: 640px; }
.hero .btn { margin: 6px; }

/* Page hero (interior pages) */
.page-hero { background: var(--soft); text-align: center; padding: 70px 22px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--muted); margin-top: 10px; font-size: 1.02rem; }

/* Sections */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700; color: var(--amber-dark); text-align: center; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 1.06rem; }
.soft { background: var(--soft); }

/* Two big choice cards */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.choice { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; box-shadow: var(--shadow); display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.choice::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(20,28,46,0) 30%, rgba(20,28,46,.82)); }
.choice .choice-label { position: relative; padding: 26px; }
.choice h3 { color: #fff; font-size: 1.5rem; }
.choice p { color: #e8edf5; font-size: .95rem; margin-top: 4px; }

/* Feature cards (the Proper-T Difference) */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 8px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; box-shadow: var(--shadow); }
.feature .ic { width: 54px; height: 54px; border-radius: 50%; background: rgba(250,160,3,.14); color: var(--amber-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* Listing search + cards */
.search-bar { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); margin-top: 10px; align-items: end; }
.search-bar .field { margin: 0; }
.search-bar label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.search-bar input, .search-bar select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-photo { aspect-ratio: 4/3; background: linear-gradient(135deg,#dfe6f0,#c7d2e0); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.08rem; line-height: 1.35; }
.card-meta { color: var(--muted); font-size: .82rem; margin: 8px 0 12px; }
.card p { font-size: .95rem; color: #475569; flex: 1; }
.card-price { color: var(--dark); font-weight: 800; font-family: Lato, sans-serif; font-size: 1.05rem; }
.card-price span { color: var(--muted); font-weight: 400; font-size: .8rem; }
.card .btn { margin-top: 18px; align-self: flex-start; padding: 11px 24px; }

/* Housing-solutions verticals */
.vert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 8px; }
.vert { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.vert:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.vert .vert-top { height: 120px; background: var(--dark); display: flex; align-items: center; justify-content: center; color: var(--amber); font-size: 2rem; }
.vert .vert-body { padding: 20px 22px; }
.vert h3 { font-size: 1.1rem; margin-bottom: 6px; }
.vert p { color: var(--muted); font-size: .92rem; }

/* Reviews */
.review { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 30px; box-shadow: var(--shadow); margin-top: 22px; }
.review p { font-style: italic; color: #475569; }
.review cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: var(--dark); }
.stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 8px; }
.stat { text-align: center; }
.stat .num { font-size: 3rem; font-weight: 900; color: var(--dark); font-family: Lato, sans-serif; }
.stat .label { text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; color: var(--muted); }

/* Map */
.map-section { padding: 0; }
.map-layout { display: grid; grid-template-columns: 360px 1fr; min-height: 560px; }
.map-list { overflow-y: auto; max-height: 620px; background: #fff; border-right: 1px solid var(--line); }
.map-list .map-card { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.map-list .map-card:hover, .map-list .map-card.active { background: var(--soft); }
.map-card img { width: 92px; height: 70px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; background: #dfe6f0; }
.map-card .mc-body h4 { font-size: .95rem; color: var(--dark); line-height: 1.25; margin-bottom: 4px; }
.map-card .mc-meta { font-size: .74rem; color: var(--muted); }
.map-card .mc-price { font-family: Lato, sans-serif; font-weight: 800; color: var(--dark); font-size: .85rem; margin-top: 4px; }
#map { height: 560px; width: 100%; z-index: 1; }
.map-popup img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.map-popup h4 { color: var(--dark); font-size: .95rem; margin-bottom: 4px; }
.map-popup a { color: var(--amber-dark); font-weight: 700; font-size: .82rem; }
@media (max-width: 860px) { .map-layout { grid-template-columns: 1fr; } #map { height: 400px; } .map-list { max-height: 280px; order: 2; } }

/* Property detail */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; margin-top: 28px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 150px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; background: #dfe6f0; }
.gallery .g-main { grid-column: 1; grid-row: 1 / span 2; height: 308px; }
.gallery .more { position: relative; }
.gallery .more::after { content: attr(data-more); position: absolute; inset: 0; background: rgba(20,28,46,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-family: Lato, sans-serif; font-size: 1.1rem; }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px 18px; margin-top: 16px; list-style: none; }
.amenity-grid li { font-size: .95rem; color: #475569; padding-left: 22px; position: relative; }
.amenity-grid li::before { content: '✓'; color: var(--amber-dark); position: absolute; left: 0; font-weight: 700; }
#prop-map { height: 300px; border-radius: var(--radius); margin-top: 16px; z-index: 1; }
.booking-widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; position: sticky; top: 90px; }
.booking-widget h3 { font-size: 1.15rem; margin-bottom: 4px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 8px; }
.cal-head button { background: #fff; border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cal-grid .dow { font-size: .65rem; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-day { text-align: center; padding: 7px 0; font-size: .82rem; border-radius: 8px; cursor: pointer; }
.cal-day.empty { visibility: hidden; }
.cal-day.unavail { color: #cbd5e1; text-decoration: line-through; cursor: not-allowed; }
.cal-day.avail:hover { background: var(--soft); }
.cal-day.sel { background: var(--amber); color: #1a1206; }
.cal-day.inrange { background: rgba(250,160,3,.18); }
.quote-box { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .95rem; }
.quote-box .row { display: flex; justify-content: space-between; margin-bottom: 8px; color: #475569; }
.quote-box .row.total { font-weight: 800; color: var(--dark); font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.field input, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.muted { color: var(--muted); font-size: .9rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,20,34,.92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2rem; background: none; border: 0; cursor: pointer; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 28px; align-items: start; }
.summary-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: sticky; top: 90px; }
#payment-element { margin: 16px 0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: .9rem; }
.check-row input { margin-top: 4px; }
.error-text { color: #b3261e; font-size: .9rem; margin-top: 10px; }

/* LTR / embeds */
.embed-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; margin-top: 20px; }
.embed-wrap iframe { width: 100%; min-height: 760px; border: 0; display: block; }

/* Footer */
footer { background: var(--dark); color: #aeb9cc; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 32px; }
footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
footer a { color: var(--amber); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; text-align: center; font-size: .8rem; }

@media (max-width: 860px) {
  .detail-grid, .checkout-grid { grid-template-columns: 1fr; }
  .booking-widget, .summary-box { position: static; }
  .choice-grid { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav { display: none; width: 100%; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  nav li { padding: 8px 0; }
  .nav-inner { flex-wrap: wrap; }
  .hero { padding: 96px 20px 100px; }
  section { padding: 52px 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-main { grid-column: 1 / span 2; }
}
