@charset "UTF-8";

/* ========================================
   TREEHOUSE ITALIA HUB - STYLES
   Palette: Forest, Coastal Teal, Warm Stone, Gold
======================================== */

:root {
  --navy: #16313d;
  --sand: radial-gradient(circle at 15% 20%, rgba(183, 134, 61, 0.16), transparent 55%), radial-gradient(circle at 85% 0%, rgba(22, 49, 61, 0.1), transparent 52%);
  --sand-solid: #f6f5f1;
  --terracotta: #b7863d;
  --terracotta-rgb: 183, 134, 61;
  --blue-deep: #244f75;
  --blue-ink: #16313d;
  --blue-soft: #eef4f3;
  --blue-border: #d9e6e3;
  --blue-panel: #f5f8f8;
  --blue-accent: #b7863d;
  --stone: #6b7f88;
  --gold: #b7863d;
  --blue-mist: #d9e6e3;
  --white: #ffffff;
  --off-white: #f6f5f1;
  --text: #17303b;
  --text-muted: #5e747d;
  --text-dim: #7b8d95;
  --shadow: 0 20px 40px rgba(22, 49, 61, 0.08);
  --shadow-lg: 0 30px 60px rgba(22, 49, 61, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
}

/* ========================================
   RESET & BASE
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--terracotta);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

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

img,
video,
iframe {
  max-width: 100%;
}

input,
textarea,
select,
button {
  font: inherit;
  max-width: 100%;
}

@media (max-width: 640px) {
  .container {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1,
  h2,
  h3,
  p,
  a,
  strong,
  span,
  small {
    overflow-wrap: anywhere;
  }
}

/* ========================================
   TOPBAR & MOBILE NAVIGATION
======================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 768px) {
  .topbar__inner {
    padding: 20px 48px;
  }
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  z-index: 102;
}

/* Mobile Toggle Button (Hamburger) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 102;
  position: relative;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }
}

.mobile-toggle__line {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle.active .mobile-toggle__line:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.mobile-toggle.active .mobile-toggle__line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .mobile-toggle__line:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Navigation */
.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 101;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 17px;
  }

  .nav .lang {
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--sand-solid);
  }
}

body.nav-open {
  overflow: hidden;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav a:hover {
  color: var(--navy);
  background: var(--sand);
}

.nav a.is-active,
.nav a[aria-current="page"]:not(.lang__item) {
  color: var(--navy);
  background: var(--sand);
  box-shadow: inset 0 -2px 0 var(--terracotta);
  font-weight: 700;
}

.lang {
  display: flex;
  gap: 8px;
}

.lang__item {
  padding: 8px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.lang__item:hover {
  border-color: var(--terracotta);
}

.lang__item[aria-current="page"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ========================================
   ALERT
======================================== */

.alert {
  margin: 28px 0;
  padding: 20px 24px;
  background: rgba(var(--terracotta-rgb), 0.08);
  border-left: 3px solid var(--terracotta);
  border-radius: 8px;
}

/* ========================================
   FOOTER
======================================== */

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 120px;
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 55, 47, 0.16);
}

.btn--primary:hover {
  background: #0f2923;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(23, 55, 47, 0.22);
}

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--stone);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.btn--ghost:hover {
  background: var(--sand);
  border-color: var(--terracotta);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn--large {
  padding: 20px 40px;
  font-size: 16px;
}

/* ========================================
   HERO MAIN
======================================== */

.hero-main {
  padding: 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
    rgba(23, 55, 47, 0.72) 0%,
    rgba(23, 55, 47, 0.78) 50%,
    rgba(251, 248, 242, 0.62) 90%,
    var(--off-white) 98%);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
}

.hero-bg__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-bg__image--placeholder {
  background: linear-gradient(135deg, var(--navy), var(--terracotta));
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  opacity: 0.3;
}

.hero-main__wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 0 100px;
}

.hero-main__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 768px) {
  .hero-main__inner {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .hero-main__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
  }
}

.hero-main__content {
  max-width: 700px;
}

.hero-main__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-main__title {
  font-size: clamp(40px, 5.5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-main__lead {
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 36px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-main__lead strong {
  color: #fff;
  font-weight: 600;
}

.hero-main__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-main__cta .btn--outline {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.hero-main__cta .btn--outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.hero-main__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-card__badge {
  display: inline-block;
  padding: 8px 18px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.hero-card__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}

.hero-card__text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-card__text strong {
  color: var(--text);
}

.hero-card__link {
  color: var(--terracotta);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card__link:hover {
  gap: 10px;
}

/* ========================================
   TRUST BAR - REDESIGNED
======================================== */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 80px 32px;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .trust-bar {
    padding: 80px 48px;
  }
}

.trust-item {
  background: var(--white);
  padding: 48px 32px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--terracotta);
}

.trust-item:hover::before {
  transform: scaleX(1);
}

.trust-item__icon {
  font-size: 36px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.trust-item__value {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.trust-item__label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* ========================================
   SECTION HEADERS
======================================== */

.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   PATHWAYS SECTION
======================================== */

.pathways {
  padding: 100px 0;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 32px;
}

.pathway-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 44px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.pathway-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta);
}

.pathway-card__icon {
  font-size: 52px;
  margin-bottom: 20px;
}

.pathway-card__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--navy);
}

.pathway-card__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.pathway-card__desc strong {
  color: var(--text);
}

.pathway-card__features {
  list-style: none;
  margin-bottom: 32px;
}

.pathway-card__features li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
}

.pathway-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 16px;
}

.pathway-card__features li:last-child {
  border-bottom: none;
}

/* ========================================
   FEATURED SECTION
======================================== */

.featured {
  padding: 100px 0;
  background: var(--sand);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: 40px;
}

.featured-panel {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}

.featured-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.featured-panel--accent {
  border-color: var(--blue-mist);
  background: linear-gradient(
    135deg,
    var(--white),
    rgba(159, 180, 199, 0.03)
  );
}

.featured-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--sand-solid);
}

.featured-panel__head h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.link-arrow {
  color: var(--terracotta);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s;
}

.link-arrow:hover {
  transform: translateX(4px);
}

.mini-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.mini-card {
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--terracotta);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}

.mini-card:hover {
  border-left-color: var(--navy);
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mini-card__title {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.mini-card__meta {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.mini-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   PROCESS SECTION
======================================== */

.process {
  padding: 100px 0;
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.process-step {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}

.process-step__num {
  position: absolute;
  top: -20px;
  left: 28px;
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(var(--terracotta-rgb), 0.3);
}

.process-step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 16px;
  color: var(--navy);
}

.process-step__text {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
}

.process-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================
   VALUES SECTION
======================================== */

.values {
  padding: 100px 0;
  background: var(--white);
}

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

.value-card {
  padding: 40px 32px;
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}

.value-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.value-card__text {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

/* ========================================
   STORY / TIMELINE SECTION
======================================== */

.story {
  padding: 120px 0;
  background: var(--sand);
  position: relative;
}

.story .section-head {
  margin-bottom: 80px;
}

.timeline-wrapper {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--terracotta) 10%,
    var(--terracotta) 90%,
    transparent
  );
  transform: translateX(-50%);
}

@media (max-width: 1024px) {
  .timeline-line {
    left: 40px;
  }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
}

.timeline-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  padding-right: 50%;
}

@media (max-width: 1024px) {
  .timeline-item:nth-child(odd) {
    padding-right: 0;
    padding-left: 80px;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
  }
}

.timeline-item:nth-child(even) {
  padding-left: 50%;
  text-align: right;
}

@media (max-width: 1024px) {
  .timeline-item:nth-child(even) {
    padding-left: 80px;
    text-align: left;
  }
}

.timeline-content {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s;
  max-width: 430px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.timeline-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.timeline-image--placeholder {
  background: linear-gradient(
    135deg,
    var(--sand-solid),
    rgba(var(--terracotta-rgb), 0.2)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.timeline-body {
  padding: 22px;
}

.timeline-year {
  display: inline-block;
  padding: 6px 16px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.timeline-text {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 14px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 120px;
  width: 20px;
  height: 20px;
  background: var(--terracotta);
  border: 4px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(var(--terracotta-rgb), 0.2);
  z-index: 2;
}

@media (max-width: 1024px) {
  .timeline-dot {
    left: 40px;
  }
}

/* ========================================
   FINAL CTA SECTION
======================================== */

.final-cta {
  padding: 100px 0;
  text-align: center;
}

.final-cta__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 60px;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.final-cta__title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy);
}

.final-cta__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================
   OWNERS PAGE - HERO
======================================== */

.hero-owners {
  padding: 100px 0;
  background: var(--white);
}

.hero-owners__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.hero-owners__content {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .hero-owners__inner {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .hero-owners__inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
  }
}

.hero-owners__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.hero-owners__title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-owners__lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-owners__lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-owners__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-owners__visual {
  display: grid;
  gap: 20px;
}

.owners-proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: -42px auto 0;
  padding: 0 32px 72px;
}

.stat-card {
  background: var(--sand);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--terracotta);
}

.stat-card__value {
  font-size: 42px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-card__label {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

.evaluation-form-card {
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(22, 49, 61, 0.1);
  padding: 1.35rem;
}

.evaluation-form-card__head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.05rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--blue-border);
}

.evaluation-form-card__head span {
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evaluation-form-card__head h2 {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.evaluation-form-card__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.evaluation-form {
  display: grid;
  gap: 0.9rem;
}

.evaluation-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.evaluation-field {
  display: grid;
  gap: 0.38rem;
}

.evaluation-field label {
  color: var(--blue-ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.evaluation-field input,
.evaluation-field select,
.evaluation-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.78rem 0.88rem;
  border: 1px solid #d8e5e2;
  border-radius: 12px;
  background: #fbfcfc;
  color: var(--text);
  font: inherit;
}

.evaluation-field textarea {
  min-height: 124px;
  resize: vertical;
}

.evaluation-field input:focus,
.evaluation-field select:focus,
.evaluation-field textarea:focus {
  outline: 3px solid rgba(var(--terracotta-rgb), 0.14);
  border-color: var(--terracotta);
  background: #fff;
}

.evaluation-field__error {
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 700;
}

.evaluation-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.evaluation-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.evaluation-form__submit {
  width: 100%;
  min-height: 50px;
}

.landing-form-card {
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e4e8df;
  background: #fff;
}

.landing-form-card .form-title {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.18;
  margin-bottom: 0.5rem;
}

.landing-form-card .form-subtitle {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-label {
  color: #218838;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-step h3 {
  color: #202020;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.form-floating {
  position: relative;
  margin-bottom: 1rem;
}

.form-floating input,
.form-floating select,
.form-floating textarea {
  width: 100%;
  min-height: 58px;
  padding: 1.2rem 1rem 0.5rem;
  background-color: rgba(32, 32, 32, 0.03);
  border: none;
  border-radius: 8px;
  color: #202020;
  font-size: 1rem;
}

.form-floating textarea {
  min-height: 130px;
  resize: vertical;
  padding-bottom: 2rem;
}

.form-floating input:focus,
.form-floating select:focus,
.form-floating textarea:focus {
  outline: none;
  background-color: rgba(32, 32, 32, 0.05);
}

.form-floating label {
  position: absolute;
  pointer-events: none;
  transition: all 0.2s ease;
  top: 0.4rem;
  left: 1rem;
  font-size: 0.75rem;
  color: #218838;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step-button,
.landing-submit-button {
  background: #218838;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.step-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
}

.step-button-secondary {
  background: #eef1eb;
  color: #202020;
}

.step-actions {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.landing-submit-button {
  flex: 1;
  min-height: 58px;
  padding: 1rem 1.2rem;
  font-size: 1rem;
}

.step-button:hover,
.landing-submit-button:hover {
  background: #17692a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(33, 136, 56, 0.22);
}

.step-button-secondary:hover {
  background: #dde4d7;
  color: #202020;
}

.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-control.is-invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25) !important;
}

.custom-checkbox input.is-invalid + label {
  color: #e74c3c;
}

.character-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  font-size: 0.75rem;
  color: #7f8c8d;
  pointer-events: none;
}

.form-checkbox {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  gap: 0.62rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.custom-checkbox input {
  margin-top: 0.2rem;
}

.owners-landing-proof {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 14px;
}

.owners-landing-proof li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.owners-landing-proof i {
  color: var(--terracotta);
  margin-top: 4px;
}

.owner-reviews-section--owners,
.landing-benefits-section--owners {
  padding: 88px 0;
  background: #fff;
}

.owner-reviews-section--owners {
  background: #f7f9f5;
}

.owner-reviews-header,
.landing-benefits-section--owners .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.owner-reviews-header h2 {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  margin-bottom: 28px;
}

.owner-reviews-grid,
.landing-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.owner-review-card,
.landing-benefit-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.owner-review-card p,
.landing-benefit-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

.owner-review-card strong {
  color: var(--terracotta);
}

.landing-benefit-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sand);
  color: var(--terracotta);
  margin-bottom: 18px;
}

.landing-benefit-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

/* ========================================
   WHY US SECTION
======================================== */

.why-us {
  padding: 100px 0;
  background: var(--sand);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 768px) {
  .benefits-grid {
    padding: 0 48px;
  }
}

.benefit-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}

.benefit-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.benefit-card__text {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
}

.benefit-card__text strong {
  color: var(--text);
  font-weight: 600;
}

/* ========================================
   SERVICES OFFERED SECTION
======================================== */

.services-offered {
  padding: 100px 0;
  background: var(--white);
}

.service-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 768px) {
  .service-blocks {
    padding: 0 48px;
  }
}

.service-block {
  background: var(--off-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}

.service-block__icon {
  font-size: 44px;
  margin-bottom: 20px;
}

.service-block__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy);
}

