:root {
  --red: #ff5a1f;
  --red-soft: #fff0e7;
  --navy: #06451f;
  --green-deep: #043519;
  --green: #0b8f3d;
  --green-bright: #12b857;
  --green-soft: #e8f7df;
  --blue-soft: #edf8ef;
  --mint: #e8f7df;
  --whatsapp: #13b85a;
  --whatsapp-dark: #0b7f3a;
  --whatsapp-soft: #e7faef;
  --yellow: #ffc322;
  --yellow-soft: #fff4cc;
  --coral: #ffd8c5;
  --ink: #10251a;
  --muted: #617462;
  --line: #dcebd9;
  --paper: #ffffff;
  --wash: #f7fbf4;
  --shadow: 0 24px 70px rgba(4, 69, 31, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.route-page {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(220, 235, 217, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 50px rgba(4, 69, 31, 0.12);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 196px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(11, 143, 61, 0.22);
  background: #fff;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(220, 235, 217, 0.86);
  border-radius: 999px;
  background: rgba(247, 251, 244, 0.72);
  color: #31543d;
  font-size: 0.9rem;
  font-weight: 700;
}

.desktop-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.desktop-nav a:hover {
  background: #fff;
  color: var(--red);
}

.desktop-nav .nav-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
}

.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.icon-link,
.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.menu-btn {
  display: none;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff6a30, #e24d1f);
  box-shadow: 0 14px 26px rgba(226, 77, 31, 0.2);
}

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 14px 26px rgba(22, 184, 98, 0.24);
}

.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--green-deep));
}

.btn-light {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.mobile-menu {
  position: fixed;
  inset: 84px 14px auto 14px;
  z-index: 49;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-menu a:not(.btn) {
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--wash);
  font-weight: 800;
}

.hero {
  display: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 53, 25, 0.96) 0%, rgba(6, 69, 31, 0.8) 44%, rgba(4, 53, 25, 0.24) 100%),
    url("assets/proyectos/prado-de-markjo.jpg") center/cover;
  transform: scale(1.02);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 195, 34, 0.18) 47%, rgba(255, 255, 255, 0.16) 50%, transparent 58% 100%);
  mix-blend-mode: screen;
  transform: translateX(-110%);
  animation: heroSweep 7s ease-in-out infinite;
}

.hero-animation {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 84px;
  z-index: 1;
  width: min(340px, 29vw);
  aspect-ratio: 1.45;
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
  animation: heroFloat 5.8s ease-in-out infinite;
}

.lot-plan {
  position: absolute;
  inset: 18% 3% 8% 1%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(26deg, transparent 0 44%, rgba(255, 255, 255, 0.9) 45% 46%, transparent 47% 100%),
    linear-gradient(154deg, transparent 0 52%, rgba(255, 255, 255, 0.82) 53% 54%, transparent 55% 100%),
    linear-gradient(90deg, transparent 0 31%, rgba(255, 255, 255, 0.82) 32% 33%, transparent 34% 64%, rgba(255, 255, 255, 0.82) 65% 66%, transparent 67% 100%),
    linear-gradient(180deg, transparent 0 48%, rgba(255, 255, 255, 0.82) 49% 50%, transparent 51% 100%),
    linear-gradient(135deg, rgba(18, 184, 87, 0.68), rgba(255, 195, 34, 0.32), rgba(255, 90, 31, 0.34));
  clip-path: polygon(4% 22%, 78% 0, 100% 24%, 88% 82%, 18% 100%, 0 66%);
  transform: perspective(700px) rotateX(58deg) rotateZ(-10deg);
}

.lot-plan::before,
.lot-plan::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.lot-plan::before {
  left: 8%;
  right: 10%;
  top: 36%;
  height: 4px;
  transform: rotate(-13deg);
}

.lot-plan::after {
  left: 22%;
  right: 17%;
  bottom: 28%;
  height: 4px;
  transform: rotate(18deg);
}

.lot-scan {
  position: absolute;
  left: 10%;
  right: 5%;
  top: 37%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 195, 34, 0.95), transparent);
  transform: rotate(-10deg);
  animation: lotScan 3.2s ease-in-out infinite;
}

.hero-pin {
  position: absolute;
  left: 43%;
  top: 4%;
  width: 54px;
  height: 54px;
  border: 6px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--red), #ff8a2a);
  transform: rotate(-45deg);
  animation: pinBounce 1.8s ease-in-out infinite;
}

.hero-pin::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #fff;
}

.pin-ring {
  position: absolute;
  left: calc(43% + 6px);
  top: 48%;
  width: 54px;
  height: 18px;
  border: 2px solid rgba(255, 195, 34, 0.85);
  border-radius: 50%;
  opacity: 0;
  animation: pinPulse 1.8s ease-out infinite;
}

.ring-two {
  animation-delay: 0.55s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding-bottom: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.conversion-band .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.35rem, 6vw, 5.65rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(2.35rem, 4.6vw, 4.7rem);
}

