/* ============================================================
   ROMERO LUNA — Stylesheet (Light Edition)
   Inspirado en el logo: trazos artesanales, colores vivos,
   estilo Picasso / Miró sobre fondo blanco.
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Nunito:wght@300;400;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Base */
  --color-bg: #fdfcfb; /* page background slightly warm */
  --color-bg-warm: #fbf8f5;
  --color-surface: #f7f3ee;
  --color-surface-2: #f0ebe3;
  --color-border: #20201e; /* Black stroke for borders */
  --color-text: #1a1a1a;
  --color-muted: #5a5a54;
  --color-white: #ffffff;

  /* Palette from logo (User requested) */
  --color-green: #66a307;
  --color-green-lt: rgba(102, 163, 7, 0.12);
  --color-yellow: #f2ff00;
  --color-yellow-lt: rgba(242, 255, 0, 0.18);
  --color-blue: #4f9be9;
  --color-blue-lt: rgba(79, 155, 233, 0.15);
  --color-red: #f90946;
  --color-red-lt: rgba(249, 9, 70, 0.12);
  --color-ink: #20201e;

  /* Primary accent */
  --color-accent: var(--color-green);
  --color-accent-lt: var(--color-green-lt);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);

  --transition: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-h: 76px;
}

/* ---------- Reset & Base ---------- */
img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  color: var(--color-ink);
  font-weight: 500;
  max-width: 70ch;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.75);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

.section {
  padding: 88px 0;
}

.section--sm {
  padding: 60px 0;
}

.text-center {
  text-align: center;
}

/* ---------- Section Labels ---------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

/* Squiggly underline inspired by brush strokes */
.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-green);
  margin-top: 10px;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 58ch;
  margin: 0 auto 44px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
  position: relative; /* Added relative for absolute overlays */
}

.btn-primary {
  background: var(--color-green);
  color: #fff;
}

.btn-primary:hover {
  background: #4a8a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(90, 158, 58, 0.3);
}

/* ======== DISCOUNT BADGE ======== */
/* ======== DISCOUNT BADGE (TAG EFFECT) ======== */
.discount-badge {
  background: #ff3838; /* Vibrant red */
  color: #fff;
  font-size: 0.73rem;
  padding: 4px 10px 4px 15px; /* Offset for hole */
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  animation: pulse-discount 2.2s infinite;
  
  /* Tag Shape */
  clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 10px 100%, 0% 50%);
  position: absolute;
  left: -8px;
  top: -12px;
  transform: rotate(-9deg);
  z-index: 10;
}

.discount-badge::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.4);
}

@keyframes pulse-discount {
  0% { transform: translateY(0) rotate(-9deg) scale(1); }
  50% { transform: translateY(-1px) rotate(-9deg) scale(1.05); }
  100% { transform: translateY(0) rotate(-9deg) scale(1); }
}

/* ======== NEW BADGE (BLUE) ======== */
.new-badge {
  background: #3a7dc9; /* Blue from Romero Logo */
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(58, 125, 201, 0.4);
  animation: pulse-discount-blue 2s infinite;
  border: 1px solid rgba(255,255,255,0.1);
}

@keyframes pulse-discount-blue {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); box-shadow: 0 0 14px rgba(58, 125, 201, 0.6); }
  100% { transform: scale(1); }
}

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
}

.btn-outline:hover {
  background: var(--color-green-lt);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--color-blue);
  color: #fff;
}

.btn-blue:hover {
  background: #2a6db9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(58, 125, 201, 0.3);
}

/* ---------- Miro Decorations SVG bg ---------- */
/*
  Sprinkle small geometric shapes (circles, squares, lines)
  in logo colors throughout sections. We use CSS-generated
  pseudo-elements and SVG data URIs as section backgrounds.
*/

.miro-bg {
  position: relative;
}

