:root {
  --navy-950: #041226;
  --navy-900: #071b3a;
  --navy-800: #0d2a52;
  --navy-700: #163a69;
  --gold-500: #d7a544;
  --gold-400: #e6bd67;
  --gold-100: #f6ecd6;
  --ivory: #f8f5ef;
  --white: #ffffff;
  --ink: #1b2430;
  --muted: #68707d;
  --line: #dde2e8;
  --success: #0a8f5b;
  --shadow-sm: 0 10px 30px rgba(4, 18, 38, .08);
  --shadow-lg: 0 24px 70px rgba(4, 18, 38, .18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: #f4f6f8; }
.section--ivory { background: var(--ivory); }
.section--navy { color: var(--white); background: var(--navy-900); }
.eyebrow { color: var(--gold-500); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; color: var(--navy-900); line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; }
p { margin-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-heading p { max-width: 580px; color: var(--muted); margin-bottom: 4px; }
.section-heading--light h2, .section-heading--light p { color: var(--white); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 750; transition: .22s ease; white-space: nowrap;
}
.button:hover { transform: translateY(-2px); }
.button--gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 12px 30px rgba(215,165,68,.26); }
.button--gold:hover { background: var(--gold-400); }
.button--navy { background: var(--navy-900); color: var(--white); }
.button--ghost { border-color: rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.06); }
.button--outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.button--whatsapp { background: #0f9f66; color: white; }
.button--full { width: 100%; }
.text-link { font-weight: 800; color: var(--navy-900); display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: '→'; color: var(--gold-500); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  color: white; background: rgba(4,18,38,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(215,165,68,.45); }
.brand__text strong { display: block; color: white; font-size: .9rem; letter-spacing: .18em; }
.brand__text span { color: var(--gold-400); display: block; font-size: .64rem; letter-spacing: .22em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { color: rgba(255,255,255,.84); font-weight: 650; font-size: .92rem; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--gold-400); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: white; padding: 9px; }
.menu-button span { display: block; height: 2px; background: currentColor; margin: 6px 0; }
.mobile-menu { display: none; }

.hero {
  min-height: 760px; color: white; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(4,18,38,.93) 0%, rgba(4,18,38,.75) 42%, rgba(4,18,38,.25) 100%), url('../images/hero-zone-dorada.jpg') center 35%/cover no-repeat;
}
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 74% 30%, rgba(215,165,68,.14), transparent 34%); }
.hero__content { position: relative; z-index: 2; padding: 116px 0 150px; max-width: 780px; }
.hero h1 { color: white; margin: 18px 0 22px; }
.hero__lead { font-size: 1.15rem; max-width: 650px; color: rgba(255,255,255,.83); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-search-wrap { position: relative; z-index: 5; margin-top: -74px; }
.hero-search {
  background: white; border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr auto; gap: 12px; align-items: end;
}
.form-field label, .hero-search label { display: block; color: var(--navy-900); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white;
  padding: 12px 13px; min-height: 47px; outline: none; transition: .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(215,165,68,.16); }

.stats { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); padding: 54px 0 50px; }
.stat { padding: 0 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy-900); font-family: Georgia, serif; font-size: 2.15rem; font-weight: 500; }
.stat span { color: var(--muted); font-size: .92rem; }