.hero-copy {
  display: none;
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.3vw, 1.06rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr auto;
  gap: 10px;
  align-items: end;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 5px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  min-height: 92px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.1);
}

.btn-whatsapp:focus,
.btn-whatsapp:hover {
  box-shadow: 0 16px 30px rgba(22, 184, 98, 0.3);
}

.trust-strip {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -18px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 88px;
  padding: 16px 18px;
  background: #fff;
}

.trust-strip strong {
  display: block;
  color: var(--green);
  font-size: 1.7rem;
}

.trust-strip div:nth-child(even) strong {
  color: var(--red);
}

.trust-strip span {
  color: var(--muted);
  font-weight: 750;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 0;
}

#propiedades {
  padding-top: 112px;
}

.tools-section,
.pathway-section,
.experience-section,
.proof-section,
.testimonials-section,
.training-section,
#propietarios {
  display: none;
}

body.route-active:not(.panel-route) main > section:not(#routePage) {
  display: none;
}

body.panel-route main > section:not(#propietarios):not(#crm) {
  display: none;
}

body.panel-route #propietarios {
  display: block;
  width: min(1080px, calc(100% - 36px));
  padding-top: 118px;
}

.panel-back {
  display: none;
}

body.panel-route .panel-back {
  display: inline-flex;
}

.route-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 60px;
}

.route-back,
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--red);
  font-weight: 950;
}

.route-back {
  margin-bottom: 16px;
}

.route-detail {
  display: grid;
  gap: 18px;
}

.route-hero,
.zone-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.zone-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.route-hero img,
.zone-hero img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 370px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.route-hero.media-contain img,
.project-hero.media-contain img {
  object-fit: contain;
  padding: 12px;
  background: linear-gradient(180deg, #fffdf4, #f5f9ee);
}

.route-copy,
.zone-hero > div {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, var(--green-soft));
  box-shadow: var(--shadow);
}

.route-copy h1,
.zone-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  line-height: 1.02;
}

.route-copy p:not(.eyebrow),
.zone-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.route-kpis div,
.route-panel,
.route-property-card,
.faq-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.route-kpis div {
  min-height: 92px;
  padding: 16px;
}

.route-kpis strong {
  display: block;
  color: var(--green-deep);
  font-size: 1.15rem;
}

.route-kpis span {
  color: var(--muted);
  font-weight: 820;
}

.route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.route-panel {
  padding: 22px;
}

.route-panel h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.route-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.price-sheet-panel {
  display: grid;
  gap: 16px;
}

.price-sheet-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
  border: 1px solid var(--line);
}

.price-sheet-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
}

.price-sheet-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
}

.price-sheet-table thead th {
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  text-align: left;
  font-size: 0.94rem;
}

.price-sheet-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 760;
}

.price-sheet-table tbody tr:nth-child(odd) td {
  background: var(--green-soft);
}

.route-panel-cta {
  display: grid;
  align-content: start;
  gap: 10px;
  background: linear-gradient(180deg, #fff, var(--yellow-soft));
}

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

.check-list li {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--wash);
  font-weight: 780;
}

.zone-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.zone-keywords span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--green-soft);
  font-weight: 900;
  font-size: 0.82rem;
}

.route-card-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.route-property-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.route-property-card div,
.faq-grid div {
  padding: 16px;
}

.route-property-card span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.route-property-card h3,
.faq-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
}

.route-property-card p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.gallery-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gallery-nav {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(14, 35, 21, 0.08);
}

.gallery-nav:hover {
  border-color: var(--green);
  color: var(--green);
}

.property-gallery-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 46%);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.property-gallery-carousel::-webkit-scrollbar {
  height: 8px;
}

.property-gallery-carousel::-webkit-scrollbar-thumb {
  background: rgba(6, 69, 31, 0.26);
  border-radius: 999px;
}

.gallery-slide {
  position: relative;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf5, #f6faef);
  scroll-snap-align: start;
}

.gallery-slide img {
  width: 100%;
  height: clamp(240px, 32vw, 350px);
  object-fit: contain;
  padding: 12px;
  display: block;
}

.gallery-slide.media-contain img {
  padding: 16px;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  min-height: 66px;
  padding: 12px 14px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.gallery-caption span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-caption strong {
  display: block;
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.2;
  text-align: right;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 14px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.section-heading h2,
.conversion-band h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 850;
}

.chip.active {
  border-color: var(--red);
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff7b2b);
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 27, 77, 0.06);
  font-weight: 750;
}

.results-meta strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.results-meta span {
  flex: 1;
  font-size: 0.88rem;
}

.results-meta .btn {
  flex: 0 0 auto;
}

.property-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.property-group-heading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 10px 0 2px;
  padding: 12px 14px;
  border: 1px solid rgba(178, 23, 23, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 238, 232, 0.96), rgba(255, 255, 255, 0.98));
}

.property-group-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #b21717, #ff441d);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.property-group-heading strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.sold-card {
  opacity: 0.92;
}

.sold-card .feature {
  min-height: 0;
  -webkit-line-clamp: 1;
}

