/* ==========================================================================
   Landing page sections (views/partials/landing/*) and the site footer
   (views/partials/footer.ejs). Same language as the header and hero: forest
   green + amber, Hanken Grotesk headings, Inter text, rounded cards.
   Group accents (--accent / --accent-soft per [data-group]) come from the
   site header rules in style.css, so a "Rent" tile matches the Rent menu.
   ========================================================================== */

.lp,
.site-footer {
  --lp-50: #edf7f1;
  --lp-100: #d4eedf;
  --lp-200: #a9dcbf;
  --lp-500: #198754;
  --lp-600: #157347;
  --lp-700: #115e3a;
  --lp-900: #0b3b25;
  --lp-ink: #14201a;
  --lp-text: #3e4c45;
  --lp-muted: #66756d;
  --lp-line: #e1e8e4;
  --lp-soft: #f1f5f3;
  --lp-canvas: #f6f9f7;
  --lp-amber: #f4b740;
  --lp-head: "Hanken Grotesk", system-ui, sans-serif;
  --lp-body: "Inter", system-ui, sans-serif;
  --lp-ring: 0 0 0 4px rgba(25, 135, 84, 0.22);
  font-family: var(--lp-body);
  color: var(--lp-text);
}

.lp *,
.site-footer * {
  box-sizing: border-box;
}

.lp h2,
.lp h3,
.site-footer h3 {
  font-family: var(--lp-head);
  color: var(--lp-ink);
  margin: 0;
}

.lp p {
  margin: 0;
}

.lp a {
  text-decoration: none;
}

.lp-section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.lp-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .lp-container {
    padding: 0 24px;
  }
}

/* ---------- Section heads ---------- */

.lp-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.lp-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  max-width: none;
  text-align: left;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lp-50);
  color: var(--lp-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-amber);
}

.lp-eyebrow--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lp-title {
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.lp-lead {
  margin-top: 14px !important;
  color: var(--lp-muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  line-height: 1.6;
}

.lp-link {
  color: var(--lp-600) !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.lp-link:hover {
  text-decoration: underline !important;
}

/* ---------- Buttons ---------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-family: var(--lp-head);
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.lp-btn:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

.lp-btn i {
  font-size: 0.85em;
}

.lp-btn--accent {
  background: var(--accent, var(--lp-600));
  color: #fff !important;
}

.lp-btn--amber {
  background: var(--lp-amber);
  color: #2b1d00 !important;
  box-shadow: 0 14px 30px -16px rgba(244, 183, 64, 0.8);
}

.lp-btn--amber:hover {
  background: #f7c560;
}

.lp-btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

.lp-btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- What are you looking to do? (bento) ---------- */

.lp-paths {
  background: #fff;
}

.lp-bento {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .lp-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-tile--rent,
  .lp-tile--landlord {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .lp-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(250px, auto);
  }

  .lp-tile--rent { grid-column: span 6; grid-row: span 2; }
  .lp-tile--buy { grid-column: span 6; }
  .lp-bento > [data-group="sell"],
  .lp-bento > [data-group="agents"] { grid-column: span 3; }
  .lp-tile--landlord { grid-column: span 8; }
  .lp-tile--tenant { grid-column: span 4; }
}

.lp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  color: var(--lp-text);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -30px rgba(11, 59, 37, 0.55);
}

.lp-tile:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

.lp-tile h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.lp-tile p {
  margin-top: 8px;
  line-height: 1.55;
}

.lp-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--lp-head);
  font-weight: 700;
}

.lp-tile-cta i {
  transition: transform 0.2s ease;
}

.lp-tile:hover .lp-tile-cta i {
  transform: translateX(4px);
}

.lp-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent, var(--lp-700));
  font-size: 0.78rem;
  font-weight: 800;
}

.lp-tag--dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--lp-amber);
}

/* Photo tiles */
.lp-tile--photo {
  justify-content: flex-end;
  min-height: 300px;
  color: #fff;
}

.lp-tile--photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lp-tile--photo:hover img {
  transform: scale(1.04);
}

.lp-tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 24, 15, 0) 25%, rgba(6, 24, 15, 0.82) 100%);
}