.service-block__list {
  list-style: none;
}

.service-block__list li {
  padding: 10px 0 10px 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}

.service-block__list li::before {
  content: "\2022";
  position: absolute;
  left: 8px;
  color: var(--terracotta);
  font-size: 20px;
  font-weight: 700;
}

/* ========================================
   FAQ SECTION
======================================== */

.faq-section {
  padding: 100px 0;
  background: var(--sand);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 768px) {
  .faq-grid {
    padding: 0 48px;
  }
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-left-color: var(--navy);
}

.faq-item__question {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.faq-item__answer {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 15px;
  margin: 0;
}

.faq-item__answer strong {
  color: var(--text);
  font-weight: 600;
}

/* ========================================
   OWNERS CTA SECTION
======================================== */

.owners-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--white);
}

.owners-cta__content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 60px;
  background: var(--sand), var(--white);
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.owners-cta__title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--navy);
  line-height: 1.2;
}

.owners-cta__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.owners-cta__text strong {
  color: var(--text);
  font-weight: 600;
}

.owners-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
  .hero-main {
    min-height: auto;
  }

  .hero-main__wrapper {
    padding: 80px 0 60px;
  }

  .hero-main__inner {
    padding: 0 32px;
  }

  .pathway-grid,
  .featured-grid,
  .process-steps,
  .values-grid,
  .benefits-grid,
  .service-blocks,
  .owners-proof-band,
  .owner-reviews-grid,
  .landing-benefits-grid,
  .evaluation-form__grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .step-actions {
    flex-direction: column;
  }

  .landing-submit-button .button-icon {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0 0 0 80px;
    text-align: left;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }

  .owners-cta__content,
  .final-cta__content {
    padding: 50px 32px;
  }

  .hero-main__cta .btn,
  .hero-owners__cta .btn,
  .owners-cta__actions .btn,
  .final-cta__actions .btn,
  .process-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-owners__lead {
    order: 4;
    margin-bottom: 0;
  }

  .hero-owners__cta {
    order: 3;
    margin-bottom: 24px;
  }

  .owners-proof-band {
    margin-top: 0;
    padding: 0 32px 56px;
  }

  .evaluation-form-card {
    padding: 1rem;
    border-radius: 18px;
  }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
  .hero-main {
    min-height: auto;
  }

  .hero-main__wrapper {
    padding: 80px 0 60px;
  }

  .hero-main__inner {
    padding: 0 32px;
  }

  .pathway-grid,
  .featured-grid,
  .process-steps,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0 0 0 80px;
    text-align: left;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOMEPAGE - MODERN SECTIONS (LIGHT 2026)
======================================== */
.home-modern {
  position: relative;
  display: grid;
  gap: 1.6rem;
  margin: 2.25rem 0;
}

.home-modern::before {
  content: "";
  position: absolute;
  inset: -40px -20px auto;
  height: 280px;
  background: var(--sand);
  z-index: -1;
  pointer-events: none;
}

.hm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.hm-metric-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--blue-border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.hm-metric-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
  margin-bottom: 0.25rem;
}

.hm-metric-card p {
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.5;
}

.hm-section {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--blue-border);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.hm-section-head {
  margin-bottom: 0.9rem;
}

.hm-section-head h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
  color: var(--blue-ink);
}

.hm-section-head p {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
}

.hm-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hm-offer-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--blue-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-panel) 100%);
}

.hm-offer-card--accent {
  background: linear-gradient(180deg, #f7fbfd 0%, var(--blue-soft) 100%);
  border-color: var(--blue-border);
}

.hm-offer-card h3 {
  margin: 0;
  font-size: 1.14rem;
  color: var(--blue-ink);
  letter-spacing: -0.01em;
}

.hm-offer-card p {
  color: #334155;
  line-height: 1.55;
}

.hm-offer-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.hm-offer-card .btn {
  margin-top: auto;
  width: 100%;
  border-radius: 999px;
}

.hm-featured {
  background: linear-gradient(180deg, var(--blue-panel) 0%, #ffffff 100%);
}

.hm-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hm-featured-panel {
  border: 1px solid var(--blue-border);
  border-radius: 16px;
  padding: 0.95rem;
  background: #ffffff;
}

.hm-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.hm-featured-head h3 {
  margin: 0;
  color: var(--blue-ink);
  font-size: 1.05rem;
}

.hm-featured-head a {
  color: var(--terracotta);
  font-size: 0.88rem;
  font-weight: 600;
}

.hm-featured-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.hm-featured-panel li {
  border-bottom: 1px dashed #e5edf8;
  padding-bottom: 0.5rem;
}

.hm-featured-panel li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hm-featured-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hm-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 48px;
  border: 1px solid #e2e8f0;
}

.hm-thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--sand-solid) 100%);
  color: var(--blue-deep);
  font-weight: 700;
}

.hm-featured-copy {
  display: grid;
  gap: 0.1rem;
}

.hm-featured-copy strong {
  color: var(--blue-ink);
  font-size: 0.96rem;
  line-height: 1.2;
}

.hm-featured-copy small {
  color: #64748b;
  font-size: 0.82rem;
}

.hm-process {
  background: linear-gradient(135deg, var(--blue-panel) 0%, var(--blue-soft) 100%);
  color: var(--blue-ink);
  border: 1px solid var(--blue-border);
}

.hm-process .hm-section-head h2 {
  color: var(--blue-ink);
}

.hm-process .hm-section-head p,
.hm-process li {
  color: #334155;
}

.hm-process ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.42rem;
}

.hm-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hm-actions .btn {
  border-radius: 999px;
}

.hm-values {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 247, 246, 0.96) 100%);
  overflow: hidden;
}

.hm-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.hm-values-grid article {
  position: relative;
  border: 1px solid var(--blue-border);
  border-radius: 14px;
  padding: 1.05rem 1.05rem 1.05rem 4.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
  min-height: 148px;
  overflow: hidden;
}

.hm-value-index {
  position: absolute;
  left: 1.05rem;
  top: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(var(--terracotta-rgb), 0.13);
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 750;
}

.hm-values-grid h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: var(--blue-ink);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hm-values-grid p {
  color: #4d6470;
  font-size: 0.95rem;
  line-height: 1.58;
}

@media (max-width: 992px) {
  .hm-metrics,
  .hm-offers-grid,
  .hm-featured-grid,
  .hm-values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .home-modern {
    gap: 1.05rem;
  }

  .hm-metrics,
  .hm-offers-grid,
  .hm-featured-grid,
  .hm-values-grid {
    grid-template-columns: 1fr;
  }

  .hm-section {
    padding: 0.95rem;
    border-radius: 16px;
  }

  .hm-actions .btn {
    width: 100%;
  }
}

/* ========================================
   RENTALS INDEX - 2026 CLEAN GRID
======================================== */
.rentals-hero {
  margin: 2.2rem 0 1.1rem;
}

.rentals-hero__kicker {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rentals-hero h1 {
  margin: 0.6rem 0 0.35rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--blue-ink);
}

.rentals-hero p {
  margin: 0;
  max-width: 680px;
  color: #64748b;
}

