/* =========================================================
   Nave Industrial Ariza — "GP Inmobiliaria" inspired theme
   Light, photographic, professional. Navy + cream + cognac.
   ========================================================= */

:root {
  /* Backgrounds */
  --bg-0: #faf7f2;          /* page — warm cream */
  --bg-1: #ffffff;          /* card */
  --bg-2: #f2ede4;           /* alt section */
  --bg-3: #ebe4d6;           /* soft */
  --bg-dark: #0f1a2b;        /* deep navy hero/footer */
  --bg-dark-2: #16263c;

  /* Foreground */
  --fg-0: #0f1a2b;           /* primary (deep navy) */
  --fg-1: #2c3a4f;           /* secondary */
  --fg-2: #6b7384;           /* muted */
  --fg-3: #99a0ad;           /* deemphasized */
  --fg-on-dark: #f4ede0;
  --fg-on-dark-2: #b9bfca;

  /* Accent — cognac/warm gold */
  --gold-1: #c6953d;         /* primary brand accent */
  --gold-2: #b08226;
  --gold-3: #8a6519;
  --gold-soft: #f0e3c4;

  /* Functional */
  --line: rgba(15, 26, 43, 0.10);
  --line-soft: rgba(15, 26, 43, 0.06);
  --line-strong: rgba(15, 26, 43, 0.18);
  --line-on-dark: rgba(244, 237, 224, 0.14);

  --serif: "Cormorant Garamond", "Playfair Display", "Garamond", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1280px;
  --container-wide: 1440px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 4px 12px -4px rgba(15, 26, 43, 0.10);
  --shadow-md: 0 16px 40px -16px rgba(15, 26, 43, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 26, 43, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg-0);
  color: var(--fg-0);
}
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-0);
  color: var(--fg-0);
  overflow-x: hidden;
}

::selection { background: var(--gold-1); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Typography */
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; line-height: 1.08; }
.italic { font-style: italic; font-weight: 400; color: var(--gold-2); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
}
.label-sm {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 600;
}

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 32px; }

@media (max-width: 640px) {
  .container, .container-wide { padding: 0 20px; }
}

/* Section spacing */
.section { padding: 120px 0; position: relative; scroll-margin-top: 80px; }
.section.compact { padding: 88px 0; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section.compact { padding: 64px 0; }
}

/* El activo — descripción */
.activo-text { max-width: 1040px; }
.activo-text .lead {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.5;
  color: var(--fg-0);
}
.activo-cols { columns: 2; column-gap: 56px; }
.activo-cols p {
  margin: 0 0 18px;
  color: var(--fg-1);
  font-size: 16px;
  line-height: 1.7;
  break-inside: avoid;
}
.activo-cols p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .activo-cols { columns: 1; column-gap: 0; }
}

/* Section header */
.section-header { display: flex; flex-direction: column; gap: 18px; margin-bottom: 64px; max-width: 720px; }
.section-header h2 { margin: 0; font-size: clamp(36px, 4.4vw, 60px); color: var(--fg-0); }
.section-header p { margin: 0; color: var(--fg-1); font-size: 17px; max-width: 620px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
}
.section-tag .num { color: var(--fg-3); font-weight: 500; }
.section-tag .bar { flex: 0 0 32px; height: 1px; background: var(--gold-2); }