/* The buy tile is short and its copy sits over the houses: shade from the left */
.lp-tile--buy::after {
  background: linear-gradient(90deg, rgba(6, 24, 15, 0.88) 0%, rgba(6, 24, 15, 0.6) 55%, rgba(6, 24, 15, 0.15) 100%);
}

.lp-tile--photo h3 {
  color: #fff;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}

.lp-tile--photo p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.85);
}

.lp-tile--photo .lp-tile-cta {
  align-self: flex-start;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--lp-ink);
}

.lp-tile-body {
  display: flex;
  flex-direction: column;
}

/* Plain tiles (sell, agents, tenants) wear their group's accent */
.lp-tile--plain {
  border: 1px solid var(--lp-line);
  background:
    radial-gradient(260px circle at 100% 0%, var(--accent-soft, var(--lp-50)), transparent 70%),
    #fff;
}

.lp-tile--plain .lp-tile-cta {
  color: var(--accent, var(--lp-600));
}

.lp-tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft, var(--lp-50));
  color: var(--accent, var(--lp-600));
  font-size: 1.15rem;
}

/* Landlord tile: dark, with a small dashboard illustration */
.lp-tile--landlord {
  display: grid;
  gap: 24px;
  background:
    radial-gradient(420px circle at 95% 0%, rgba(244, 183, 64, 0.22), transparent 60%),
    linear-gradient(140deg, var(--lp-700), var(--lp-900));
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 700px) {
  .lp-tile--landlord {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

.lp-tile-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lp-tile--landlord h3 {
  color: #fff;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
}

.lp-tile--landlord .lp-tile-cta {
  color: var(--lp-amber);
}

.lp-mini {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
}

.lp-mini-kpi small,
.lp-mini-row {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
}

.lp-mini-kpi strong {
  display: block;
  color: #fff;
  font-family: var(--lp-head);
  font-size: 1.6rem;
  font-weight: 800;
}

.lp-mini-bar {
  display: block;
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.lp-mini-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lp-amber);
}

.lp-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
}

.lp-mini-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.28);
}

.lp-mini-chart i.is-now {
  background: var(--lp-amber);
}

.lp-mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.lp-mini-row b {
  margin-left: auto;
  color: #7fe0ae;
}

.lp-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fe0ae;
}

/* ---------- Fresh listings rail ---------- */

.lp-fresh {
  padding-top: 0;
  background: #fff;
}

.lp-rail-tools {
  display: flex;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
}

.lp-round {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--lp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--lp-ink);
  cursor: pointer;
}

.lp-round:hover {
  border-color: var(--lp-200);
  background: var(--lp-50);
}

.lp-round:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

@media (min-width: 768px) {
  .lp-round { display: inline-grid; place-items: center; }
}

.lp-rail {
  display: grid;
  grid-auto-columns: 78%;
  grid-auto-flow: column;
  gap: 16px;
  padding: 4px 4px 14px;
  margin: 0 -4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.lp-rail:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
  border-radius: 20px;
}

@media (min-width: 640px) { .lp-rail { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (min-width: 992px) { .lp-rail { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1200px) { .lp-rail { grid-auto-columns: calc((100% - 48px) / 4); } }

.lp-home {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: #fff;
  color: inherit !important;
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -28px rgba(11, 59, 37, 0.5);
}

.lp-home:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

.lp-home-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--lp-soft);
}

.lp-home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.lp-home:hover .lp-home-photo img {
  transform: scale(1.05);
}

.lp-home-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.74rem;
  font-weight: 800;
}

.lp-home-badge.is-rent { color: #1d64c4; }
.lp-home-badge.is-sale { color: #9a5b00; }

.lp-home-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.lp-home-price {
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: 1.2rem;
  font-weight: 800;
}

.lp-home-price small {
  color: var(--lp-muted);
  font-family: var(--lp-body);
  font-size: 0.8rem;
  font-weight: 500;
}

.lp-home h3 {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-home-body > p {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-muted);
  font-size: 0.86rem;
}

.lp-home-body > p i {
  color: var(--lp-600);
  font-size: 0.8rem;
}

.lp-home-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.lp-home-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lp-soft);
  color: var(--lp-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.lp-home-facts i {
  color: var(--lp-muted);
  font-size: 0.75rem;
}

/* ---------- Why Ap-rem ---------- */

.lp-why {
  background: var(--lp-canvas);
}

.lp-why-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .lp-why-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
  }
}