.miro-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    /* green circle */
    radial-gradient(circle 16px at 5% 12%, var(--color-green-lt) 100%, transparent 100%),
    /* yellow blob */
    radial-gradient(circle 22px at 93% 8%, var(--color-yellow-lt) 100%, transparent 100%),
    /* blue dot */
    radial-gradient(circle 10px at 88% 85%, var(--color-blue-lt) 100%, transparent 100%),
    /* red splotch */
    radial-gradient(circle 14px at 6% 88%, var(--color-red-lt) 100%, transparent 100%),
    /* small green */
    radial-gradient(circle 8px at 50% 5%, var(--color-green-lt) 100%, transparent 100%),
    /* yellow small */
    radial-gradient(circle 7px at 72% 92%, var(--color-yellow-lt) 100%, transparent 100%);
}

.miro-bg>* {
  position: relative;
  z-index: 1;
}

/* More elaborate miro bg for hero */
.hero-miro-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle 60px at 8% 20%, var(--color-green-lt) 100%, transparent 100%),
    radial-gradient(circle 90px at 92% 15%, var(--color-yellow-lt) 100%, transparent 100%),
    radial-gradient(circle 50px at 85% 80%, var(--color-blue-lt) 100%, transparent 100%),
    radial-gradient(circle 70px at 4% 85%, var(--color-red-lt) 100%, transparent 100%),
    radial-gradient(circle 30px at 55% 8%, var(--color-green-lt) 100%, transparent 100%),
    radial-gradient(circle 25px at 40% 94%, var(--color-yellow-lt) 100%, transparent 100%),
    radial-gradient(circle 20px at 20% 55%, var(--color-blue-lt) 100%, transparent 100%),
    radial-gradient(circle 18px at 78% 45%, var(--color-red-lt) 100%, transparent 100%);
  opacity: 0.65;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--color-border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-green-lt);
}

.navbar .container {
  height: 100%;
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px;
}

/* Logo */
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar__logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.navbar__link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--color-green);
  background: var(--color-green-lt);
}

.navbar__link.active {
  color: var(--color-green);
  background: var(--color-green-lt);
}

.navbar__cta {
  flex-shrink: 0;
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  margin-left: auto;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.navbar__drawer {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.navbar__drawer.open {
  display: flex;
}

.navbar__drawer .navbar__link {
  padding: 12px 16px;
  font-size: 0.95rem;
}

.navbar__drawer .navbar__cta {
  margin-top: 12px;
}

.navbar__drawer .navbar__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Page Header ---------- */
.page-header {
  padding-top: calc(var(--navbar-h) + 80px);
  padding-bottom: 64px;
  min-height: calc(var(--navbar-h) + 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-warm);
  border-bottom: 2px solid var(--color-border);
  isolation: isolate;
}

.page-header>.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 4 pompas fully visible, positioned well inside with vibrant logo colors */
  background-image:
    radial-gradient(circle 70px at 6% 60%, #27ae60 100%, transparent 100%),
    radial-gradient(circle 60px at 28% 70%, #1565c0 100%, transparent 100%),
    radial-gradient(circle 65px at 70% 65%, #f9c400 100%, transparent 100%),
    radial-gradient(circle 58px at 92% 58%, #e53935 100%, transparent 100%);
  opacity: 0.35;
  filter: blur(2px);
}

.page-header .section-eyebrow {
  display: block;
  text-align: center;
}

/* ---------- Card ---------- */
.card {
  background: var(--color-white);
  border: 2.5px solid var(--color-ink);
  border-radius: 18px 26px 14px 22px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 6px 6px 0 var(--color-ink);
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--color-ink);
}

.card__body {
  padding: 24px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ---------- Divider ---------- */
.divider {
  width: 100%;
  height: 2px;
  background: var(--color-border);
}

/* ---------- Color accent stripe ---------- */
/* Thin top stripe of a card in a specific accent color */
.stripe-green {
  border-top: 4px solid var(--color-green);
}

.stripe-yellow {
  border-top: 4px solid var(--color-yellow);
}

.stripe-blue {
  border-top: 4px solid var(--color-blue);
}

.stripe-red {
  border-top: 4px solid var(--color-red);
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px;
  width: fit-content;
  margin: 0 auto 44px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--color-green);
  background: var(--color-green-lt);
}

.tab-btn.active {
  background: var(--color-green);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ---------- Gallery ---------- */
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Studio Rows (Servicios) */
.studio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .studio-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
}

/* Mini Viewer */
.mini-viewer {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  margin-bottom: 10px;
  position: relative; /* Support absolute overlays/arrows */
  cursor: pointer;
}

.mini-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease-out; /* smooth transition */
}

.mini-viewer img.fading {
  opacity: 0;
}

/* Gallery arrow overlays */
.mv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  z-index: 5;
}

.mini-viewer:hover .mv-arrow {
  opacity: 1;
}

.mv-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-sm);
}