.rentals-list-section {
  margin-bottom: 2rem;
}

.rentals-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.rentals-list-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--blue-ink);
}

.rentals-list-count {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--blue-border);
  background: var(--blue-panel);
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.rentals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rental-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.rental-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-soft);
}

.rental-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.rental-card:hover .rental-card__media img {
  transform: scale(1.05);
}

.rental-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--blue-deep);
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--sand-solid) 100%);
}

.rental-card__body {
  padding: 0.95rem;
  display: grid;
  gap: 0.55rem;
}

.rental-card__body h3 {
  margin: 0;
  color: var(--blue-ink);
  font-size: 1.08rem;
}

.rental-card__meta {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}

.rental-card__desc {
  margin: 0;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.rental-card__link {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  border: 1px solid var(--blue-border);
  color: var(--terracotta);
  font-weight: 600;
}

.rental-card__link:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.rentals-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 1rem;
  color: #64748b;
  background: #fff;
}

@media (max-width: 1024px) {
  .rentals-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .rentals-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RENTAL DETAIL - MODERN LAYOUT
======================================== */
.rental-detail-hero {
  margin: 2.1rem 0 1rem;
}

.rental-detail-hero__kicker {
  display: inline-flex;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rental-detail-hero h1 {
  margin: 0.6rem 0 0.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--blue-ink);
}

.rental-detail-hero__meta {
  margin: 0;
  color: #64748b;
}

.rental-detail-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.rental-detail-main,
.rental-detail-box {
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.rental-detail-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: var(--blue-soft);
}

.rental-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-detail-media__placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--blue-deep);
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--sand-solid) 100%);
}

.rental-detail-copy {
  padding: 1rem;
  color: #334155;
  line-height: 1.7;
}

.rental-detail-box {
  padding: 1rem;
}

.rental-detail-box h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--blue-ink);
  font-size: 1.08rem;
}

.rental-detail-box ul {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.rental-detail-box li {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed #e2e8f0;
}

.rental-detail-box li span {
  color: #64748b;
  font-size: 0.85rem;
}

.rental-detail-box li strong {
  color: var(--blue-ink);
}

.rental-detail-box__cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--blue-ink);
  color: #fff;
  font-weight: 600;
}

.rental-detail-box__cta:hover {
  background: var(--blue-deep);
  color: #fff;
}

.rental-related {
  margin-bottom: 2.2rem;
}

.rental-related h2 {
  margin: 0 0 0.7rem;
  color: var(--blue-ink);
}

