/* VIZCAYA DEMO: estilos compartidos y adaptaciones responsive. */

:root {
  --navy:#153548;
  --navy-dark:#102b3b;
  --gold:#a38a54;
  --gold-light:#eee8da;
  --ink:#213a49;
  --muted:#657780;
  --line:#dde4e4;
  --bg:#f5f7f6;
  --white:#fff;
  --green:#327463;
  --green-bg:#e8f2ed;
  --amber:#8a6723;
  --amber-bg:#fcf1d8;
  --blue:#3b688a;
  --blue-bg:#e9f0f8;
  --red:#a95149;
  --red-bg:#f8e9e7;
  --gray:#677078;
  --gray-bg:#eceff0;
  --radius:12px;
  --shadow:0 12px 40px #183d4810;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:110px;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Segoe UI",Arial,sans-serif;
  font-size:15px;
  line-height:1.6;
}

h1,h2,h3,h4,p {
  margin:0;
}

h1,h2 {
  line-height:1.15;
  font-weight:500;
}

h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(36px,4.5vw,58px);
  letter-spacing:-1.8px;
}

h2 {
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(28px,3vw,39px);
  letter-spacing:-.8px;
}

h3 {
  font-size:19px;
  line-height:1.35;
  font-weight:600;
}

h4 {
  font-size:16px;
}

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

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

button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:not-allowed;
  opacity:.52;
}

button:disabled:hover {
  transform:none;
}

button,a {
  touch-action:manipulation;
}

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

svg {
  flex-shrink:0;
}

a,button,input,select,textarea {
  outline-offset:4px;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #bc9a51;
}

button {
  color:inherit;
}

::selection {
  background:#d8e7df;
}

[hidden] {
  display:none!important;
}

.container {
  width:min(1248px,calc(100% - 80px));
  margin-inline:auto;
}

.muted {
  color:var(--muted);
}

.small {
  font-size:13px;
}

.eyebrow {
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--gold);
  display:block;
  margin-bottom:14px;
}

.eyebrow::before {
  content:"";
  display:inline-block;
  width:24px;
  height:1px;
  background:currentColor;
  vertical-align:middle;
  margin-right:12px;
}

.display {
  font-family:Georgia,"Times New Roman",serif;
}

.lead {
  font-size:17px;
  color:var(--muted);
  line-height:1.75;
  max-width:660px;
}

.section {
  padding-block:76px;
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}

.section-head p {
  margin-top:12px;
}

.section-head .text-link {
  white-space:nowrap;
}

.stack>*+* {
  margin-top:20px;
}

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

.between {
  justify-content:space-between;
}

.grid-2 {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

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

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

.card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
}

.pad {
  padding:28px;
}

.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  min-height:46px;
  padding:12px 21px;
  border-radius:6px;
  border:1px solid var(--navy);
  background:var(--navy);
  color:white;
  font-size:12px;
  font-weight:650;
  letter-spacing:.45px;
  line-height:1.45;
  transition:background .18s,transform .18s;
}

.btn:hover {
  background:var(--navy-dark);
  transform:translateY(-1px);
}

.btn-secondary {
  background:transparent;
  color:var(--navy);
  border-color:#bfcacd;
}

.btn-secondary:hover {
  background:#eaf0ee;
}

.btn-light {
  background:white;
  color:var(--navy);
  border-color:white;
}

.btn-light:hover {
  background:#ecf0eb;
}

.btn-sm {
  min-height:38px;
  padding:8px 14px;
  font-size:12px;
}

.btn-wide {
  width:100%;
}

.text-link {
  font-size:13px;
  color:var(--navy);
  font-weight:650;
  display:inline-flex;
  align-items:center;
  gap:14px;
  border-bottom:1px solid #b9c7c7;
  padding-bottom:3px;
}

.text-link:hover {
  color:var(--gold);
}

.icon {
  width:19px;
  height:19px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:middle;
}

.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  background:white;
  padding:12px;
  z-index:100;
}

.skip-link:focus {
  top:12px;
}

.demo-strip {
  background:var(--navy-dark);
  color:#d5dfe2;
  font-size:11px;
  letter-spacing:.25px;
  min-height:30px;
  text-align:center;
  padding:6px 20px;
}

.demo-strip strong {
  color:#dbc593;
  font-size:10px;
  letter-spacing:1px;
  margin-right:9px;
}

.site-header {
  background:#fffffff5;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(14px);
}

.nav-inner {
  display:flex;
  align-items:center;
  gap:30px;
  min-height:86px;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

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

.brand-name {
  font-size:23px;
  letter-spacing:4px;
  font-weight:500;
  line-height:1.1;
}

.brand-sub {
  font-size:8px;
  letter-spacing:2.2px;
  color:var(--muted);
  margin-top:5px;
}

.nav-links {
  display:flex;
  gap:23px;
  align-items:center;
  justify-content:flex-end;
  flex:1;
}

.nav-links>a {
  font-size:12px;
  white-space:nowrap;
  padding:29px 0;
  border-bottom:2px solid transparent;
}

.nav-links>a:hover,.nav-links>a[aria-current=page] {
  color:var(--gold);
  border-bottom-color:var(--gold);
}

.nav-links>.btn {
  padding:10px 15px;
  min-height:40px;
  color:white;
  border:1px solid var(--navy);
  font-size:10px;
}

.menu-toggle {
  display:none;
  margin-left:auto;
  border:1px solid var(--line);
  border-radius:6px;
  background:white;
  padding:10px;
}

.hero {
  background:#eeeee7;
  overflow:hidden;
}

.hero-grid {
  display:grid;
  grid-template-columns:1fr 1.05fr;
  min-height:585px;
  align-items:stretch;
}

.hero-copy {
  padding:76px 52px 74px 0;
  align-self:center;
}

.hero h1 {
  font-size:clamp(40px,4.8vw,65px);
  line-height:1.1;
  margin-bottom:24px;
}

.hero h1 em {
  color:#6b806e;
  font-style:normal;
}

.hero .lead {
  font-size:16px;
  max-width:360px;
}

.hero .row {
  margin-top:28px;
}

.hero-note {
  margin-top:43px;
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12px;
  color:#6b786f;
}

.hero-note .icon {
  color:var(--gold);
}

.hero-art {
  position:relative;
  min-height:500px;
  margin-right:calc((min(1248px,100vw - 80px) - 100vw)/2);
}

.hero-art>img {
  height:100%;
  width:100%;
  object-fit:cover;
}

.art-label {
  position:absolute;
  top:24px;
  right:24px;
  background:#f7f7eff0;
  font-size:10px;
  letter-spacing:.7px;
  padding:7px 11px;
  border-radius:3px;
  color:#435c56;
}

.art-caption {
  position:absolute;
  bottom:36px;
  left:34px;
  right:34px;
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #ffffff59;
  padding-top:19px;
}

.art-caption strong {
  font:25px Georgia,serif;
}

.art-caption small {
  display:block;
  color:#d7e0d6;
  margin-top:3px;
  letter-spacing:.2px;
}

.circle-arrow {
  width:44px;
  height:44px;
  border:1px solid #ffffff79;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.feature-strip {
  background:white;
  border-bottom:1px solid var(--line);
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  padding-block:25px;
}

.feature {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:0 22px;
}

.feature+.feature {
  border-left:1px solid var(--line);
}

.feature .icon {
  width:25px;
  height:25px;
  color:var(--gold);
}

.feature strong {
  font-size:13px;
  display:block;
  font-weight:600;
}

.feature small {
  font-size:11px;
  color:var(--muted);
}

.development-card {
  overflow:hidden;
}

.development-image {
  height:245px;
  position:relative;
  background:#e5e9e2;
  overflow:hidden;
}

.development-image>img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 46%;
  transition:transform .35s;
}