.lp-points {
  display: grid;
  gap: 22px 28px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .lp-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lp-point {
  display: flex;
  gap: 14px;
}

.lp-point-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #fff;
  color: var(--lp-600);
  box-shadow: 0 6px 16px -10px rgba(11, 59, 37, 0.45);
}

.lp-point h3 {
  font-size: 1.02rem;
  font-weight: 800;
}

.lp-point p {
  margin-top: 4px;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lp-numbers {
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(380px circle at 100% 0%, rgba(244, 183, 64, 0.28), transparent 60%),
    linear-gradient(150deg, var(--lp-700), var(--lp-900));
  color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 60px -36px rgba(11, 59, 37, 0.8);
}

.lp-numbers-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px !important;
  color: #fff;
  font-family: var(--lp-head);
  font-weight: 800;
}

.lp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fe0ae;
  box-shadow: 0 0 0 4px rgba(127, 224, 174, 0.2);
}

.lp-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lp-number {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.lp-number > i {
  margin-bottom: 8px;
  color: var(--lp-amber);
}

.lp-number .counter-text-wrap {
  margin: 0;
  color: #fff;
  font-family: var(--lp-head);
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.lp-number .counter-text-wrap .after {
  color: var(--lp-amber);
}

.lp-number > span {
  font-size: 0.82rem;
  font-weight: 600;
}

.lp-numbers-note {
  margin-top: 14px !important;
  font-size: 0.78rem;
}

/* ---------- How it works ---------- */

.lp-how {
  background: #fff;
}

.lp-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 6px;
  overflow-x: auto;
  border-radius: 16px;
  background: var(--lp-soft);
}

.lp-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--lp-muted);
  font-family: var(--lp-head);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.lp-tabs button:hover {
  color: var(--lp-ink);
}

.lp-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--accent, var(--lp-700));
  box-shadow: 0 6px 16px -10px rgba(20, 32, 26, 0.45);
}

.lp-tabs button:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

.lp-panel {
  text-align: center;
}

.lp-steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  text-align: left;
}

@media (min-width: 900px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  /* hairline joining the step numbers */
  .lp-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    right: 16%;
    left: 16%;
    border-top: 1px solid var(--lp-line);
  }
}

.lp-step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-step:hover {
  border-color: var(--accent-soft, var(--lp-100));
  box-shadow: 0 20px 40px -30px rgba(11, 59, 37, 0.45);
}

.lp-step-num {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--lp-line);
  font-family: var(--lp-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.lp-step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent, var(--lp-600));
  color: #fff;
  box-shadow: 0 0 0 6px #fff;
}

.lp-step h3 {
  font-size: 1.12rem;
  font-weight: 800;
}

.lp-step p {
  margin-top: 8px;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* ---------- Landlord showcase ---------- */

.lp-owners {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px circle at 85% 10%, rgba(244, 183, 64, 0.16), transparent 60%),
    radial-gradient(600px circle at 0% 100%, rgba(25, 135, 84, 0.45), transparent 60%),
    var(--lp-900);
  color: rgba(255, 255, 255, 0.8);
}

.lp-owners-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .lp-owners-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.lp-owners .lp-title {
  color: #fff;
}

.lp-owners .lp-lead {
  color: rgba(255, 255, 255, 0.75);
}

.lp-checks {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.lp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  line-height: 1.5;
}

.lp-checks i {
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(127, 224, 174, 0.16);
  color: #7fe0ae;
  font-size: 0.7rem;
}

.lp-mock {
  position: relative;
  padding: 0 0 28px;
}

.lp-mock-window {
  overflow: hidden;
  border-radius: 20px;
  background: #f5f8f6;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  color: var(--lp-text);
}

.lp-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid var(--lp-line);
}

.lp-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e3e9e5;
}

.lp-mock-bar em {
  margin-left: 8px;
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
}