.rental-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.rental-related-card {
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.rental-related-card a {
  font-weight: 600;
  color: var(--terracotta);
}

@media (max-width: 1024px) {
  .rental-detail-layout,
  .rental-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SALES
======================================== */
.sales-hero,
.sale-detail-hero {
  margin: 2rem 0 1rem;
}

.sales-hero__kicker,
.sale-detail-hero__kicker {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sales-hero h1,
.sale-detail-hero h1 {
  margin: 0.6rem 0 0.35rem;
  color: var(--blue-ink);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: 0;
  line-height: 1.12;
}

.sales-hero p,
.sale-detail-hero p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
}

.sales-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.35rem 0 0.85rem;
}

.sales-section-head span {
  display: block;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sales-section-head h2 {
  margin: 0.12rem 0 0;
  color: var(--blue-ink);
  font-size: 1.45rem;
  line-height: 1.2;
}

.sales-section-head a,
.sales-section-head p {
  margin: 0;
  color: #475569;
  font-weight: 700;
}

.sales-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.sales-filter a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-weight: 700;
}

.sales-filter a.active,
.sales-filter a:hover {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

.sales-filter span {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  font-size: 0.8rem;
}

.sales-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 2rem;
}

.sales-browser,
.sales-results-panel {
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.sales-browser {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
}

.sales-browser__head {
  padding: 1rem;
  border-bottom: 1px solid var(--blue-border);
  background: #f8fafc;
}

.sales-browser__head span,
.sales-guide__copy span {
  display: block;
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sales-browser__head h2,
.sales-guide__copy h2 {
  margin: 0.2rem 0 0.25rem;
  color: var(--blue-ink);
  font-size: 1.22rem;
  line-height: 1.2;
}

.sales-browser__head p,
.sales-guide__copy p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.sales-browser__reset {
  display: block;
  margin: 0.75rem 1rem 0;
  padding: 0.62rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: var(--blue-ink);
  font-weight: 800;
  text-align: center;
}

.sales-browser__list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.sales-browser-group {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.sales-browser-group__title,
.sales-browser-group__items a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  color: inherit;
}

.sales-browser-group__title {
  padding: 0.75rem 0.85rem;
  background: #f9fbfd;
  color: var(--blue-ink);
  font-weight: 800;
}

.sales-browser-group__title strong,
.sales-browser-group__items small {
  min-width: 30px;
  min-height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef5f9;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.sales-browser-group__title.active,
.sales-browser-group__items a.active,
.sales-browser-group__title:hover,
.sales-browser-group__items a:hover {
  background: var(--blue-ink);
  color: #fff;
}

.sales-browser-group__title.active strong,
.sales-browser-group__items a.active small,
.sales-browser-group__title:hover strong,
.sales-browser-group__items a:hover small {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.sales-browser-group__items {
  display: grid;
}

.sales-browser-group__items a {
  padding: 0.7rem 0.85rem;
  border-top: 1px solid #eef2f7;
  color: #475569;
  font-weight: 700;
}

.sales-results-panel {
  min-height: 420px;
  padding: 1rem;
}

.sales-category-strip {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.sales-category-strip__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.sales-category-strip__head h2 {
  margin: 0 0 0.2rem;
  color: var(--blue-ink);
  font-size: 1.08rem;
}

.sales-category-strip__head p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.sales-category-strip__head a {
  flex: 0 0 auto;
  color: var(--terracotta);
  font-weight: 800;
  font-size: 0.9rem;
}

.sales-category-strip__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.sales-category-strip__group {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.sales-category-strip__type,
.sales-category-strip__items a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 38px;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-weight: 800;
}

.sales-category-strip__type {
  padding: 0.48rem 0.72rem;
  color: var(--blue-ink);
}

.sales-category-strip__type strong,
.sales-category-strip__items small {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef5f9;
  color: #334155;
  font-size: 0.78rem;
}

.sales-category-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sales-category-strip__items a {
  justify-content: center;
  padding: 0.42rem 0.6rem;
  font-size: 0.86rem;
}

.sales-category-strip__type.active,
.sales-category-strip__type:hover,
.sales-category-strip__items a.active,
.sales-category-strip__items a:hover {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

.sales-category-strip__type.active strong,
.sales-category-strip__type:hover strong,
.sales-category-strip__items a.active small,
.sales-category-strip__items a:hover small {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sales-guide {
  display: grid;
  gap: 1rem;
}

.sales-guide__copy {
  padding: 0.25rem 0.25rem 0;
}

.sales-guide__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.sales-guide-card {
  display: grid;
  grid-template-rows: 150px auto;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.sales-guide-card__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blue-soft);
  color: #64748b;
  font-weight: 800;
  text-align: center;
}

.sales-guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sales-guide-card__body {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem;
}

.sales-guide-card strong {
  color: var(--blue-ink);
  line-height: 1.2;
}

.sales-guide-card small {
  color: #64748b;
  font-weight: 700;
}

.sales-list {
  display: grid;
  gap: 0.85rem;
}

.sale-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  background: #fff;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sale-card:hover {
  border-color: #b7cadb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.sale-card__media {
  display: grid;
  place-items: center;
  min-height: 186px;
  overflow: hidden;
  background: var(--blue-soft);
  color: #64748b;
  font-weight: 800;
  position: relative;
}

.sale-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sale-card:hover .sale-card__media img {
  transform: scale(1.04);
}

.sale-card__body {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.62rem;
  min-width: 0;
  padding: 1rem 1.05rem;
}

.sale-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.sale-card__type {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: #2f5f8f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sale-card h2 {
  margin: 0;
  color: var(--blue-ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.sale-card__price {
  white-space: nowrap;
  color: var(--blue-ink);
  font-size: 1rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #f8fafc;
}

.sale-card__region {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-weight: 700;
}

.sale-card__meta,
.sale-card__desc {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.sale-card__desc {
  max-width: 64ch;
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.94rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sale-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sale-card__facts span,
.sale-amenities span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--blue-border);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
}

.sale-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.2rem;
  margin-top: auto;
}

.sale-card__footer > span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: capitalize;
}

.sale-card__link,
.sale-detail-cta,
.sale-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border-radius: 8px;
  min-height: 38px;
  padding: 0.52rem 0.82rem;
  background: var(--blue-ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.sale-card__link:hover,
.sale-detail-cta:hover,
.sale-detail-back:hover {
  background: var(--blue-deep);
  color: #fff;
}

.sales-empty {
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
}

.sale-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.sale-detail-main,
.sale-detail-box {
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.sale-detail-backlink {
  color: #475569;
  font-weight: 800;
}

.sale-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: #64748b;
}

.sale-detail-hero__meta span,
.sale-detail-hero__meta strong {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: #fff;
}

.sale-detail-hero__meta strong {
  color: var(--blue-ink);
}

.sale-gallery {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--blue-border);
}

.sale-gallery__main {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--blue-soft);
}

.sale-gallery__main img,
.sale-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sale-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  background: #f8fafc;
}

.sale-gallery__thumbs a {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
}

.sale-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
  border-bottom: 1px solid var(--blue-border);
}

.sale-detail-summary div {
  display: grid;
  gap: 0.15rem;
}

.sale-detail-summary span,
.sale-detail-box li span {
  color: #64748b;
  font-size: 0.84rem;
}

.sale-detail-summary strong,
.sale-detail-box li strong {
  color: var(--blue-ink);
}

.sale-detail-lead {
  margin: 0;
  padding: 1rem 1rem 0;
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.65;
}

.sale-detail-copy {
  padding: 1rem;
  color: #334155;
  line-height: 1.72;
}

.sale-detail-copy h2 {
  margin: 0 0 0.65rem;
  color: var(--blue-ink);
  font-size: 1.2rem;
}

.sale-detail-copy p {
  margin-bottom: 0.85rem;
}

.sale-detail-copy--muted {
  border-top: 1px solid var(--blue-border);
  background: #f8fafc;
}

.sale-detail-side {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.sale-detail-box {
  padding: 1rem;
}

.sale-detail-box h2 {
  margin: 0 0 0.75rem;
  color: var(--blue-ink);
  font-size: 1.08rem;
}

.sale-detail-box--cta {
  display: grid;
  gap: 0.7rem;
  border-color: #d8c7b5;
  background: #fffaf5;
}

.sale-detail-box--cta span {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sale-detail-box--cta h2 {
  margin: 0;
  font-size: 1.25rem;
}

.sale-detail-phone {
  color: var(--blue-ink);
  font-weight: 800;
}

.sale-detail-box ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.sale-detail-box li {
  display: grid;
  gap: 0.12rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed #e2e8f0;
}

.sale-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sale-attachments {
  display: grid;
  gap: 0.5rem;
}

.sale-attachments a {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  color: var(--blue-ink);
  font-weight: 700;
  text-decoration: none;
  background: #f8fafc;
}

.sale-attachments a:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
}

@media (max-width: 980px) {
  .sales-explorer,
  .sales-guide__choices,
  .sale-card,
  .sale-detail-layout,
  .sale-detail-summary {
    grid-template-columns: 1fr;
  }

  .sales-browser {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .sales-results-panel {
    padding: 0.85rem;
  }

  .sales-browser__head,
  .sales-browser__list {
    padding: 0.85rem;
  }

  .sales-browser-group__title,
  .sales-browser-group__items a {
    min-height: 50px;
  }

  .sales-guide-card {
    grid-template-rows: 132px auto;
  }

  .sale-card__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .sale-card__footer {
    display: grid;
    align-items: stretch;
  }

  .sale-card__link {
    justify-self: stretch;
  }

  .sale-card__head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sales-section-head {
    display: grid;
  }

  .sale-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .sales-hero,
  .sale-detail-hero {
    margin-top: 1.25rem;
  }

  .sales-filter {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sales-filter a {
    justify-content: space-between;
    min-height: 46px;
  }

  .sales-explorer {
    gap: 0.85rem;
  }

  .sale-card__body {
    padding: 0.9rem;
  }

  .sale-card__price {
    white-space: normal;
  }
}

/* ========================================
   DETAIL PAGES - REFINED UX
======================================== */
.rental-detail-backlink,
.sale-detail-backlink {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 0.55rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 800;
}

.rental-detail-hero,
.sale-detail-hero {
  max-width: 980px;
}

.rental-detail-hero h1,
.sale-detail-hero h1 {
  max-width: 920px;
  overflow-wrap: anywhere;
}

.rental-detail-layout,
.sale-detail-layout {
  align-items: start;
  gap: 1.15rem;
}

.rental-detail-main,
.rental-detail-box,
.sale-detail-main,
.sale-detail-box {
  border-radius: 8px;
}

.rental-detail-media {
  border-radius: 8px 8px 0 0;
}

.rental-detail-copy {
  padding: 1.15rem;
}

.rental-detail-copy__head {
  display: grid;
  gap: 0.18rem;
  margin-bottom: 0.85rem;
}

.rental-detail-copy__head span,
.sale-detail-lead span,
.sale-gallery__label {
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rental-detail-copy__head h2 {
  margin: 0;
  color: var(--blue-ink);
  font-size: 1.28rem;
  line-height: 1.2;
}

.rental-detail-copy p,
.rental-detail-copy li,
.sale-detail-copy p,
.sale-detail-copy li {
  max-width: 78ch;
}

.rental-detail-side,
.sale-detail-side {
  position: sticky;
  top: 92px;
}

.rental-detail-box--cta,
.sale-detail-box--cta {
  border-color: #d9cab4;
  background: #fffaf5;
}

.rental-detail-box--cta {
  display: grid;
  gap: 0.7rem;
}

.rental-detail-box--cta span {
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rental-detail-box--cta p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.rental-detail-box__cta,
.sale-detail-cta {
  min-height: 44px;
  border-radius: 8px;
}

.rental-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rental-related-card {
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rental-related-card:hover {
  border-color: #b7cadb;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.rental-related-card a {
  display: grid;
  gap: 0.2rem;
}

.rental-related-card strong {
  color: var(--blue-ink);
}

.rental-related-card span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.sale-gallery {
  position: relative;
}

.sale-gallery__label {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.32rem 0.58rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.sale-gallery__main {
  min-height: 340px;
}

.sale-gallery__main--empty {
  display: grid;
  place-items: center;
  color: #64748b;
  font-weight: 800;
}

.sale-detail-summary {
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  padding: 0.9rem;
}

.sale-detail-summary div {
  min-height: 74px;
  padding: 0.72rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.sale-detail-summary strong {
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.sale-detail-lead {
  display: grid;
  gap: 0.4rem;
  padding: 1.1rem 1.15rem 0;
}

.sale-detail-lead p {
  margin: 0;
  color: #1f2937;
  font-size: 1.04rem;
  line-height: 1.65;
}

.sale-detail-copy {
  padding: 1.15rem;
}

.sale-detail-box {
  padding: 1.05rem;
}

.sale-detail-box li {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.75rem;
}

.sale-detail-box li strong {
  text-align: right;
}

.sale-mobile-actions,
.rental-mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .rental-detail-side,
  .sale-detail-side {
    position: static;
  }

  .rental-detail-layout,
  .sale-detail-layout,
  .rental-related-grid {
    grid-template-columns: 1fr;
  }

  .sale-gallery__main {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .rental-detail-hero h1,
  .sale-detail-hero h1 {
    font-size: 1.9rem;
    line-height: 1.12;
  }

  .sale-detail-hero__meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sale-detail-hero__meta span,
  .sale-detail-hero__meta strong {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
  }

  .sale-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .sale-detail-box li {
    grid-template-columns: 1fr;
  }

  .sale-detail-box li strong {
    text-align: left;
  }

  .sale-mobile-actions {
    position: sticky;
    z-index: 30;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin: 0 -18px;
    padding: 0.7rem 18px calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--blue-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
  }

  .sale-mobile-actions .sale-detail-cta {
    width: 100%;
  }

  .sale-mobile-actions .sale-detail-phone {
    text-align: center;
  }

  .rental-mobile-cta {
    position: sticky;
    z-index: 30;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0 -18px;
    padding: 0.7rem 18px calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--blue-ink);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.1);
  }

  .rental-mobile-cta:hover {
    color: #fff;
  }
}

@media (max-width: 420px) {
  .sale-detail-summary {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SHARED LISTING INDEXES
======================================== */
.listing-hero,
.sales-hero,
.rentals-hero {
  position: relative;
  margin: 1.7rem 0 1rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(22, 49, 61, 0.92), rgba(44, 83, 91, 0.76)),
    url("/images/hero-riviera-ligure.jpg") center / cover;
  color: #fff;
  box-shadow: 0 16px 42px rgba(22, 49, 61, 0.12);
}

.listing-hero--sales {
  background:
    linear-gradient(135deg, rgba(22, 49, 61, 0.9), rgba(127, 101, 67, 0.64)),
    url("/images/castello-borelli.jpg") center / cover;
}

.listing-hero--rentals {
  background:
    linear-gradient(135deg, rgba(22, 49, 61, 0.88), rgba(47, 95, 143, 0.62)),
    url("/images/dominio-mare.jpg") center / cover;
}

.listing-hero__kicker,
.sales-hero__kicker,
.rentals-hero__kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0.32rem 0.74rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-hero h1,
.sales-hero h1,
.rentals-hero h1 {
  max-width: 820px;
  margin: 0.65rem 0 0.35rem;
  color: #fff;
  font-size: clamp(2.05rem, 4.4vw, 3.35rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.04;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.listing-hero p,
.sales-hero p,
.rentals-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.62;
}

.listing-panel,
.rentals-list-section,
.sales-results-panel {
  margin-bottom: 2.1rem;
  padding: clamp(0.9rem, 2vw, 1.15rem);
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(22, 49, 61, 0.055);
}

.listing-section-head,
.rentals-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.listing-section-head span {
  display: block;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-section-head h2,
.rentals-list-head h2 {
  margin: 0.16rem 0 0;
  color: var(--blue-ink);
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.14;
}

.listing-section-head p {
  max-width: 470px;
  margin: 0;
  color: #5f737d;
  font-size: 0.94rem;
  line-height: 1.5;
  text-align: right;
}

.rentals-grid,
.sales-guide__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.95rem;
}

.listing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 0.95rem;
}

.listing-card,
.rental-card,
.sales-guide-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover,
.rental-card:hover,
.sales-guide-card:hover {
  border-color: #b7cadb;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.listing-card__media,
.rental-card__media,
.sales-guide-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10.5;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-soft), var(--sand-solid));
  color: var(--blue-ink);
  font-weight: 800;
}

.listing-card__media img,
.rental-card__media img,
.sales-guide-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.listing-card:hover .listing-card__media img,
.rental-card:hover .rental-card__media img,
.sales-guide-card:hover .sales-guide-card__media img {
  transform: scale(1.045);
}

.listing-card__placeholder,
.rental-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--blue-ink);
  font-size: 2.1rem;
}

.listing-card__badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-ink);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.listing-card__body,
.rental-card__body,
.sales-guide-card__body {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.95rem;
}

.listing-card__body h3,
.listing-card__title,
.rental-card__body h3,
.sales-guide-card strong {
  margin: 0;
  color: var(--blue-ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.22;
}

.listing-card__meta,
.rental-card__meta {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.45;
}

.listing-card__desc,
.rental-card__desc,
.sales-guide-card small {
  margin: 0;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.55;
}

.listing-card__link,
.rental-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  margin-top: 0.1rem;
  padding: 0.5rem 0.78rem;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: #fff;
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 800;
}

.listing-card:hover .listing-card__link,
.rental-card__link:hover {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

.sales-filter {
  margin: 0 0 1rem;
  padding: 0.35rem;
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 49, 61, 0.045);
}

.sales-filter a {
  border: 0;
  background: transparent;
}

.sales-filter a.active,
.sales-filter a:hover {
  background: var(--blue-ink);
  color: #fff;
}

@media (max-width: 760px) {
  .listing-hero,
  .sales-hero,
  .rentals-hero {
    margin-top: 1rem;
    border-radius: 14px;
  }

  .listing-section-head,
  .rentals-list-head {
    display: grid;
    gap: 0.35rem;
  }

  .listing-section-head p {
    max-width: none;
    text-align: left;
  }

  .listing-card-grid,
  .rentals-grid,
  .sales-guide__choices {
    grid-template-columns: 1fr;
  }

  .sales-filter {
    display: grid;
    border-radius: 14px;
  }
}

/* Laravel pagination reset */
.pagination,
nav[role="navigation"] .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav[role="navigation"] {
  width: 100%;
}

nav[role="navigation"] > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

nav[role="navigation"] span,
nav[role="navigation"] a {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.62rem;
  border-radius: 9px;
  font-size: 0.88rem;
  line-height: 1;
  text-decoration: none;
}

nav[role="navigation"] a {
  border: 1px solid var(--blue-border);
  background: #fff;
  color: var(--blue-ink);
}

nav[role="navigation"] a:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

nav[role="navigation"] span[aria-current="page"] span,
nav[role="navigation"] .active span,
nav[role="navigation"] .page-item.active .page-link {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}

nav[role="navigation"] svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

nav[role="navigation"] p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

nav[role="navigation"] p span {
  display: inline;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  line-height: inherit;
}

/* Final responsive hardening for public pages */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.container,
.property-container,
.listing-container,
.sales-index-shell,
.rentals-page,
.about-page,
.contact-page {
  min-width: 0;
}

.btn,
button,
input,
select,
textarea,
.sale-card,
.rental-card,
.content-card,
.property-offer-card,
.property-gallery-card {
  min-width: 0;
}

.sale-card h2,
.sale-card__desc,
.offer-card__title,
.section-heading h2,
.listing-hero h1,
.listing-hero p {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .listing-hero,
  .sales-index-hero,
  .contact-hero,
  .about-hero {
    margin-right: 0;
    margin-left: 0;
    border-radius: 16px;
  }

  .evaluation-form__grid,
  .contact-grid,
  .sales-index-shell .sales-list {
    grid-template-columns: 1fr;
  }

  .sales-index-shell .sale-card {
    border-radius: 10px;
  }

  .sales-index-shell .sale-card__media {
    aspect-ratio: 1 / 1;
  }

  .sales-index-shell .sale-card__body {
    padding: 0.88rem;
  }

  .sale-card__price--media,
  .sale-card__media-type {
    max-width: calc(100% - 1rem);
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }

  .offer-card__actions {
    grid-template-columns: 1fr;
  }

  .offer-card__actions .btn,
  .mobile-cta-bar .btn,
  .sidebar-card__actions .btn {
    width: 100%;
    white-space: normal;
  }

  .specs-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenity-badge {
    width: 100%;
  }

  .property-modal__dialog {
    width: calc(100% - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
    overflow: auto;
    border-radius: 16px;
  }

  .gallery-lightbox__frame {
    width: 100%;
    height: 100dvh;
    padding: 4.25rem 0 1rem;
    border-radius: 0;
  }
}

/* ========================================
   SALES INDEX - REFINED UX
======================================== */
.sales-index-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.35rem 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(22, 49, 61, 0.1);
}

.sales-index-intro h1 {
  margin: 0 0 0.28rem;
  color: var(--blue-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.05;
}

.sales-index-intro p {
  max-width: 680px;
  margin: 0;
  color: #5f737d;
  font-size: 1rem;
  line-height: 1.58;
}

.sales-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  margin: 1.4rem 0 1rem;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(22, 49, 61, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 33, 41, 0.92) 0%, rgba(22, 49, 61, 0.74) 48%, rgba(127, 101, 67, 0.54) 100%),
    url("/images/castello-borelli.jpg") center / cover;
  color: #fff;
  box-shadow: 0 18px 44px rgba(22, 49, 61, 0.13);
}

.sales-index-hero__content {
  display: grid;
  gap: 0.55rem;
  max-width: 820px;
}

.sales-index-hero__kicker {
  width: max-content;
  margin: 0;
  padding: 0.34rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-index-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.sales-index-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.62;
}

.sales-index-hero__aside {
  display: grid;
  gap: 0.75rem;
  justify-self: stretch;
}

.sales-index-stat {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.sales-index-stat strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.sales-index-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.sales-filter--hero {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.sales-filter--hero a {
  justify-content: space-between;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  color: #fff;
}

.sales-filter--hero a span {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sales-filter--hero a.active,
.sales-filter--hero a:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-ink);
}

.sales-filter--hero a.active span,
.sales-filter--hero a:hover span {
  background: rgba(22, 49, 61, 0.1);
  color: var(--blue-ink);
}

.sales-index-shell {
  margin-bottom: 2.25rem;
}

.sales-index-shell .sales-results-panel {
  min-height: 0;
  padding: clamp(0.9rem, 2vw, 1.15rem);
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8faf9 100%);
  box-shadow: 0 14px 34px rgba(22, 49, 61, 0.055);
}

.sales-index-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sales-index-head span {
  display: block;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-index-head h2 {
  margin: 0.16rem 0 0;
  color: var(--blue-ink);
  font-size: clamp(1.32rem, 2.1vw, 1.75rem);
  line-height: 1.12;
}

.sales-index-head p {
  max-width: 500px;
  margin: 0;
  color: #5f737d;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: right;
}

.sales-macro-overview {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sales-macro-overview__intro {
  padding: 0.2rem 0 0.1rem;
}

.sales-macro-overview__head {
  display: grid;
  gap: 0.35rem;
}

.sales-macro-overview__head span,
.sales-macro-card h3 {
  display: block;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-macro-overview__head h2 {
  margin: 0.16rem 0 0;
  color: var(--blue-ink);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.12;
}

.sales-macro-overview__head p {
  max-width: 76ch;
  margin: 0;
  color: #5f737d;
  font-size: 0.95rem;
  line-height: 1.55;
}

.sales-macro-card {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid #e3ddd1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.sales-macro-card h3 {
  position: relative;
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0;
  text-transform: none;
}

.sales-macro-card h3::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-right: 0.35rem;
  background: var(--terracotta);
  vertical-align: -0.08em;
}

.sales-macro-overview__body {
  color: #142b36;
  font-size: 0.95rem;
  line-height: 1.62;
}

.sales-macro-overview__body > *:first-child,
.sales-macro-item__content > *:first-child {
  margin-top: 0;
}

.sales-macro-overview__body > *:last-child,
.sales-macro-item__content > *:last-child {
  margin-bottom: 0;
}

.sales-macro-overview__body p,
.sales-macro-overview__body li {
  max-width: 112ch;
}

.sales-macro-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.98fr);
  gap: 1rem;
  align-items: stretch;
}

.sales-macro-dashboard > .sales-macro-card:only-child {
  grid-column: 1 / -1;
}

.sales-macro-list {
  display: grid;
  gap: 0.85rem;
}

.sales-macro-list__item {
  display: grid;
  gap: 0.28rem;
  padding-left: 0.7rem;
  border-left: 1px solid #efc77f;
}

.sales-macro-list__item span,
.sales-macro-item span {
  color: #102f3f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sales-macro-item__content {
  color: var(--blue-ink);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sales-macro-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 0.85rem;
}

.sales-macro-stat {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.3rem;
  min-height: 86px;
  padding: 0.75rem;
  border: 1px solid #eadfce;
  border-radius: 6px;
  background: #fbfaf7;
  text-align: center;
}

.sales-macro-stat strong {
  color: #102f3f;
  font-size: 0.88rem;
  line-height: 1.15;
}

.sales-macro-stat span {
  max-width: 12ch;
  color: #7f8fa6;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.sales-macro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
}

.sales-macro-item {
  display: grid;
  gap: 0.3rem;
  min-height: 76px;
  padding: 0.85rem;
  border: 1px solid #dbe7e3;
  border-radius: 8px;
  background: #fff;
}

.sales-macro-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}

.sales-macro-gallery-grid--single {
  grid-template-columns: minmax(0, 180px);
}

.sales-macro-gallery-tile,
.sales-macro-lightbox__thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #dfe8e5;
  cursor: pointer;
}

.sales-macro-gallery-tile {
  aspect-ratio: 16 / 10;
  min-height: 104px;
}

.sales-macro-gallery-tile img,
.sales-macro-lightbox__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sales-macro-gallery-tile:hover img {
  transform: scale(1.035);
}

.sales-macro-gallery-tile img {
  transition: transform 180ms ease;
}

.sales-macro-gallery-tile__label {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  max-width: calc(100% - 1.1rem);
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-ink);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sales-macro-gallery-tile:hover .sales-macro-gallery-tile__label,
.sales-macro-gallery-tile:focus-visible .sales-macro-gallery-tile__label {
  opacity: 1;
  transform: translateY(0);
}

.sales-macro-gallery-tile.is-active,
.sales-macro-lightbox__thumb.is-active {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.sales-macro-thumb__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.48);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.sales-macro-documents {
  display: flex;
  justify-content: flex-start;
}

.sales-macro-documents__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d8e2de;
  border-radius: 16px;
  background: #fff;
  color: var(--blue-ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.sales-macro-documents__link span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #eff6f4;
  color: #51717f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sales-macro-documents__link strong {
  font-size: 0.92rem;
}

.sales-macro-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sales-macro-lightbox[hidden] {
  display: none;
}

.sales-macro-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 15, 19, 0.86);
}

.sales-macro-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  width: min(1100px, 100%);
  padding: 1rem;
  border-radius: 20px;
  background: rgba(10, 18, 23, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.sales-macro-lightbox__figure {
  position: relative;
  margin: 0;
}

.sales-macro-lightbox__image {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  background: #0d171d;
  cursor: e-resize;
}

.sales-macro-lightbox__meta {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 0.94rem;
}

.sales-macro-lightbox__close,
.sales-macro-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.sales-macro-lightbox__close {
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  line-height: 1;
}

.sales-macro-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
}

.sales-macro-lightbox__nav.prev {
  left: 1rem;
}

.sales-macro-lightbox__nav.next {
  right: 1rem;
}

.sales-macro-lightbox__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.55rem;
}

