/* =========================================================
   My New Landlord — Property Management (Tampa Bay)
   Design system + global styles
   ========================================================= */

:root {
  /* Brand palette — coastal Tampa Bay: deep navy, gulf teal, sunset coral */
  --navy:        #0d2a43;
  --navy-700:    #143a5c;
  --navy-600:    #1d4d77;
  --teal:        #1ba1a8;
  --teal-600:    #178e94;
  --teal-50:     #e8f6f7;
  --coral:       #ff6b5e;
  --coral-600:   #f2543f;
  --sand:        #f6f3ee;
  --ink:         #16242f;
  --slate:       #5b6b78;
  --line:        #e4e8ec;
  --white:       #ffffff;
  --success:     #1e9e6a;

  /* Typography */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13,42,67,.06), 0 2px 8px rgba(13,42,67,.05);
  --shadow:    0 10px 30px rgba(13,42,67,.10);
  --shadow-lg: 0 24px 60px rgba(13,42,67,.16);
  --transition: .2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--slate); }
ul { color: var(--slate); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #c4d2dd; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 14px;
}
.section--navy .eyebrow { color: #5fd0d6; }
.lead { font-size: 1.15rem; max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-50); color: var(--navy); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.18rem; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--navy); }
.nav__links a:hover, .nav__links a.active { color: var(--teal-600); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

@media (max-width: 960px) {
  .nav__links, .nav__cta .btn--phone { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 0; right: 0; top: 74px; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: var(--shadow);
  }
  .nav__links.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(27,161,168,.20), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255,107,94,.16), transparent 55%),
    linear-gradient(160deg, #0d2a43 0%, #143a5c 60%, #1d4d77 100%);
  color: #fff;
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 96px 0; }
.hero h1 { color: #fff; }
.hero p { color: #cfe0ec; font-size: 1.18rem; max-width: 52ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  color: #e6f0f6; font-size: .85rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__card {
  background: rgba(255,255,255,.97); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.hero__card h3 { margin-bottom: 4px; }
.hero__card .muted { color: var(--slate); font-size: .92rem; margin-bottom: 18px; }
.hero__wave { display: block; width: 100%; height: auto; margin-bottom: -6px; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .98rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: #fff; line-height: 1; }
.stat__label { color: #9fb6c7; font-size: .92rem; margin-top: 8px; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2,1fr); gap: 30px; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; }

/* ---------- Page header banner ---------- */
.page-banner {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(27,161,168,.22), transparent 60%),
    linear-gradient(160deg, #0d2a43, #1d4d77);
  color: #fff; padding: 70px 0 80px; text-align: center;
}
.page-banner h1 { color: #fff; }
.page-banner p { color: #cfe0ec; max-width: 60ch; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .85rem; color: #9fb6c7; margin-bottom: 10px; }
.breadcrumb a { color: #9fb6c7; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--navy); }
.field .req { color: var(--coral-600); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(27,161,168,.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .82rem; color: var(--slate); }
.fieldset-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; margin: 8px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.fieldset-title:first-child { border-top: 0; padding-top: 0; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-weight: 500; font-family: var(--font-body); color: var(--slate); font-size: .92rem; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 8px; }
.form-success {
  display: none; background: #e8f7ef; border: 1.5px solid #b8e6cd; color: #14653f;
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; font-weight: 500;
}
.form-success.show { display: block; }

/* Application / availability helper panels */
.notice-panel, .application-prep {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); margin-bottom: 30px;
}
.notice-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.notice-panel h2, .application-prep h2 { margin-bottom: 8px; }
.notice-panel p { margin-bottom: 0; }
.compact-list { margin: 0; }
.compact-list li { margin-bottom: 8px; }
.prep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.prep-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.prep-grid strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .92rem; margin-bottom: 6px; }
.prep-grid span { display: block; color: var(--slate); font-size: .88rem; line-height: 1.45; }
@media (max-width: 760px) { .notice-panel, .prep-grid { grid-template-columns: 1fr; } }

/* ---------- Property listings ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.filters select, .filters input { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .95rem; }
.property {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column;
}
.property:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property--featured { border: 2px solid rgba(27,161,168,.32); }
.property-grid { grid-template-columns: 1fr; }
.property-grid .property--featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: stretch; }
.property__media { background: var(--sand); border-right: 1px solid var(--line); }
.property__img { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg,#1d4d77,#1ba1a8); }
.property__img--soon {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 24%),
    linear-gradient(135deg,#0d2a43,#1ba1a8 70%,#ff6b5e);
}
.property__hero { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg,#1d4d77,#1ba1a8); overflow: hidden; }
.property__hero-button {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; appearance: none;
}
.property__hero-button:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }
.property__hero img, .property__hero-button img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.property__hero-button:hover img { transform: scale(1.02); }
.property__hero-hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(13,42,67,.88); color: #fff; border: 1px solid rgba(255,255,255,.28);
  font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  letter-spacing: .03em; pointer-events: none;
}
.property__hero span.tag, .property__img span.tag {
  position: absolute; top: 12px; left: 12px; background: var(--coral); color: #fff;
  font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em;
}
.property__hero span.tag--rented, .property__img span.tag--rented { background: var(--slate); }
.property-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.property-gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid rgba(13,42,67,.12); background: #fff; cursor: zoom-in; }
.property-gallery img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; transition: transform var(--transition); }
.property-gallery a:hover img { transform: scale(1.04); }
.property-gallery a::after {
  content: "View"; position: absolute; right: 6px; bottom: 6px;
  background: rgba(13,42,67,.82); color: #fff; border-radius: 999px;
  padding: 3px 7px; font-size: .66rem; font-weight: 700; opacity: 0;
  transform: translateY(4px); transition: opacity var(--transition), transform var(--transition);
}
.property-gallery a:hover::after, .property-gallery a:focus-visible::after { opacity: 1; transform: translateY(0); }
.property-gallery a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.property-gallery__note { margin: 0; padding: 0 14px 14px; color: var(--slate); font-size: .82rem; }
.property__body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.property__price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.property__price small { font-size: .8rem; color: var(--slate); font-weight: 500; }
.property__addr { font-weight: 600; color: var(--ink); margin: 6px 0 2px; }
.property__city { color: var(--slate); font-size: .92rem; margin-bottom: 14px; }
.property__summary { color: var(--slate); font-size: .95rem; margin-bottom: 16px; }
.property__meta { display: flex; flex-wrap: wrap; gap: 12px 16px; color: var(--slate); font-size: .9rem; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.property__meta span { display: inline-flex; align-items: center; gap: 6px; }
.property__actions { display: grid; gap: 10px; margin-top: 16px; }
.property__actions .btn { width: 100%; }
@media (max-width: 900px) {
  .property-grid .property--featured { grid-template-columns: 1fr; }
  .property__media { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .property-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ---------- Photo lightbox ---------- */
body.lightbox-open { overflow: hidden; }
.photo-lightbox[hidden] { display: none !important; }
.photo-lightbox {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  padding: 22px; background: rgba(5,16,28,.86); backdrop-filter: blur(8px);
}
.photo-lightbox__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: zoom-out; }
.photo-lightbox__panel {
  position: relative; z-index: 1; width: min(1120px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; align-items: center;
}
.photo-lightbox__image-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.photo-lightbox__image {
  display: block; max-width: 100%; max-height: min(78vh, 820px); object-fit: contain;
  border-radius: var(--radius); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.38);
}
.photo-lightbox__caption {
  color: #e8f6f8; text-align: center; font-size: .96rem; line-height: 1.5;
  max-width: 76ch; justify-self: center; margin: 0;
}
.photo-lightbox__close, .photo-lightbox__nav {
  border: 0; cursor: pointer; color: #fff; background: rgba(13,42,67,.88);
  box-shadow: var(--shadow); transition: transform var(--transition), background var(--transition);
}
.photo-lightbox__close:hover, .photo-lightbox__nav:hover { background: var(--teal); transform: scale(1.04); }
.photo-lightbox__close:focus-visible, .photo-lightbox__nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.photo-lightbox__close {
  position: absolute; right: 0; top: 0; z-index: 2; width: 44px; height: 44px;
  border-radius: 999px; font-size: 1.45rem; line-height: 1;
}
.photo-lightbox__nav {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; border-radius: 999px;
  transform: translateY(-50%); font-size: 2rem; line-height: 1;
}
.photo-lightbox__nav:hover { transform: translateY(-50%) scale(1.04); }
.photo-lightbox__nav--prev { left: 14px; }
.photo-lightbox__nav--next { right: 14px; }
@media (max-width: 620px) {
  .photo-lightbox { padding: 12px; }
  .photo-lightbox__panel { width: min(100%, calc(100vw - 18px)); }
  .photo-lightbox__image { max-height: 72vh; border-radius: var(--radius-sm); }
  .photo-lightbox__nav { width: 44px; height: 44px; font-size: 1.65rem; }
  .photo-lightbox__nav--prev { left: 8px; }
  .photo-lightbox__nav--next { right: 8px; }
  .photo-lightbox__close { top: 6px; right: 6px; }
}

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--reverse .split__media { order: 0; } }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: linear-gradient(135deg,#143a5c,#1ba1a8); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23178e94' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Pricing ---------- */
.price-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); position: relative; }
.price-card.featured::after { content:"Most popular"; position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--teal); color:#fff; font-size:.72rem; font-weight:700; padding:5px 14px; border-radius:999px; font-family:var(--font-head); letter-spacing:.04em; }
.price-card h3 { margin-bottom: 4px; }
.price-card .price { font-family: var(--font-head); font-weight:700; font-size:2.4rem; color:var(--navy); margin: 10px 0 2px; }
.price-card .price small { font-size: .9rem; color: var(--slate); font-weight:500; }
.price-card .check-list { flex:1; margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--teal-600); font-weight: 400; transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding-bottom: 22px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 10%, rgba(255,107,94,.28), transparent 60%),
    linear-gradient(135deg, var(--teal), var(--teal-600));
  border-radius: var(--radius); padding: 56px; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e7fbfc; max-width: 56ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote__by { display:flex; align-items:center; gap:12px; margin-top: 16px; }
.quote__av { width:44px; height:44px; border-radius:50%; background: linear-gradient(135deg,#1ba1a8,#ff6b5e); flex:none; }
.quote__by strong { display:block; color: var(--navy); font-family: var(--font-head); font-size:.95rem; }
.quote__by span { color: var(--slate); font-size:.85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cad7; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #b9cad7; display: block; margin-bottom: 10px; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand small { color: #5fd0d6; }
.footer-brand p { color: #9fb6c7; font-size: .95rem; max-width: 36ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 44px; padding-top: 22px; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8aa3b5; }
.footer-bottom a { display:inline; color:#8aa3b5; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--slate); }
.maxw-sm { max-width: 760px; margin-left:auto; margin-right:auto; }
.hide { display: none !important; }
[hidden] { display: none !important; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }


/* ---------- Resident hub additions ---------- */
.action-panel h3 { margin-bottom: 6px; }
.action-list { display: grid; gap: 12px; margin-top: 18px; }
.action-list a {
  display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--navy); box-shadow: var(--shadow-sm);
}
.action-list a:hover { border-color: var(--teal); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.action-list strong { display: block; font-family: var(--font-head); font-size: .98rem; margin-bottom: 3px; }
.action-list span { display: block; color: var(--slate); font-size: .88rem; line-height: 1.45; }
.resident-stats .stat__num { font-size: clamp(1.15rem, 3vw, 1.8rem); color: #fff; }
.resident-media {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, var(--navy-700), var(--teal) 70%, var(--coral));
}
.property-strip { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.property-strip img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
@media (max-width: 620px) { .action-list a { padding: 13px 14px; } }

/* ---------- Approved modern resident marketplace redesign (2026-07) ---------- */
body { background: #fbfaf8; }
.site-header { background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(13,42,67,.05); }
.nav__cta .btn--primary { background: var(--navy); }
.nav__cta .btn--primary:hover { background: var(--navy-700); }

.market-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 38px;
  background:
    radial-gradient(900px 420px at 86% 8%, rgba(27,161,168,.16), transparent 60%),
    radial-gradient(720px 380px at 2% 98%, rgba(255,107,94,.12), transparent 58%),
    #fbfaf8;
}
.market-hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: center; }
.market-hero h1, .market-page-hero h1, .property-detail-hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: .94; letter-spacing: -.065em; margin-bottom: 20px; }
.market-hero .lead, .market-page-hero p, .property-detail-hero .lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: #625f5a; max-width: 64ch; }
.market-hero__visual { position: relative; border-radius: 34px; overflow: hidden; min-height: 520px; box-shadow: 0 34px 90px rgba(13,42,67,.17); background: var(--sand); }
.market-hero__visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.market-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(13,42,67,.34)); pointer-events: none; }
.market-photo-card {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.72); border-radius: 20px; box-shadow: 0 18px 45px rgba(13,42,67,.18);
}
.market-photo-card strong { display:block; color: var(--navy); font-family: var(--font-head); }
.market-photo-card span { color: var(--slate); font-size: .92rem; }
.market-photo-card b { color: var(--coral-600); font-family: var(--font-head); font-size: 1.35rem; white-space: nowrap; }
.market-search {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center;
  max-width: 760px; margin: 30px 0 22px; overflow: hidden;
  background: #fff; border: 1px solid rgba(13,42,67,.11); border-radius: 999px;
  box-shadow: 0 18px 60px rgba(13,42,67,.10), 0 1px 0 rgba(255,255,255,.9) inset;
  color: var(--ink);
}
.market-search:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 22px 70px rgba(13,42,67,.13); }
.market-search__item { padding: 16px 22px; border-right: 1px solid var(--line); }
.market-search__item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .82rem; }
.market-search__item small { color: var(--slate); }
.market-search__button { margin-right: 8px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 700; }
.market-search + .hero__actions .btn--ghost { background: #fff; }
.section--market-metrics { padding: 28px 0 0; background: #fbfaf8; }
.market-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.market-metrics div { background: #fff; border: 1px solid rgba(13,42,67,.09); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.market-metrics strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.75rem); letter-spacing: -.04em; }
.market-metrics span { display:block; color: var(--slate); font-size: .92rem; margin-top: 3px; }
.market-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.market-section-head p { max-width: 52ch; margin: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-card { display:block; background:#fff; border:1px solid rgba(13,42,67,.09); border-radius: 22px; padding: 24px; color: var(--ink); box-shadow: var(--shadow-sm); }
.quick-card:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(27,161,168,.28); }
.quick-card span { display:grid; place-items:center; width:52px; height:52px; border-radius: 18px; background: var(--teal-50); margin-bottom: 18px; font-size: 1.35rem; }
.quick-card h3 { margin-bottom: 8px; }
.quick-card p { margin:0; font-size:.95rem; }
.availability-card { background:#fff; border:1px solid rgba(13,42,67,.10); border-radius: 28px; overflow:hidden; box-shadow: 0 24px 70px rgba(13,42,67,.10); }
.availability-card--home { display:grid; grid-template-columns: .88fr 1.12fr; align-items: stretch; }
.availability-card__media { min-height: 420px; position: relative; background: var(--sand); }
.availability-card__media img { width:100%; height:100%; min-height:420px; object-fit: cover; }
.availability-badge, .tag--soft {
  display:inline-flex; align-items:center; gap:6px; width:max-content;
  background: #fff1f3; color: #cc1f46; border: 1px solid rgba(255,107,94,.22);
  font-family: var(--font-head); font-size: .75rem; font-weight: 700; padding: 7px 12px; border-radius: 999px;
}
.availability-card__media .availability-badge, .listing-row__thumb .availability-badge { position:absolute; left:16px; top:16px; z-index:2; }
.availability-card__body { padding: clamp(28px, 4.8vw, 56px); }
.fact-pills { display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0 8px; }
.fact-pills span { display:inline-flex; align-items:center; border:1px solid var(--line); background:#fff; color:var(--navy); border-radius:999px; padding:8px 12px; font-size:.88rem; font-weight:700; }
.property__actions--inline { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.property__actions--inline .btn { width:auto; justify-content:center; }
.trust-panel { display:grid; grid-template-columns: .9fr 1.1fr; gap:42px; align-items:center; background:#fff; border:1px solid rgba(13,42,67,.09); border-radius:28px; padding: clamp(28px, 5vw, 54px); box-shadow: var(--shadow-sm); }
.steps--compact { gap: 16px; }
.steps--compact .step { background:#fbfaf8; border:1px solid var(--line); border-radius:18px; padding:16px; }
.steps--compact .step h3 { font-size: 1.05rem; }
.steps--compact .step p { font-size: .92rem; }

.market-page-hero, .property-detail-hero {
  background:
    radial-gradient(900px 440px at 88% -20%, rgba(27,161,168,.20), transparent 62%),
    linear-gradient(135deg, #0d2a43 0%, #173d5f 62%, #1ba1a8 160%);
  color:#fff; padding: 70px 0 82px;
}
.market-page-hero h1, .property-detail-hero h1 { color:#fff; max-width: 980px; }
.market-page-hero p, .property-detail-hero p { color:#d7e6ef; }
.market-page-hero .eyebrow, .property-detail-hero .eyebrow { color:#7ee3e8; }
.property-index { display:grid; gap:22px; }
.listing-row { display:grid; grid-template-columns: minmax(260px,.42fr) minmax(0,1fr); align-items:stretch; border-radius:28px; overflow:hidden; background:#fff; border:1px solid rgba(13,42,67,.10); box-shadow: var(--shadow-sm); }
.listing-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.listing-row__thumb { position:relative; min-height:280px; display:block; color:inherit; background: var(--sand); overflow:hidden; }
.listing-row__thumb img { width:100%; height:100%; min-height:280px; object-fit:cover; transition: transform var(--transition); }
.listing-row__thumb:hover img { transform: scale(1.03); }
.listing-row__body { padding: clamp(24px, 4vw, 36px); }
.listing-row__top { display:flex; justify-content:space-between; gap:18px; align-items:start; margin-bottom: 12px; }
.listing-row h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 8px 0 4px; }
.empty-note { margin-top: 36px; display:grid; grid-template-columns: .8fr 1.2fr; gap: 26px; align-items:center; background:#fff; border:1px dashed rgba(13,42,67,.20); border-radius:24px; padding:28px; }
.empty-note p { margin:0; }

.property-detail-hero__grid { display:grid; grid-template-columns: 1fr 360px; gap:44px; align-items:end; }
.detail-summary-card { background: rgba(255,255,255,.96); color: var(--ink); border:1px solid rgba(255,255,255,.68); border-radius:24px; padding:26px; box-shadow: 0 24px 70px rgba(5,16,28,.22); }
.detail-summary-card .check-list li { color: var(--ink); }
.detail-photo-grid { padding:0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.detail-photo-grid a { border-radius:18px; box-shadow: var(--shadow-sm); }
.detail-photo-grid img { aspect-ratio: 4 / 3; }
.detail-layout { display:grid; grid-template-columns: 1.2fr .8fr; gap:28px; align-items:start; }
.info-panel { background:#fff; border:1px solid rgba(13,42,67,.10); border-radius:26px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.info-panel--dark { background: var(--navy); color:#fff; }
.info-panel--dark h2 { color:#fff; }
.info-panel--dark p, .info-panel--dark li { color:#d7e6ef; }
.info-panel--dark .eyebrow { color:#7ee3e8; }
.info-panel--dark .check-list li::before { background-color: rgba(255,255,255,.14); }
.fact-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; margin-top:22px; }
.fact-grid div { background:#fbfaf8; border:1px solid var(--line); border-radius:18px; padding:18px; }
.fact-grid strong { display:block; color: var(--navy); font-family: var(--font-head); margin-bottom:5px; }
.fact-grid span { display:block; color: var(--slate); font-size:.94rem; line-height:1.45; }

@media (max-width: 980px) {
  .market-hero__grid, .availability-card--home, .trust-panel, .property-detail-hero__grid, .detail-layout { grid-template-columns: 1fr; }
  .market-hero__visual, .market-hero__visual img { min-height: 420px; }
  .quick-grid, .market-metrics { grid-template-columns: repeat(2, 1fr); }
  .listing-row { grid-template-columns: 1fr; }
  .market-section-head, .empty-note { display:block; }
  .market-section-head p, .empty-note p { margin-top: 10px; }
}
@media (max-width: 720px) {
  .market-hero { padding-top: 46px; }
  .market-search { grid-template-columns: 1fr; border-radius: 24px; }
  .market-search__item { border-right:0; border-bottom:1px solid var(--line); }
  .market-search__button { width:auto; height:auto; margin:8px; padding:14px 18px; border-radius: 18px; }
  .quick-grid, .market-metrics, .fact-grid { grid-template-columns: 1fr; }
  .detail-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property__actions--inline { flex-direction: column; }
  .property__actions--inline .btn { width:100%; }
}

/* ---------- Compact tenant portal homepage (2026-07) ---------- */
.tenant-portal-main { background: #fbfaf8; }
.portal-hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: flex-start;
  padding: 42px 0 48px;
  background:
    radial-gradient(760px 360px at 88% 0%, rgba(27,161,168,.13), transparent 62%),
    radial-gradient(620px 320px at 4% 100%, rgba(255,107,94,.10), transparent 58%),
    #fbfaf8;
}
.portal-panel {
  width: 100%;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(13,42,67,.10);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: 0 24px 70px rgba(13,42,67,.10);
}
.portal-hero__intro {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}
.portal-hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 14px;
}
.portal-hero .lead { max-width: 68ch; color: #5f686f; font-size: clamp(1.03rem, 2vw, 1.2rem); }
.portal-subnote {
  max-width: 24ch;
  margin: 0 0 6px;
  color: var(--slate);
  font-weight: 700;
}
.portal-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.portal-action {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(13,42,67,.10);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.portal-action:hover {
  color: var(--ink);
  transform: translateY(-4px);
  border-color: rgba(27,161,168,.34);
  box-shadow: var(--shadow);
}
.portal-action span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--teal-50);
  font-size: 1.45rem;
}
.portal-action--repair span { background: #fff1f3; }
.portal-action strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.15;
}
.portal-action small {
  display: block;
  color: var(--slate);
  font-size: .9rem;
  line-height: 1.4;
}
.portal-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  background: var(--sand);
  border: 1px solid rgba(13,42,67,.10);
  border-radius: 24px;
}
.portal-current h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); margin-bottom: 8px; }
.portal-current p { margin: 0; color: var(--slate); }
.portal-current__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.portal-alert {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(13,42,67,.10);
  color: var(--slate);
  font-size: .93rem;
}
.portal-alert strong { color: var(--navy); font-family: var(--font-head); }
@media (max-width: 980px) {
  .portal-hero__intro, .portal-current { display: block; }
  .portal-subnote { max-width: none; margin-top: 10px; }
  .portal-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-current__actions { justify-content: flex-start; margin-top: 16px; }
}
@media (max-width: 620px) {
  .container.nav { padding: 0 14px; }
  .nav { height: 66px; gap: 8px; }
  .brand { min-width: 0; gap: 8px; font-size: .96rem; line-height: 1.05; }
  .brand span { min-width: 0; }
  .brand small { font-size: .52rem; letter-spacing: .08em; margin-top: 2px; }
  .brand__mark { width: 32px; height: 32px; }
  .nav__cta { margin-left: auto; gap: 6px; }
  .nav__cta .btn--primary { padding: 8px 12px; border-width: 1.5px; font-size: .76rem; }
  .nav__toggle { padding: 6px 2px 6px 6px; }
  .nav__toggle span { width: 22px; margin: 4px 0; }
  .nav__links.open { top: 66px; padding: 14px 16px 20px; }
  .portal-hero { min-height: auto; padding: 20px 0 30px; }
  .portal-panel { padding: 18px; border-radius: 22px; }
  .portal-actions { grid-template-columns: 1fr; gap: 10px; }
  .portal-action { min-height: auto; display: grid; grid-template-columns: 46px 1fr; align-items: center; justify-content: start; gap: 12px; padding: 16px; border-radius: 18px; }
  .portal-action span { width: 46px; height: 46px; border-radius: 15px; font-size: 1.2rem; }
  .portal-action strong { font-size: 1rem; }
  .portal-action small { margin-top: 3px; font-size: .82rem; }
  .portal-current__actions { flex-direction: column; }
  .portal-current__actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .brand { font-size: .86rem; }
  .brand small { display: none; }
  .nav__cta .btn--primary { padding: 7px 10px; font-size: .7rem; }
}


/* ---------- Rental availability tabs / archive states (2026-07) ---------- */
.rental-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.rental-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1.5px solid rgba(13,42,67,.12);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.rental-tab:hover {
  color: var(--navy);
  border-color: rgba(27,161,168,.38);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.rental-tab--active, .rental-tab--active:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.availability-badge--rented, .tag--soft.tag--rented {
  background: #eef1f4;
  color: #52616f;
  border-color: #d8dee4;
}
@media (max-width: 520px) {
  .rental-tabs { flex-direction: column; }
  .rental-tab { width: 100%; }
}