.mv-prev { left: 12px; }
.mv-next { right: 12px; }

/* Amenities Pills */
.apartment-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted);
  background: var(--color-surface-2);
  padding: 5px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.amenity-tag i {
  color: var(--color-green);
  font-size: 0.8rem;
}

.amenity-tag:hover {
  color: var(--color-text);
  background: var(--color-green-lt);
}

@media (max-width: 640px) {
  .mini-viewer {
    aspect-ratio: 16/9;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-green);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-item__overlay svg {
  opacity: 0;
  transform: scale(0.75);
  transition: var(--transition);
  color: var(--color-green);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.gallery-item:hover .gallery-item__overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Gallery placeholder */
.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 280px;
  border: 3px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 48px 24px;
  text-align: center;
}

.gallery-placeholder svg {
  color: var(--color-muted);
  opacity: 0.5;
}

.gallery-placeholder p {
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.5);
  border: 4px solid #fff;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: #fff;
  border: none;
  color: var(--color-ink);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.lightbox__close:hover {
  background: var(--color-red-lt);
  color: var(--color-red);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--color-border);
  color: var(--color-ink);
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.lightbox__nav:hover {
  background: var(--color-green-lt);
  border-color: var(--color-green);
}

.lightbox__prev {
  left: 20px;
}

.lightbox__next {
  right: 20px;
}

/* ---------- Services ---------- */
.location-block {
  margin-bottom: 72px;
}

.location-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--color-border);
}

@media (max-width: 640px) {
  .location-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-green); /* Solid background for intensity */
  font-size: 0.78rem;
  font-weight: 800; /* Extra-bold */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff; /* White text on green background */
}



.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.apartment-card {
  background: var(--color-white);
  border: 2.5px solid var(--color-ink);
  border-radius: 20px 15px 25px 18px;
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 6px 6px 0 var(--color-ink);
}

.apartment-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 var(--color-ink);
}


.apartments-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.apartment-col {
  display: flex;
  flex-direction: column;
}

.apartment-col:first-child {
  border-right: 2.5px solid var(--color-ink);
  padding-right: 24px;
}

.apartment-col:last-child {
  padding-left: 24px;
}

.apartment-col .apartment-card {
  margin-bottom: 24px;
  flex: 1; /* Stretch factor */
  display: flex;
  flex-direction: column;
}

/* Align CTA to the bottom of the card */
.apartment-col .apartment-card button {
  margin-top: auto;
}

@media (max-width: 850px) {
  .apartments-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .apartment-col:first-child {
    border-right: none;
    padding-right: 0;
    border-bottom: 2.5px solid var(--color-ink);
    padding-bottom: 32px;
  }
  .apartment-col:last-child {
    padding-left: 0;
  }
}

.apartment-card__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.apartment-card__size {
  font-size: 0.82rem;
  color: var(--color-green);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.apartment-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--color-surface);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-muted);
  border: 1.5px solid var(--color-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--color-white);
  border: 2.5px solid var(--color-ink);
  border-radius: 16px 24px 18px 12px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 6px 6px 0 var(--color-ink);
}

.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--color-ink);
  background: var(--color-bg-warm);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-green-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-card__list {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.9;
}


/* ---------- Bento Services ---------- */
.bento-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-white);
  border: 2.5px solid var(--color-ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--color-ink);
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .bento-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bento-services {
    grid-template-columns: 1fr;
  }
}