.sales-macro-lightbox__thumb {
  min-height: 72px;
}

.sales-results-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sales-results-actions p {
  max-width: none;
}

.sales-results-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.sales-results-actions a:hover {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

.sales-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0.95rem;
}

.sales-category-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe7f3;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sales-category-card:hover {
  border-color: #b7cadb;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.sales-category-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10.5;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-soft), var(--sand-solid));
}

.sales-category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sales-category-card:hover .sales-category-card__media img {
  transform: scale(1.045);
}

.sales-category-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--blue-ink);
  font-size: 2.1rem;
  font-weight: 800;
}

.sales-category-card__count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-ink);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.sales-category-card__body {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
}

.sales-category-card__body strong {
  color: var(--blue-ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.sales-category-card__body span {
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.55;
}

.sales-category-card__body em {
  justify-self: start;
  min-height: 38px;
  padding: 0.5rem 0.78rem;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  color: var(--terracotta);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.sales-category-card:hover .sales-category-card__body em {
  background: var(--blue-ink);
  border-color: var(--blue-ink);
  color: #fff;
}

.sales-index-shell .sales-category-strip {
  border-radius: 14px;
  background: #f8faf9;
  box-shadow: none;
}

.sales-index-shell .sales-list {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.05rem;
}

.sales-index-shell .sale-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-color: rgba(22, 49, 61, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.sales-index-shell .sale-card__media {
  min-height: 0;
  aspect-ratio: 1.12 / 1;
  background: #edf4f2;
}

.sales-index-shell .sale-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(9, 24, 31, 0) 0%, rgba(9, 24, 31, 0.58) 100%);
  pointer-events: none;
}

.sale-card__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 24, 31, 0.1) 0%, rgba(9, 24, 31, 0) 38%);
  pointer-events: none;
}

