/* =========================================================================
   HORIZON REAL ESTATE — main stylesheet
   Organized top to bottom: variables > base/reset > layout > components >
   pages > utilities > responsive. Written mobile-first: base rules target
   small screens, larger screens are layered on with min-width media queries.
   ========================================================================= */

/* ---------- Fonts ----------
   Playfair Display (serif) for headings, Inter (sans) for body text.
   Loaded from Google Fonts with `font-display: swap` so text is never
   invisible while loading; system fonts below are the fallback stack. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette */
  --color-gold: #c9a24b;
  --color-gold-light: #e3c579;
  --color-gold-dark: #a2812f;
  --color-white: #ffffff;
  --color-offwhite: #f3f1ec;
  --color-dark: #17181a;
  --color-dark-surface: #202226;
  --color-dark-surface-2: #2a2c31;
  --color-dark-border: #3a3c42;
  --color-coffee: #3b2a20;
  --color-coffee-dark: #2a1d16;
  --color-coffee-light: #5a4030;

  /* Semantic */
  --bg-body: var(--color-dark);
  --bg-surface: var(--color-dark-surface);
  --bg-surface-2: var(--color-dark-surface-2);
  --text-body: rgba(255, 255, 255, 0.88);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-heading: var(--color-white);
  --border-subtle: var(--color-dark-border);

  /* Type */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing / shape */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container-w: 1240px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease);
  --transition-mid: 0.4s var(--ease);
  --transition-slow: 0.7s var(--ease);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-heading); font-weight: 600; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

/* Focus visibility for keyboard navigation (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold) 60%, var(--color-gold-dark));
  color: #201703;
  box-shadow: 0 8px 24px -8px rgba(201, 162, 75, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 30px -6px rgba(201, 162, 75, 0.7); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--color-gold); color: var(--color-gold); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--color-white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgba(23, 24, 26, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.site-header.is-scrolled { background: rgba(20, 21, 23, 0.92); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.brand .brand-fallback {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--color-white); letter-spacing: 0.01em;
}
.brand .brand-fallback span { color: var(--color-gold); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: inline-block; padding: 10px 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-body); position: relative; transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav a:hover { color: var(--color-white); background: rgba(255,255,255,0.06); }
.main-nav a.active { color: var(--color-gold); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--color-gold); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: flex; align-items: center; background: rgba(255,255,255,0.06); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: none; background: transparent; color: var(--text-muted); padding: 6px 10px; border-radius: 999px; font-size: 0.85rem;
  font-weight: 600; display: flex; align-items: center; gap: 6px; transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-switch button.active { background: var(--color-gold); color: #201703; }
.lang-switch .flag { font-size: 1rem; line-height: 1; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px;
  background: rgba(255,255,255,0.06); border: none; border-radius: 10px; padding: 0; align-items: center;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--color-white); border-radius: 2px; transition: transform var(--transition-fast), opacity var(--transition-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: rgba(17,18,20,0.98); backdrop-filter: blur(10px);
  transform: translateX(100%); transition: transform var(--transition-mid); z-index: 99; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; padding: 20px; gap: 4px; }
.mobile-nav a { display: block; padding: 16px 8px; font-size: 1.15rem; font-family: var(--font-heading); font-weight: 600; color: var(--text-body); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav a.active { color: var(--color-gold); }
.mobile-nav .mobile-nav-cta { margin-top: 20px; padding: 0 8px; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: var(--color-white);
}
.hero picture, .hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,16,18,0.55) 0%, rgba(15,16,18,0.55) 40%, rgba(15,16,18,0.92) 100%),
              linear-gradient(90deg, rgba(15,16,18,0.75) 0%, rgba(15,16,18,0.25) 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 80px; }
.hero-content .eyebrow { color: var(--color-gold-light); }
.hero-content h1 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 16ch; }
.hero-content p.lead { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.85); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 999px; display: none;
}
.hero-scroll-cue::after {
  content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px; background: var(--color-gold);
  border-radius: 2px; transform: translateX(-50%); animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue { 0% { opacity: 1; top: 6px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 6px; } }
@media (min-width: 640px) { .hero-scroll-cue { display: block; } }

.page-hero { min-height: 46vh; }
.page-hero .hero-content { padding-top: 150px; padding-bottom: 60px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.breadcrumb { position: relative; z-index: 2; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--color-gold); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--transition-mid), box-shadow var(--transition-mid), border-color var(--transition-fast);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(0,0,0,0.55); border-color: rgba(201,162,75,0.35); }

.property-card .card-media, .dev-card .card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-surface-2); }
.property-card .card-media img, .dev-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media .no-photo { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); background: linear-gradient(135deg, var(--bg-surface-2), var(--color-dark)); }
.card-media .no-photo svg { width: 34px; height: 34px; opacity: 0.5; }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 14px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-venta { background: var(--color-gold); color: #201703; }
.badge-renta { background: var(--color-white); color: var(--color-dark); }
.badge-preventa { background: rgba(255,255,255,0.14); color: var(--color-white); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3); }

.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-price { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-gold-light); }
.card-title { font-size: 1.08rem; margin: 0; }
.card-location { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--text-muted); }
.card-location svg { width: 15px; height: 15px; flex-shrink: 0; }
.card-specs { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; color: var(--text-muted); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border-subtle); }
.card-specs span { display: flex; align-items: center; gap: 5px; }
.card-specs svg { width: 15px; height: 15px; flex-shrink: 0; }
.card-cta { margin-top: 12px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { transition-delay: calc(var(--stagger-i, 0) * 90ms); }

/* ---------- WhatsApp float button ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float:hover { animation-play-state: paused; transform: scale(1.08); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6), 0 0 0 12px rgba(37,211,102,0); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-coffee); color: rgba(255,255,255,0.85); }
.footer-top { padding: 56px 0 32px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 110px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.65); max-width: 34ch; }
.footer-col h4 { color: var(--color-gold-light); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast), transform var(--transition-fast); }
.footer-social a:hover { background: var(--color-gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: var(--color-white); }
.footer-badges { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.footer-badges .badge-logo { width: auto; opacity: 0.9; transition: opacity var(--transition-fast); }
.footer-badges .badge-logo:hover { opacity: 1; }
.footer-badges .badge-logo-ampi { height: 60px; }
.footer-badges .badge-logo-flexmls { height: 38px; }
.footer-badges .badge-slot {
  width: 68px; height: 68px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 0.62rem; text-align: center; color: rgba(255,255,255,0.5); padding: 4px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 720px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.45); max-width: 900px; margin-top: 14px; line-height: 1.6; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.field label .req { color: var(--color-gold); }
.field input, .field select, .field textarea {
  background: var(--bg-surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  padding: 13px 14px; color: var(--color-white); transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.18);
}
.field-full { grid-column: 1 / -1; }
.form-note { font-size: 0.82rem; color: var(--text-muted); }
.form-success {
  display: none; align-items: center; gap: 10px; background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.4);
  color: #b6f0cb; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 16px; font-size: 0.92rem;
}
.form-success.show { display: flex; }

/* ---------- Search / filter bar ---------- */
.filter-panel {
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 22px; margin-top: -70px; position: relative; z-index: 5; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.filter-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .filter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .filter-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr auto; align-items: end; } }
.filter-grid .field label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.results-meta { display: flex; align-items: center; justify-content: space-between; margin: 32px 0 18px; flex-wrap: wrap; gap: 10px; }
.results-meta p { margin: 0; color: var(--text-muted); }
.results-meta a { color: var(--color-gold); font-size: 0.88rem; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { width: 46px; height: 46px; opacity: 0.4; margin-bottom: 12px; }

/* ---------- Zone map ---------- */
.zone-map-wrap { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 24px; }
.zone-map { position: relative; width: 100%; aspect-ratio: 16/11; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(160deg, #1c2a2e, #101418 70%); }
.zone-map svg { width: 100%; height: 100%; display: block; }
.zone-shape { fill: rgba(201,162,75,0.14); stroke: rgba(201,162,75,0.5); stroke-width: 1.4; cursor: pointer; transition: fill var(--transition-fast), stroke var(--transition-fast); }
.zone-shape:hover, .zone-shape:focus-visible { fill: rgba(201,162,75,0.34); stroke: var(--color-gold-light); }
.zone-shape.active { fill: rgba(201,162,75,0.55); stroke: var(--color-gold-light); }
.zone-label { fill: #fff; font-family: var(--font-body); font-size: 11px; font-weight: 600; pointer-events: none; text-anchor: middle; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.zone-legend button {
  border: 1px solid var(--border-subtle); background: var(--bg-surface-2); color: var(--text-body);
  padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; transition: all var(--transition-fast);
}
.zone-legend button.active, .zone-legend button:hover { border-color: var(--color-gold); color: var(--color-gold-light); }

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 28px 20px; }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #201703;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark)); overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--color-gold-light); font-size: 0.85rem; margin-bottom: 10px; }
.team-contact { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.team-contact a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-surface-2); display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast); }
.team-contact a:hover { background: var(--color-gold); }
.team-contact svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Misc components ---------- */
.stat-row { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--color-gold-light); }
.stat span { font-size: 0.85rem; color: var(--text-muted); }