.property-card,
.auth-box,
.upload-form,
.training-card,
.lead-card,
.map-list button,
.tool-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 77, 0.08);
}

.property-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.property-image {
  position: relative;
  min-height: 250px;
  max-height: 315px;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--green-soft);
}

.priority-launch {
  border-color: rgba(255, 193, 7, 0.75);
  box-shadow: 0 24px 60px rgba(255, 193, 7, 0.16), 0 18px 48px rgba(7, 27, 77, 0.08);
}

.priority-launch .property-body {
  background: linear-gradient(180deg, #fffdf2, #fff);
}

.promo-strip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #2d2600;
  background: linear-gradient(135deg, #ffd84d, #ffbf00);
  box-shadow: 0 10px 22px rgba(255, 191, 0, 0.28);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sold-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
}

.sold-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120%;
  padding: 16px 0;
  color: #fff;
  background: linear-gradient(135deg, rgba(178, 23, 23, 0.98), rgba(255, 68, 29, 0.96));
  box-shadow: 0 18px 50px rgba(178, 23, 23, 0.38);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-14deg);
}

.sold-overlay-hero span {
  min-width: 92%;
  max-width: 92%;
  padding: 22px 0;
  font-size: clamp(1.75rem, 2.4vw, 2.6rem);
  transform: rotate(-12deg);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.property-image.media-contain {
  background: linear-gradient(180deg, #fffdf4, #f5f9ee);
}

.property-image.media-contain img {
  object-fit: contain;
  padding: 14px;
}

.property-image.media-contain .badge-row,
.property-image.media-contain .promo-strip {
  display: none;
}

.property-card:hover .property-image:not(.media-contain) img {
  transform: scale(1.06);
}

.badge-row {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 950;
}

.badge.red {
  color: #fff;
  background: var(--red);
}

.property-body {
  padding: 16px 18px;
  display: grid;
  align-content: start;
}

.property-body h3 {
  margin: 7px 0 4px;
  color: var(--navy);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.24;
  font-weight: 850;
}

.price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(9, 109, 48, 0.16);
  border-radius: 999px;
  color: var(--green-deep);
  background: linear-gradient(135deg, rgba(247, 251, 244, 0.98), rgba(225, 245, 227, 0.92));
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 950;
}

.listing-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  text-transform: uppercase;
}

.listing-location {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 760;
}

.buyer-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 14px;
}

.buyer-shortcuts button,
.buyer-shortcuts a {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(220, 235, 217, 0.95);
  border-radius: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 28px rgba(4, 69, 31, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.buyer-shortcuts button:hover,
.buyer-shortcuts a:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 184, 87, 0.35);
  box-shadow: 0 18px 38px rgba(4, 69, 31, 0.1);
}

.buyer-shortcuts strong {
  font-size: 0.9rem;
  font-weight: 950;
}

.buyer-shortcuts span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.buyer-shortcuts #shortcutWhatsapp {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
}

.buyer-shortcuts #shortcutWhatsapp span {
  color: rgba(255, 255, 255, 0.88);
}

.listing-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 2px 0 10px;
}

.listing-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px;
}

.portal-contact .btn {
  min-height: 38px;
  padding: 0 11px;
  white-space: nowrap;
}

.listing-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 10px;
}

.listing-specs span {
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(9, 109, 48, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--wash));
}

.listing-specs strong,
.listing-specs small {
  display: block;
}

.listing-specs strong {
  color: var(--navy);
  font-size: 0.84rem;
  line-height: 1.15;
}

.listing-specs small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 9px 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.feature {
  display: -webkit-box;
  min-height: 0;
  color: #43506b;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.45;
  font-size: 0.84rem;
}

.source-note {
  display: none;
}

.mini-inventory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 9px;
}

.mini-inventory span {
  display: grid;
  gap: 2px;
  min-height: 40px;
  padding: 6px;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--wash);
  font-size: 0.68rem;
  font-weight: 800;
}

.mini-inventory strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.agent-line {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
}

.agent-line strong {
  color: var(--navy);
  text-align: right;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(130px, 220px);
  gap: 7px;
  margin-top: 10px;
}

.card-actions .btn {
  min-height: 38px;
  padding: 0 8px;
  font-size: 0.78rem;
}

.card-actions .btn-dark {
  box-shadow: 0 14px 24px rgba(7, 27, 77, 0.14);
}

.card-actions .btn-primary {
  box-shadow: 0 14px 24px rgba(226, 77, 31, 0.18);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 14px;
}

.map-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.map-open-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(220, 235, 217, 0.94);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(7, 27, 77, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-list {
  display: grid;
  gap: 8px;
  align-content: start;
}

.map-list button {
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
}

.map-list button.active {
  border-color: var(--red);
  background: var(--red-soft);
}

.map-list strong {
  display: block;
  color: var(--navy);
}

.map-list span {
  color: var(--muted);
  font-size: 0.82rem;
}

.conversion-band {
  width: min(1180px, calc(100% - 36px));
  margin: 88px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 195, 34, 0.34), transparent 25%),
    linear-gradient(135deg, var(--green-deep), var(--green) 50%, var(--red));
  box-shadow: var(--shadow);
}