.sale-card__price--media {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
}

.sale-card__media-type {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  top: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  background: rgba(22, 49, 61, 0.86);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sales-index-shell .sale-card__body {
  grid-template-rows: auto auto auto 1fr;
  gap: 0.68rem;
  padding: 1rem;
}

.sales-index-shell .sale-card__head {
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.sales-index-shell .sale-card__type {
  display: none;
}

.sales-index-shell .sale-card h2 {
  font-size: 1.05rem;
  line-height: 1.22;
}

.sales-index-shell .sale-card h2 a {
  color: inherit;
}

.sales-index-shell .sale-card__region {
  margin-top: 0.32rem;
  color: #5f737d;
  font-size: 0.84rem;
  line-height: 1.35;
}

.sales-index-shell .sale-card__price {
  justify-self: start;
  border-color: rgba(183, 134, 61, 0.28);
  background: #fffaf5;
  color: var(--blue-ink);
}

.sales-index-shell .sale-card__desc {
  -webkit-line-clamp: 2;
  min-height: 2.95em;
  color: #5f737d;
  font-size: 0.9rem;
}

.sales-index-shell .sale-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.sales-index-shell .sale-card__facts span {
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 0.8rem;
}

.sales-index-shell .sale-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.2rem;
}

.sales-index-shell .sale-card__link {
  justify-self: auto;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .sales-index-intro {
    display: grid;
    align-items: start;
  }

  .sales-index-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sales-index-hero__aside {
    max-width: none;
  }

  .sales-index-head,
  .sales-macro-overview__head,
  .sales-category-strip__head {
    display: grid;
    align-items: start;
  }

  .sales-index-head p,
  .sales-macro-overview__head p {
    max-width: none;
    text-align: left;
  }

  .sales-macro-dashboard {
    grid-template-columns: 1fr;
  }

  .sales-results-actions {
    justify-content: flex-start;
  }

  .sales-index-shell .sale-card__media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .sales-index-hero {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 14px;
  }

  .sales-index-hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .sales-index-stat {
    align-items: center;
  }

  .sales-category-grid {
    grid-template-columns: 1fr;
  }

  .sales-index-shell .sales-list {
    grid-template-columns: 1fr;
  }

  .sales-macro-card {
    padding: 1rem;
  }

  .sales-macro-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .sales-macro-gallery-grid--single {
    grid-template-columns: minmax(0, 160px);
  }

  .sales-macro-gallery-tile {
    min-height: 96px;
  }

  .sales-macro-gallery-tile__label {
    display: none;
  }

  .sales-macro-lightbox {
    padding: 0.4rem;
  }

  .sales-macro-lightbox__dialog {
    gap: 0.55rem;
    max-height: 100dvh;
    padding: 3.25rem 0.55rem 0.7rem;
    border-radius: 0;
  }

  .sales-macro-lightbox__image {
    max-height: 62dvh;
    border-radius: 10px;
  }

  .sales-macro-lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .sales-macro-lightbox__nav.prev {
    left: 0.5rem;
  }

  .sales-macro-lightbox__nav.next {
    right: 0.5rem;
  }

  .sales-macro-lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .sales-macro-lightbox__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 20dvh;
    overflow:auto;
  }

  .sales-index-shell .sale-card__facts {
    grid-template-columns: 1fr 1fr;
  }

  .sales-index-shell .sale-card__footer {
    display: grid;
    align-items: stretch;
  }

  .sales-index-shell .sale-card__link {
    width: 100%;
  }
}

/* ========================================
   PROPERTY SHOWCASE - SALES DETAIL
======================================== */
.property-showcase {
  --tone-deep: #16313d;
  --tone-soft: #eef4f3;
  --tone-accent: #b7863d;
  --tone-line: #d9e6e3;
  --tone-card: #ffffff;
  --tone-text: #17303b;
  width: 100%;
  margin: 0;
  padding-bottom: 7rem;
  background: linear-gradient(180deg, #f6f5f1 0%, #ffffff 28%, #f5f8f8 100%);
  color: var(--tone-text);
  font-size: 0.93rem;
}

.property-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.property-backlink {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 0.75rem;
  color: #5e747d;
  font-size: 0.9rem;
  font-weight: 800;
}

.property-backlink:hover {
  color: var(--tone-deep);
}

.property-hero-shell {
  padding: 1.5rem 0 0.85rem;
}

.property-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.property-gallery-card,
.property-offer-card,
.content-card,
.sidebar-card {
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 28px;
  background: var(--tone-card);
  box-shadow: 0 20px 60px rgba(22, 49, 61, 0.08);
}

.property-gallery-card {
  overflow: hidden;
}

.property-gallery-stage {
  position: relative;
  display: flex;
  height: 440px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #d8e4e1;
}

.property-gallery-stage[role="button"] {
  cursor: zoom-in;
}

.property-gallery-stage[role="button"]:focus-visible {
  outline: 3px solid rgba(183, 134, 61, 0.9);
  outline-offset: -3px;
}

.property-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.property-gallery-empty {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(22, 49, 61, 0.65);
  font-size: 1.05rem;
  font-weight: 800;
}

.property-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(9, 24, 31, 0.28) 0%, rgba(9, 24, 31, 0.03) 30%, rgba(9, 24, 31, 0.45) 100%);
}

.property-gallery-top,
.property-gallery-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.property-gallery-actions {
  position: absolute;
  inset: 50% 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.9rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.property-pill,
.gallery-chip,
.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}

.property-pill {
  padding: 0.48rem 0.82rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tone-deep);
  font-size: 0.84rem;
}

.property-pill-soft {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(183, 134, 61, 0.18);
  color: #fff;
}

.gallery-chip {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--tone-deep);
  font-size: 0.9rem;
  cursor: pointer;
}

.gallery-nav-button {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--tone-deep);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
}

.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 0.65rem;
  padding: 0.85rem;
  background: #f7faf9;
}

.property-thumb {
  position: relative;
  height: 80px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
}

.property-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-thumb.is-active {
  border-color: var(--tone-accent);
  transform: translateY(-1px);
}

.property-thumb--more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 28, 0.42);
}

.property-thumb__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.property-offer-card {
  position: sticky;
  top: 100px;
  padding: 1.1rem;
}

.offer-card__eyebrow,
.section-kicker {
  display: inline-block;
  color: #7f6543;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card__title {
  margin: 0.45rem 0;
  color: var(--tone-deep);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.offer-card__location {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  margin-bottom: 0.6rem;
  color: #4d6571;
  font-size: 0.84rem;
}

.offer-card__location span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.offer-card__price {
  margin-bottom: 0.18rem;
  color: var(--tone-deep);
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
  font-weight: 800;
  line-height: 1;
}

.offer-card__price-note {
  margin-bottom: 0.7rem;
  color: #7b8d95;
  font-size: 0.8rem;
}

.offer-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.offer-fact {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.6rem;
  align-items: center;
  min-height: 76px;
  padding: 0.65rem 0.72rem;
  border: 1px solid #dde9e6;
  border-radius: 16px;
  background: linear-gradient(180deg, #f5f9f8 0%, #eef5f3 100%);
}

.offer-fact__icon {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2ece9;
  color: var(--tone-accent);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-fact__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.12rem;
}

.offer-fact__label {
  color: #6b7d85;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.offer-fact__value {
  color: var(--tone-deep);
  font-size: 0.92rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.offer-card__actions,
.sidebar-card__actions {
  display: grid;
  gap: 0.7rem;
}

.offer-card__actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card__actions .btn,
.sidebar-card__actions .btn,
.mobile-cta-bar .btn,
.btn-resource {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  padding-right: 0.7rem;
  padding-left: 0.7rem;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}

.btn-offer-call,
.btn-offer-whatsapp,
.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  font-weight: 700;
}

.btn-offer-call,
.btn-outline-secondary {
  border: 1px solid #bdd7ff;
  background: #eaf4ff;
  color: #114a9f;
}

.btn-offer-call:hover,
.btn-outline-secondary:hover {
  background: #dcecff;
  color: #0d3e85;
}

.btn-offer-whatsapp {
  border: 1px solid #bfe8ce;
  background: #eafaf1;
  color: #177245;
}

.btn-offer-whatsapp:hover {
  background: #dff5e8;
  color: #125c37;
}

.offer-card__anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--tone-line);
}

.offer-card__anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.56rem;
  border: 1px solid #d4e0ea;
  border-radius: 999px;
  background: #eef4f8;
  color: #244f75;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
}

.offer-card__anchor-nav a:hover {
  border-color: #b6d0e6;
  background: #dfeefa;
  color: #163c5b;
}

.property-specs-band {
  padding: 0 0 1rem;
}

.technical-sheet-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(22, 49, 61, 0.08);
  border-radius: 24px;
  background: var(--tone-card);
  box-shadow: 0 18px 50px rgba(22, 49, 61, 0.06);
}

.section-heading {
  margin-bottom: 0.85rem;
}

.section-heading--compact {
  margin-bottom: 0.7rem;
}

.section-heading h2 {
  margin: 0.3rem 0 0;
  color: var(--tone-deep);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.15;
}

.section-heading--compact h2 {
  margin-top: 0.2rem;
  font-size: 1.08rem;
}