.lp-mock-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.lp-mock-kpis {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.lp-mock-hero,
.lp-mock-kpi,
.lp-mock-chart,
.lp-mock-list {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.lp-mock-hero {
  background: linear-gradient(140deg, var(--lp-700), var(--lp-900));
  color: rgba(255, 255, 255, 0.75);
}

.lp-mock-body small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-mock-body strong {
  display: block;
  margin-top: 4px;
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: 1.15rem;
  font-weight: 800;
}

.lp-mock-hero strong {
  color: #fff;
  font-size: 1.35rem;
}

.lp-mock-body em {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-style: normal;
}

.lp-mock-kpi em {
  color: var(--lp-muted);
}

.lp-mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
  margin-top: 10px;
}

.lp-mock-bars span {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 100%;
}

.lp-mock-bars i,
.lp-mock-bars b {
  width: 38%;
  border-radius: 3px 3px 0 0;
}

.lp-mock-bars i { background: #e0a019; }
.lp-mock-bars b { background: var(--lp-600); }

.lp-mock-list {
  display: grid;
  gap: 8px;
}

.lp-mock-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-mock-list p {
  flex: 1;
}

.lp-mock-list strong {
  margin: 0;
  font-size: 0.85rem;
}

.lp-mock-list small {
  color: var(--lp-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.lp-mock-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lp-50);
  color: var(--lp-700);
  font-size: 0.72rem;
  font-weight: 800;
}

.lp-mock-avatar.is-warn {
  background: #fef3f2;
  color: #b42318;
}

.lp-mock-list em {
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.lp-mock-list em.is-paid { background: var(--lp-50); color: var(--lp-700); }
.lp-mock-list em.is-late { background: #fef3f2; color: #b42318; }

.lp-mock-toast {
  position: absolute;
  bottom: 0;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
  color: var(--lp-text);
  animation: lp-float 5s ease-in-out infinite;
}

.lp-mock-toast i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--lp-amber);
  color: #2b1d00;
}

.lp-mock-toast strong {
  display: block;
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: 0.92rem;
}

.lp-mock-toast small {
  color: var(--lp-muted);
  font-size: 0.75rem;
}

/* Phones: the payment bubble sits under the window instead of over it */
@media (max-width: 575px) {
  .lp-mock {
    padding-bottom: 0;
  }

  .lp-mock-toast {
    position: relative;
    left: auto;
    margin: 12px 0 0 auto;
    width: max-content;
    max-width: 100%;
  }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- FAQ ---------- */

.lp-faq {
  background: var(--lp-canvas);
}

.lp-faq-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 992px) {
  .lp-faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }
}

.lp-help {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.lp-help a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: #fff;
  color: var(--lp-ink) !important;
  font-weight: 700;
  transition: border-color 0.2s ease;
}

.lp-help a:hover {
  border-color: var(--lp-200);
}

.lp-help a:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

.lp-help i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lp-50);
  color: var(--lp-600);
}

.lp-help small {
  display: block;
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.lp-faq-list {
  display: grid;
  gap: 10px;
}

.lp-qa {
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.2s ease;
}

.lp-qa[open] {
  border-color: var(--lp-200);
}

.lp-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.lp-qa summary::-webkit-details-marker {
  display: none;
}

.lp-qa summary:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
  border-radius: 18px;
}

.lp-qa summary i {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lp-soft);
  color: var(--lp-600);
  font-size: 0.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lp-qa[open] summary i {
  transform: rotate(45deg);
  background: var(--lp-600);
  color: #fff;
}

.lp-qa p {
  padding: 0 20px 20px;
  color: var(--lp-muted);
  line-height: 1.65;
}

/* ---------- Closing call to action ---------- */

.lp-cta {
  padding: 0 0 clamp(64px, 8vw, 96px);
  background: var(--lp-canvas);
}

.lp-cta-card {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background:
    linear-gradient(110deg, rgba(11, 59, 37, 0.96) 35%, rgba(11, 59, 37, 0.7)),
    url("../images/landing/cta-home.jpg") center / cover;
  box-shadow: 0 40px 80px -50px rgba(11, 59, 37, 0.9);
}

