/*--------------------------------------------------------------
# Home Sweet LLC - additions on top of the iLanding template
# Uses the template's colour variables, so changing --accent-color
# in main.css re-themes these components too.
--------------------------------------------------------------*/

/* Bootstrap primary buttons follow the template accent colour */
.btn-primary {
  --bs-btn-bg: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-bg: color-mix(in srgb, var(--accent-color), #000 12%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--accent-color), #000 12%);
  --bs-btn-active-bg: color-mix(in srgb, var(--accent-color), #000 18%);
  --bs-btn-active-border-color: color-mix(in srgb, var(--accent-color), #000 18%);
}
.btn-outline-primary {
  --bs-btn-color: var(--accent-color);
  --bs-btn-border-color: var(--accent-color);
  --bs-btn-hover-bg: var(--accent-color);
  --bs-btn-hover-border-color: var(--accent-color);
  --bs-btn-active-bg: var(--accent-color);
}
.text-primary { color: var(--accent-color) !important; }
.form-control:focus, .form-select:focus, .form-check-input:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}
.form-check-input:checked { background-color: var(--accent-color); border-color: var(--accent-color); }
.pagination { --bs-pagination-active-bg: var(--accent-color); --bs-pagination-active-border-color: var(--accent-color); --bs-pagination-color: var(--accent-color); }

/* ---------- Header ---------- */
.header .logo .brand-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--accent-color); margin-right: 8px; }
/* Home Sweet "HS" house mark used inside badges/text: sized like an icon */
.hs-mark-inline { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex-shrink: 0; }
.header .logo h1 { font-size: 26px; margin: 0; font-weight: 700; }
.header-signin { font-family: var(--nav-font); font-size: 15px; font-weight: 500; color: var(--nav-color); margin-left: 24px; }
.header-signin:hover { color: var(--nav-hover-color); }
.header .header-container > .d-flex .btn-getstarted { margin-left: 16px; }
@media (max-width: 1200px) {
  .header .header-container > .d-flex { order: 2; }
  .header .header-container > .d-flex .btn-getstarted { margin: 0 10px 0 0; }
  .header .logo h1 { font-size: 20px; }
  .header .logo .brand-icon { width: 26px; height: 26px; }
}
@media (max-width: 420px) {
  .header .logo h1 { font-size: 17px; }
}
/* Sign-out button styled like a dropdown link */
.nav-logout-form { margin: 0; }
.nav-logout {
  background: none; border: 0; width: 100%; text-align: left;
  padding: 10px 20px; font-size: 15px; font-family: var(--nav-font);
  color: var(--nav-dropdown-color); display: flex; align-items: center;
}
.nav-logout:hover { color: var(--nav-dropdown-hover-color); }

/* ---------- Flash messages ---------- */
.hs-messages {
  position: fixed; top: 96px; left: 0; right: 0; z-index: 996;
  max-width: 720px; pointer-events: none;
}
.hs-messages .alert { pointer-events: auto; border-radius: 14px; }
@media (max-width: 1199px) { .hs-messages { top: 80px; } }

/* ---------- Page title on inner pages ---------- */
.page-title { padding: 150px 0 50px 0; }
.page-title .page-subtitle { color: color-mix(in srgb, var(--default-color), transparent 35%); margin-bottom: 14px; }
@media (max-width: 768px) { .page-title { padding: 120px 0 36px; } .page-title h1 { font-size: 30px; } }