.conversion-band h2 {
  color: #fff;
  max-width: 760px;
}

.meet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 16px;
  align-items: stretch;
}

.meet-section .section-heading {
  margin-bottom: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, var(--green-soft));
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.meet-section .section-heading h2 {
  margin-bottom: 10px;
}

.meet-section .band-actions {
  margin-top: 8px;
}

.meet-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.meet-points article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(4, 69, 31, 0.08);
}

.meet-points strong {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--green-soft);
  font-size: 0.9rem;
  font-weight: 950;
}

.meet-points span {
  color: var(--navy);
  font-weight: 850;
  line-height: 1.35;
}

.pathway-grid,
.proof-grid,
.testimonial-grid,
.tools-grid,
.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pathway-card,
.proof-card,
.testimonial-card,
.tool-card,
.zone-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 77, 0.08);
  overflow: hidden;
}

.pathway-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.proof-card {
  display: flex;
  flex-direction: column;
}

.proof-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--green-soft);
}

.proof-logo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background: linear-gradient(135deg, #fff, var(--green-soft) 55%, var(--yellow-soft));
}

.proof-logo-mark {
  display: grid;
  place-items: center;
  min-height: 240px;
  margin: 4px;
  border: 1px solid rgba(11, 143, 61, 0.14);
  border-radius: calc(var(--radius) - 4px);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 208, 79, 0.9), transparent 28%),
    linear-gradient(180deg, rgba(11, 143, 61, 0.06), rgba(255, 90, 31, 0.08));
  color: var(--green-deep);
  text-align: center;
  letter-spacing: 0;
}

.proof-logo-mark span {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--green-deep);
  background: transparent;
  font-size: 1rem;
  text-transform: none;
}

.proof-logo-mark strong {
  display: block;
  font-size: 2rem;
  line-height: 0.95;
}

.proof-card figcaption {
  padding-top: 16px;
}

.proof-card figcaption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.zone-card img,
.training-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pathway-card div,
.zone-card div,
.proof-card,
.testimonial-card {
  padding: 20px;
}

.pathway-card span,
.proof-card span,
.tool-card span,
.zone-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pathway-card h3,
.proof-card h3,
.tool-card h3,
.zone-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.pathway-card p,
.proof-card p,
.testimonial-card p,
.tool-card p,
.zone-card p {
  color: var(--muted);
  line-height: 1.55;
}

.tools-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tool-card {
  padding: 20px;
  background: linear-gradient(180deg, #fff, var(--green-soft));
}

.tool-card:nth-child(2),
.tool-card:nth-child(4) {
  background: linear-gradient(180deg, #fff, var(--red-soft));
}

.tool-card:nth-child(3) {
  background: linear-gradient(180deg, #fff, var(--yellow-soft));
}

.seo-section {
  scroll-margin-top: 110px;
}

.seo-section .section-heading {
  max-width: 720px;
}

.local-guide-section {
  overflow: hidden;
}

.local-guide-section .section-heading {
  margin-bottom: 16px;
}

.zone-carousel {
  overflow: hidden;
  padding: 2px;
  scroll-behavior: smooth;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.seo-section .zone-grid {
  display: flex;
  gap: 12px;
  width: max-content;
  margin-top: 0;
}

.seo-copy {
  display: none;
}

.zone-grid {
  margin-top: 18px;
}

.zone-card {
  flex: 0 0 300px;
  background: #fff;
}

.seo-section .zone-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  min-height: 150px;
}

.seo-section .zone-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.seo-section .zone-card div {
  padding: 14px;
}

.zone-card span {
  color: var(--green-deep);
  background: var(--green-soft);
}

.seo-section .zone-card p {
  display: none;
}

.seo-section .zone-card h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.seo-copy {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, var(--yellow-soft));
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.seo-copy h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.seo-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.experience-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 53, 25, 0.92), rgba(11, 143, 61, 0.72), rgba(255, 90, 31, 0.42)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1500&q=82") center/cover;
  box-shadow: var(--shadow);
}

.experience-wrap .section-heading {
  margin: 0;
}

.experience-wrap h2,
.experience-wrap p:not(.eyebrow) {
  color: #fff;
}

.experience-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.experience-steps div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.experience-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--yellow);
}

.experience-steps span {
  font-weight: 850;
}

.testimonial-card {
  margin: 0;
  background: linear-gradient(180deg, #fff, var(--wash));
}

.testimonial-card p {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.testimonial-card cite {
  color: var(--red);
  font-style: normal;
  font-weight: 950;
}

.results-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  grid-auto-flow: dense;
}

.results-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(220, 235, 217, 0.96);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, var(--green-soft));
  box-shadow: 0 18px 48px rgba(7, 27, 77, 0.06);
}

.results-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.comparison-tray {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, var(--green-soft));
  box-shadow: 0 18px 42px rgba(4, 69, 31, 0.08);
}

.comparison-tray strong {
  display: block;
  color: var(--navy);
}