@media (min-width: 992px) {
  .lp-cta-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.lp-cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lp-cta p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

/* ---------- Site footer ---------- */

.site-footer {
  position: relative;
  background:
    radial-gradient(600px circle at 100% 0%, rgba(244, 183, 64, 0.1), transparent 60%),
    #082c1c;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.sf-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .sf-container {
    padding: 0 24px;
  }
}

.sf-top {
  display: grid;
  gap: 40px;
  padding: 64px 0 48px;
}

@media (min-width: 992px) {
  .sf-top {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
    gap: 64px;
  }
}

.sf-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none !important;
}

.sf-logo-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
}

.sf-logo-tile img {
  width: 36px;
  height: auto;
}

.sf-logo strong {
  display: block;
  font-family: var(--lp-head);
  font-size: 1.25rem;
  font-weight: 800;
}

.sf-logo small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-brand > p {
  max-width: 360px;
  margin: 18px 0 20px;
  line-height: 1.6;
}

.sf-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-contact i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--lp-amber);
  font-size: 0.8rem;
}

.sf-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

@media (min-width: 640px) {
  .sf-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sf-cols ul,
.sf-bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-cols li + li {
  margin-top: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--lp-amber);
}

.site-footer a:focus-visible {
  outline: none;
  border-radius: 6px;
  box-shadow: 0 0 0 3px rgba(244, 183, 64, 0.55);
}

.sf-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.sf-bottom p {
  margin: 0;
}

.sf-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Back-to-top: script.js fades it in after scrolling */
.site-footer .sf-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--lp-600);
  color: #fff;
  font-size: 1rem;
  line-height: 48px;
  text-align: center;
  box-shadow: 0 16px 30px -14px rgba(11, 59, 37, 0.8);
  cursor: pointer;
}

.site-footer .sf-top-btn:hover {
  background: var(--lp-700);
}

.site-footer .sf-top-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(244, 183, 64, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .lp *,
  .site-footer * {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .lp-rail {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Find an agent (views/agents.ejs)
   ========================================================================== */

.ag-hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(640px circle at 90% 0%, rgba(244, 183, 64, 0.2), transparent 60%),
    radial-gradient(520px circle at 0% 100%, rgba(25, 135, 84, 0.5), transparent 60%),
    var(--lp-900);
  color: rgba(255, 255, 255, 0.8);
}

.ag-hero-grid {
  display: grid;
  gap: 32px;
  align-items: end;
}

@media (min-width: 992px) {
  .ag-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.ag-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--lp-head);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.ag-hero-lead {
  max-width: 560px;
  margin-top: 14px !important;
  font-size: 1.05rem;
  line-height: 1.6;
}

.ag-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  margin-top: 26px;
  padding: 6px 6px 6px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.6);
}

.ag-search > i {
  color: var(--lp-muted);
}

.ag-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--lp-ink);
  font-size: 1rem;
}

.ag-search input:focus {
  outline: none;
}

.ag-search:focus-within {
  box-shadow: 0 0 0 4px rgba(244, 183, 64, 0.45), 0 24px 50px -28px rgba(0, 0, 0, 0.6);
}

.ag-search .lp-btn {
  height: 48px;
}

.ag-areas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.86rem;
}

.ag-areas span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.ag-areas a {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ag-areas a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.ag-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ag-hero-stats li {
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.ag-hero-stats strong {
  display: block;
  color: #fff;
  font-family: var(--lp-head);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
}

.ag-hero-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Results */
.ag-results {
  padding-top: clamp(32px, 4vw, 48px);
  background: var(--lp-canvas);
}

.ag-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.ag-toolbar h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.ag-toolbar h2 span {
  color: var(--lp-muted);
  font-family: var(--lp-body);
  font-size: 1rem;
  font-weight: 500;
}

.ag-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ag-segment {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--lp-line);
}

.ag-segment a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--lp-muted) !important;
  font-size: 0.88rem;
  font-weight: 700;
}

.ag-segment a:hover {
  color: var(--lp-ink) !important;
}

.ag-segment a[aria-current="true"] {
  background: var(--lp-600);
  color: #fff !important;
}