.development-card:hover .development-image>img {
  transform:scale(1.025);
}

.development-image>.badge {
  position:absolute;
  top:18px;
  left:18px;
}

.development-card .body {
  padding:26px;
}

.development-card h3 {
  font-size:21px;
  font-family:Georgia,serif;
  font-weight:500;
  margin-bottom:7px;
}

.development-card .body>.row {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:22px;
  justify-content:space-between;
}

.development-placeholder {
  display:grid;
  place-content:center;
  text-align:center;
  background:#eaeeec;
  color:#98a69f;
}

.development-placeholder .icon {
  width:50px;
  height:50px;
  margin:auto auto 12px;
  stroke-width:.9;
}

.development-placeholder span {
  font-size:10px;
  letter-spacing:2px;
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:10px;
  font-weight:650;
  letter-spacing:.7px;
  line-height:1.3;
  padding:7px 10px;
  border-radius:4px;
  background:#fffffff2;
  color:var(--navy);
}

.badge-demo {
  background:var(--gold-light);
  color:#776134;
}

.badge-outline {
  background:transparent;
  border:1px solid var(--line);
  color:var(--muted);
}

.home-steps {
  background:#edf1ef;
}

.step-card {
  padding:26px 28px;
  border-left:1px solid #c8d2cc;
}

.step-number {
  font-family:Georgia,serif;
  font-size:33px;
  color:#9f895a;
  margin-bottom:21px;
}

.step-card p {
  margin-top:10px;
  font-size:14px;
  color:var(--muted);
}

.cta {
  background:var(--navy);
  color:white;
  border-radius:var(--radius);
  padding:44px;
  display:flex;
  gap:32px;
  align-items:center;
  justify-content:space-between;
}

.cta p {
  color:#cedadd;
  margin-top:12px;
  max-width:580px;
}

.plan-card {
  padding:29px;
}

.plan-card strong {
  display:block;
  font:40px Georgia,serif;
  color:var(--navy);
  margin:12px 0 4px;
}

.plan-card .price-note {
  font-size:12px;
  color:var(--muted);
}

.notice {
  display:flex;
  gap:12px;
  background:#f0f3f1;
  border:1px solid #dde5e0;
  border-radius:6px;
  padding:14px 17px;
  color:#65736a;
  font-size:12px;
  line-height:1.65;
}

.notice .icon {
  flex-shrink:0;
  margin-top:2px;
}

.notice-warm {
  background:#f8f3e8;
  border-color:#ebe1c9;
  color:#786638;
}

.notice-error {
  background:var(--red-bg);
  color:#8c4039;
  border-color:#edd0cb;
}

.footer {
  background:#fff;
  border-top:1px solid var(--line);
  padding:39px 0 24px;
  margin-top:72px;
}

.footer-main {
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:center;
  padding-bottom:27px;
}

.footer-main p {
  font-size:12px;
  color:var(--muted);
  margin-top:11px;
}

.footer-links {
  display:flex;
  gap:24px;
  font-size:12px;
  flex-wrap:wrap;
}

.footer-bottom {
  border-top:1px solid var(--line);
  padding-top:21px;
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:11px;
  gap:20px;
}

.breadcrumb {
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:11px;
  padding:24px 0;
}

.breadcrumb a:hover {
  color:var(--gold);
}

.page-heading {
  padding:15px 0 33px;
}

.page-heading .lead {
  margin-top:15px;
  font-size:15px;
}

.page-heading h1 {
  font-size:45px;
}

.page-heading>.row {
  justify-content:space-between;
  align-items:flex-start;
}

.page-heading .eyebrow {
  margin-bottom:10px;
}

.photo-panel {
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  background:#e8eee9;
}

.photo-panel>img {
  width:100%;
  height:410px;
  object-fit:cover;
}

.photo-panel .art-label {
  top:auto;
  bottom:20px;
}

.detail-layout {
  display:grid;
  grid-template-columns:1.55fr 1fr;
  gap:30px;
  align-items:start;
}

.detail-info {
  padding:32px;
}

.detail-info p {
  margin-top:15px;
}

.info-list {
  margin:21px 0 27px;
  padding:0;
  list-style:none;
}

.info-list li {
  border-bottom:1px solid var(--line);
  padding:12px 0;
  display:flex;
  gap:12px;
  font-size:13px;
  color:var(--muted);
}

.info-list .icon {
  color:var(--gold);
}

.media-placeholder {
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  background:#e9eeec;
  border:1px dashed #c6d0cc;
  border-radius:var(--radius);
  padding:25px;
}

.play-icon {
  width:52px;
  height:52px;
  border-radius:50%;
  background:white;
  display:grid;
  place-items:center;
  color:var(--navy);
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
}

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

label,.label {
  font-size:12px;
  font-weight:600;
  color:#465e6a;
}

input,select,textarea {
  width:100%;
  min-height:46px;
  background:white;
  border:1px solid #cad5d7;
  color:var(--ink);
  border-radius:5px;
  padding:10px 12px;
}

input::placeholder,textarea::placeholder {
  color:#8b999f;
}

textarea {
  resize:vertical;
  min-height:90px;
}

input[type=checkbox] {
  width:17px;
  min-height:17px;
  height:17px;
  accent-color:var(--navy);
}

.checkbox-label {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:400;
}

.checkbox-label input {
  margin-top:3px;
  flex-shrink:0;
}

.filters {
  display:grid;
  grid-template-columns:1fr 1fr 1.5fr auto;
  gap:18px;
  align-items:end;
  margin:0 0 24px;
  padding:21px 25px;
}

.filters.public-lot-filters {
  grid-template-columns:1fr 1.5fr auto;
}

.admin-lot-filters {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:21px 25px;
  margin:24px 0;
}

.admin-lot-filters .field {
  flex:1 1 240px;
  max-width:320px;
  min-width:0;
}

.public-lot-unavailable {
  max-width:850px;
  margin:30px auto 55px;
}

.public-lot-unavailable h1 {
  font-size:clamp(25px,4vw,38px);
  margin:20px auto;
}

.public-lot-unavailable .btn {
  margin-top:25px;
}

.lot-workspace {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start;
}

.map-card {
  overflow:hidden;
}

.map-toolbar {
  padding:19px 25px;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
}

.map-toolbar h2 {
  font-family:inherit;
  font-size:15px;
  letter-spacing:0;
  font-weight:600;
}