/* --- Top utility bar (mini info above main nav) --- */
.topbar {
  background: var(--bg-dark);
  color: var(--fg-on-dark-2);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px;
}
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left a, .topbar-right a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg-on-dark-2);
  transition: color .2s ease;
}
.topbar-left a:hover, .topbar-right a:hover { color: var(--gold-1); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar-right .social a { width: 28px; height: 28px; display: inline-grid; place-items: center; }
@media (max-width: 720px) { .topbar { display: none; } }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  color: var(--fg-0);
}
.nav-logo .mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-dark);
  color: var(--gold-1);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.05em;
  border-radius: var(--radius-sm);
}
.nav-logo .word {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo .word .name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--fg-0);
}
.nav-logo .word .tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 4px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--fg-1);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--gold-2); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 1px; background: var(--gold-2);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--gold-1);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: background-color .2s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--gold-2); }
.nav-cta:active { transform: translateY(1px); }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  color: var(--fg-0);
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 0 24px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateY(-100%); transition: transform .35s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top {
  position: sticky; top: 0; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
  background: rgba(250, 247, 242, 0.98);
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 0; margin-top: 12px; padding-bottom: 16px; }
.mobile-menu-links a {
  font-family: var(--serif); font-size: 26px; padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-0);
}
/* En pantallas bajas, compacta aún más para que quepan todos los enlaces */
@media (max-height: 720px) {
  .mobile-menu-links a { font-size: 22px; padding: 12px 0; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--gold-1); color: #fff; box-shadow: 0 8px 22px -8px rgba(198, 149, 61, 0.55); }
.btn-primary:hover { background: var(--gold-2); }

.btn-dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.btn-dark:hover { background: var(--bg-dark-2); }

.btn-outline { border-color: var(--line-strong); color: var(--fg-0); background: transparent; }
.btn-outline:hover { border-color: var(--fg-0); }

.btn-outline-light { border-color: rgba(244, 237, 224, 0.4); color: var(--fg-on-dark); background: transparent; }
.btn-outline-light:hover { background: rgba(244, 237, 224, 0.08); border-color: var(--fg-on-dark); }

.btn-lg { padding: 18px 30px; font-size: 14.5px; }

/* --- Hero --- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: calc(100vh - 124px);
  background: var(--bg-0);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 0;
  position: relative;
  z-index: 1;
}
.hero-text-inner { max-width: 620px; margin-left: auto; padding-left: 32px; padding-right: 32px; }

.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: var(--gold-soft);
  color: var(--gold-3);
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 999px;
  width: fit-content;
}
.hero-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(176, 130, 38, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(176, 130, 38, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(176, 130, 38, 0.04); }
}

.hero h1 {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5.5vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 400;
}

.hero-ref {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.hero-sub {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-1);
  max-width: 540px;
}

.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-quick {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  gap: 0;
}
.hero-quick > div {
  padding: 22px 18px 0 0;
  border-right: 1px solid var(--line);
}
.hero-quick > div:last-child { border-right: 0; }
.hero-quick .k {
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2); font-weight: 600;
}
.hero-quick .v {
  font-family: var(--serif); font-size: 30px; font-weight: 500;
  color: var(--fg-0); margin-top: 4px;
}
.hero-quick .v small { font-family: var(--sans); font-size: 13px; color: var(--fg-2); margin-left: 3px; font-weight: 500; }

.hero-image {
  position: relative;
  background-image: url("../assets/images/main.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-0) 0%, transparent 12%);
}
.hero-image-meta {
  position: absolute;
  left: 32px; bottom: 32px;
  background: rgba(15, 26, 43, 0.86);
  backdrop-filter: blur(8px);
  color: var(--fg-on-dark);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  border-radius: var(--radius-md);
  max-width: calc(100% - 64px);
  z-index: 2;
}
.hero-image-meta .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--gold-1);
  color: var(--bg-dark);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.hero-image-meta .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-on-dark-2); font-weight: 600; }
.hero-image-meta .v { font-size: 15px; color: var(--fg-on-dark); margin-top: 2px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 56px 0; }
  .hero-text-inner { padding-left: 32px; padding-right: 32px; margin: 0; max-width: 100%; }
  .hero-image { min-height: 60vh; }
}
@media (max-width: 640px) {
  .hero-text-inner { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(42px, 11vw, 60px); }
  .hero-quick { grid-template-columns: repeat(2, 1fr); }
  .hero-quick > div:nth-child(2) { border-right: 0; }
  .hero-quick > div:nth-child(n+3) { padding-top: 22px; border-top: 1px solid var(--line); }
}

/* --- Ficha técnica --- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.spec-cell {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  border-radius: var(--radius-md);
  min-height: 180px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.spec-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.spec-cell .icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  color: var(--gold-3);
  border-radius: var(--radius-sm);
}
.spec-cell .icon svg { width: 20px; height: 20px; }
.spec-cell .label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; }
.spec-cell .value { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--fg-0); line-height: 1.05; }
.spec-cell .value small { font-family: var(--sans); font-size: 14px; color: var(--fg-2); margin-left: 4px; font-weight: 500; }
.spec-cell .sub { font-size: 13.5px; color: var(--fg-1); margin-top: -2px; }

@media (max-width: 1100px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .spec-grid { grid-template-columns: 1fr; } }

/* Price strip */
.price-strip {
  margin-top: 56px;
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  border-radius: var(--radius-md);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.price-strip .label { font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-1); font-weight: 600; }
.price-strip .price {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 58px);
  font-weight: 500; line-height: 1;
}
.price-strip .price em { font-style: italic; color: var(--gold-1); font-weight: 400; }
.price-strip .price-unit {
  margin-top: 12px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-on-dark-2);
}
.price-strip .sub { color: var(--fg-on-dark-2); font-size: 14.5px; max-width: 380px; line-height: 1.55; }
@media (max-width: 900px) {
  .price-strip { grid-template-columns: 1fr; gap: 20px; padding: 36px 28px; }
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
  border-radius: var(--radius-md);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 26, 43, 0.72));
  pointer-events: none;
  opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .caption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }
.gallery-item .num {
  position: absolute; top: 14px; left: 16px; z-index: 1;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(15, 26, 43, 0.55);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 3px;
}
.gallery-item .zoom {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 36px; height: 36px;
  background: rgba(15, 26, 43, 0.5);
  backdrop-filter: blur(6px);
  border-radius: 3px;
  display: grid; place-items: center;
  color: #fff;
  opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover .zoom { opacity: 1; }

/* Mosaico de posiciones fijas (6 destacadas) — rellena por completo, sin huecos.
   Heroes grandes alternados: arriba-izquierda y centro-derecha. */
.g-1 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.g-2 { grid-column: 5 / span 2; grid-row: 1; }
.g-3 { grid-column: 5 / span 2; grid-row: 2; }
.g-4 { grid-column: 1 / span 2; grid-row: 3; }
.g-5 { grid-column: 1 / span 2; grid-row: 4; }
.g-6 { grid-column: 3 / span 4; grid-row: 3 / span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6 {
    grid-column: auto; grid-row: auto;
  }
  .g-1, .g-6 { grid-column: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 26, 43, 0.96);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px;
  color: var(--fg-on-dark);
}
.lightbox-counter { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--gold-1); }
.lightbox-close {
  width: 44px; height: 44px;
  background: rgba(244, 237, 224, 0.08);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--fg-on-dark);
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(244, 237, 224, 0.16); }
.lightbox-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 0 80px 60px;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  background: rgba(244, 237, 224, 0.08);
  color: var(--fg-on-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox-nav:hover { background: var(--gold-1); color: var(--bg-dark); }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
.lightbox-caption {
  position: absolute; left: 0; right: 0; bottom: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-on-dark-2);
}
@media (max-width: 640px) {
  .lightbox-main { padding: 0 16px 60px; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

/* --- Gallery CTA strip (Ver toda la galería) --- */
.gallery-cta {
  margin-top: 28px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.gallery-cta-stack {
  display: flex;
  align-items: center;
}
.gallery-cta-stack .stack-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--bg-1);
  margin-left: -14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  flex-shrink: 0;
}
.gallery-cta-stack .stack-thumb:first-child { margin-left: 0; }
.gallery-cta-stack .stack-more {
  display: grid; place-items: center;
  background: var(--bg-dark);
  color: var(--gold-1);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.gallery-cta-text .k {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--fg-1);
  font-weight: 500;
  line-height: 1.15;
}
.gallery-cta-text .v {
  font-size: 13.5px;
  color: var(--fg-2);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .gallery-cta {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .gallery-cta-stack { justify-content: center; }
  .gallery-cta .btn { justify-content: center; }
}

/* --- Gallery Modal (Ver toda la galería) --- */
.gmodal {
  position: fixed; inset: 0;
  z-index: 110;
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  display: none; flex-direction: column;
}
.gmodal.open {
  display: flex;
  animation: gmodal-in .28s cubic-bezier(.2,.6,.2,1);
}
@keyframes gmodal-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gmodal-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(244, 237, 224, 0.08);
  flex-shrink: 0;
}
.gmodal-bar-left { display: flex; align-items: center; gap: 22px; }
.gmodal-counter {
  display: inline-flex; align-items: baseline; gap: 10px;
}
.gmodal-counter .num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-1);
  font-style: italic;
  line-height: 1;
}
.gmodal-counter .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-on-dark-2);
}
.gmodal-bar-sep {
  width: 1px; height: 26px;
  background: rgba(244, 237, 224, 0.16);
}
.gmodal-title {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-on-dark-2);
}
.gmodal-close {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px;
  background: rgba(244, 237, 224, 0.06);
  color: var(--fg-on-dark);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background .2s ease;
}
.gmodal-close:hover { background: var(--gold-1); color: var(--bg-dark); }