.bento-sector {
  background: var(--color-white);
  border: 2.5px solid var(--color-ink);
  margin: -1.25px; /* collapse borders */
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-radius 0.25s ease;
}

.bento-sector:hover {
  transform: scale(1.05); /* tangible lift */
  z-index: 10;
  box-shadow: 10px 10px 0 var(--color-ink);
  background: var(--color-bg-warm);
  border-radius: 16px; /* Pops out as an individual jigsaw piece */
}

.bento-sector__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-green-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.6rem;
  color: var(--color-green);
}

.bento-sector__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-ink);
}

.bento-sector__list {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 2;
  list-style: none;
  padding: 0;
}

/* Corner handling to match container radius when NOT hovered */
@media (min-width: 901px) {
  .bento-sector:nth-child(1) { border-top-left-radius: 20px; }
  .bento-sector:nth-child(3) { border-top-right-radius: 20px; }
  .bento-sector:nth-child(4) { border-bottom-left-radius: 20px; }
  .bento-sector:nth-child(6) { border-bottom-right-radius: 20px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .bento-sector:nth-child(1) { border-top-left-radius: 20px; }
  .bento-sector:nth-child(2) { border-top-right-radius: 20px; }
  .bento-sector:nth-child(5) { border-bottom-left-radius: 20px; }
  .bento-sector:nth-child(6) { border-bottom-right-radius: 20px; }
}

@media (max-width: 600px) {
  .bento-sector:nth-child(1) { border-top-left-radius: 20px; border-top-right-radius: 20px; }
  .bento-sector:nth-child(6) { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--color-white);
  border: 2.5px solid var(--color-ink);
  border-radius: 22px 18px 16px 24px;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 6px 6px 0 var(--color-ink);
}

.review-card.visible {
  /* Restore fast transform and introduce box-shadow transition once revealed */
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.55s ease;
}

.review-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 var(--color-ink);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: var(--color-yellow);
  font-size: 1rem;
}

.review-card__text {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
  margin-bottom: 18px;
  max-width: 100%;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.875rem;
}

.review-card__origin {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Score badge */
.score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 110px;
  background: var(--color-green);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(90, 158, 58, 0.25);
}

.score-badge__num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.score-badge__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.host-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.host-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 18px;
}

.host-card__name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.host-card__score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--color-yellow-lt);
  border: 1.5px solid var(--color-yellow);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: #7a6510;
  font-weight: 700;
}

.host-card__langs {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--color-surface);
  border-radius: 10px;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item__text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.feature-item__text span {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ---------- Map ---------- */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}

/* ---------- Contact Bar ---------- */
.contact-bar {
  background: var(--color-bg-warm);
  border-top: 2px solid var(--color-border);
  padding: 40px 0;
}

.contact-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .contact-bar__grid {
    grid-template-columns: 1fr;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-item:hover {
  border-color: var(--color-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: var(--color-green-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 3px;
}

.contact-item__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-ink);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-surface);
  border-top: 2px solid var(--color-border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer__logo img {
  height: 36px;
  width: auto;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__link {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-green);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero (index only) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
  background: var(--color-bg-warm);
}

.hero-miro-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  background-image:
    radial-gradient(circle 60px at 8% 20%, var(--color-green-lt) 100%, transparent 100%),
    radial-gradient(circle 90px at 92% 15%, var(--color-yellow-lt) 100%, transparent 100%),
    radial-gradient(circle 50px at 85% 80%, var(--color-blue-lt) 100%, transparent 100%),
    radial-gradient(circle 70px at 4% 85%, var(--color-red-lt) 100%, transparent 100%),
    radial-gradient(circle 30px at 55% 8%, var(--color-green-lt) 100%, transparent 100%),
    radial-gradient(circle 25px at 40% 94%, var(--color-yellow-lt) 100%, transparent 100%),
    radial-gradient(circle 20px at 20% 55%, var(--color-blue-lt) 100%, transparent 100%),
    radial-gradient(circle 18px at 78% 45%, var(--color-red-lt) 100%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-green);
  background: var(--color-green-lt);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--color-ink);
}