.map-body {
  padding:26px;
  background-color:#edf1e9;
  background-image:radial-gradient(#b8c7b044 .7px,transparent .7px);
  background-size:11px 11px;
  min-height:442px;
}

.map-orientation {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
  color:#7c8b7b;
  font-size:10px;
  letter-spacing:1.5px;
}

.compass {
  display:flex;
  gap:6px;
  align-items:center;
}

.lot-section+.lot-section {
  margin-top:18px;
}

.section-label {
  font-size:10px;
  letter-spacing:1.4px;
  color:#748378;
  margin-bottom:8px;
}

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

.lot-tile {
  border:1px solid currentColor;
  border-radius:5px;
  min-height:70px;
  position:relative;
  padding:8px 3px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:transform .15s,box-shadow .15s;
  background:var(--green-bg);
  color:var(--green);
}

.lot-tile:hover {
  transform:translateY(-3px);
  box-shadow:0 4px 8px #233f401a;
}

.lot-tile[aria-pressed=true] {
  outline:3px solid var(--navy);
  outline-offset:2px;
  box-shadow:0 4px 12px #15354829;
}

.lot-tile small {
  font-size:9px;
  font-weight:500;
}

.lot-tile strong {
  font-size:20px;
  font-weight:600;
  line-height:1.2;
}

.lot-tile .lot-state-short {
  font-size:8px;
  margin-top:4px;
  max-width:100%;
  letter-spacing:0;
}

.map-road {
  margin-top:22px;
  background:#dfe5d9;
  border-top:1px solid #d0d8cc;
  border-bottom:1px solid #d0d8cc;
  text-align:center;
  padding:11px;
  font-size:9px;
  color:#7b8973;
  letter-spacing:3px;
}

.legend {
  padding:17px 24px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted);
}

.legend-item {
  display:flex;
  gap:6px;
  align-items:center;
}

.status-dot {
  width:7px;
  height:7px;
  display:inline-block;
  border-radius:50%;
  background:currentColor;
  flex-shrink:0;
}

.status {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:4px;
  padding:5px 9px;
  font-size:10px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}

.disponible,.pagada {
  background:var(--green-bg);
  color:var(--green);
}

.retenido,.pendiente {
  background:var(--amber-bg);
  color:var(--amber);
}

.apartado,.proxima {
  background:var(--blue-bg);
  color:var(--blue);
}

.vendido {
  background:var(--gray-bg);
  color:#68777a;
}

.bloqueado,.vencida {
  background:var(--red-bg);
  color:var(--red);
}

.selection-panel {
  position:sticky;
  top:112px;
  padding:25px;
}

.selection-panel .lot-preview {
  height:108px;
  margin:20px 0;
  background:#eef2ec;
  display:grid;
  place-items:center;
  border-radius:5px;
  border:1px dashed #c4d2c1;
}

.lot-outline {
  width:76px;
  height:64px;
  border:2px solid #698571;
  transform:skewY(-9deg);
  display:grid;
  place-items:center;
  background:#dde8d9;
}

.lot-outline span {
  transform:skewY(9deg);
  font-size:22px;
  color:#59785d;
}

.data-list {
  margin:17px 0;
}

.data-list>div {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:10px 0;
  border-bottom:1px solid #e9eeee;
  font-size:12px;
}

.data-list dt {
  color:var(--muted);
}

.data-list dd {
  margin:0;
  text-align:right;
  font-weight:600;
}

.price {
  font-family:Georgia,serif;
  font-size:32px;
  letter-spacing:-.5px;
}

.price small {
  font:11px "Segoe UI",sans-serif;
  letter-spacing:.3px;
  color:var(--muted);
}

.empty-state {
  text-align:center;
  grid-column:1/-1;
  padding:43px 24px;
  color:var(--muted);
}

.empty-state .icon {
  height:38px;
  width:38px;
  color:#8c9d96;
  margin-bottom:14px;
}

.empty-state h3 {
  font-size:17px;
  margin-bottom:8px;
  color:var(--ink);
}

.lot-detail-stats {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin:24px 0;
}

.lot-detail-stats>div {
  padding:18px 0;
}

.lot-detail-stats>div+div {
  border-left:1px solid var(--line);
  padding-left:24px;
}

.lot-detail-stats strong {
  display:block;
  font-size:19px;
  font-weight:600;
}

.lot-detail-visual {
  min-height:235px;
  display:grid;
  place-items:center;
  background:#edf2e9;
  border-radius:8px;
  position:relative;
  border:1px solid #dbe4d7;
}

.lot-detail-visual .lot-outline {
  width:133px;
  height:135px;
}

.lot-detail-visual .lot-outline span {
  font-size:31px;
}

.lot-detail-visual .small {
  position:absolute;
  bottom:15px;
  left:15px;
  right:15px;
  text-align:center;
  font-size:10px;
}

.mini-plans {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:16px 0;
}

.mini-plan {
  border:1px solid var(--line);
  padding:16px 10px;
  border-radius:6px;
  text-align:center;
}

.mini-plan strong {
  font-size:18px;
  display:block;
}

.mini-plan span {
  font-size:11px;
  color:var(--muted);
}

.steps {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  list-style:none;
  padding:0;
  margin:0 0 34px;
  gap:0;
}

.steps li {
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  color:#87969b;
  font-size:11px;
}

.steps li:not(:last-child)::after {
  content:"";
  height:1px;
  flex:1;
  background:var(--line);
  margin-right:14px;
}

.steps .step-dot {
  width:31px;
  height:31px;
  border:1px solid #c9d4d4;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex-shrink:0;
  background:#fff;
}

.steps li.active {
  color:var(--navy);
  font-weight:600;
}

.steps li.active .step-dot,.steps li.complete .step-dot {
  background:var(--navy);
  border-color:var(--navy);
  color:white;
}

.checkout-layout {
  display:grid;
  grid-template-columns:1fr 325px;
  gap:28px;
  align-items:start;
}

.checkout-card {
  padding:33px;
}

.checkout-card h2 {
  font-family:inherit;
  letter-spacing:-.3px;
  font-size:25px;
  font-weight:500;
  margin-bottom:10px;
}

.checkout-card form {
  margin-top:26px;
}

.checkout-actions {
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin-top:30px;
  border-top:1px solid var(--line);
  padding-top:22px;
}

.checkout-summary {
  padding:25px;
  position:sticky;
  top:108px;
}

.timer {
  background:var(--gold-light);
  border-radius:6px;
  padding:14px;
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  color:#7e6b44;
}

.timer strong {
  font-size:21px;
  font-variant-numeric:tabular-nums;
  letter-spacing:1px;
}

.timer.expired {
  background:var(--red-bg);
  color:var(--red);
}

.payment-method {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid #bccbc7;
  border-radius:7px;
  padding:23px;
  margin:24px 0;
  background:#f5f8f6;
}

.visa {
  font-size:18px;
  font-weight:800;
  font-style:italic;
  color:#31517a;
  letter-spacing:-1px;
}

.secure {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  letter-spacing:1px;
  color:var(--green);
}

.success-icon {
  height:54px;
  width:54px;
  background:var(--green-bg);
  color:var(--green);
  border-radius:50%;
  display:grid;
  place-items:center;
  margin-bottom:20px;
}

.success-icon .icon {
  width:28px;
  height:28px;
}

.whatsapp-card {
  background:#eff5f0;
  border:1px solid #d7e6d9;
  border-radius:10px;
  padding:23px;
  margin-top:24px;
}

.whatsapp-title {
  display:flex;
  gap:10px;
  align-items:center;
  color:#39775d;
  font-size:12px;
  font-weight:600;
  margin-bottom:15px;
}

.message-bubble {
  background:white;
  border-radius:0 9px 9px;
  padding:20px;
  font-size:13px;
}

.message-bubble ul {
  list-style:none;
  padding:0;
  margin:12px 0 0;
  color:var(--muted);
  font-size:12px;
}