.gmodal-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(244, 237, 224, 0.06);
  flex-shrink: 0;
}
.gmodal-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(244, 237, 224, 0.14);
  border-radius: 999px;
  color: var(--fg-on-dark-2);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .2s ease;
  cursor: pointer;
}
.gmodal-chip:hover { color: var(--fg-on-dark); border-color: rgba(244, 237, 224, 0.32); }
.gmodal-chip.active {
  background: var(--gold-1);
  color: var(--bg-dark);
  border-color: var(--gold-1);
}
.gmodal-chip .chip-count {
  font-family: var(--mono);
  font-size: 10.5px;
  opacity: 0.7;
}
.gmodal-chip.active .chip-count { opacity: 0.85; }

.gmodal-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 22px 32px 60px;
  scroll-behavior: smooth;
}
.gmodal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gmodal-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #1a1a1a;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform .25s ease;
}
.gmodal-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1), filter .25s ease;
  filter: brightness(0.92);
}
.gmodal-tile:hover img { transform: scale(1.06); filter: brightness(1); }
.gmodal-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 55%);
  opacity: 0; transition: opacity .25s ease;
}
.gmodal-tile:hover::after { opacity: 1; }
.gmodal-tile-num {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold-1);
  background: rgba(0,0,0,0.5);
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 1;
}
.gmodal-tile-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 3px;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gmodal-tile:hover .gmodal-tile-cap { opacity: 1; transform: translateY(0); }
.gmodal-tile-cap .cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
}
.gmodal-tile-cap .txt {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.gmodal-foot {
  text-align: center;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 237, 224, 0.08);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--fg-on-dark-2);
}
@media (max-width: 720px) {
  .gmodal-bar { padding: 14px 18px; }
  .gmodal-bar-left { gap: 14px; }
  .gmodal-title { display: none; }
  .gmodal-counter .num { font-size: 24px; }
  .gmodal-filters { padding: 14px 18px; }
  .gmodal-scroll { padding: 14px 18px 40px; }
  .gmodal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gmodal-tile-cap { display: none; }
}

/* --- Método (Nuestro método) --- */
.section.metodo { background: var(--bg-2); }
.metodo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metodo-card {
  background: var(--bg-1);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.metodo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.metodo-card .num {
  font-family: var(--serif);
  font-size: 44px;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-1);
  line-height: 1;
}
.metodo-card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-dark);
  color: var(--gold-1);
  border-radius: var(--radius-sm);
}
.metodo-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-0);
}
.metodo-card p {
  margin: 0;
  color: var(--fg-1);
  font-size: 14.5px;
  line-height: 1.6;
}
@media (max-width: 1000px) { .metodo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .metodo-grid { grid-template-columns: 1fr; } }

