/* ==========================================================================
   MINIMALIST B&W PROPERTY SITE - Conversion Focused
   Time-based theme: Dark mode 18:00-06:00, Light mode 06:00-18:00
   ========================================================================== */

:root {
  /* Light Mode (default) */
  --bg: #ffffff;
  --bg-subtle: #f8f8f8;
  --card: #ffffff;
  --text: #0a0a0a;
  --text-secondary: #4a4a4a;
  --text-muted: #717171;
  --border: #e0e0e0;
  --border-light: #f0f0f0;

  /* Accent - Strong Orange for CTA */
  --cta: #ff6600;
  --cta-text: #ffffff;
  --cta-hover: #e65c00;

  /* WhatsApp - the only green allowed */
  --wa: #25d366;
  --wa-text: #ffffff;

  /* Spacing & Sizing */
  --radius: 8px;
  --radius-lg: 12px;
  --container: 960px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-subtle: #141414;
  --card: #1a1a1a;
  --text: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;
  --border: #2a2a2a;
  --border-light: #1f1f1f;

  /* CTA stays orange in dark mode */
  --cta: #ff6600;
  --cta-text: #ffffff;
  --cta-hover: #ff7f2a;
}

/* ==========================================================================
   BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  background: var(--cta);
  color: var(--cta-text);
  padding: 12px 16px;
  border-radius: var(--radius);
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
}

/* ==========================================================================
   HEADER - Minimal with strong CTA
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--cta);
  color: var(--cta-text);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* ==========================================================================
   BUTTONS - Minimal, high contrast
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  background: var(--bg-subtle);
}

/* Primary CTA - High contrast, conversion focused */
.btn-primary {
  background: var(--cta);
  color: var(--cta-text);
  border-color: var(--cta);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

.btn-secondary {
  background: transparent;
}

.btn-tertiary {
  background: transparent;
  border-color: transparent;
  padding: 8px 12px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
}

/* Language selector */
#langSelector {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}

/* ==========================================================================
   HERO - Clean, photo-focused
   ========================================================================== */

.hero {
  position: relative;
  padding: 0;
}

.hero-media {
  position: relative;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  margin-top: -120px;
  padding-bottom: 40px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

.hero-card .btn {
  margin-right: 8px;
  margin-bottom: 8px;
}

.hero-fineprint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.muted {
  color: var(--text-muted);
  margin: 0;
}

.small {
  font-size: 13px;
}

/* ==========================================================================
   CARDS & GRID
   ========================================================================== */

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.card-wide {
  max-width: 100%;
}

.card-wide-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 20px 0;
}

.paragraph {
  color: var(--text-secondary);
  margin: 0;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.list li {
  margin-bottom: 8px;
}

/* ==========================================================================
   SPECS TABLE
   ========================================================================== */

.specs {
  width: 100%;
  border-collapse: collapse;
}

.specs tr {
  border-bottom: 1px solid var(--border-light);
}

.specs tr:last-child {
  border-bottom: none;
}

.specs th,
.specs td {
  padding: 12px 0;
  text-align: left;
  font-size: 14px;
}

.specs th {
  font-weight: 500;
  color: var(--text-muted);
  width: 45%;
}

.specs td {
  font-weight: 500;
}

/* ==========================================================================
   CHIPS & TAGS
   ========================================================================== */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==========================================================================
   GALLERY - Clean grid
   ========================================================================== */

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

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-subtle);
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  color: inherit;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-skeleton {
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ==========================================================================
   COSTS
   ========================================================================== */

.costs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.cost-row:last-child {
  border-bottom: none;
}

.cost-label {
  color: var(--text-secondary);
}

.cost-value {
  font-weight: 600;
}

/* ==========================================================================
   FORM - Clean, conversion optimized
   ========================================================================== */

.form {
  margin-top: 16px;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.15s ease;
}

input:focus {
  outline: none;
  border-color: var(--text);
}

input::placeholder {
  color: var(--text-muted);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.form-actions .btn {
  flex: 1 1 auto;
  min-width: 200px;
  justify-content: center;
}

.btn-wa-icon {
  flex: 0 0 auto !important;
  min-width: auto !important;
  width: 52px;
  padding: 12px;
  background: var(--wa);
  color: var(--wa-text);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-wa-icon:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 80px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-title {
  font-weight: 600;
}

.footer-muted {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-right a {
  color: var(--text-muted);
  font-size: 14px;
}

/* ==========================================================================
   WHATSAPP FAB - Only pop of color
   ========================================================================== */

.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--wa);
  color: var(--wa-text);
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.wa-icon {
  display: flex;
  align-items: center;
}

.wa-text {
  color: var(--wa-text);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-dialog {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

#lightboxImg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 14px;
  color: #f5f5f5;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s ease;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

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

@media (max-width: 768px) {
  .header-actions {
    display: none;
  }

  .hero-media {
    height: 50vh;
  }

  .hero-content {
    margin-top: -80px;
  }

  .hero-card {
    padding: 24px;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .wa-fab {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
  }

  .wa-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   TRUST STRIP — Social proof after hero
   ========================================================================== */

.trust-strip {
  padding: 20px 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.trust-item i {
  color: var(--text-muted);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

/* ==========================================================================
   AMENITIES — Visual feature grid
   ========================================================================== */

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

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: border-color 0.15s ease;
}

.amenity-item:hover {
  border-color: var(--border);
}

.amenity-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 15px;
  flex-shrink: 0;
}

.amenity-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

/* ==========================================================================
   FAQ — Objection handling accordion
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-subtle);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s ease;
}

.faq-icon {
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
}

.faq-text {
  flex: 1;
}

.faq-question:hover {
  background: var(--card);
}

.faq-chevron {
  font-size: 12px;
  transition: transform 0.2s ease;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open {
  border-color: var(--border);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

/* ==========================================================================
   GALLERY — Show-more pattern
   ========================================================================== */

.gallery-grid.collapsed .gallery-item:nth-child(n+7) {
  display: none;
}

.gallery-actions {
  text-align: center;
  margin-top: 20px;
}

/* ==========================================================================
   FORM — Benefits sidebar layout
   ========================================================================== */

.form-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.form-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.form-benefits-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.form-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-benefit-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--wa);
  font-size: 14px;
  flex-shrink: 0;
}

.form-benefit-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-benefit-text strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}

/* ==========================================================================
   URGENCY BADGE
   ========================================================================== */

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 102, 0, 0.08);
  border: 1px solid rgba(255, 102, 0, 0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cta);
}

[data-theme="dark"] .urgency-badge {
  background: rgba(255, 102, 0, 0.12);
  border-color: rgba(255, 102, 0, 0.25);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--cta);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   MOBILE STICKY BAR
   ========================================================================== */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
}

.mobile-bar-inner {
  display: flex;
  gap: 8px;
  max-width: var(--container);
  margin: 0 auto;
}

.mobile-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================================================
   RESPONSIVE — New components
   ========================================================================== */

@media (max-width: 768px) {
  .mobile-bar {
    display: block;
  }

  .mobile-bar-inner {
    display: flex;
  }

  .wa-fab {
    display: none;
  }

  .trust-items {
    gap: 12px 24px;
    justify-content: flex-start;
  }

  .trust-item {
    font-size: 12px;
  }

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

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

  .form-benefits {
    order: -1;
  }

  .card-wide-head {
    flex-direction: column;
  }
}

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

  .trust-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   LIGHTBOX — Mobile optimizations
   ========================================================================== */

@media (max-width: 768px) {
  .lightbox {
    top: 56px;
  }

  .lightbox-dialog {
    padding: 16px 8px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-nav.prev {
    left: 8px;
  }

  .lightbox-nav.next {
    right: 8px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .lightbox-caption {
    bottom: 12px;
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ==========================================================================
   LIGHTBOX — Photo counter
   ========================================================================== */

.lightbox-counter {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #f5f5f5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .lightbox-counter {
    top: 8px;
    left: 8px;
    font-size: 12px;
    padding: 5px 10px;
  }
}

/* ==========================================================================
   ENERGY CERTIFICATE — Badge in specs
   ========================================================================== */

.energy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.energy-badge--A { background: #00a651; color: #fff; }
.energy-badge--B { background: #50b848; color: #fff; }
.energy-badge--C { background: #bdd62e; color: #1a1a1a; }
.energy-badge--D { background: #fff200; color: #1a1a1a; }
.energy-badge--E { background: #f7941d; color: #fff; }
.energy-badge--F { background: #f15a29; color: #fff; }
.energy-badge--G { background: #ed1c24; color: #fff; }

.energy-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.energy-detail {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FEATURES GRID - Selling points display
   ========================================================================== */

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--cta);
  font-size: 14px;
  flex-shrink: 0;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.feature-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

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