.portal-shell {
  display:grid;
  grid-template-columns:218px minmax(0,1fr);
  min-height:calc(100vh - 115px);
}

.sidebar {
  background:white;
  border-right:1px solid var(--line);
  padding:30px 17px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.sidebar-title {
  font-size:10px;
  letter-spacing:1.5px;
  color:#93a1a5;
  padding:0 15px;
}

.sidebar-nav {
  display:flex;
  flex-direction:column;
  gap:5px;
}

.sidebar-nav a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 14px;
  font-size:12px;
  border-radius:6px;
  color:#637981;
}

.sidebar-nav a:hover {
  background:#f0f4f2;
  color:var(--navy);
}

.sidebar-nav a[aria-current=page] {
  background:#eaf0ed;
  color:var(--navy);
  font-weight:600;
}

.sidebar-nav a[aria-current=page] .icon {
  color:var(--green);
}

.sidebar-note {
  padding:18px 14px;
  border-top:1px solid var(--line);
  font-size:11px;
  color:var(--muted);
  margin-top:auto;
}

.portal-main {
  padding:35px 38px 50px;
  min-width:0;
  max-width:1600px;
  width:100%;
  margin:auto;
}

.portal-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:27px;
}

.portal-heading h1 {
  font-family:inherit;
  font-size:29px;
  font-weight:550;
  letter-spacing:-.7px;
  margin-bottom:7px;
}

.portal-heading p {
  font-size:13px;
  color:var(--muted);
}

.account-label {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px;
  color:var(--muted);
}

.avatar {
  height:36px;
  width:36px;
  border-radius:50%;
  background:#dfe9e3;
  color:#58735f;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:650;
}

.metric {
  padding:21px 22px;
  min-width:0;
}

.metric-head {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:var(--muted);
  margin-bottom:13px;
  align-items:center;
}

.metric-head .icon {
  color:#a1b0b0;
  width:16px;
  height:16px;
}

.metric-value {
  font-size:25px;
  font-weight:550;
  letter-spacing:-.8px;
  line-height:1.2;
}

.metric-value small {
  font-size:11px;
  letter-spacing:0;
  font-weight:400;
}

.metric-note {
  font-size:10px;
  color:var(--muted);
  margin-top:10px;
}

.metric.highlight {
  background:var(--navy);
  color:white;
  border-color:var(--navy);
}

.metric.highlight .metric-head,.metric.highlight .metric-note {
  color:#c0d2d8;
}

.portal-columns {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:22px;
  margin-top:24px;
}

.portal-main .section-head {
  margin-bottom:18px;
}

.portal-main .section-head h2,.panel-title {
  font-family:inherit;
  font-size:16px;
  letter-spacing:0;
  font-weight:600;
}

.account-land {
  display:grid;
  grid-template-columns:150px 1fr;
  gap:22px;
  align-items:center;
}

.account-land img {
  height:144px;
  object-fit:cover;
  border-radius:7px;
  width:100%;
}

.progress-track {
  height:7px;
  border-radius:6px;
  background:#e7edeb;
  overflow:hidden;
  margin:12px 0 8px;
}

.progress-fill {
  height:100%;
  background:var(--green);
  border-radius:6px;
}

.payment-due {
  background:#f5f3eb;
  border:1px solid #e9e3d3;
  padding:21px;
  border-radius:8px;
  margin-top:18px;
}

.payment-due strong {
  display:block;
  font-size:25px;
  font-weight:550;
  margin:7px 0;
}

.table-card {
  overflow:hidden;
  margin-top:25px;
}

.table-header {
  padding:23px 25px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.table-header h2 {
  font-family:inherit;
  font-size:16px;
  letter-spacing:0;
  font-weight:600;
}

.table-scroll {
  overflow:auto;
  max-width:100%;
}

table {
  width:100%;
  border-collapse:collapse;
  white-space:nowrap;
  font-size:12px;
  text-align:left;
}

th {
  font-size:10px;
  letter-spacing:.3px;
  color:#839297;
  font-weight:600;
  background:#f8faf9;
  padding:15px 20px;
  border-bottom:1px solid var(--line);
}

td {
  padding:17px 20px;
  border-bottom:1px solid #edf0ef;
}

tbody tr:last-child td {
  border-bottom:0;
}

tbody tr:hover {
  background:#fafcfb;
}

.numeric {
  text-align:right;
  font-variant-numeric:tabular-nums;
}

.receipt-button {
  border:0;
  background:transparent;
  color:var(--blue);
  padding:6px;
  font-size:11px;
}

.receipt-button:hover {
  text-decoration:underline;
}

.tabs {
  display:flex;
  gap:28px;
  border-bottom:1px solid var(--line);
  margin-top:29px;
}

.tab {
  border:0;
  border-bottom:2px solid transparent;
  background:none;
  padding:15px 2px;
  font-size:12px;
  color:var(--muted);
}

.tab[aria-selected=true] {
  border-color:var(--navy);
  color:var(--navy);
  font-weight:650;
}

.tab-panel {
  padding-top:0;
}

.tab-panel .table-card {
  margin-top:0;
  border-top:0;
  border-radius:0 0 var(--radius) var(--radius);
}

.account-totals {
  display:flex;
  gap:35px;
  justify-content:flex-end;
  padding:22px 25px;
  border-top:1px solid var(--line);
  font-size:12px;
}

.account-totals strong {
  margin-left:9px;
}

.availability-bar {
  display:flex;
  gap:3px;
  height:12px;
  overflow:hidden;
  border-radius:4px;
  margin:23px 0;
}

.availability-bar span {
  min-width:4px;
  background:currentColor;
}

.availability-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  font-size:11px;
}

.availability-list strong {
  font-size:19px;
  display:block;
  margin-top:3px;
  color:var(--ink);
  font-weight:550;
}

.availability-list .legend-item {
  gap:5px;
  font-size:10px;
}

.activity-item {
  display:flex;
  gap:12px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
}

.activity-item:last-child {
  border-bottom:0;
}

.activity-icon {
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  background:#edf2ef;
  color:var(--green);
  border-radius:50%;
  flex-shrink:0;
}

.activity-item small {
  color:var(--muted);
  display:block;
  font-size:10px;
  margin-top:3px;
}

.portal-panel {
  min-width:0;
}

.portal-panel>.notice {
  margin-top:23px;
}

.document-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}

.document-row:last-child {
  border:0;
}

.document-row strong {
  font-size:13px;
}

.document-row p {
  font-size:12px;
  color:var(--muted);
  margin-top:5px;
}

.toast {
  position:fixed;
  bottom:22px;
  right:22px;
  z-index:100;
  max-width:min(420px,calc(100% - 44px));
  background:var(--navy);
  color:white;
  border-radius:8px;
  padding:17px 22px;
  box-shadow:var(--shadow);
  font-size:13px;
}

.dialog {
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 20px 100px #102b3b33;
  width:min(570px,calc(100% - 32px));
  padding:0;
  color:var(--ink);
  max-height:90vh;
}

.dialog::backdrop {
  background:#102b3b91;
  backdrop-filter:blur(3px);
}