/* --- 360 tour --- */
.tour-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tour-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.tour-frame .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  color: var(--fg-1);
  background:
    radial-gradient(ellipse at center, rgba(198, 149, 61, 0.10), transparent 60%),
    var(--bg-dark);
  color: var(--fg-on-dark);
}
.tour-frame .placeholder .ring {
  width: 96px; height: 96px;
  border: 1.5px solid var(--gold-1);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-1);
  animation: rotate 16s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.tour-frame .placeholder .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-1);
}
.tour-frame .placeholder .sub {
  color: var(--fg-on-dark-2); font-size: 14px; max-width: 360px; text-align: center;
}
.tour-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tour-meta > div { padding: 22px 26px; border-right: 1px solid var(--line-soft); }
.tour-meta > div:last-child { border-right: 0; }
.tour-meta .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; }
.tour-meta .v { color: var(--fg-0); margin-top: 6px; font-size: 15px; }
@media (max-width: 720px) {
  .tour-meta { grid-template-columns: 1fr; }
  .tour-meta > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .tour-meta > div:last-child { border-bottom: 0; }
}

/* --- Videos --- */
.video-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.video-grid.single {
  grid-template-columns: 1fr;
}
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.video-frame .video-el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--bg-dark);
}
.video-frame:not(.playing) .video-el { filter: brightness(0.7); transition: filter .4s ease; }
.video-frame:not(.playing):hover .video-el { filter: brightness(0.85); }
.video-frame .play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  transition: opacity .3s ease;
}
.video-frame.playing { cursor: default; }
.video-frame.playing .play,
.video-frame.playing .duration { opacity: 0; pointer-events: none; }
.video-frame .play-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gold-1);
  color: #fff;
  display: grid; place-items: center;
  transition: transform .3s ease, background .2s ease;
  box-shadow: 0 12px 30px -8px rgba(198, 149, 61, 0.6);
}
.video-frame:hover .play-btn { transform: scale(1.08); background: var(--gold-2); }
.video-frame .duration {
  position: absolute; right: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 11px;
  background: rgba(15, 26, 43, 0.78);
  padding: 4px 8px; color: #fff;
  border-radius: 3px;
}
.video-meta .title { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--fg-0); }
.video-meta .sub { font-size: 13px; color: var(--fg-2); margin-top: 4px; letter-spacing: 0.04em; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }

/* --- Planos --- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.plan-card {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-align: left;
}
.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-md);
}
.plan-card .image {
  aspect-ratio: 4 / 3;
  background-color: var(--bg-2);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.plan-card .meta {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.plan-card .meta .name { font-family: var(--serif); font-size: 22px; color: var(--fg-0); font-weight: 500; }
.plan-card .meta .sub { font-size: 12.5px; color: var(--fg-2); margin-top: 4px; }
.plan-card .meta .arrow {
  width: 38px; height: 38px;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--fg-0);
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
  flex-shrink: 0;
}
.plan-card:hover .meta .arrow { background: var(--gold-1); color: #fff; }
@media (max-width: 800px) { .plans-grid { grid-template-columns: 1fr; } }

/* --- Ubicación --- */
.location-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: var(--bg-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.location-map {
  background: var(--bg-2);
  min-height: 560px;
  position: relative;
}
.location-map iframe { width: 100%; height: 100%; border: 0; }
.location-info {
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 28px;
}
.location-info h3 {
  margin: 0;
  font-family: var(--serif); font-weight: 500; font-size: 34px;
  color: var(--fg-0);
}
.location-info p { margin: 0; color: var(--fg-1); font-size: 15.5px; line-height: 1.65; }

.distance-list { display: flex; flex-direction: column; }
.distance-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.distance-row:last-child { border-bottom: 1px solid var(--line-soft); }
.distance-row .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--gold-soft);
  color: var(--gold-3);
  border-radius: var(--radius-sm);
}
.distance-row .ico svg { width: 16px; height: 16px; }
.distance-row .name { color: var(--fg-0); font-size: 15px; }
.distance-row .km { font-family: var(--mono); font-size: 13px; color: var(--gold-2); font-weight: 500; }