.property-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.property-card { background: white; border: 1px solid #e4e8ed; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: .24s ease; }
.property-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(4,18,38,.14); }
.property-card__media { position: relative; display: block; aspect-ratio: 1.35/1; overflow: hidden; background: #dfe5ea; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-card__media img { transform: scale(1.04); }
.property-card__badge, .property-card__status { position: absolute; top: 16px; padding: 7px 11px; border-radius: 999px; font-weight: 800; font-size: .72rem; letter-spacing: .04em; }
.property-card__badge { left: 16px; color: var(--navy-950); background: var(--gold-400); }
.property-card__status { right: 16px; color: white; background: rgba(4,18,38,.84); backdrop-filter: blur(8px); }
.property-card__body { padding: 21px; }
.property-card__price { color: var(--navy-900); font-size: 1.32rem; font-weight: 850; }
.property-card__price small { font-size: .76rem; font-weight: 600; color: var(--muted); }
.property-card h3 { margin: 9px 0 4px; }
.property-card h3 a:hover { color: var(--gold-500); }
.property-card__location { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.property-card__specs { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 15px; border-top: 1px solid var(--line); color: #4e5966; font-size: .82rem; }
.property-card__specs span { display: inline-flex; align-items: center; gap: 6px; }
.property-card__specs svg { width: 18px; height: 18px; color: var(--gold-500); }
.property-card__specs--text span + span::before { content: '•'; color: var(--gold-500); margin-right: 8px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.split__image { min-height: 620px; background: url('../images/local-premium.jpg') center/cover no-repeat; }
.split__content { display: flex; align-items: center; padding: 70px clamp(36px,7vw,110px); background: var(--navy-900); color: white; }
.split__content h2 { color: white; }
.split__content p { color: rgba(255,255,255,.74); }
.check-list { display: grid; gap: 15px; margin: 28px 0 34px; }
.check-list span { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); }
.check-list svg { width: 22px; height: 22px; color: var(--gold-400); }

.zone-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.zone-card { min-height: 350px; border-radius: var(--radius-md); position: relative; overflow: hidden; color: white; display: flex; align-items: end; padding: 24px; background-position: center; background-size: cover; }
.zone-card::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg,transparent 28%,rgba(4,18,38,.9) 100%); }
.zone-card > * { position: relative; }
.zone-card h3 { color: white; font-family: Georgia,serif; font-size: 1.5rem; margin-bottom: 4px; }
.zone-card p { margin: 0; color: rgba(255,255,255,.72); }
.zone-card:nth-child(1) { background-image: url('../images/city-point.jpg'); }
.zone-card:nth-child(2) { background-image: url('../images/hero-zone-dorada.jpg'); }
.zone-card:nth-child(3) { background-image: url('../images/lounge.jpg'); }
.zone-card:nth-child(4) { background-image: url('../images/bedroom.jpg'); }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.service-card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-500); margin-bottom: 24px; }
.service-card__icon svg { width: 28px; height: 28px; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.owner-cta { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); color: white; }
.owner-cta__content { padding: 68px; }
.owner-cta h2 { color: white; }
.owner-cta p { color: rgba(255,255,255,.74); max-width: 620px; }
.owner-cta__image { background: linear-gradient(90deg,rgba(7,27,58,.1),transparent), url('../images/apartment-interior.jpg') center/cover no-repeat; min-height: 430px; }