.comparison-tray span {
  color: var(--muted);
  font-weight: 780;
}

.comparison-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comparison-chip {
  display: grid;
  gap: 4px;
  min-width: 148px;
  padding: 10px 12px;
  border: 1px solid rgba(7, 27, 77, 0.08);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.comparison-chip span {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.comparison-chip strong {
  color: var(--red);
  font-size: 0.78rem;
}

.comparison-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.result-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 77, 0.12);
}

.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.result-card div {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 53, 25, 0), rgba(4, 53, 25, 0.92));
  backdrop-filter: blur(4px);
}

.result-card span {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-card strong {
  display: block;
  margin: 8px 0 6px;
  color: #fff;
  font-size: 1.05rem;
}

.result-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
  font-size: 0.92rem;
}

.result-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 514px;
  border-radius: 20px;
}

.result-card.featured strong {
  font-size: 1.35rem;
}

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

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.private-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  align-items: start;
}

body.panel-route .owner-section .section-heading {
  max-width: 680px;
  margin-bottom: 18px;
}

body.panel-route .owner-section .section-heading h2 {
  max-width: 620px;
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1.02;
}

body.panel-route .owner-section .section-heading p:not(.eyebrow) {
  max-width: 620px;
  font-size: 0.98rem;
}

body.panel-route .private-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
}

.auth-box,
.upload-form {
  padding: 22px;
  border: 1px solid rgba(220, 235, 217, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 244, 0.96)),
    #fff;
}

body.panel-route .auth-box,
body.panel-route .upload-form,
body.panel-route .private-card {
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(4, 69, 31, 0.08);
}

body.panel-route .auth-box {
  top: 96px;
}

body.panel-route .auth-box h3,
body.panel-route .upload-form h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

body.panel-route .auth-box p,
body.panel-route .form-title p {
  font-size: 0.84rem;
}

.auth-box {
  position: sticky;
  top: 104px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 223, 0.92)),
    #fff;
}

.auth-box h3,
.upload-form h3,
.training-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.auth-box p {
  color: var(--muted);
  line-height: 1.5;
}

.auth-box label,
.upload-form label,
.modal-card label {
  padding: 10px;
  border: 1px solid rgba(220, 235, 217, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 28px rgba(4, 69, 31, 0.05);
}

.auth-box input,
.auth-box select,
.upload-form input,
.upload-form select,
.upload-form textarea,
.modal-card input,
.modal-card textarea {
  border-color: transparent;
  background: var(--wash);
}

.auth-box input:focus,
.auth-box select:focus,
.upload-form input:focus,
.upload-form select:focus,
.upload-form textarea:focus,
.modal-card input:focus,
.modal-card textarea:focus {
  background: #fff;
}

.auth-steps {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}

body.panel-route .auth-steps {
  gap: 6px;
  margin: 10px 0 12px;
}

.auth-steps div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

body.panel-route .auth-steps div {
  grid-template-columns: 30px 1fr;
  padding: 8px;
}

body.panel-route .auth-box label,
body.panel-route .upload-form label {
  padding: 8px;
}

body.panel-route .auth-box input,
body.panel-route .auth-box select,
body.panel-route .upload-form input,
body.panel-route .upload-form select,
body.panel-route .upload-form textarea {
  min-height: 38px;
  padding: 8px 10px;
}

.auth-steps strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.auth-steps span {
  color: var(--navy);
  font-weight: 850;
}

.hidden {
  display: none !important;
}

.status {
  min-height: 22px;
  color: var(--red);
  font-weight: 800;
}

.form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.form-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-title span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 0.75rem;
  font-weight: 950;
}

.form-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

body.panel-route .form-stepper {
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px;
}

body.panel-route .form-stepper button {
  min-height: 32px;
  font-size: 0.86rem;
}

.form-stepper button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.form-stepper button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

.upload-form[data-current-step="1"] [data-step]:not([data-step="1"]),
.upload-form[data-current-step="2"] [data-step]:not([data-step="2"]),
.upload-form[data-current-step="3"] [data-step]:not([data-step="3"]) {
  display: none;
}

.form-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  gap: 10px;
  margin-top: 14px;
}

body.panel-route .form-actions {
  margin-top: 10px;
}

body.panel-route .form-actions .btn,
body.panel-route .auth-box .btn {
  min-height: 40px;
}

.file-upload {
  border-style: dashed !important;
  background:
    linear-gradient(135deg, rgba(232, 247, 223, 0.9), rgba(255, 244, 204, 0.65)) !important;
}

.file-upload input[type="file"] {
  padding: 10px;
  min-height: auto;
  border: 1px dashed rgba(11, 143, 61, 0.35);
  background: #fff;
}

.file-upload small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.4;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.photo-preview p,
.photo-preview button {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
  text-align: left;
}

.photo-preview button.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 184, 87, 0.14);
}

.photo-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.photo-preview span,
.photo-preview small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.photo-editor {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--green-soft));
}

.photo-editor canvas {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: var(--wash);
  object-fit: cover;
}

.photo-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.photo-controls label {
  padding: 10px;
}