.hero__title em {
  font-style: italic;
  color: var(--color-green);
}

.hero__description {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 30px;
}

.hero__score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.hero__score strong {
  color: var(--color-green);
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  box-shadow: var(--shadow-sm);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero__scroll-hint svg {
  color: var(--color-green);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---------- Miro shape decorations — inline SVGs ---------- */
/* Used as inline SVG elements placed in HTML for extra flair */
.miro-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.55;
}

/* ============================================================
   NAVBAR — dual CTA buttons aligned
   ============================================================ */
@media (min-width: 901px) {
  .navbar__cta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

/* ============================================================
   HERO — photo background + glassmorphism card
   ============================================================ */
.hero--photo {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--color-bg-warm);
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Fallback Miró-style SVG pattern when no photo */
.hero--miro-fallback {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3C!-- Background strokes inspired by the Romero Luna logo --%3E%3Ccircle cx='120' cy='100' r='55' fill='none' stroke='%235a9e3a' stroke-width='4'/%3E%3Ccircle cx='120' cy='100' r='28' fill='%235a9e3a' opacity='0.35'/%3E%3Cellipse cx='750' cy='80' rx='60' ry='45' fill='none' stroke='%23d4c01a' stroke-width='5'/%3E%3Ccircle cx='750' cy='80' r='22' fill='%23d4c01a' opacity='0.4'/%3E%3Ccircle cx='820' cy='420' r='40' fill='none' stroke='%233a7dc9' stroke-width='4'/%3E%3Ccircle cx='820' cy='420' r='18' fill='%233a7dc9' opacity='0.35'/%3E%3Cpath d='M80 480 Q100 440 120 480 Q140 520 80 480Z' fill='%23d94f4f' opacity='0.45'/%3E%3Cpath d='M50 50 L80 50' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M830 200 L860 220' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M400 30 Q420 10 440 30' fill='none' stroke='%235a9e3a' stroke-width='3'/%3E%3Crect x='640' y='480' width='30' height='30' rx='8' fill='none' stroke='%23d94f4f' stroke-width='3'/%3E%3Cpath d='M200 550 Q240 530 280 550' fill='none' stroke='%231a1a1a' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.hero__left-card {
  position: relative;
  z-index: 2;
  margin: calc(var(--navbar-h) + 40px) 0 40px 0;
  width: 92%;
  max-width: 480px;
  background: rgba(245, 245, 243, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  padding: 40px 36px;
}

.hero__left-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-ink);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero__left-card p {
  font-size: 0.95rem;
  color: #3a3830;
  line-height: 1.75;
  max-width: 100%;
  margin-bottom: 0;
}

/* Booking score badge — solid blue rounded square */
.booking-score-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #003580;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: 6px;
  vertical-align: middle;
  margin: 0 4px;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.25);
}

.booking-link {
  color: #003580;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-link:hover {
  color: #0056d2;
}

/* Hero photo scroll hint */
.hero__scroll-hint--photo {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

/* ============================================================
   FOOTER — redesigned with 3 contact cards + map
   ============================================================ */
.footer-new {
  background: var(--color-bg-warm);
  border-top: 2px solid var(--color-border);
}

.footer-new__top {
  padding: 56px 0 40px;
}

.footer-new__logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.footer-new__logo img {
  height: 44px;
  width: auto;
}

.footer-new__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-new__link {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.footer-new__link:hover {
  color: var(--color-green);
}

/* 3 cards grid */
.footer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-cards {
    grid-template-columns: 1fr;
  }
}

.footer-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

@media (max-width: 480px) {
  .footer-card {
    padding: 20px 16px;
    align-items: center;
    text-align: center;
  }
  
  .footer-card__actions {
    width: 100%;
    flex-direction: column;
  }
  
  .footer-card__action-btn {
    width: 100%;
    justify-content: center;
  }
}

.footer-card:hover {
  border-color: var(--color-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.footer-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-green-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.footer-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.footer-card__info {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.footer-card__info a {
  color: var(--color-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-card__info a:hover {
  color: var(--color-green);
}

/* WhatsApp + call micro-buttons */
.footer-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-card__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: 1.5px solid;
}

.footer-card__action-btn--wa {
  background: #25d36620;
  border-color: #25d366;
  color: #128a47;
}

.footer-card__action-btn--wa:hover {
  background: #25d366;
  color: #fff;
}

.footer-card__action-btn--call {
  background: var(--color-blue-lt);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.footer-card__action-btn--call:hover {
  background: var(--color-blue);
  color: #fff;
}

/* Map inside footer */
.footer-map {
  width: 100%;
  border: 2px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  display: block;
}

.footer-map__wrapper {
  position: relative;
  width: 100%;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
}

.footer-map__wrapper iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

.footer-map__link-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 2;
}

/* Bottom bar */
.footer-new__bottom {
  background: var(--color-surface);
  border-top: 2px solid var(--color-border);
  padding: 18px 0;
}

.footer-new__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-new__copy {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.footer-logo-centered {
  display: flex;
  justify-content: center;
  padding: 40px 0 20px;
}

.footer-logo-centered img {
  height: 60px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-logo-centered img:hover {
  opacity: 1;
}
/* ============================================================
   FINAL RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 900px) {
  .navbar__nav,
  .navbar__cta {
    display: none !important;
  }

  .navbar__burger {
    display: flex;
  }

  .navbar__logo img {
    height: 44px;
  }
}

@media (max-width: 768px) {
  .hero__left-card {
    margin: calc(var(--navbar-h) + 20px) auto 40px;
    text-align: center;
    padding: 32px 24px;
  }

  .hero__left-card h1 {
    font-size: 1.8rem;
  }

  .hero__left-card p {
    font-size: 0.9rem;
  }

  .hero__left-card .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }

  .section--sm {
    padding: 40px 0;
  }

  .apartments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .navbar__logo img {
    height: 38px;
  }

  .hero__left-card {
    padding: 24px 20px;
    margin-top: calc(var(--navbar-h) + 15px);
  }

  .navbar__drawer {
    max-height: calc(100vh - var(--navbar-h));
    overflow-y: auto;
    padding: 16px 20px 32px;
  }
}

/* ============================================================
   PAGE-SPECIFIC REFINEMENTS (Extracted from HTML)
   ============================================================ */

/* Instalaciones Studio Rows */
.studio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}

.mini-viewer {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  margin-bottom: 10px;
  cursor: pointer;
}

.mini-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.mini-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

@media (max-width: 640px) {
  .mini-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
}

.mini-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: border-color 0.2s, opacity 0.2s;
}

@media (max-width: 640px) {
  .mini-thumb {
    width: calc(25% - 5px);
    height: auto;
    aspect-ratio: 3/2;
  }
}

.mini-thumb.active {
  border-color: var(--color-blue);
  opacity: 1;
}

/* Sitios de Interés Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .studio-row {
    grid-template-columns: 1fr;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}



/* ======== BOOKING MODAL ======== */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 10000; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-content { background: #fff; padding: 32px; border-radius: var(--radius-md); max-width: 440px; width: 100%; position: relative; text-align: center; box-shadow: var(--shadow-lg); animation: modalEnter 0.25s ease-out; }
@keyframes modalEnter { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--color-muted); transition: color 0.2s; }
.modal-close:hover { color: var(--color-red); }
.modal-content h2 { margin-bottom: 8px; font-size: 1.5rem; }
.modal-content p { font-size: 0.9rem; color: var(--color-muted); margin: 0 auto 24px auto; }
.modal-options { display: flex; flex-direction: column; gap: 12px; }
.modal-option { width: 100%; justify-content: center; padding: 14px; font-size: 0.9rem; }
#booking-contact-form { display: none; text-align: left; margin-top: 20px; border-top: 1px solid var(--color-border); padding-top: 16px; animation: fadeIn 0.3s ease-out; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text); }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid var(--color-border); border-radius: 6px; font-size: 0.9rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-green); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