.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote-card { border-radius: var(--radius-md); background: white; border: 1px solid var(--line); padding: 30px; }
.quote-card__stars { color: var(--gold-500); letter-spacing: .12em; margin-bottom: 18px; }
.quote-card p { color: #404b58; }
.quote-card strong { color: var(--navy-900); }
.quote-card span { display: block; color: var(--muted); font-size: .85rem; }

.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand p { max-width: 390px; margin-top: 22px; }
.site-footer h3 { color: white; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { margin-top: 58px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: .84rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.socials svg { width: 19px; height: 19px; }

.page-hero { padding: 80px 0 72px; background: var(--navy-900); color: white; }
.page-hero h1 { color: white; font-size: clamp(2.4rem,5vw,4.5rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 650px; }
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; background: white; }
.filters h2 { font-family: inherit; font-size: 1.15rem; font-weight: 800; margin-bottom: 20px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display:block; font-size:.76rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--navy-900); margin-bottom:6px; }
.filter-clear { border:0; background:transparent; color:var(--navy-700); font-weight:750; padding:0; }
.listing-toolbar { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:22px; }
.listing-toolbar strong { color:var(--navy-900); }
.listing-toolbar select { width:auto; min-width:200px; }
.listing-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.empty-state { grid-column:1/-1; text-align:center; padding:70px 30px; border:1px dashed var(--line); border-radius:var(--radius-md); background:#fafbfc; }

.property-gallery { max-width: 1440px; margin: 0 auto; display:grid; grid-template-columns:2fr 1fr; gap:6px; height:560px; position:relative; background:#dfe4e9; }
.property-gallery button { border:0; padding:0; overflow:hidden; background:#ddd; }
.property-gallery img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.property-gallery button:hover img { transform:scale(1.02); }
.property-gallery__side { display:grid; grid-template-rows:repeat(3,1fr); gap:6px; }
.gallery-count { position:absolute; right:24px; bottom:22px; border-radius:999px!important; background:rgba(4,18,38,.88)!important; color:white; padding:10px 16px!important; font-weight:750; backdrop-filter:blur(10px); }
.property-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 380px; gap:58px; padding-top:62px; padding-bottom:100px; align-items:start; }
.property-title-row { display:flex; justify-content:space-between; gap:30px; align-items:flex-start; padding-bottom:30px; border-bottom:1px solid var(--line); }
.property-title-row h1 { font-size:clamp(2rem,4vw,3.55rem); margin:10px 0 12px; }
.property-address { color:var(--muted); }
.property-main-price { color:var(--navy-900); font-size:1.65rem; font-weight:850; white-space:nowrap; }
.property-main-price small { display:block; text-align:right; color:var(--muted); font-size:.75rem; }
.detail-specs { display:flex; flex-wrap:wrap; gap:0; padding:28px 0; border-bottom:1px solid var(--line); }
.detail-specs div { padding:0 28px; border-right:1px solid var(--line); }
.detail-specs div:first-child { padding-left:0; }
.detail-specs div:last-child { border-right:0; }
.detail-specs strong { display:block; color:var(--navy-900); font-size:1.35rem; }
.detail-specs span { color:var(--muted); font-size:.8rem; }
.detail-section { padding:36px 0; border-bottom:1px solid var(--line); }
.detail-section h2 { font-family:inherit; font-size:1.42rem; font-weight:850; letter-spacing:0; }
.detail-section p { color:#4d5865; }
.amenity-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.amenity-grid span { display:flex; align-items:center; gap:10px; }
.amenity-grid svg { width:21px; height:21px; color:var(--gold-500); }
.map-image { width:100%; border-radius:var(--radius-md); border:1px solid var(--line); margin-top:16px; }
.inquiry-card { position:sticky; top:106px; padding:30px; border-radius:var(--radius-md); background:white; border:1px solid var(--line); box-shadow:var(--shadow-lg); }
.inquiry-card__logo img { width:62px; height:62px; border-radius:50%; }
.inquiry-card h2 { font-family:inherit; font-size:1.55rem; font-weight:850; margin:18px 0 8px; }
.inquiry-card p, .inquiry-card small { color:var(--muted); }
.inquiry-card label { display:block; font-size:.76rem; font-weight:800; margin:12px 0 5px; }
.inquiry-card .button { margin-top:12px; }
.form-notice { border-radius:10px; background:#e9f7f0; color:#096840; padding:12px; margin-top:12px; font-size:.85rem; }
.lightbox { position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.94); display:grid; place-items:center; padding:50px; }
.lightbox[hidden] { display:none; }
.lightbox img { max-width:min(1200px,90vw); max-height:86vh; object-fit:contain; }
.lightbox__close,.lightbox__nav { position:absolute; border:0; color:white; background:rgba(255,255,255,.12); border-radius:50%; display:grid; place-items:center; }
.lightbox__close { top:22px; right:24px; width:46px; height:46px; font-size:2rem; }
.lightbox__nav { top:50%; transform:translateY(-50%); width:54px; height:54px; font-size:2.4rem; }
.lightbox__nav--prev { left:22px; }
.lightbox__nav--next { right:22px; }

.contact-layout { display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; }
.contact-card { background:var(--navy-900); color:white; border-radius:var(--radius-lg); padding:50px; }
.contact-card h2 { color:white; }
.contact-card p { color:rgba(255,255,255,.75); }
.contact-list { display:grid; gap:18px; margin-top:32px; }
.contact-list div { display:flex; gap:14px; }
.contact-list svg { width:23px; height:23px; color:var(--gold-400); flex:0 0 auto; }
.contact-form { border:1px solid var(--line); border-radius:var(--radius-lg); padding:42px; box-shadow:var(--shadow-sm); }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.form-grid .full { grid-column:1/-1; }

.admin-body { background:#eef2f6; }
.admin-header { background:var(--navy-950); color:white; height:72px; display:flex; align-items:center; }
.admin-header .container { display:flex; align-items:center; justify-content:space-between; }
.admin-layout { display:grid; grid-template-columns:230px 1fr; min-height:calc(100vh - 72px); }
.admin-sidebar { background:var(--navy-900); color:rgba(255,255,255,.76); padding:30px 20px; }
.admin-sidebar nav { display:grid; gap:8px; }
.admin-sidebar a { padding:11px 13px; border-radius:9px; }
.admin-sidebar a.active,.admin-sidebar a:hover { background:rgba(255,255,255,.09); color:white; }
.admin-main { padding:40px; }
.admin-title { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:28px; }
.admin-title h1 { font-family:inherit; font-size:2rem; font-weight:850; margin:0; }
.admin-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:28px; }
.admin-kpi { background:white; border-radius:14px; padding:22px; box-shadow:var(--shadow-sm); }
.admin-kpi span { color:var(--muted); font-size:.8rem; }
.admin-kpi strong { display:block; color:var(--navy-900); font-size:1.8rem; }
.admin-panel { background:white; border-radius:16px; box-shadow:var(--shadow-sm); overflow:hidden; margin-bottom:30px; }
.admin-panel__head { display:flex; justify-content:space-between; align-items:center; padding:22px 24px; border-bottom:1px solid var(--line); }
.admin-panel__head h2 { font-family:inherit; font-weight:850; font-size:1.2rem; margin:0; }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th,.admin-table td { text-align:left; padding:16px 22px; border-bottom:1px solid var(--line); font-size:.88rem; }
.admin-table th { color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; }
.status-chip { display:inline-flex; padding:5px 9px; border-radius:999px; background:#e8f7ef; color:#087044; font-size:.74rem; font-weight:800; }
.admin-form { padding:26px; }
.admin-form-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:17px; }
.admin-form-grid .span-2 { grid-column:span 2; }
.admin-form-grid .span-3 { grid-column:1/-1; }
.upload-box { border:2px dashed #cfd6de; border-radius:14px; padding:26px; text-align:center; background:#fafbfc; }
.upload-preview { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; margin-top:16px; }
.upload-preview img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:9px; }
.admin-notice { background:#e9f7f0; color:#096840; padding:15px; border-radius:10px; margin:18px 26px 0; }
.demo-ribbon { position:fixed; right:18px; bottom:18px; z-index:80; background:var(--gold-500); color:var(--navy-950); padding:10px 14px; border-radius:999px; font-weight:850; box-shadow:var(--shadow-lg); }

@media (max-width: 1040px) {
  .desktop-nav, .site-header .button--gold { display:none; }
  .menu-button { display:block; }
  .mobile-menu { position:absolute; left:0; right:0; top:78px; background:var(--navy-950); padding:16px 20px 24px; border-top:1px solid rgba(255,255,255,.08); }
  .mobile-menu.is-open { display:grid; gap:4px; }
  .mobile-menu a { padding:12px; color:white; border-radius:8px; }
  .mobile-menu a:hover { background:rgba(255,255,255,.06); }
  .hero-search { grid-template-columns:repeat(2,1fr); }
  .hero-search .button { grid-column:1/-1; }
  .property-grid { grid-template-columns:repeat(2,1fr); }
  .zone-grid { grid-template-columns:repeat(2,1fr); }
  .owner-cta { grid-template-columns:1fr; }
  .owner-cta__image { min-height:340px; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .property-detail-layout { grid-template-columns:1fr; }
  .inquiry-card { position:static; max-width:650px; }
  .admin-kpis { grid-template-columns:repeat(2,1fr); }
  .admin-form-grid { grid-template-columns:repeat(2,1fr); }
  .admin-form-grid .span-3 { grid-column:1/-1; }
}

@media (max-width: 760px) {
  .container { width:min(calc(100% - 28px),var(--container)); }
  .section { padding:70px 0; }
  .brand__text strong { font-size:.74rem; }
  .brand__text span { font-size:.56rem; }
  .hero { min-height:680px; background-position:62% center; }
  .hero__content { padding-top:86px; }
  .hero__lead { font-size:1rem; }
  .hero-search-wrap { margin-top:-48px; }
  .hero-search { grid-template-columns:1fr; padding:17px; }
  .hero-search .button { grid-column:auto; }
  .stats { grid-template-columns:repeat(2,1fr); row-gap:28px; }
  .stat { border-right:0; padding:0; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .property-grid,.listing-grid,.service-grid,.testimonials { grid-template-columns:1fr; }
  .split { grid-template-columns:1fr; }
  .split__image { min-height:440px; }
  .split__content { padding:54px 28px; }
  .zone-grid { grid-template-columns:1fr; }
  .zone-card { min-height:300px; }
  .owner-cta__content { padding:42px 28px; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; }
  .listing-layout { grid-template-columns:1fr; }
  .filters { position:static; }
  .listing-toolbar { align-items:flex-start; flex-direction:column; }
  .listing-toolbar select { width:100%; }
  .property-gallery { height:auto; grid-template-columns:1fr; }
  .property-gallery__main { aspect-ratio:1.25/1; }
  .property-gallery__side { grid-template-columns:repeat(3,1fr); grid-template-rows:1fr; height:130px; }
  .gallery-count { right:12px; bottom:12px; }
  .property-detail-layout { gap:36px; padding-top:38px; }
  .property-title-row { flex-direction:column; }
  .property-main-price small { text-align:left; }
  .detail-specs { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
  .detail-specs div { padding:0; border:0; }
  .amenity-grid { grid-template-columns:1fr; }
  .contact-layout { grid-template-columns:1fr; gap:28px; }
  .contact-card,.contact-form { padding:30px 22px; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid .full { grid-column:auto; }
  .admin-layout { grid-template-columns:1fr; }
  .admin-sidebar { display:none; }
  .admin-main { padding:24px 14px; }
  .admin-title { align-items:flex-start; flex-direction:column; }
  .admin-kpis { grid-template-columns:1fr 1fr; }
  .admin-panel { overflow:auto; }
  .admin-table { min-width:760px; }
  .admin-form-grid { grid-template-columns:1fr; }
  .admin-form-grid .span-2,.admin-form-grid .span-3 { grid-column:auto; }
  .upload-preview { grid-template-columns:repeat(3,1fr); }
}

/* Laravel application additions */
.flash { width:min(calc(100% - 40px),var(--container)); margin:22px auto 0; padding:16px 20px; border-radius:12px; font-weight:700; }
.flash ul { margin:8px 0 0 20px; font-weight:500; }
.flash--success { color:#08603e; background:#e5f6ed; border:1px solid #b9e5ce; }
.flash--error { color:#8b2430; background:#fff0f1; border:1px solid #f2c1c6; }
.check-field { display:flex; gap:10px; align-items:flex-start; font-weight:600; line-height:1.45; }
.check-field input { width:auto; min-width:18px; height:18px; margin-top:2px; padding:0; accent-color:var(--gold-500); }
.check-row { display:flex; flex-wrap:wrap; gap:22px; padding:8px 0; }
.pager { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:34px; }
.pager a,.pager span,.pager strong { display:inline-flex; min-height:40px; align-items:center; padding:8px 14px; border:1px solid var(--line); border-radius:9px; background:white; }
.pager span { color:var(--muted); }
.pager strong { color:white; background:var(--navy-900); border-color:var(--navy-900); }
.auth-section { min-height:calc(100vh - 80px); display:grid; place-items:center; background:var(--ivory); }
.auth-card { width:min(calc(100% - 32px),480px); padding:42px; border-radius:var(--radius-md); background:white; box-shadow:var(--shadow-lg); }
.auth-card h1 { margin:8px 0 10px; }
.auth-card form { display:grid; gap:17px; margin-top:28px; }
.error-page { min-height:80vh; display:grid; place-items:center; text-align:center; }
.error-page img { margin:0 auto 24px; }
.error-page p { margin-inline:auto; }
.admin-header__actions { display:flex; gap:10px; align-items:center; }
.admin-header__actions form { margin:0; }
.button--outline-light { border:1px solid rgba(255,255,255,.4); color:white; background:transparent; }
.admin-main { min-width:0; }
.admin-table-wrap { width:100%; overflow-x:auto; }
.admin-table { min-width:760px; }
.table-actions { display:flex; gap:12px; align-items:center; white-space:nowrap; }
.table-actions form { margin:0; }
.link-button { padding:0; border:0; color:var(--navy-700); background:none; cursor:pointer; }
.link-button--danger { color:#a62b38; }
.message-cell { min-width:260px; max-width:430px; white-space:normal; }
.form-actions { display:flex; gap:12px; margin-top:26px; }
.amenities-field { border:1px solid var(--line); border-radius:12px; padding:18px; }
.amenities-field legend { padding:0 8px; font-weight:800; color:var(--navy-900); }
.amenities-checks { display:grid; grid-template-columns:repeat(3,1fr); gap:12px 18px; }
.existing-images { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin-top:10px; }
.existing-images figure { position:relative; margin:0; }
.existing-images img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:10px; }
.existing-images figcaption { position:absolute; left:6px; bottom:6px; padding:3px 7px; border-radius:999px; color:white; background:var(--navy-900); font-size:.7rem; }
.status-chip--draft,.status-chip--inactive { color:#5f6670; background:#edf0f3; }
.status-chip--reserved { color:#85600b; background:#fff3cf; }
.status-chip--sold,.status-chip--rented { color:#7c2932; background:#fde9eb; }
.socials a { font-size:.72rem; font-weight:900; }
.home-page { overflow-x:clip; }
.motion-card-shell { min-width:0; transform-origin:center center; will-change:transform,opacity,clip-path; }
.motion-card-shell .property-card { height:100%; }
.motion-card-shell .property-card__media img { will-change:transform; }
.motion-stage { position:relative; isolation:isolate; overflow:hidden; }
.motion-stage .container { position:relative; z-index:2; }
.motion-orb { position:absolute; z-index:0; width:360px; aspect-ratio:1; border-radius:56% 44% 68% 32% / 38% 62% 38% 62%; pointer-events:none; opacity:.16; filter:blur(1px); will-change:transform,border-radius; }
.motion-orb--gold { right:-185px; top:8%; background:linear-gradient(145deg,var(--gold-400),var(--gold-100)); }
.motion-orb--navy { left:-210px; bottom:-80px; background:linear-gradient(145deg,var(--navy-700),var(--navy-950)); opacity:.09; }

@media (min-width:761px) {
  .filters { max-height:calc(100svh - 128px); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:transparent transparent; transition:scrollbar-color .2s ease,box-shadow .2s ease; }
  .filters:hover,.filters:focus-within { scrollbar-color:var(--gold-500) rgba(7,27,58,.08); box-shadow:0 18px 45px rgba(4,18,38,.12); }
  .filters::-webkit-scrollbar { width:9px; }
  .filters::-webkit-scrollbar-track { background:transparent; border-radius:999px; }
  .filters::-webkit-scrollbar-thumb { background:transparent; border-radius:999px; border:2px solid transparent; background-clip:padding-box; }
  .filters:hover::-webkit-scrollbar-track,.filters:focus-within::-webkit-scrollbar-track { background:rgba(7,27,58,.06); }
  .filters:hover::-webkit-scrollbar-thumb,.filters:focus-within::-webkit-scrollbar-thumb { background:var(--gold-500); background-clip:padding-box; }
}

@media (max-width:760px) {
  .admin-header { height:auto; min-height:72px; padding:10px 0; }
  .admin-header__actions .button--ghost { display:none; }
  .admin-header__actions .button { padding:9px 12px; }
  .amenities-checks { grid-template-columns:1fr; }
  .existing-images { grid-template-columns:repeat(3,1fr); }
  .auth-card { padding:30px 22px; }
  .form-actions { flex-direction:column; }
  .filters { max-height:none; overflow:visible; scrollbar-gutter:auto; }
  .motion-orb { width:230px; opacity:.1; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}