.photo-controls input {
  min-height: auto;
  padding: 0;
  accent-color: var(--green);
}

.photo-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-editor small {
  color: var(--muted);
  font-weight: 780;
}

.upload-form[data-current-step="1"] #uploadPrevBtn,
.upload-form:not([data-current-step="3"]) #uploadSubmitBtn,
.upload-form[data-current-step="3"] #uploadNextBtn {
  display: none;
}

.upload-form.locked {
  opacity: 0.58;
  pointer-events: none;
}

.private-tools {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-top: 18px;
}

.private-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 77, 0.08);
}

.private-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.private-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.private-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.storage-card {
  background: linear-gradient(180deg, #fff, var(--green-soft));
}

.storage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.storage-grid div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(22, 184, 98, 0.18);
  border-radius: var(--radius);
  background: #fff;
}

.storage-grid strong {
  display: block;
  color: var(--whatsapp-dark);
  font-size: 1.22rem;
}

.storage-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

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

body.panel-route .form-grid {
  gap: 9px;
}

.full {
  grid-column: 1 / -1;
}

.form-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--navy);
  background: linear-gradient(135deg, var(--green-soft), #fff 64%, var(--yellow-soft));
}

body.panel-route .form-section {
  padding: 8px 10px;
}

.form-section span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 950;
}

body.panel-route .form-section span {
  min-width: 28px;
  height: 28px;
}

.crm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

#crmSummary {
  color: var(--muted);
  font-weight: 800;
}

.crm-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(4, 69, 31, 0.08);
}

.crm-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.crm-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

.crm-panel {
  display: none;
}

.crm-panel.active {
  display: block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-grid article,
.dashboard-card,
.traffic-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.dashboard-grid article {
  min-height: 104px;
  padding: 14px;
}

.dashboard-grid span,
.traffic-card span,
.client-gallery span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1;
}

.dashboard-grid small,
.client-gallery small {
  color: var(--muted);
  font-weight: 760;
}

.dashboard-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.dashboard-card {
  padding: 22px;
}

.dashboard-card.accent {
  background: linear-gradient(135deg, #fff, var(--yellow-soft));
}

.dashboard-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.35rem;
}

.dashboard-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.client-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.client-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.client-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.client-gallery div {
  padding: 14px;
}

.client-gallery strong {
  display: block;
  margin: 7px 0;
  color: var(--navy);
}

.gallery-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pipeline-column {
  min-height: 280px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbf4);
}

.pipeline-column h3 {
  margin: 4px 4px 12px;
  color: var(--navy);
  font-size: 0.98rem;
}

.lead-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: none;
}

.lead-card strong {
  color: var(--navy);
}

.lead-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.lead-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lead-actions button,
.lead-actions a {
  min-height: 36px;
  padding: 0 8px;
  font-size: 0.78rem;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.training-card {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #fff),
    var(--green-soft);
}

.training-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #fff),
    var(--yellow);
}

.training-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), #fff),
    var(--coral);
}

.training-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 18px 22px 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-deep);
  font-weight: 950;
}

.training-card p {
  min-height: 74px;
  margin: 0 22px 16px;
  color: var(--muted);
  line-height: 1.55;
}

.traffic-section {
  padding-bottom: 64px;
}

.traffic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.traffic-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--green-soft));
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.traffic-card:nth-child(2),
.traffic-card:nth-child(4) {
  background: linear-gradient(180deg, #fff, var(--red-soft));
}

.traffic-card span {
  display: block;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
}

.traffic-card h3 {
  margin: 12px 0 10px;
  color: var(--navy);
}

.traffic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  margin-top: 24px;
  padding: 18px max(16px, calc((100vw - 1180px) / 2)) 20px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 53, 25, 0.98), rgba(6, 69, 31, 0.96) 58%, rgba(255, 90, 31, 0.82));
}

.footer-closer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.footer-closer span {
  display: block;
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-closer strong {
  display: block;
  max-width: 520px;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  line-height: 1.15;
}

.footer-closer > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1fr 0.95fr;
  gap: 16px;
  align-items: start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.footer-brand strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
  line-height: 1;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--yellow);
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.98rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  font-size: 0.86rem;
}

.site-footer a:not(.btn) {
  display: block;
  width: fit-content;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 740;
  font-size: 0.86rem;
}

.footer-whatsapp {
  padding: 10px 13px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  box-shadow: 0 16px 32px rgba(19, 184, 90, 0.24);
}

.footer-cta {
  width: fit-content;
}

.training-card h3 {
  margin: 0 22px 10px;
}

.training-card .btn {
  margin: 0 22px 22px;
}