/* ---------- Filter bar ---------- */
.filter-bar {
  background: var(--surface-color);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 6px 30px color-mix(in srgb, var(--accent-color) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
}
.filter-bar .form-label { font-weight: 600; color: var(--heading-color); margin-bottom: 4px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8a97a6; }
.input-icon > .form-control { padding-left: 34px; }

/* ---------- House cards ---------- */
.house-card {
  background: var(--surface-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(45, 70, 94, .08);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.house-card:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(45, 70, 94, .14); }
.house-card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--tint-color); overflow: hidden; }
.house-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.house-card:hover .house-card-media img { transform: scale(1.04); }
.house-card-media img.is-placeholder, .gallery-main img.is-placeholder { object-fit: contain; padding: 12%; }
.house-card-price {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,.95); color: var(--heading-color);
  font-family: var(--heading-font); font-weight: 800; font-size: 20px;
  padding: 4px 14px; border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.house-card-price small { font-size: 13px; font-weight: 600; color: #6c7a89; }
.house-card-flag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent-color); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
}
.house-card-flag.flag-pending { background: #f59f00; }
.house-card-flag.flag-applied { left: auto; right: 14px; background: #2b8a3e; }
.house-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.house-card-type { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-color); font-weight: 600; margin-bottom: 6px; }
.house-card-title { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.house-card-title a { color: var(--heading-color); }
.house-card-title a:hover { color: var(--accent-color); }
.house-card-specs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: #55626f; }
.house-card-specs i { color: var(--accent-color); margin-right: 3px; }
.house-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf1f5; padding-top: 12px; }
.read-more { font-weight: 600; font-size: 15px; }
.read-more i { transition: margin .2s; }
.read-more:hover i { margin-left: 4px; }

/* ---------- Empty states ---------- */
.empty-state { text-align: center; padding: 50px 20px; background: var(--surface-color); border-radius: 18px; border: 2px dashed #dbe6f2; }
.empty-state > i { font-size: 48px; color: var(--accent-color); display: block; margin-bottom: 10px; }
.empty-state h3 { font-size: 22px; font-weight: 700; }
.empty-state p { color: #6c7a89; max-width: 520px; margin: 0 auto; }

/* ---------- House detail ---------- */
.gallery-main { position: relative; border-radius: 20px; overflow: hidden; background: var(--tint-color); aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 13px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.gallery-thumbs a:hover img { transform: scale(1.06); opacity: .9; }

.detail-block { background: var(--surface-color); border-radius: 18px; padding: 24px 26px; box-shadow: 0 4px 24px rgba(45,70,94,.06); margin-bottom: 22px; }
.detail-block h2 { font-size: 28px; font-weight: 800; }
.detail-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.spec-grid { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spec-grid li { background: color-mix(in srgb, var(--accent-color), transparent 93%); border-radius: 14px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.spec-grid i { font-size: 22px; color: var(--accent-color); }
.spec-grid strong { font-family: var(--heading-font); font-size: 20px; color: var(--heading-color); }
.spec-grid span { font-size: 13px; color: #6c7a89; }
@media (max-width: 576px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.house-description p:last-child { margin-bottom: 0; }
.amenity-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.amenity-list li { padding: 5px 0; break-inside: avoid; }
.amenity-list i { color: var(--accent-color); }
@media (max-width: 576px) { .amenity-list { columns: 1; } }
.detail-table { margin: 0; }
.detail-table th { width: 38%; color: #55626f; font-weight: 500; }
.detail-table th, .detail-table td { padding: 10px 0; border-color: #edf1f5; background: transparent; }

.rent-box { background: var(--surface-color); border-radius: 20px; padding: 26px; box-shadow: 0 8px 34px color-mix(in srgb, var(--accent-color) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%); }
.house-detail .rent-box, .apply-summary { position: sticky; top: 110px; }
.rent-box-price { font-family: var(--heading-font); font-size: 36px; font-weight: 800; color: var(--heading-color); line-height: 1.1; }
.rent-box-price small { font-size: 16px; color: #6c7a89; font-weight: 600; }
.rent-box-list { list-style: none; padding: 0; margin: 18px 0; }
.rent-box-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #edf1f5; font-size: 15px; }
.rent-box-list li span { color: #6c7a89; }
.status-pill { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 50px; background: #e6f4ea; color: #2b8a3e; }
.status-pill.status-pending { background: #fff4e0; color: #b86e00; }
.status-pill.status-rented, .status-pill.status-off_market { background: #eceff3; color: #55626f; }
.applied-note { display: flex; gap: 10px; background: #e6f4ea; color: #1e6b31; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-size: 14px; }
.applied-note i { font-size: 20px; }
.apply-summary-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--tint-color); }

/* ---------- Application form ---------- */
.form-section { background: var(--surface-color); border-radius: 18px; padding: 24px 26px 26px; box-shadow: 0 4px 24px rgba(45,70,94,.06); margin-bottom: 22px; }
.form-section legend { font-family: var(--heading-font); font-size: 20px; font-weight: 700; color: var(--heading-color); display: flex; align-items: center; margin-bottom: 14px; float: none; }
.form-section-num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-color); color: #fff; font-size: 15px; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; }
.form-section legend i { color: var(--accent-color); }
.form-section-note { font-size: 14px; color: #55626f; background: color-mix(in srgb, var(--accent-color), transparent 94%); padding: 10px 14px; border-radius: 10px; }
.hs-field .form-label { font-weight: 500; font-size: 15px; margin-bottom: 5px; }
.hs-check { padding: 10px 14px 10px 2.4em; background: #f7f9fc; border-radius: 10px; }
.hs-check .form-check-input { margin-top: .3em; }
.hs-field .form-control, .hs-field .form-select { border-radius: 10px; padding: 10px 14px; }
.hs-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Auth ---------- */
.auth-section { padding-top: 140px; padding-bottom: 80px; min-height: 80vh; background: linear-gradient(180deg, color-mix(in srgb, var(--accent-color), transparent 94%) 0%, var(--background-color) 70%); }
.auth-card { background: var(--surface-color); border-radius: 22px; padding: 34px 32px; box-shadow: 0 10px 40px rgba(45,70,94,.12); }
.auth-title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.auth-aside h2 { font-size: 34px; font-weight: 800; }
.auth-aside .company-badge { display: inline-flex; align-items: center; background: color-mix(in srgb, var(--accent-color), transparent 90%); color: var(--accent-color); padding: 6px 14px; border-radius: 50px; font-weight: 600; font-size: 14px; }
.auth-aside .feature-list li { padding: 5px 0; }
.auth-aside .feature-list i { color: var(--accent-color); margin-right: 8px; }
.auth-aside .auth-sketch { border-radius: 22px; border: 6px solid #fff; box-shadow: 0 14px 40px color-mix(in srgb, var(--accent-color) 12%, transparent), 0 4px 12px rgba(45, 70, 94, .08); }
/* Wide screens: both panels share one height; the badge lines up with the card's top
   and the illustration's bottom with the card's bottom. */
@media (min-width: 992px) {
  .auth-row > [class*="col-"] { display: flex !important; flex-direction: column; }  /* beats .d-lg-block */
  .auth-row .auth-aside { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; }
  .auth-row .auth-aside .auth-sketch { width: 100%; }
  .auth-row .auth-aside .auth-sketch { margin-top: auto !important; }
  .auth-row .auth-aside .feature-list { margin-bottom: 1.25rem; }
  .auth-row .auth-card { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
}
/* Compact sign-up form */
.auth-compact .hs-field .form-label { font-size: 14px; margin-bottom: 3px; }
.auth-compact .hs-field .form-control { padding: 8px 12px; }
.auth-compact .hs-field .form-control::placeholder { font-size: 14px; }
@media (max-width: 576px) { .auth-card { padding: 26px 20px; } }

/* ---------- My applications ---------- */
.app-list { display: flex; flex-direction: column; gap: 14px; }
.app-row { display: flex; align-items: center; gap: 18px; background: var(--surface-color); border-radius: 16px; padding: 14px; box-shadow: 0 4px 20px rgba(45,70,94,.07); color: var(--default-color); transition: box-shadow .2s, transform .2s; }
.app-row:hover { color: var(--default-color); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(45,70,94,.12); }
.app-row-img { width: 120px; height: 86px; border-radius: 12px; object-fit: cover; background: var(--tint-color); flex-shrink: 0; }
.app-row-main { flex: 1; min-width: 0; }
.app-row-main h3 { font-size: 18px; font-weight: 700; margin: 2px 0; }
.app-row-status { font-size: 13px; }
.app-row-chevron { color: #9aa7b4; }
@media (max-width: 576px) { .app-row { flex-wrap: wrap; } .app-row-img { width: 100%; height: 140px; } .app-row-chevron { display: none; } }

/* ---------- Status tracker ---------- */
.status-card { background: var(--surface-color); border-radius: 18px; padding: 24px 26px; box-shadow: 0 4px 24px rgba(45,70,94,.06); }
.status-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.status-steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 3px; background: #e3e9f0; }
.status-steps li { text-align: center; position: relative; font-weight: 600; font-size: 14px; color: #8a97a6; display: flex; flex-direction: column; align-items: center; }
.status-steps li span { width: 46px; height: 46px; border-radius: 50%; background: #e3e9f0; color: #8a97a6; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 8px; position: relative; z-index: 1; border: 4px solid var(--surface-color); }
.status-steps li small { font-weight: 400; font-size: 12px; }
.status-steps li.done { color: var(--heading-color); }
.status-steps li.done span { background: var(--accent-color); color: #fff; }
.status-steps li.current { color: var(--accent-color); }
.status-steps li.current span { background: #fff; color: var(--accent-color); box-shadow: 0 0 0 3px var(--accent-color); }
@media (max-width: 576px) { .status-steps li { font-size: 12px; } .status-steps li span { width: 38px; height: 38px; font-size: 16px; } .status-steps::before { top: 18px; } }


/* ---------- User roles & tenant portal ---------- */
.role-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; background: #eceff3; color: #55626f; }
.role-badge.role-tenant { background: #e6f4ea; color: #2b8a3e; }
.role-badge.role-staff { background: #fff0e6; color: #c2410c; }
.role-badge.role-former { background: #f3eefb; color: #6b46a3; }
.role-badge.role-team { background: #e7f5f8; color: #0b7285; }
.navmenu .nav-role { padding: 8px 20px 4px; }
.tenant-hero { display: flex; gap: 20px; align-items: center; }
.tenant-hero-img { width: 180px; height: 130px; object-fit: cover; border-radius: 14px; background: var(--tint-color); flex-shrink: 0; }
@media (max-width: 576px) { .tenant-hero { flex-direction: column; align-items: flex-start; } .tenant-hero-img { width: 100%; height: 180px; } }

/* Unverified-email banner */
.verify-banner { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 995; background: #fff8e1; color: #7a5200; border: 1px solid #f5d27a; border-radius: 50px; padding: 8px 18px; font-size: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.12); max-width: calc(100% - 24px); }
.verify-banner .btn-link { color: #7a5200; font-weight: 600; }

/* Two-factor setup */
.totp-qr { display: inline-block; padding: 10px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); min-height: 40px; }
.totp-key { display: inline-block; font-size: 15px; letter-spacing: .08em; background: #f3f6fa; padding: 6px 12px; border-radius: 8px; color: var(--heading-color); word-break: break-all; }

/* Legal pages */
.legal-page h3 { font-size: 19px; margin-top: 28px; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 6px; }

/* Privacy page: summary box on top, full policy in click-to-open sections */
.privacy-summary { background: color-mix(in srgb, var(--accent-color), transparent 93%); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%); border-radius: 14px; padding: 18px 22px 10px; margin-bottom: 22px; }
.privacy-summary h3 { margin-top: 0; font-size: 20px; }
.privacy-checks { list-style: none; padding-left: 0 !important; margin-bottom: 6px; }
.privacy-checks li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.privacy-checks i { color: #1e8a4c; flex: none; }
.privacy-intro { color: color-mix(in srgb, var(--default-color), transparent 25%); }
.privacy-section { border-bottom: 1px solid #e3e8ef; }
.privacy-section:first-of-type { border-top: 1px solid #e3e8ef; }
.privacy-section summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-family: var(--heading-font); font-weight: 600; font-size: 17px; color: var(--heading-color); }
.privacy-section summary::-webkit-details-marker { display: none; }
.privacy-section summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-color); transition: transform .2s; }
.privacy-section[open] summary::after { transform: rotate(45deg); }
.privacy-section summary:hover { color: var(--accent-color); }
.privacy-section > :not(summary) { margin-left: 4px; margin-right: 4px; }
.privacy-section[open] { padding-bottom: 8px; }
@media print { .privacy-section summary::after { display: none; } }

/* Repair request urgency options */
.urgency-options { display: grid; gap: 8px; }
.urgency-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border: 1px solid #dfe6ee; border-radius: 12px; cursor: pointer; font-size: 15px; }
.urgency-option input { margin-top: 4px; }
.urgency-option:has(input:checked) { border-color: var(--accent-color); background: color-mix(in srgb, var(--accent-color), transparent 93%); }
.urgency-emergency:has(input:checked) { border-color: #c92a2a; background: #fff1f1; }

/* Contact form CAPTCHA */
.captcha-math { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.captcha-math .form-label { font-weight: 600; color: var(--heading-color); }
.captcha-math input { max-width: 140px; }

/* ---------- Hero photo slideshow ---------- */
.hero .hero-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--accent-color) 18%, transparent), 0 6px 18px rgba(45, 70, 94, .12);
  border: 6px solid #fff;
  background: var(--tint-color);
}
.hero .hero-slider .hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero .hero-slider .hero-slide.is-active { opacity: 1; transform: scale(1); }
/* soft brand-tinted vignette so photos sit naturally on the light-blue page */
.hero .hero-slider::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--heading-color) 30%, transparent) 100%);
}
.hero-dots { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: flex; gap: 7px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.hero-dot.is-active { width: 24px; border-radius: 6px; background: #fff; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 991px) {
  .hero .hero-image { margin-top: 30px; }
}
/* Wide screens: the photo panel takes the exact height of the text column, so its
   top lines up with the badge and its bottom with the "Create Free Account" button. */
@media (min-width: 992px) {
  .hero .hero-row > .col-lg-6 { display: flex; flex-direction: column; justify-content: center; }
  .hero .hero-row > .col-lg-6:last-child { justify-content: stretch; }
  .hero .hero-row .hero-image { flex: 1 1 auto; display: flex; }
  .hero .hero-row .hero-slider { flex: 1 1 auto; aspect-ratio: auto; min-height: 340px; }
  .hero .hero-row .hero-content > :last-child,
  .hero .hero-row .hero-buttons .btn { margin-bottom: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-slider .hero-slide { transition: opacity .3s; transform: none; }
}

/* ---------- Home page: tighter vertical rhythm ---------- */
.index-page .section { padding: 44px 0; }
.index-page .section-title { padding-bottom: 30px; }
.index-page .hero { padding-top: 128px; }
.index-page .hero .stats-row { margin-top: 2.25rem; padding: .5rem 0; --bs-gutter-y: 0; }
.index-page .hero .stat-item { padding: .85rem 1.5rem; }
.index-page .hero .hero-content h1 { margin-bottom: 1.1rem; }
.index-page .features-cards .feature-box { padding: 28px 24px; }
.index-page .faq .faq-container .faq-item { padding: 16px 20px; margin-bottom: 10px; }
.index-page .call-to-action-2 { padding: 52px 0; }

/* Contact section */
.contact .info-box, .contact .contact-form { padding: 2rem 2.25rem; }
.contact .info-box h3, .contact .contact-form h3 { font-size: 1.75rem; margin-bottom: .5rem; }
.contact .info-box p, .contact .contact-form > p { margin-bottom: 1.25rem; }
.contact .info-item { gap: 1.1rem; margin-bottom: 1.1rem; }
.contact .info-item .icon-box { width: 3rem; height: 3rem; }
.contact .info-item .icon-box i { font-size: 1.3rem; }
.contact .info-item .content h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.contact .contact-form .form-control, .contact .contact-form .form-select { padding: .65rem 1rem; }
.contact .contact-form .btn { padding: .75rem 1.75rem; }
.contact-submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.contact-submit-row .captcha-block { flex: 1 1 auto; }
@media (max-width: 575px) { .contact-submit-row .btn { width: 100%; justify-content: center; } }


/* Anti-scam note on house pages */
.scam-note { display: flex; gap: 10px; align-items: flex-start; background: #fff8e6; border: 1px solid #f3dca6; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #5c4a1f; }
.scam-note i { color: #c98a00; font-size: 18px; line-height: 1.2; }

/* Footer: tighter line spacing */
.footer .footer-top { padding-top: 40px; }
.footer .footer-about .logo { margin-bottom: 12px; }
.footer .footer-about p.mt-3 { margin-top: .6rem !important; }
.footer .footer-contact { padding-top: .6rem !important; }
.footer .footer-contact p { margin-bottom: 1px; line-height: 1.45; }
.footer .footer-contact p.mt-3 { margin-top: .6rem !important; }
.footer h4 { padding-bottom: 6px; margin-bottom: .4rem; }
.footer .footer-links { margin-bottom: 16px; }
.footer .footer-links ul li { padding: 5px 0; }
.footer .copyright { padding: 18px 0; }

/* Application form: sub-headings inside a section (e.g. "Previous employer") */
.form-subhead { font-size: 15px; font-weight: 700; color: var(--heading-color); margin: 10px 0 -4px; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--default-color), transparent 85%); }
.row > .col-12:first-child > .form-subhead { border-top: 0; padding-top: 0; margin-top: 0; }

/* Resident Info page */
.pay-box { position: sticky; top: 110px; }
.zelle-to { display: flex; flex-direction: column; background: color-mix(in srgb, var(--accent-color), transparent 92%); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.zelle-to strong { font-size: 17px; color: var(--heading-color); word-break: break-all; }
.zelle-to span { font-size: 13px; color: #6c7a89; }
.pay-warning { background: #fff8e1; color: #7a5200; border-radius: 10px; padding: 8px 10px; }
.info-section h3 { font-size: 20px; margin-bottom: 14px; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.info-card { border: 1px solid #e3e8ef; border-radius: 14px; padding: 14px 16px; }
.info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.info-phones { list-style: none; padding: 0; margin: 0 0 8px; }
.info-phones li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 4px 0; border-bottom: 1px dashed #edf1f5; }
.info-phones li:last-child { border-bottom: 0; }
.info-phones span { font-size: 13px; color: #6c7a89; flex: 1 1 100%; }
.info-phones a { font-weight: 700; font-size: 16px; }
.info-phones small { font-size: 12.5px; color: #6c7a89; }
@media (max-width: 991px) { .pay-box { position: static; } }

/* Payment history */
.pay-sum { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pay-sum div { flex: 1; min-width: 160px; background: color-mix(in srgb, var(--accent-color), transparent 93%); border-radius: 12px; padding: 10px 14px; }
.pay-sum strong { display: block; font-size: 20px; color: var(--heading-color); }
.pay-sum span { font-size: 13px; color: #6c7a89; }
.pay-table td, .pay-table th { vertical-align: middle; }

/* Staff page */
.team-tabs .nav-link { border-radius: 50px; }
.team-table td, .team-table th { vertical-align: middle; }
.team-table .w-summary { min-width: 16em; }