@media (max-width: 900px) {
  .location-layout { grid-template-columns: 1fr; }
  .location-info { padding: 36px 28px; }
  .location-map { min-height: 360px; order: -1; }
}

/* --- Testimonios --- */
.section.testimonios { background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.testi-card .quote-mark {
  font-family: var(--serif);
  font-size: 70px;
  line-height: 1;
  color: var(--gold-1);
  font-style: italic;
  margin: -8px 0 -28px;
}
.testi-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.45;
  color: var(--fg-0);
  font-weight: 400;
}
.testi-card .who {
  margin-top: auto;
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.testi-card .who .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-dark-2), var(--bg-dark));
  display: grid; place-items: center;
  color: var(--gold-1);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.testi-card .who .name { font-size: 14.5px; font-weight: 600; color: var(--fg-0); }
.testi-card .who .role { font-size: 12px; color: var(--fg-2); letter-spacing: 0.04em; }
.testi-stars {
  color: var(--gold-1);
  display: flex; gap: 3px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.reviews-summary {
  margin-top: 56px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.reviews-summary .score { display: flex; align-items: center; gap: 18px; }
.reviews-summary .num {
  font-family: var(--serif); font-size: 56px; font-weight: 500;
  color: var(--fg-0); line-height: 1;
}
.reviews-summary .meta .stars { color: var(--gold-1); display: flex; gap: 2px; margin-bottom: 4px; }
.reviews-summary .meta .text { font-size: 13.5px; color: var(--fg-1); }
.reviews-summary .google {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg-2);
}

/* --- Contacto --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--bg-1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.contact-form { padding: 56px 56px; }
.contact-side {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 32px;
}
.contact-side h4 {
  margin: 0;
  font-family: var(--serif); font-size: 28px; font-weight: 500;
}
.contact-side p { color: var(--fg-on-dark-2); font-size: 14.5px; margin: 0; }

.form-row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-1);
}
.field input, .field textarea {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--fg-0);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field textarea:focus {
  border-color: var(--gold-1);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(198, 149, 61, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid textarea { border-color: #c45353; }
.field .err { font-size: 12px; color: #c45353; margin-top: 2px; }

/* Honeypot — fuera de pantalla, invisible para humanos y lectores */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Aviso de error general del formulario (CSRF, rate limit, fallo de envío) */
.form-alert {
  background: #fbeaea;
  border: 1px solid #e6b3b3;
  color: #99383a;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}

.checkbox-row { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 22px; }
.checkbox-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; margin: 1px 0 0;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-1);
  border-radius: 3px;
  display: grid; place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease;
}
.checkbox-row input[type="checkbox"]:checked { background: var(--gold-1); border-color: var(--gold-1); }
.checkbox-row input[type="checkbox"]:checked::after {
  content: ""; width: 6px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.checkbox-row label { font-size: 13.5px; color: var(--fg-1); line-height: 1.55; }
.checkbox-row a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.form-success {
  border: 1px solid var(--gold-1);
  background: var(--gold-soft);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.form-success .check {
  width: 56px; height: 56px;
  background: var(--gold-1);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.form-success h4 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--fg-0); }
.form-success p { margin: 0; color: var(--fg-1); font-size: 14.5px; }

.agent-card { display: flex; gap: 16px; align-items: center; }
.agent-avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; color: #fff;
  font-weight: 500;
  flex-shrink: 0;
}
.agent-name { font-family: var(--serif); font-size: 22px; color: var(--fg-on-dark); font-weight: 500; }
.agent-role { font-size: 12px; color: var(--gold-1); margin-top: 2px; font-weight: 600; letter-spacing: 0.06em; }