.modal {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.project-modal {
  width: min(1120px, calc(100% - 24px));
}

.modal::backdrop {
  background: rgba(4, 53, 25, 0.58);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-card.compact {
  gap: 16px;
}

.modal-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.video-frame iframe,
.video-frame video {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  background: #000;
}

.video-placeholder {
  display: grid;
  gap: 12px;
  padding: 22px;
  min-height: 260px;
  align-content: center;
  background: linear-gradient(135deg, #fff, var(--green-soft));
}

.video-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
}

.project-modal-card {
  max-height: min(88vh, 980px);
  overflow: auto;
  padding: 0;
}

.compare-modal {
  width: min(1180px, calc(100% - 24px));
}

.compare-modal-card {
  gap: 16px;
}

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

.compare-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(4, 69, 31, 0.08);
}

.compare-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.compare-card div {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.compare-card span {
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.compare-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
}

.compare-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.compare-card li strong {
  color: var(--navy);
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-detail {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.project-hero img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 14px;
}

.project-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-soft), #fff 48%, var(--red-soft));
}

.project-hero-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

.project-hero-copy p:not(.eyebrow) {
  margin: 0;
  color: #43506b;
  line-height: 1.6;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-actions .btn-primary,
.route-actions .btn-primary {
  box-shadow: 0 14px 24px rgba(226, 77, 31, 0.18);
}

.project-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.project-kpis div,
.inventory-panel,
.reserve-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.project-kpis div {
  min-height: 92px;
  padding: 16px;
}

.project-kpis strong {
  display: block;
  color: var(--green-deep);
  font-size: 1.15rem;
}

.project-kpis span {
  color: var(--muted);
  font-weight: 780;
}

.project-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
}

.inventory-panel,
.reserve-panel {
  padding: 18px;
}

.panel-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-title h3,
.reserve-panel h3 {
  margin: 0;
  color: var(--navy);
}

.inventory-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.free {
  background: var(--green);
}

.dot.reserved {
  background: #f3b524;
}

.dot.sold {
  background: #a8b0c2;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.lot-tile {
  display: grid;
  gap: 2px;
  min-height: 74px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  background: #fff;
}

.lot-tile strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.lot-tile span,
.lot-tile small {
  color: var(--muted);
  font-weight: 800;
}

.lot-tile.free {
  border-color: rgba(11, 143, 61, 0.35);
  background: #edfff3;
}

.lot-tile.reserved {
  border-color: rgba(255, 195, 34, 0.48);
  background: #fff8dc;
}

.lot-tile.sold {
  color: #7b8498;
  background: #f0f3f8;
  cursor: not-allowed;
}

.lot-tile:disabled {
  opacity: 0.78;
}

.reserve-panel {
  align-self: start;
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, #fff, var(--green-soft));
}

.reserve-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.reserve-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(7, 27, 77, 0.08);
}

.reserve-panel dt {
  color: var(--muted);
  font-weight: 800;
}

.reserve-panel dd {
  margin: 0;
  color: var(--navy);
  font-weight: 950;
  text-align: right;
}

.modal-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.55rem;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green-deep);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: transform 350ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateX(0);
  }
  to {
    transform: scale(1.07) translateX(1.5%);
  }
}

@keyframes heroSweep {
  0%,
  28% {
    transform: translateX(-110%);
  }
  54%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes lotScan {
  0%,
  100% {
    opacity: 0;
    transform: translateY(-28px) rotate(-10deg);
  }
  45%,
  58% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: translateY(72px) rotate(-10deg);
  }
}

@keyframes pinBounce {
  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(-10px) rotate(-45deg);
  }
}

@keyframes pinPulse {
  0% {
    opacity: 0.85;
    transform: scale(0.55);
  }
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-media::after,
  .hero-animation,
  .lot-scan,
  .hero-pin,
  .pin-ring {
    animation: none;
  }
}

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