.cta-band { background: linear-gradient(135deg, var(--color-coffee), var(--color-coffee-dark)); border-radius: var(--radius-lg); padding: 48px 32px; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

.map-embed { width: 100%; border: 0; border-radius: var(--radius-lg); aspect-ratio: 16/9; }

.detail-gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 90px; margin-bottom: 24px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; transition: opacity var(--transition-fast); }
.detail-gallery img:hover { opacity: 0.85; }
@media (min-width: 720px) { .detail-gallery { grid-auto-rows: 140px; } .detail-gallery img:first-child { grid-column: span 2; grid-row: span 2; } }

/* ---------- Lightbox (click a gallery photo to view it larger) ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 500; background: rgba(10,10,12,0.94);
  display: flex; align-items: center; justify-content: center; padding: 56px 24px;
  opacity: 0; visibility: hidden; transition: opacity var(--transition-fast);
}
.lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 100%; max-height: 100%; border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -10px rgba(0,0,0,0.7); cursor: default;
  transform: scale(0.96); transition: transform var(--transition-fast);
}
.lightbox-overlay.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.detail-layout { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 900px) { .detail-layout { grid-template-columns: 1.6fr 1fr; gap: 40px; } }

.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
@media (min-width: 640px) { .amenity-list { grid-template-columns: repeat(3, 1fr); } }
.amenity-list li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--text-body); }
.amenity-list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-gold); }

.skip-link {
  position: absolute; left: 10px; top: -60px; background: var(--color-gold); color: #201703; padding: 10px 16px;
  border-radius: 6px; z-index: 1000; font-weight: 600; transition: top var(--transition-fast);
}
.skip-link:focus { top: 10px; }

.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