.technical-sheet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.technical-sheet-panel {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dee9e6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

.technical-sheet-panel h3 {
  margin: 0 0 0.85rem;
  color: var(--tone-deep);
  font-size: 0.98rem;
  line-height: 1.2;
}

.technical-sheet-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.technical-sheet-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.1fr);
  gap: 0.75rem;
  align-items: start;
  padding-top: 0.7rem;
  border-top: 1px solid #e7efec;
}

.technical-sheet-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.technical-sheet-row dt {
  margin: 0;
  color: #6c7f88;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.technical-sheet-row dd {
  margin: 0;
  color: var(--tone-deep);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.property-content-shell {
  padding: 0.5rem 0 0;
}

.property-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.property-main-flow {
  display: grid;
  gap: 1rem;
}

.content-card,
.sidebar-card {
  padding: 1.2rem;
}

.description-body {
  position: relative;
  overflow: hidden;
  color: #354d58;
  font-size: 0.95rem;
  line-height: 1.7;
}

.description-body p,
.description-body li {
  max-width: 82ch;
}

.description-body.is-collapsed {
  max-height: 235px;
}

.description-body.is-collapsed::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.description-toggle {
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tone-deep);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.amenities-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.amenity-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 0.88rem;
  border: 1px solid #dce7e5;
  border-radius: 16px;
  background: #f4f7f7;
  color: var(--tone-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.resource-panel {
  padding: 0.9rem;
  border: 1px solid #e2ece9;
  border-radius: 20px;
  background: #f8fbfa;
}

.resource-panel h3 {
  margin-bottom: 0.45rem;
  color: var(--tone-deep);
  font-size: 1rem;
}

.resource-panel p {
  margin-bottom: 0.85rem;
  color: #6b7f88;
  font-size: 0.88rem;
}

.document-list {
  display: grid;
  gap: 0.8rem;
}

.document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.8rem;
  border: 1px solid #e1ebea;
  border-radius: 16px;
  background: #fff;
}

.document-row__meta {
  min-width: 0;
}

.document-row__meta strong,
.document-row__meta span {
  display: block;
}

.document-row__meta strong {
  color: var(--tone-deep);
  overflow-wrap: anywhere;
}

.document-row__meta span {
  color: #6f838d;
  font-size: 0.8rem;
}

.document-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.map-card {
  overflow: hidden;
  border: 1px solid #dce7e5;
  border-radius: 22px;
}

#property-map {
  width: 100%;
  height: 340px;
}

.property-sidebar-cta {
  position: sticky;
  top: 100px;
}

.sidebar-card h3 {
  margin: 0.3rem 0 0.45rem;
  color: var(--tone-deep);
  font-size: 1.02rem;
  line-height: 1.2;
}

.sidebar-card p {
  color: #5e747d;
  font-size: 0.93rem;
}

.contact-stack {
  display: grid;
  gap: 0.7rem;
  margin: 0.9rem 0 1.1rem;
  font-size: 0.94rem;
}

.contact-stack__row,
.contact-stack__row a {
  color: var(--tone-deep);
  font-weight: 700;
}

.mobile-cta-bar {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  gap: 0.75rem;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(22, 49, 61, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.property-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: none;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(11, 24, 29, 0.66);
}

.property-modal.is-open {
  display: block;
}

.property-modal__dialog {
  position: relative;
  max-width: 640px;
  margin: 5vh auto;
  padding: 1.2rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.property-modal__dialog--wide {
  max-width: 1020px;
}

.property-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #5c7079;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.property-contact-form .form-group {
  margin-bottom: 1rem;
}

.property-contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--tone-deep);
  font-weight: 700;
}

.property-contact-form input,
.property-contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d8e5e2;
  border-radius: 16px;
}

.modal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1rem 0 1.1rem;
  color: #56707b;
}

.property-submit {
  width: 100%;
}

.video-grid-modal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.video-grid-modal video {
  width: 100%;
  border-radius: 20px;
  background: #000;
}

.gallery-lightbox {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 16, 20, 0.95);
}

.gallery-lightbox__frame {
  position: relative;
  width: min(1200px, 100%);
}

.gallery-lightbox__image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 24px;
  background: #111;
}

.gallery-lightbox__meta {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
}

.gallery-lightbox__nav {
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
}

.gallery-lightbox__nav.prev {
  left: 1rem;
}

.gallery-lightbox__nav.next {
  right: 1rem;
}

.gallery-lightbox__thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  margin-top: 1rem;
  padding-bottom: 0.25rem;
}

.gallery-lightbox__thumb {
  flex: 0 0 86px;
  height: 64px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
}

.gallery-lightbox__thumb.is-active {
  border-color: var(--tone-accent);
}

.gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1399.98px) {
  .property-container {
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
  .property-content-grid {
    grid-template-columns: 1fr;
  }

  .technical-sheet-grid {
    grid-template-columns: 1fr;
  }

  .property-offer-card,
  .property-sidebar-cta {
    position: static;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .property-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .property-showcase {
    padding-bottom: 7.5rem;
    font-size: 0.9rem;
  }

  .property-container {
    width: 100%;
  }

  .property-hero-shell {
    padding: 0.7rem 0 0.65rem;
  }

  .property-hero {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .property-gallery-card,
  .property-offer-card,
  .content-card,
  .sidebar-card {
    border-radius: 20px;
  }

  .property-gallery-stage {
    height: min(58vw, 320px);
  }

  .property-gallery-empty {
    min-height: 286px;
  }

  .property-gallery-overlay {
    padding: 0.8rem;
  }

  .property-gallery-top,
  .property-gallery-bottom {
    gap: 0.45rem;
  }

  .property-gallery-actions {
    padding: 0 0.6rem;
  }

  .property-pill {
    padding: 0.4rem 0.72rem;
    font-size: 0.76rem;
  }

  .gallery-chip {
    padding: 0.55rem 0.78rem;
    font-size: 0.82rem;
  }

  .gallery-nav-button {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 0.86rem;
  }

  .gallery-lightbox {
    padding: 0.35rem;
  }

  .gallery-lightbox__image {
    max-height: 68dvh;
    border-radius: 18px;
  }

  .gallery-lightbox__close {
    top: 0.45rem;
    right: 0.45rem;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.55rem;
  }

  .gallery-lightbox__nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .gallery-lightbox__nav.prev {
    left: 0.45rem;
  }

  .gallery-lightbox__nav.next {
    right: 0.45rem;
  }

  .gallery-lightbox__thumbs {
    gap: 0.45rem;
    margin-top: 0.75rem;
  }

  .gallery-lightbox__thumb {
    flex-basis: 74px;
    height: 56px;
  }

  .property-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.6rem;
  }

  .property-gallery-thumbs.has-overflow .property-thumb:not(.property-thumb--more):nth-child(n+3),
  .property-gallery-thumbs:not(.has-overflow) .property-thumb:nth-child(n+4) {
    display: none;
  }

  .property-gallery-thumbs.has-overflow .property-thumb--more {
    order: 3;
  }

  .property-thumb {
    height: 70px;
    border-radius: 12px;
  }

  .property-offer-card {
    padding: 0.95rem;
  }

  .offer-card__eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.07em;
  }

  .offer-card__title {
    margin: 0.3rem 0 0.45rem;
    font-size: 1.24rem;
    line-height: 1.12;
  }

  .offer-card__location {
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .offer-card__price {
    font-size: 1.3rem;
  }

  .offer-card__price-note {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
  }

  .offer-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .offer-fact {
    grid-template-columns: 28px 1fr;
    gap: 0.48rem;
    min-height: 66px;
    padding: 0.52rem;
    border-radius: 12px;
  }

  .offer-fact__icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .offer-fact__label {
    font-size: 0.66rem;
  }

  .offer-fact__value {
    font-size: 0.88rem;
  }

  .specs-band-card {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .technical-sheet-card {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .technical-sheet-grid {
    gap: 0.7rem;
  }

  .technical-sheet-panel {
    padding: 0.82rem;
    border-radius: 14px;
  }

  .technical-sheet-panel h3 {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
  }

  .technical-sheet-row {
    grid-template-columns: 1fr;
    gap: 0.18rem;
    padding-top: 0.58rem;
  }

  .technical-sheet-row dt {
    font-size: 0.64rem;
  }

  .technical-sheet-row dd {
    font-size: 0.86rem;
  }

  .offer-card__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .offer-card__actions .btn,
  .sidebar-card__actions .btn,
  .mobile-cta-bar .btn,
  .btn-resource {
    min-height: 42px;
    border-radius: 12px;
    font-size: 0.85rem;
  }

  .offer-card__anchor-nav {
    gap: 0.3rem;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
  }

  .offer-card__anchor-nav a {
    padding: 0.3rem 0.48rem;
    font-size: 0.68rem;
  }

  .property-content-grid {
    gap: 0.85rem;
  }

  .property-sidebar-cta {
    order: -1;
  }

  .property-main-flow {
    gap: 0.8rem;
  }

  .content-card,
  .sidebar-card {
    padding: 0.95rem;
  }

  .section-heading {
    margin-bottom: 0.7rem;
  }

  .section-heading h2 {
    font-size: 1.02rem;
  }

  .description-body {
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .description-body.is-collapsed {
    max-height: 210px;
  }

  .amenities-cloud {
    gap: 0.55rem;
  }

  .amenity-badge {
    width: calc(50% - 0.3rem);
    min-height: 46px;
    padding: 0.62rem 0.68rem;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .resource-panel {
    padding: 0.8rem;
    border-radius: 16px;
  }

  .document-list {
    gap: 0.6rem;
  }

  .document-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.7rem;
    border-radius: 14px;
  }

  .document-row__actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  #property-map {
    height: 260px;
  }

  .sidebar-card {
    background: linear-gradient(180deg, #fff 0%, #f8fbfa 100%);
  }

  .sidebar-card__actions {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-card__actions .btn:first-child {
    grid-column: 1 / -1;
  }

  .contact-stack {
    gap: 0.6rem;
    margin: 0.7rem 0 0.9rem;
    font-size: 0.86rem;
  }

  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.55rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 479.98px) {
  .property-showcase {
    font-size: 0.88rem;
  }

  .property-gallery-stage {
    height: min(62vw, 290px);
  }

  .property-gallery-empty {
    min-height: 240px;
  }

  .property-gallery-top {
    max-width: 100%;
  }

  .property-gallery-bottom {
    width: 100%;
  }

  .gallery-chip {
    flex: 1 1 auto;
    justify-content: center;
  }

  .gallery-lightbox__meta {
    margin-top: 0.65rem;
    font-size: 0.84rem;
  }

  .property-gallery-thumbs {
    gap: 0.4rem;
  }

  .property-thumb {
    height: 62px;
  }

  .offer-card__title {
    font-size: 1.16rem;
  }

  .offer-card__location {
    font-size: 0.78rem;
  }

  .offer-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-fact {
    grid-template-columns: 26px 1fr;
    min-height: 60px;
    padding: 0.48rem;
  }

  .offer-fact__icon {
    width: 26px;
    height: 26px;
  }

  .offer-fact__label {
    font-size: 0.58rem;
  }

  .offer-fact__value {
    font-size: 0.76rem;
  }

  .specs-band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
  }

  .specs-band-item {
    min-height: 52px;
    padding: 0.45rem;
  }

  .specs-band-item__label {
    font-size: 0.54rem;
  }

  .specs-band-item__value {
    font-size: 0.7rem;
  }

  .amenity-badge {
    width: 100%;
  }

  .sidebar-card__actions {
    grid-template-columns: 1fr;
  }

  .sidebar-card__actions .btn:first-child {
    grid-column: auto;
  }

  .mobile-cta-bar {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   PUBLIC PAGES - CLEAN REFINEMENT
======================================== */
.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.12;
}

.section-subtitle {
  max-width: 660px;
  color: #5f737d;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-main {
  position: relative;
  min-height: 640px;
  border-radius: 0 0 28px 28px;
}

.hero-main::before {
  background: linear-gradient(90deg, rgba(22, 49, 61, 0.86) 0%, rgba(22, 49, 61, 0.68) 46%, rgba(22, 49, 61, 0.22) 100%);
}

.hero-bg__image {
  filter: saturate(0.94) contrast(0.96);
}

.hero-main__wrapper {
  padding: 92px 0 82px;
}

.hero-main__inner {
  gap: 42px;
}

@media (min-width: 1024px) {
  .hero-main__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.68fr);
    gap: 52px;
  }
}

.hero-main__content {
  max-width: 640px;
}

.hero-main__kicker,
.hero-owners__kicker {
  margin-bottom: 12px;
  color: #e6c083;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-shadow: none;
}

.hero-main__title,
.hero-owners__title {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-main__lead,
.hero-owners__lead {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.68;
}

.hero-main__lead {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
}

.hero-main__cta,
.hero-owners__cta,
.owners-cta__actions,
.final-cta__actions {
  gap: 0.72rem;
}

.hero-main__cta .btn,
.hero-owners__cta .btn,
.owners-cta__actions .btn,
.final-cta__actions .btn {
  min-height: 44px;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.hero-card {
  max-width: 360px;
  padding: 1.1rem;
  border-color: rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(10, 22, 28, 0.18);
  backdrop-filter: blur(16px);
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(10, 22, 28, 0.2);
}

.hero-card__badge {
  margin-bottom: 14px;
  padding: 0.38rem 0.66rem;
  border-radius: 999px;
  background: rgba(var(--terracotta-rgb), 0.14);
  color: #7f6543;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.hero-card__title {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 1.28rem;
  letter-spacing: 0;
}

.hero-card__text {
  margin-bottom: 16px;
  color: #526873;
  font-size: 0.94rem;
  line-height: 1.62;
}

.home-modern {
  gap: 1.15rem;
  margin: 1.4rem 0 1.9rem;
}

.home-modern::before {
  inset: -28px -18px auto;
  height: 210px;
  background: linear-gradient(180deg, #f6f5f1, rgba(246, 245, 241, 0));
}

.hm-metrics {
  gap: 0.7rem;
}

.hm-metric-card,
.hm-section,
.hm-offer-card,
.hm-featured-panel,
.hm-values-grid article {
  border-color: rgba(22, 49, 61, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(22, 49, 61, 0.045);
}

.hm-metric-card {
  padding: 0.82rem 0.9rem;
  background: #fff;
}

.hm-metric-value {
  color: var(--blue-ink);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.hm-metric-card p,
.hm-section-head p,
.hm-offer-card p,
.hm-offer-card ul,
.hm-values-grid p {
  color: #5f737d;
}

.hm-section {
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.96);
}

.hm-section-head h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 750;
  letter-spacing: 0;
}

.hm-offers-grid {
  gap: 0.75rem;
}

.hm-offer-card {
  gap: 0.58rem;
  padding: 0.95rem;
  background: #fff;
}

.hm-offer-card--accent {
  background: linear-gradient(180deg, #fff 0%, #f8f4eb 100%);
}

.hm-offer-card h3 {
  font-size: 1.03rem;
}

.hm-process {
  background: #f7faf9;
}

.hm-values-grid article {
  min-height: 140px;
  padding: 1rem 1rem 1rem 3.85rem;
}

.hm-value-index {
  left: 1rem;
  top: 1rem;
}

.story,
.why-us,
.services-offered,
.faq-section,
.owners-cta,
.final-cta {
  padding: 72px 0;
}

.story {
  background: linear-gradient(180deg, #fff 0%, #f6f5f1 100%);
}

.timeline {
  gap: 46px;
}

.timeline-content,
.benefit-card,
.service-block,
.faq-item,
.owners-cta__content,
.final-cta__content,
.stat-card,
.evaluation-form-card {
  border-color: rgba(22, 49, 61, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(22, 49, 61, 0.055);
}

.timeline-image {
  height: 180px;
}

.timeline-body {
  padding: 20px;
}

.timeline-title,
.benefit-card__title,
.service-block__title,
.faq-item__question {
  color: var(--blue-ink);
  font-size: 1.06rem;
  letter-spacing: 0;
}

.timeline-text,
.benefit-card__text,
.service-block__list li,
.faq-item__answer {
  color: #5f737d;
  font-size: 0.94rem;
  line-height: 1.62;
}

.final-cta__content,
.owners-cta__content {
  padding: 48px;
  background: linear-gradient(180deg, #fff 0%, #f7faf9 100%);
}

.final-cta__title,
.owners-cta__title {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  letter-spacing: 0;
}

.hero-owners {
  padding: 72px 0 54px;
  background: linear-gradient(180deg, #fff 0%, #f6f5f1 100%);
}

.hero-owners__inner {
  gap: 42px;
}

@media (min-width: 1024px) {
  .hero-owners__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 54px;
  }
}

.hero-owners__title {
  color: var(--blue-ink);
  font-size: clamp(2.1rem, 3.4vw, 3.25rem);
}

.hero-owners__kicker {
  color: var(--terracotta);
}

.hero-owners__lead {
  color: #5f737d;
}

.owners-proof-band {
  margin: 0 auto;
  padding-bottom: 58px;
}

.stat-card {
  padding: 1.15rem;
  background: #fff;
}

.stat-card:hover,
.benefit-card:hover,
.service-block:hover,
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(22, 49, 61, 0.075);
}

.stat-card__value {
  color: var(--blue-ink);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  letter-spacing: 0;
}

.stat-card__label {
  color: #5f737d;
}

.benefits-grid,
.service-blocks,
.faq-grid {
  gap: 1rem;
}

.benefit-card,
.service-block,
.faq-item {
  padding: 1.25rem;
}

.benefit-card__icon,
.service-block__icon {
  display: none;
}

.evaluation-form-card {
  padding: 1.1rem;
}

.evaluation-form-card__head h2 {
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  letter-spacing: 0;
}

.evaluation-field input,
.evaluation-field textarea {
  min-height: 42px;
  border-radius: 10px;
  background: #fff;
}

.evaluation-field textarea {
  min-height: 108px;
}

@media (max-width: 768px) {
  .hero-main {
    min-height: auto;
    border-radius: 0 0 18px 18px;
  }

  .hero-main::before {
    background: linear-gradient(180deg, rgba(22, 49, 61, 0.84), rgba(22, 49, 61, 0.68));
  }

  .hero-main__wrapper {
    padding: 64px 0 52px;
  }

  .hero-main__inner {
    gap: 28px;
    padding: 0 22px;
  }

  .hero-main__title,
  .hero-owners__title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .hero-main__cta .btn,
  .hero-owners__cta .btn {
    width: 100%;
  }

  .hero-card {
    max-width: none;
  }

  .hm-metrics,
  .hm-offers-grid,
  .hm-featured-grid,
  .hm-values-grid {
    grid-template-columns: 1fr;
  }

  .hm-values-grid article {
    min-height: auto;
    padding: 0.95rem 0.95rem 0.95rem 3.65rem;
  }

  .timeline-content {
    max-width: none;
  }

  .story,
  .why-us,
  .services-offered,
  .faq-section,
  .owners-cta,
  .final-cta {
    padding: 52px 0;
  }

  .final-cta__content,
  .owners-cta__content {
    padding: 30px 22px;
  }

  .owners-proof-band {
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* ========================================
   ADMIN LOGIN
======================================== */
.admin-login {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 3rem 0;
}

.admin-login__panel {
  width: min(100%, 880px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--blue-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.admin-login__intro {
  padding: 2.2rem;
  background: linear-gradient(180deg, var(--blue-panel) 0%, #fff 100%);
  border-right: 1px solid var(--blue-border);
}

.admin-login__kicker {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-login__intro h1 {
  margin: 0 0 0.7rem;
  color: var(--blue-ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0;
  line-height: 1.1;
}

.admin-login__intro p:last-child {
  margin: 0;
  color: #64748b;
}

.admin-login__form {
  padding: 2.2rem;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.admin-login__field {
  display: grid;
  gap: 0.45rem;
}

.admin-login__field label {
  color: var(--blue-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-login__field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--blue-border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--blue-ink);
  background: #fff;
}

.admin-login__field input:focus {
  outline: 3px solid rgba(var(--terracotta-rgb), 0.14);
  border-color: var(--terracotta);
}

.admin-login__field input.is-invalid {
  border-color: #dc2626;
}

.admin-login__error {
  color: #b91c1c;
  font-size: 0.88rem;
}

.admin-login__remember {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.94rem;
}

.admin-login__submit {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.admin-login__submit:hover {
  background: var(--blue-deep);
}

@media (max-width: 760px) {
  .admin-login {
    padding: 1.5rem 0;
  }

  .admin-login__panel {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .admin-login__intro {
    border-right: 0;
    border-bottom: 1px solid var(--blue-border);
  }

  .admin-login__intro,
  .admin-login__form {
    padding: 1.25rem;
  }
}