@media (max-width: 1040px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
  }

  .mobile-menu.open {
    display: grid;
  }

  .hero {
    min-height: 540px;
  }

  .hero-animation {
    right: 18px;
    bottom: 126px;
    width: min(320px, 42vw);
    opacity: 0.72;
  }

  .search-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .wide-field {
    grid-column: 1 / -1;
  }

  .property-grid,
  .training-grid,
  .pathway-grid,
  .proof-grid,
  .testimonial-grid,
  .results-gallery,
  .tools-grid,
  .zone-grid,
  .dashboard-grid,
  .traffic-grid,
  .client-gallery,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .map-layout,
  .private-layout,
  .private-tools,
  .dashboard-split,
  .pipeline,
  .project-hero,
  .project-body-grid,
  .experience-wrap,
  .route-hero,
  .zone-hero,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .project-kpis,
  .route-kpis,
  .route-card-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-tray,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .meet-layout {
    grid-template-columns: 1fr;
  }

  .lot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  section[id],
  .route-page {
    scroll-margin-top: 104px;
  }

  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 22px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 92px 16px 14px;
  }

  .hero-content {
    padding-bottom: 10px;
  }

  .hero h1 {
    max-width: 300px;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 0.98;
  }

  .hero-copy {
    display: none;
  }

  .hero-actions {
    display: none;
  }

  .meet-section .section-heading {
    padding: 18px;
  }

  .meet-points {
    grid-template-columns: 1fr;
  }

  .meet-points article {
    min-height: auto;
    padding: 14px;
    border-radius: 16px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(4, 53, 25, 0.94) 0%, rgba(6, 69, 31, 0.82) 58%, rgba(255, 90, 31, 0.16) 100%),
      url("assets/proyectos/prado-de-markjo.jpg") center/cover;
    animation: none;
    transform: none;
  }

  .hero-animation {
    right: 10px;
    bottom: 172px;
    width: 176px;
    opacity: 0.42;
  }

  .hero-pin {
    width: 42px;
    height: 42px;
    border-width: 5px;
  }

  .hero-pin::after {
    inset: 10px;
  }

  .pin-ring {
    width: 42px;
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
    border-radius: 14px;
  }

  .search-panel label {
    gap: 4px;
    font-size: 0.68rem;
  }

  .wide-field {
    grid-column: 1 / -1;
  }

  .search-panel > button {
    grid-column: 1 / -1;
  }

  input,
  select,
  textarea {
    min-height: 36px;
    font-size: 0.82rem;
  }

  .trust-strip {
    display: none;
  }

  .section,
  .conversion-band {
    width: calc(100% - 24px);
  }

  .section {
    padding-top: 26px;
  }

  #propiedades {
    padding-top: 92px;
  }

  .quick-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .quick-actions::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
  }

  .buyer-shortcuts {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: 8px 0 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .buyer-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .buyer-shortcuts button,
  .buyer-shortcuts a {
    flex: 0 0 178px;
    min-height: 54px;
    padding: 9px 10px;
  }

  .property-grid,
  .training-grid,
  .form-grid,
  .pathway-grid,
  .proof-grid,
  .testimonial-grid,
  .results-gallery,
  .tools-grid,
  .zone-grid,
  .dashboard-grid,
  .traffic-grid,
  .client-gallery,
  .footer-grid,
  .footer-closer,
  .experience-steps {
    grid-template-columns: 1fr;
  }

  .results-meta {
    display: grid;
    align-items: start;
    gap: 8px;
    padding: 12px;
  }

  .results-meta .btn {
    width: 100%;
  }

  .property-card {
    grid-template-columns: 1fr;
  }

  .property-image {
    min-height: 260px;
    max-height: none;
  }

  .property-body {
    padding: 14px;
  }

  .listing-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .portal-contact {
    grid-template-columns: 1fr 1fr;
  }

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

  .property-gallery-carousel {
    grid-auto-columns: minmax(86%, 86%);
  }

  .zone-card {
    flex-basis: 284px;
  }

  .seo-section .zone-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 134px;
  }

  .gallery-slide img {
    height: 260px;
    padding: 10px;
  }

  .result-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .results-strip {
    padding: 10px;
  }

  .results-strip span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .auth-box {
    position: static;
  }

  .crm-tabs {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .site-footer {
    padding: 24px 18px 72px;
  }

  .footer-closer {
    align-items: start;
  }

  .footer-closer > div:last-child {
    justify-content: flex-start;
  }

  .photo-preview {
    grid-template-columns: 1fr;
  }

  .photo-controls,
  .photo-actions {
    grid-template-columns: 1fr;
  }

  .mini-inventory,
  .project-kpis,
  .route-kpis,
  .route-card-grid,
  .faq-grid,
  .storage-grid {
    grid-template-columns: 1fr;
  }

  .comparison-tray {
    padding: 12px;
  }

  .comparison-actions {
    justify-content: stretch;
  }

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

  .project-detail {
    padding: 12px;
  }

  .property-image.media-contain {
    aspect-ratio: 4 / 3;
    min-height: 260px;
    max-height: 340px;
  }

  .project-hero img {
    min-height: 220px;
  }

  .project-hero.media-contain img {
    min-height: 420px;
  }

  .route-page {
    width: calc(100% - 24px);
    padding-top: 104px;
  }

  .route-hero img,
  .zone-hero img {
    min-height: 220px;
    max-height: 300px;
  }

  .route-hero.media-contain img {
    min-height: 260px;
    max-height: 340px;
  }

  .video-frame iframe,
  .video-frame video {
    min-height: 260px;
  }

  .route-copy,
  .zone-hero > div {
    padding: 22px;
  }

  .project-hero-copy,
  .inventory-panel,
  .reserve-panel {
    padding: 14px;
  }

  .project-actions,
  .panel-title {
    display: grid;
  }

  .experience-wrap {
    padding: 22px;
  }

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

  .property-body h3 {
    min-height: auto;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

  .conversion-band {
    display: grid;
    padding: 24px;
  }

  .band-actions,
  .modal-actions,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .band-actions {
    display: grid;
  }

  .mobile-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 38px rgba(7, 27, 77, 0.14);
    backdrop-filter: blur(18px);
  }

  .mobile-cta a,
  .mobile-cta button {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: var(--radius);
    font-weight: 950;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .mobile-cta a {
    color: var(--navy);
    background: var(--green-soft);
  }

  .mobile-cta #stickyWhatsapp {
    color: #fff;
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  }

  .mobile-cta button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    cursor: pointer;
    font: inherit;
  }

  body {
    padding-bottom: 74px;
  }
}