.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-on-dark);
  color: var(--fg-on-dark);
  transition: color .2s ease;
}
.contact-method:hover { color: var(--gold-1); }
.contact-method:first-of-type { border-top: 0; padding-top: 4px; }
.contact-method .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(244, 237, 224, 0.08);
  color: var(--gold-1);
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.contact-method:hover .ico { background: var(--gold-1); color: var(--bg-dark); }
.contact-method .meta { display: flex; flex-direction: column; }
.contact-method .meta .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-on-dark-2); font-weight: 600; }
.contact-method .meta .v { font-size: 15px; margin-top: 2px; color: var(--fg-on-dark); }

.hours { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-on-dark); }
.hours .label-sm { color: var(--gold-1); margin-bottom: 6px; font-size: 11px; }
.hours .row { display: flex; justify-content: space-between; font-size: 13.5px; }
.hours .row span:first-child { color: var(--fg-on-dark-2); }
.hours .row span:last-child { color: var(--fg-on-dark); font-family: var(--mono); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form { padding: 40px 28px; }
  .contact-side { padding: 40px 28px; }
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: 88px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand .logo {
  display: flex; align-items: center; gap: 14px;
  color: var(--fg-on-dark);
}
.footer-brand .logo .mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--gold-1);
  color: var(--bg-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.footer-brand .logo .word {
  display: flex; flex-direction: column; line-height: 1.1;
}
.footer-brand .logo .name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.footer-brand .logo .tag { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-1); margin-top: 4px; }
.footer-brand p { color: var(--fg-on-dark-2); font-size: 14px; margin: 20px 0 0; max-width: 320px; line-height: 1.6; }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-1); margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { color: var(--fg-on-dark-2); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-1); }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(244, 237, 224, 0.08);
  color: var(--fg-on-dark);
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: var(--gold-1); color: var(--bg-dark); }

.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 12.5px;
  color: var(--fg-3);
}
.footer-bottom a { color: var(--fg-on-dark-2); transition: color .2s ease; }
.footer-bottom a:hover { color: var(--gold-1); }
.footer-bottom .links { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* --- Floating actions --- */
.whatsapp-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 70;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 6px rgba(37, 211, 102, 0.12);
  transition: transform .25s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab .tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%; transform: translateY(-50%);
  white-space: nowrap;
  background: var(--bg-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
.whatsapp-fab:hover .tip { opacity: 1; }

.totop-fab {
  position: fixed;
  right: 24px; bottom: 98px;
  z-index: 69;
  width: 48px; height: 48px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  color: var(--fg-0);
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
  box-shadow: var(--shadow-sm);
}
.totop-fab.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.totop-fab:hover { background: var(--gold-1); color: #fff; border-color: var(--gold-1); }

@media (max-width: 640px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .totop-fab { right: 16px; bottom: 84px; width: 42px; height: 42px; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* Banner de cookies */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 760px; margin: 0 auto;
  background: var(--bg-dark); color: var(--fg-on-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: none; flex-direction: column; gap: 14px;
}
.cookie-banner.show { display: flex; }
.cookie-text { font-size: 13.5px; line-height: 1.55; color: var(--fg-on-dark-2); }
.cookie-text a { color: var(--gold-1); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0; }
.cookie-actions button {
  padding: 10px 20px; font-size: 13px; font-weight: 600;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
#cookie-accept { background: var(--gold-1); color: #fff; border: 1px solid var(--gold-1); }
#cookie-accept:hover { background: var(--gold-2); border-color: var(--gold-2); }
#cookie-reject { background: transparent; color: var(--fg-on-dark); border: 1px solid var(--line-on-dark); }
#cookie-reject:hover { border-color: var(--fg-on-dark-2); }
@media (min-width: 640px) {
  .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}