.dialog-head {
  padding:20px 25px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.dialog-head h2 {
  font-family:inherit;
  font-size:20px;
  letter-spacing:0;
}

.dialog-close {
  border:0;
  background:#edf2ef;
  border-radius:50%;
  width:32px;
  height:32px;
  font-size:21px;
  line-height:1;
}

.dialog-body {
  padding:27px;
}

.receipt-total {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding-top:19px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.no-js {
  padding:20px;
  text-align:center;
  background:var(--amber-bg);
}

.loading {
  color:var(--muted);
  padding:24px;
  text-align:center;
  font-size:13px;
}

.contact-detail {
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.contact-detail strong {
  font-size:13px;
}

.contact-detail p {
  font-size:13px;
  margin-top:4px;
}

.admin-header-links {
  display:flex;
  gap:24px;
  margin-left:auto;
  font-size:12px;
}

.admin-top .nav-inner {
  min-height:75px;
}

.admin-top .account-label {
  padding-left:20px;
  border-left:1px solid var(--line);
}

.admin-top .brand-name {
  font-size:21px;
}

.admin-top .badge {
  margin-left:10px;
}

.app-error {
  margin:25px;
}

.configuration-list {
  list-style:none;
  padding:0;
  margin:15px 0 0;
}

.configuration-list li {
  padding:14px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:13px;
}

#site-header {
  position:sticky;
  top:-30px;
  z-index:30;
}

.detail-layout>*,.checkout-layout>*,.grid-2>*,.grid-3>* {
  min-width:0;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media(min-width:1550px) {
  .hero-art {
    margin-right:0;
    border-radius:0 0 12px 0;
  }
  .hero .container {
    width:min(1400px,calc(100% - 120px));
  }
  .hero-copy {
    padding-left:30px;
  }
  .hero-grid {
    min-height:650px;
  }
}

@media(max-width:1180px) {
  .container {
    width:calc(100% - 48px);
  }
  .nav-inner {
    gap:17px;
  }
  .nav-links {
    gap:15px;
  }
  .nav-links>a {
    font-size:11px;
  }
  .brand-name {
    font-size:20px;
    letter-spacing:3px;
  }
  .brand img {
    width:32px;
  }
  .hero-art {
    margin-right:-24px;
  }
  .hero-copy {
    padding-right:32px;
  }
  .portal-shell {
    grid-template-columns:190px minmax(0,1fr);
  }
  .portal-main {
    padding:28px 24px;
  }
  .metric {
    padding:18px 15px;
  }
  .metric-value {
    font-size:23px;
  }
  .portal-columns {
    grid-template-columns:1.3fr 1fr;
  }
  .account-land {
    grid-template-columns:100px 1fr;
    gap:15px;
  }
  .availability-list {
    grid-template-columns:repeat(2,1fr);
  }
  .sidebar {
    padding-inline:10px;
  }
  .lot-workspace {
    grid-template-columns:minmax(0,1fr) 280px;
  }
  .map-body {
    padding:21px;
  }
  .selection-panel {
    padding:21px;
  }
  .checkout-layout {
    grid-template-columns:1fr 290px;
  }
}

@media(max-width:980px) {
  .nav-inner {
    min-height:73px;
  }
  .menu-toggle {
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-size:12px;
  }
  .nav-links {
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:73px;
    background:white;
    border-bottom:1px solid var(--line);
    padding:18px 24px;
    box-shadow:0 16px 22px #15354812;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    max-height:calc(100vh - 105px);
    overflow:auto;
  }
  .nav-links.open {
    display:flex;
  }
  .nav-links>a {
    padding:12px;
    font-size:13px;
  }
  .nav-links>.btn {
    margin-top:12px;
    padding:13px;
  }
  .hero-grid {
    min-height:530px;
  }
  .hero-copy {
    padding-block:55px;
  }
  .hero h1 {
    font-size:47px;
  }
  .hero-copy .row {
    align-items:stretch;
    gap:10px;
  }
  .hero-copy .btn {
    font-size:10px;
    padding:12px 13px;
  }
  .hero-art {
    min-height:500px;
  }
  .hero-note {
    margin-top:27px;
    font-size:11px;
  }
  .feature {
    padding:0 12px;
  }
  .feature small {
    font-size:10px;
  }
  .feature strong {
    font-size:11px;
  }
  .feature .icon {
    width:20px;
  }
  .detail-layout {
    grid-template-columns:1.2fr 1fr;
    gap:20px;
  }
  .detail-info {
    padding:24px;
  }
  .lot-workspace {
    grid-template-columns:minmax(0,1fr) 250px;
    gap:17px;
  }
  .lot-grid {
    gap:6px;
  }
  .lot-tile {
    min-height:64px;
  }
  .lot-tile .lot-state-short {
    font-size:7px;
  }
  .filters {
    gap:12px;
    padding:18px;
    grid-template-columns:1fr 1fr 1.2fr auto;
  }
  .filters .btn {
    padding-inline:13px;
  }
  .selection-panel {
    padding:18px;
  }
  .map-body {
    padding:18px;
  }
  .map-toolbar {
    padding:17px;
  }
  .portal-shell {
    grid-template-columns:165px minmax(0,1fr);
  }
  .sidebar-nav a {
    gap:8px;
    padding:10px 9px;
    font-size:11px;
  }
  .sidebar-nav .icon {
    width:17px;
  }
  .portal-main {
    padding:28px 20px;
  }
  .grid-4 {
    grid-template-columns:repeat(2,1fr);
    gap:15px;
  }
  .portal-columns {
    grid-template-columns:1fr;
  }
  .account-land {
    grid-template-columns:145px 1fr;
  }
  .availability-list {
    grid-template-columns:repeat(5,1fr);
  }
  .checkout-layout {
    grid-template-columns:1fr 250px;
    gap:20px;
  }
  .checkout-card {
    padding:25px;
  }
  .checkout-summary {
    padding:20px;
  }
  .steps li {
    font-size:10px;
    gap:6px;
  }
  .steps li:not(:last-child)::after {
    margin-right:9px;
  }
  .cta {
    padding:32px;
  }
  .section {
    padding-block:58px;
  }
  .mini-plans {
    gap:6px;
  }
  .mini-plan strong {
    font-size:16px;
  }
}

@media(max-width:760px) {
  .container {
    width:calc(100% - 36px);
  }
  .demo-strip {
    font-size:10px;
    padding-inline:10px;
  }
  .demo-strip .desktop-only {
    display:none;
  }
  .hero-grid {
    grid-template-columns:1fr;
  }
  .hero-copy {
    padding:40px 5px;
  }
  .hero h1 {
    font-size:49px;
    max-width:480px;
  }
  .hero-copy .lead {
    max-width:480px;
  }
  .hero-art {
    margin:0 -18px;
    min-height:310px;
    height:340px;
  }
  .hero-art>img {
    object-position:50% 43%;
  }
  .art-caption {
    bottom:25px;
    left:24px;
    right:24px;
  }
  .hero-note {
    margin-top:25px;
  }
  .feature-grid {
    padding-block:18px;
    gap:15px;
  }
  .feature {
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:7px;
    padding:0 8px;
  }
  .feature small {
    display:none;
  }
  .feature strong {
    font-size:10px;
    font-weight:550;
  }
  .section {
    padding-block:44px;
  }
  .section-head {
    gap:15px;
    align-items:flex-start;
  }
  .section-head h2 {
    font-size:29px;
  }
  .section-head .text-link {
    font-size:11px;
  }
  .grid-2,.grid-3 {
    grid-template-columns:1fr;
    gap:20px;
  }
  .development-image {
    height:210px;
  }
  .development-card .body {
    padding:23px;
  }
  .home-steps .grid-3 {
    gap:15px;
  }
  .step-card {
    padding:14px 22px;
  }
  .step-number {
    margin-bottom:9px;
    font-size:27px;
  }
  .cta {
    display:block;
    padding:30px;
  }
  .cta .btn {
    margin-top:23px;
  }
  .plan-card {
    padding:23px;
  }
  .plan-card strong {
    font-size:34px;
  }
  .footer {
    margin-top:45px;
  }
  .footer-main,.footer-bottom {
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-links {
    gap:18px;
  }
  .page-heading h1 {
    font-size:37px;
  }
  .page-heading .lead {
    font-size:14px;
  }
  .page-heading>.row {
    gap:18px;
  }
  .breadcrumb {
    padding:19px 0;
  }
  .detail-layout {
    grid-template-columns:1fr;
  }
  .photo-panel>img {
    height:310px;
  }
  .filters {
    grid-template-columns:1fr 1fr;
    padding:17px;
    gap:15px;
  }
  .filters.public-lot-filters {
    grid-template-columns:minmax(0,1fr);
  }
  .filters .search-field {
    grid-column:1/-1;
  }
  .filters>.btn {
    grid-column:1/-1;
    min-height:37px;
  }
  .lot-workspace {
    grid-template-columns:1fr;
  }
  .selection-panel {
    position:static;
    padding:24px;
  }
  .selection-panel .lot-preview {
    height:85px;
    float:right;
    width:100px;
    margin:15px 0 0 20px;
  }
  .selection-panel .data-list {
    clear:both;
    padding-top:8px;
  }
  .lot-tile {
    min-height:78px;
  }
  .lot-tile .lot-state-short {
    font-size:8px;
  }
  .map-body {
    padding:22px 17px;
  }
  .map-toolbar h2 {
    font-size:13px;
  }
  .map-toolbar .badge {
    font-size:8px;
  }
  .map-orientation {
    font-size:8px;
  }
  .legend {
    gap:12px;
    padding:15px;
  }
  .checkout-layout {
    grid-template-columns:1fr;
  }
  .checkout-summary {
    position:static;
    grid-row:1;
    padding:20px;
  }
  .checkout-summary .data-list {
    margin-block:10px;
  }
  .checkout-summary h3 {
    font-size:16px;
  }
  .checkout-summary .price {
    font-size:25px;
  }
  .timer {
    margin-top:12px;
  }
  .steps {
    gap:7px;
    margin-bottom:23px;
  }
  .steps li {
    flex-direction:column;
    font-size:9px;
    gap:5px;
    text-align:center;
  }
  .steps li:not(:last-child)::after {
    position:absolute;
    top:15px;
    width:calc(100% - 36px);
    left:calc(50% + 20px);
    margin:0;
  }
  .steps .step-dot {
    width:28px;
    height:28px;
  }
  .checkout-card {
    padding:23px;
  }
  .checkout-card h2 {
    font-size:23px;
  }
  .form-grid {
    gap:17px;
  }
  .field {
    grid-column:1/-1;
  }
  .portal-shell {
    display:block;
  }
  .sidebar {
    padding:15px 18px;
    border-right:0;
    border-bottom:1px solid var(--line);
    gap:9px;
  }
  .sidebar-title {
    font-size:9px;
    padding:0;
  }
  .sidebar-nav {
    flex-direction:row;
    overflow-x:auto;
    gap:5px;
    padding-bottom:4px;
  }
  .sidebar-nav a {
    white-space:nowrap;
    padding:9px 12px;
    font-size:11px;
  }
  .sidebar-nav .icon {
    width:15px;
    height:15px;
  }
  .sidebar-note {
    display:none;
  }
  .portal-main {
    padding:25px 18px 35px;
  }
  .portal-heading h1 {
    font-size:26px;
  }
  .portal-heading .account-label {
    display:none;
  }
  .portal-heading {
    margin-bottom:22px;
  }
  .grid-4 {
    gap:12px;
  }
  .metric {
    padding:18px 14px;
  }
  .metric-value {
    font-size:25px;
  }
  .metric-head {
    font-size:10px;
  }
  .metric-note {
    font-size:9px;
  }
  .portal-columns {
    gap:18px;
    margin-top:20px;
  }
  .pad {
    padding:23px;
  }
  .table-header {
    padding:20px;
  }
  .table-header .btn {
    font-size:10px;
  }
  .table-header h2 {
    font-size:14px;
  }
  .account-totals {
    gap:18px;
    padding:18px;
    flex-wrap:wrap;
    justify-content:flex-start;
  }
  .admin-header-links {
    font-size:11px;
    gap:15px;
  }
  .admin-top .account-label {
    display:none;
  }
  .admin-top .brand-name {
    font-size:18px;
  }
  .admin-top .badge {
    font-size:8px;
    margin-left:0;
  }
  .admin-top .nav-inner {
    gap:12px;
    min-height:69px;
  }
  .availability-list {
    grid-template-columns:repeat(3,1fr);
  }
  .account-land {
    grid-template-columns:90px 1fr;
    gap:17px;
  }
  .account-land img {
    height:120px;
  }
  .account-land h3 {
    font-size:16px;
  }
  .account-land .small {
    font-size:11px;
  }
  .tab {
    font-size:11px;
  }
  .tabs {
    gap:25px;
  }
  .toast {
    bottom:15px;
    right:15px;
  }
  .document-row {
    align-items:flex-start;
  }
  .dialog-body {
    padding:23px;
  }
  .page-heading .eyebrow {
    font-size:9px;
  }
}

@media(max-width:370px) {
  .hero h1 {
    font-size:42px;
  }
  .hero-copy .row .btn {
    width:100%;
    font-size:11px;
  }
  .lot-grid {
    grid-template-columns:repeat(3,1fr);
  }
  .lot-tile {
    min-height:65px;
  }
  .metric-value {
    font-size:21px;
  }
  .metric-head .icon {
    display:none;
  }
  .mini-plans {
    grid-template-columns:1fr;
  }
  .mini-plan {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px;
  }
  .mini-plan strong {
    font-size:16px;
  }
  .admin-header-links {
    gap:8px;
    font-size:10px;
  }
  .admin-top .badge {
    display:none;
  }
}

@media(max-width:480px) {
  .site-header .brand-sub {
    display:none!important;
  }
  .site-header .brand-name {
    font-size:19px;
    letter-spacing:2.5px;
  }
  .site-header .brand img {
    width:28px;
  }
  .site-header .brand {
    gap:8px;
  }
  .admin-top .badge {
    display:none;
  }
  .admin-header-links {
    gap:12px;
    font-size:10px;
  }
  .admin-top .brand-name {
    font-size:17px;
  }
  .checkout-actions {
    flex-direction:column;
  }
  .checkout-actions>.btn {
    width:100%;
  }
  .configuration-list li {
    flex-direction:column;
    gap:5px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}

/* Multimedia: fotografía, video y plano conservan representaciones distintas. */
.hero-media-note {
  position:absolute;
  top:65px;
  right:24px;
  max-width:285px;
  padding:8px 11px;
  border-radius:3px;
  background:#f7f7efda;
  color:#50665d;
  font-size:10px;
  line-height:1.5;
}
.lot-detail-blocks {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:26px;
}
.lot-media-layout {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  gap:26px;
  align-items:start;
}
.lot-main-column { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; }
.lot-detail-blocks,.lot-detail-blocks>*,.lot-media-layout>*,.lot-main-column>* {
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
/* El sticky termina con este bloque; características y desarrollo son hermanos externos. */
.lot-investment { position:sticky; top:110px; }
.lot-development-media { margin-top:22px; }
.lot-detail-blocks :is(.media-main,.media-empty,.media-image-box,.media-video-grid,.media-thumbnails) {
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.lot-detail-blocks .media-thumbnails { margin-inline:0; }
.lot-detail-blocks :is(img,video) { display:block; width:100%; max-width:100%; }
.lot-detail-blocks .media-image-box>img {
  position:static;
  inset:auto;
  height:auto;
  min-height:inherit;
  aspect-ratio:16/10;
  object-fit:cover;
}
.lot-gallery h2,.lot-location h2,.lot-features h2 { font-size:28px; }
.lot-gallery .section-head { align-items:center; gap:14px; margin-bottom:22px; }
.lot-gallery .eyebrow { font-size:9px; }
.lot-facts { display:grid; grid-template-columns:.65fr .65fr 1fr 1.8fr 1fr; gap:20px; margin:25px 0 0; }
.lot-facts>div { padding-top:14px; border-top:1px solid var(--line); min-width:0; }
.lot-facts dt { color:var(--muted); font-size:12px; }
.lot-facts dd { margin:8px 0 0; font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.lot-facts>div:nth-child(4) dd { font-size:13px; }
.media-description { margin:14px 0 20px; }
.media-visit { margin-top:12px; }
.development-multimedia { margin-top:36px; padding:34px; }
.media-main { margin:0; border:1px solid var(--line); border-radius:9px; overflow:hidden; }
.media-empty,.media-image-box {
  width:100%;
  min-width:0;
  min-height:240px;
  aspect-ratio:16/10;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  background:#edf0ee;
  overflow:hidden;
}
.media-empty { padding:32px; background:linear-gradient(135deg,#f2f1e9,#e7edeb); text-align:center; }
.media-empty::before { content:""; position:absolute; inset:20px; border:1px solid #b2c0b333; border-radius:5px; pointer-events:none; }
.media-empty[data-tone="1"] { background:linear-gradient(135deg,#e7efec,#f1f3ed); }
.media-empty[data-tone="2"] { background:linear-gradient(135deg,#e9edf0,#f2f0e8); }
.media-empty[data-tone="3"] { background:linear-gradient(135deg,#f3eee3,#e9efea); }
.media-frame-icon { display:grid; place-items:center; width:65px; height:65px; border:1px solid #b4c0b4; border-radius:14px; color:#84958b; margin-bottom:22px; }
.media-frame-icon .icon { width:34px; height:34px; stroke-width:1.1; }
.media-empty-title { font:24px Georgia,serif; color:#526f64; position:relative; }
.media-empty-subtitle { color:#72837b; font-size:11px; margin-top:12px; max-width:310px; position:relative; }
.media-slot { position:absolute; right:35px; bottom:26px; font-size:10px; letter-spacing:2px; color:#81958a; }
.media-image-box>img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.media-caption { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 20px; background:white; }
.media-caption>span:first-child { display:grid; gap:3px; }
.media-kind { font-size:9px; font-weight:650; letter-spacing:1px; color:var(--gold); }
.media-count { font-size:11px; font-variant-numeric:tabular-nums; color:var(--muted); white-space:nowrap; }
.media-thumbnails { display:flex; gap:10px; overflow-x:auto; padding:6px 3px 8px; margin:11px -3px 0; }
.media-thumb { flex:0 0 96px; min-width:0; padding:5px; border:1px solid var(--line); border-radius:6px; background:#fff; text-align:left; transition:border-color .15s,background .15s; }
.media-thumb:hover { background:#f2f5f2; border-color:#98ada2; }
.media-thumb[aria-pressed=true] { outline:2px solid var(--navy); outline-offset:1px; border-color:transparent; }
.media-thumb-image { height:54px; display:flex; align-items:center; justify-content:center; border-radius:3px; background:#edf1ed; color:#83988c; overflow:hidden; }
.media-thumb-image>img { width:100%; height:100%; object-fit:cover; }
.media-thumb>span:nth-child(2) { font-size:11px; display:block; margin:5px 4px 0; font-weight:600; }
.media-thumb small { display:block; color:var(--muted); font-size:9px; margin:0 4px 4px; }
.media-thumb-video .media-thumb-image { background:var(--navy); color:#d5c190; }
.media-video-heading { margin-top:35px; margin-bottom:21px; }
.media-video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.media-video-card { background:#fff; border:1px solid var(--line); border-radius:9px; overflow:hidden; padding:0 0 19px; text-align:left; }
.media-video-card:hover { border-color:#9eb1a7; box-shadow:var(--shadow); }
.media-video-cover { display:flex; align-items:center; justify-content:center; background:#e5ece9; color:var(--navy); height:138px; position:relative; margin-bottom:17px; }
.media-video-cover>.icon { padding:14px; border:1px solid #9fb4a7; border-radius:50%; width:53px; height:53px; }
.media-video-cover>span { position:absolute; left:15px; bottom:12px; font-size:8px; letter-spacing:1.8px; color:#6d8278; }
.media-video-card>strong { font-size:14px; display:block; padding:0 18px; font-weight:600; }
.media-video-card>.small { display:block; padding:3px 18px 0; font-size:11px; }
.video-modal-content { margin:20px 0; }
.media-empty-video { min-height:210px; aspect-ratio:16/9; background:var(--navy); border-radius:7px; }
.media-empty-video .media-frame-icon { border-radius:50%; color:#d7c391; border-color:#d7c39166; width:55px; height:55px; margin-bottom:16px; }
.media-empty-video .media-frame-icon .icon { width:24px; height:24px; }
.media-empty-video .media-empty-title { color:#edf2ed; font-family:inherit; font-size:19px; }
.media-empty-video .media-empty-subtitle,.media-empty-video .media-slot { color:#b7c9c8; }
.media-empty-video::before { border-color:#ffffff12; }
.media-player { width:100%; max-height:60vh; display:block; background:#102b3b; border-radius:7px; aspect-ratio:16/9; }
.media-playback-error { margin-top:12px; }
.media-dialog-image { margin:18px 0; border-radius:6px; overflow:hidden; background:#edf1ed; }
.media-dialog-image img { width:100%; max-height:50vh; object-fit:contain; }
.media-unavailable { color:var(--muted); display:flex; align-items:center; justify-content:center; gap:8px; padding:18px; font-size:11px; }
.mini-site-plan { background:#edf2e9; border:1px solid #dbe3d6; border-radius:7px; padding:24px; }
.mini-plan-section+.mini-plan-section { margin-top:16px; }
.mini-plan-section h3 { font-size:9px; letter-spacing:1.5px; color:#7b8d7c; margin-bottom:8px; }
.mini-plan-lots { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; }
.mini-plan-lot { border:1px solid #a9b9ab; border-radius:3px; display:flex; align-items:center; justify-content:center; gap:3px; padding:10px 2px; font-size:12px; line-height:1; }
.mini-plan-lot:hover { outline:1px solid var(--navy); }
.mini-plan-lot.selected { background:var(--navy); color:white; border-color:var(--navy); outline:2px solid #b49c65; outline-offset:2px; }
.mini-plan-lot .icon { width:13px; height:13px; }
.mini-plan-caption { display:block; margin-top:21px; border-top:1px solid #ccd7c8; padding-top:12px; text-align:center; font-size:9px; letter-spacing:1.5px; color:#7b8d7c; }
.configured-plan { margin:0 0 20px; }
.configured-plan img { width:100%; max-height:300px; object-fit:contain; }
.configured-plan figcaption { margin-top:8px; font-size:10px; color:var(--muted); }
.media-filters { display:grid; grid-template-columns:1.4fr 1fr 1.2fr .85fr; gap:16px; padding:22px; margin-top:22px; }
.media-filters .field { min-width:0; }
.media-admin-toolbar { display:flex; justify-content:space-between; gap:20px; align-items:center; margin:23px 0; }
.media-admin-toolbar .row { flex-shrink:0; }
.media-admin-toolbar .btn { font-size:10px; padding-inline:15px; }
.media-admin-group { margin-top:23px; }
.media-admin-group .section-head h2 { font-size:17px; }
.media-admin-empty { display:flex; gap:20px; align-items:center; justify-content:center; min-height:125px; border:1px dashed #d1dbd6; border-radius:7px; padding:23px; background:#f6f8f5; }
.media-admin-empty>.icon { width:35px; height:35px; color:#97ab9e; stroke-width:1; }
.media-admin-empty strong { font-size:14px; font-weight:550; }
.media-admin-empty p { font-size:12px; margin-top:4px; }
.admin-media-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.admin-media-card { min-width:0; border:1px solid var(--line); background:white; border-radius:8px; overflow:hidden; padding:0; text-align:left; }
.admin-media-card:hover { border-color:#8ea799; }
.admin-media-preview { height:145px; display:flex; align-items:center; justify-content:center; background:#eaf0eb; overflow:hidden; }
.admin-media-preview>img { width:100%; height:100%; object-fit:contain; }
.admin-media-preview>.icon { width:35px; height:35px; color:#688477; }
.admin-media-details { padding:17px; display:grid; gap:7px; overflow-wrap:anywhere; }
.admin-media-details strong { font-size:14px; font-weight:600; }
.admin-media-details .badge { width:fit-content; font-size:8px; }
.admin-media-details small { color:var(--muted); font-size:11px; }
.media-upload-form { margin-top:22px; }
.media-upload-form .field { min-width:0; }
.media-upload-form input[type=file] { font-size:11px; min-width:0; padding:9px; }
.media-upload-form input[type=file]::file-selector-button { border:1px solid #c8d3cd; border-radius:4px; padding:7px 9px; margin-right:8px; background:#edf2ee; color:var(--navy); cursor:pointer; }
.media-primary-field { align-self:center; }
.media-primary-field>span { font-size:10px; }
#upload-file-help { overflow-wrap:anywhere; }
@media(max-width:1100px) {
  .lot-detail-blocks {
    grid-template-areas:"gallery" "features" "investment" "plan" "development";
    gap:20px;
  }
  /* Un solo flujo visual en tablet/móvil, sin duplicar fichas ni controles. */
  .lot-media-layout,.lot-main-column { display:contents; }
  .lot-gallery { grid-area:gallery; }
  .lot-features { grid-area:features; }
  .lot-investment { grid-area:investment; position:static; }
  .lot-location { grid-area:plan; }
  .lot-development-media { grid-area:development; }
  .media-admin-toolbar { align-items:flex-start; flex-direction:column; }
  .media-filters { grid-template-columns:1fr 1fr; }
  .admin-media-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lot-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .media-thumb { flex-basis:82px; }
}
@media(max-width:760px) {
  .lot-gallery h2,.lot-location h2,.lot-features h2 { font-size:25px; }
  .lot-gallery .section-head { flex-wrap:wrap; }
  .media-empty,.media-image-box { min-height:215px; }
  .media-empty { padding:28px 23px; }
  .media-empty::before { inset:14px; }
  .media-empty-title { font-size:21px; }
  .media-empty-subtitle { font-size:10px; }
  .media-slot { right:17px; bottom:8px; font-size:8px; }
  .media-frame-icon { width:50px; height:50px; margin-bottom:17px; }
  .media-frame-icon .icon { width:28px; height:28px; }
  .media-caption { padding:14px; }
  .media-caption .small { font-size:11px; }
  .media-kind { font-size:8px; letter-spacing:.6px; }
  .media-count { font-size:10px; }
  .media-thumbnails { gap:8px; }
  .media-thumb { flex:0 0 calc((100% - 24px)/4); padding:4px; }
  .media-thumb>span:nth-child(2) { font-size:10px; margin-inline:2px; }
  .media-thumb small { font-size:8px; margin-inline:2px; }
  .media-thumb-image { height:47px; }
  .lot-facts { grid-template-columns:1fr 1fr; gap:17px; margin-top:17px; }
  .lot-facts>div:nth-child(4) dd { font-size:12px; }
  .lot-development-media { margin-top:13px; }
  .lot-development-media>.section-head { flex-direction:column; }
  .development-multimedia { padding:23px; margin-top:23px; }
  .development-multimedia>.section-head { flex-wrap:wrap; }
  .media-video-grid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .media-video-cover { height:135px; }
  .media-video-heading { margin-top:28px; }
  .media-video-heading h2 { font-size:27px; }
  .mini-site-plan { padding:20px 15px; }
  .mini-plan-lots { gap:6px; }
  .mini-plan-lot { font-size:10px; padding-block:10px; }
  .media-filters { gap:15px; padding:18px; }
  .media-filters .field { grid-column:auto; }
  .media-filters select { font-size:12px; padding-inline:8px; }
  .media-admin-toolbar .row { flex-wrap:wrap; width:100%; }
  .media-admin-toolbar .btn { flex:1 1 130px; }
  .media-admin-group { padding:20px; }
  .media-admin-group .section-head { align-items:center; gap:12px; }
  .media-admin-group .section-head .badge { font-size:8px; }
  .media-admin-empty { flex-direction:column; text-align:center; gap:12px; padding:20px; }
  .admin-media-grid { grid-template-columns:minmax(0,1fr); }
  .media-empty-video { min-height:200px; }
  .media-empty-video .media-empty-title { font-size:17px; }
}
@media(max-width:370px) {
  .hero-media-note { font-size:9px; max-width:235px; }
  .media-filters { grid-template-columns:1fr; }
  .media-admin-toolbar .btn { width:100%; }
  .lot-gallery .pad { padding:20px; }
  .media-caption { gap:9px; }
}

@media print {
  body {
    background:white;
  }
  .site-header,.demo-strip,.sidebar,.footer,.btn,.toast,.skip-link {
    display:none!important;
  }
  .portal-shell {
    display:block;
  }
  .container {
    width:100%;
  }
  .portal-main {
    padding:0;
  }
  .table-scroll {
    overflow:visible;
  }
  .dialog[open] {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    max-height:none;
    border:0;
    box-shadow:none;
  }
  .dialog::backdrop {
    background:white;
  }
  .dialog-head .dialog-close {
    display:none;
  }
  .dialog .btn {
    display:none;
  }
}