.ag-sort label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.ag-sort select {
  display: inline-block !important;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--lp-line);
  border-radius: 12px;
  background: #fff;
  color: var(--lp-ink);
  font-weight: 700;
  position: static !important;
  opacity: 1 !important;
  z-index: auto !important;
}

.ag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.ag-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px -30px rgba(11, 59, 37, 0.5);
}

.ag-photos {
  display: grid;
  gap: 3px;
  height: 150px;
  background: var(--lp-soft);
}

.ag-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.ag-photos--2 { grid-template-columns: 1fr 1fr; }
.ag-photos--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.ag-photos--3 img:first-child { grid-row: span 2; }

.ag-photos-empty {
  display: grid;
  place-items: center;
  height: 100%;
  background:
    radial-gradient(260px circle at 80% 0%, rgba(244, 183, 64, 0.2), transparent 60%),
    linear-gradient(140deg, var(--lp-50), var(--lp-100));
  color: var(--lp-600);
  font-size: 1.6rem;
}

.ag-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 18px;
}

/* avatar overlaps the photo strip; the name sits just below the photos */
.ag-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: -30px;
}

.ag-head > div {
  min-width: 0;
  padding-top: 36px;
}

.ag-avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-500), var(--lp-900));
  color: #fff;
  font-family: var(--lp-head);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 8px 18px -10px rgba(11, 59, 37, 0.6);
}

.ag-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ag-head h3 {
  font-size: 1.12rem;
  font-weight: 800;
}

.ag-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--lp-600);
  font-size: 0.78rem;
  font-weight: 700;
}

.ag-where {
  display: flex;
  gap: 8px;
  color: var(--lp-muted);
  font-size: 0.88rem;
}

.ag-where i {
  margin-top: 3px;
  color: var(--lp-600);
}

.ag-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.ag-stats div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--lp-canvas);
}

.ag-stats dt {
  color: var(--lp-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ag-stats dd {
  margin: 2px 0 0;
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: 1.3rem;
  font-weight: 800;
}

.ag-prices {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--lp-muted);
  font-size: 0.86rem;
}

.ag-prices i {
  width: 16px;
  margin-right: 6px;
  color: var(--lp-600);
}

.ag-prices strong {
  color: var(--lp-ink);
}

.ag-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.ag-actions .ag-primary {
  flex: 1;
  height: 46px;
  font-size: 0.92rem;
}

.ag-icon-btn {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--lp-line);
  border-radius: 14px;
  color: var(--lp-ink) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ag-icon-btn:hover {
  border-color: var(--lp-200);
  background: var(--lp-50);
}

.ag-icon-btn:focus-visible {
  outline: none;
  box-shadow: var(--lp-ring);
}

.ag-wa {
  color: #128c4b !important;
}

.ag-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px;
  border: 1px dashed var(--lp-200);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.ag-empty > i {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 20px;
  background: var(--lp-50);
  color: var(--lp-600);
  font-size: 1.5rem;
}

.ag-empty h2 {
  font-size: 1.4rem;
  font-weight: 800;
}

.ag-empty p {
  margin: 8px 0 20px;
  color: var(--lp-muted);
  line-height: 1.6;
}

.ag-ghost {
  border-color: var(--lp-line);
  background: #fff;
  color: var(--lp-ink) !important;
}

.ag-page .lp-cta {
  padding-top: 0;
}

@media (max-width: 575px) {
  .ag-search {
    flex-wrap: wrap;
    padding: 10px;
  }

  .ag-search > i {
    display: none;
  }

  .ag-search input {
    flex-basis: 100%;
    padding: 0 6px;
  }

  .ag-search .lp-btn {
    width: 100%;
  }

  .ag-hero-stats li {
    padding: 12px 10px;
  }
}

/* ==========================================================================
   About (views/about.ejs) and Contact (views/contact.ejs)
   ========================================================================== */

.ab-hero,
.ct-hero {
  background:
    radial-gradient(640px circle at 90% 0%, rgba(244, 183, 64, 0.2), transparent 60%),
    radial-gradient(520px circle at 0% 100%, rgba(25, 135, 84, 0.5), transparent 60%),
    var(--lp-900);
  color: rgba(255, 255, 255, 0.8);
}

.ab-hero h1,
.ct-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--lp-head);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.ab-hero h1 em {
  color: var(--lp-amber);
  font-style: normal;
}

.ab-hero-lead,
.ct-hero-lead {
  max-width: 560px;
  margin: 16px 0 26px !important;
  font-size: 1.08rem;
  line-height: 1.6;
}

/* ---------- About ---------- */

.ab-hero {
  padding: clamp(48px, 6vw, 88px) 0;
  overflow: hidden;
}

.ab-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .ab-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.ab-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 150px 150px;
  gap: 12px;
}

@media (min-width: 640px) {
  .ab-collage {
    grid-template-rows: 190px 190px;
  }
}

.ab-collage img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
}

.ab-c1 { grid-row: span 2; }

.ab-badge {
  position: absolute;
  bottom: -14px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lp-amber);
  color: #2b1d00;
  font-family: var(--lp-head);
  font-weight: 800;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.6);
}

.ab-numbers {
  position: relative;
  z-index: 1;
  margin-top: -28px;
}

.ab-numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(11, 59, 37, 0.5);
}

.ab-number {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: var(--lp-canvas);
}

.ab-number > i {
  margin-bottom: 4px;
  color: var(--lp-600);
}

.ab-number .counter-text-wrap {
  margin: 0;
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}

.ab-number .after {
  color: var(--lp-amber);
}

.ab-number > span {
  color: var(--lp-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.ab-story {
  background: #fff;
}

.ab-story-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .ab-story-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
}

.ab-story-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
}

.ab-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-story-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 59, 37, 0.45));
}

.ab-pillars {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ab-pillars li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ab-pillars i {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--lp-50);
  color: var(--lp-600);
}

.ab-pillars strong {
  display: block;
  color: var(--lp-ink);
  font-family: var(--lp-head);
}

.ab-pillars span {
  color: var(--lp-muted);
  font-size: 0.92rem;
}

.ab-mv {
  padding-top: 0;
  background: #fff;
}

.ab-mv-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .ab-mv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ab-mv-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  background: var(--lp-canvas);
}

.ab-mv-card p {
  margin-top: 6px;
  color: var(--lp-ink);
  font-family: var(--lp-head);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
}

.ab-mv-card--dark {
  border: 0;
  background:
    radial-gradient(360px circle at 100% 0%, rgba(244, 183, 64, 0.24), transparent 60%),
    linear-gradient(140deg, var(--lp-700), var(--lp-900));
}

.ab-mv-card--dark p {
  color: #fff;
}

.ab-mv-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--lp-600);
}

.ab-mv-card--dark .ab-mv-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--lp-amber);
}

.ab-roles {
  background: var(--lp-canvas);
}

.ab-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.ab-role {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background:
    radial-gradient(240px circle at 100% 0%, var(--accent-soft, var(--lp-50)), transparent 70%),
    #fff;
}

.ab-role h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.ab-role > p {
  margin: 6px 0 12px;
  color: var(--lp-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.ab-role ul {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.ab-role li {
  display: flex;
  gap: 8px;
  color: var(--lp-text);
}

.ab-role li i {
  margin-top: 4px;
  color: var(--accent, var(--lp-600));
  font-size: 0.7rem;
}

.ab-role > a {
  margin-top: auto;
  color: var(--accent, var(--lp-600)) !important;
  font-family: var(--lp-head);
  font-weight: 700;
}

.ab-values {
  background: #fff;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.ab-value {
  padding: 24px;
  border-top: 3px solid var(--lp-600);
  border-radius: 4px 4px 22px 22px;
  background: var(--lp-canvas);
}

.ab-value span {
  color: var(--lp-amber);
  font-family: var(--lp-head);
  font-size: 0.9rem;
  font-weight: 800;
}

.ab-value h3 {
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 800;
}

.ab-value p {
  margin-top: 8px;
  color: var(--lp-muted);
  line-height: 1.6;
}

.ab-team {
  padding-top: 0;
  background: #fff;
}

.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.ab-member {
  padding: 28px 20px;
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  text-align: center;
}

.ab-member-avatar {
  display: inline-grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-500), var(--lp-900));
  color: #fff;
  font-family: var(--lp-head);
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--lp-50);
}

.ab-member h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

.ab-member p {
  margin-top: 4px;
  color: var(--lp-muted);
}

.ab-page .lp-cta {
  padding-top: clamp(32px, 4vw, 48px);
  background: #fff;
}

/* ---------- Contact ---------- */

.ct-hero {
  padding: clamp(48px, 6vw, 84px) 0 clamp(80px, 9vw, 120px);
}

.ct-quick {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

@media (min-width: 768px) {
  .ct-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ct-quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff !important;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ct-quick a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.ct-quick a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(244, 183, 64, 0.5);
}

.ct-quick i {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lp-amber);
  color: #2b1d00;
}

.ct-quick small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 600;
}

.ct-main {
  display: flow-root; /* keeps the grid's negative margin from collapsing into the section */
  padding-top: 0;
  background: var(--lp-canvas);
}

.ct-grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(-80px, -6vw, -48px);
}

@media (min-width: 992px) {
  .ct-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

.ct-form-card {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--lp-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(11, 59, 37, 0.55);
}

.ct-form h2,
.ct-success h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.ct-form-sub {
  margin: 4px 0 18px !important;
  color: var(--lp-muted);
}

.ct-form {
  display: grid;
  gap: 16px;
}

.ct-form > h2,
.ct-form > .ct-form-sub {
  margin-bottom: -6px;
}

.ct-fields {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .ct-fields--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ct-field {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ct-field > span,
.ct-field legend {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--lp-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.ct-field em {
  color: var(--lp-muted);
  font-style: normal;
  font-weight: 500;
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--lp-line);
  border-radius: 14px;
  background: var(--lp-canvas);
  color: var(--lp-ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ct-field textarea {
  resize: vertical;
}

.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--lp-500);
  background: #fff;
  box-shadow: var(--lp-ring);
}

.ct-field.is-invalid input,
.ct-field.is-invalid textarea {
  border-color: #b42318;
  background: #fff;
}

.ct-topics legend {
  float: none;
  width: auto;
  font-size: 0.86rem;
}

.ct-topics > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-topics label {
  margin: 0;
}

.ct-topics input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ct-topics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid var(--lp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--lp-text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ct-topics span i {
  color: var(--lp-muted);
  font-size: 0.8rem;
}

.ct-topics input:checked + span {
  border-color: var(--lp-600);
  background: var(--lp-50);
  color: var(--lp-700);
}

.ct-topics input:checked + span i {
  color: var(--lp-600);
}

.ct-topics input:focus-visible + span {
  box-shadow: var(--lp-ring);
}

.ct-topics.is-invalid span {
  border-color: #f3b7b2;
}

.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef3f2;
  color: #b42318;
  font-weight: 600;
}

.ct-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.ct-submit-row small {
  color: var(--lp-muted);
}

.lp-btn.is-busy {
  pointer-events: none;
  opacity: 0.7;
}

.ct-success {
  padding: 24px 8px;
  text-align: center;
}

.ct-success-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lp-50);
  color: var(--lp-600);
  font-size: 1.8rem;
  box-shadow: 0 0 0 8px rgba(25, 135, 84, 0.08);
}

.ct-success h2:focus {
  outline: none;
}

.ct-success p {
  max-width: 420px;
  margin: 8px auto 22px !important;
  color: var(--lp-muted);
}

.ct-ghost {
  border-color: var(--lp-line);
  background: #fff;
  color: var(--lp-ink) !important;
}

.ct-aside {
  display: grid;
  gap: 14px;
}

.ct-card {
  padding: 22px;
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  background: #fff;
}

.ct-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 800;
}

.ct-card h3 i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--lp-50);
  color: var(--lp-600);
  font-size: 0.85rem;
}

.ct-card p {
  color: var(--lp-text);
  line-height: 1.55;
}

.ct-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ct-card dt {
  color: var(--lp-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ct-card dd {
  margin: 2px 0 0;
  color: var(--lp-ink);
  font-weight: 600;
}

.ct-map {
  height: 200px;
  margin: 14px 0 12px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--lp-soft);
}

.ct-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ct-help p {
  margin-bottom: 10px !important;
}

.ct-faq {
  background: #fff;
}
