@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Great+Vibes&display=swap');

@font-face {
  font-family: 'The Seasons';
  src: url('../assets/fonts/the-seasons.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BrittanySignature';
  src: url('../assets/fonts/BrittanySignature.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #4a6b52;
  --primary-dark:  #344d3b;
  --primary-light: #5e7f66;
  --accent:        #8da88a;
  --water:         #48b8c5;
  --sand:          #e9c46a;
  --bg:            #1c1e1b;
  --bg-alt:        #232520;
  --white:         #ffffff;
  --text:          #e4e6e2;
  --text-light:    #9aa096;
  --shadow-sm:     0 2px 10px rgba(45,106,79,.10);
  --shadow-md:     0 8px 30px rgba(45,106,79,.15);
  --shadow-lg:     0 20px 60px rgba(45,106,79,.20);
  --radius:        12px;
  --radius-lg:     20px;
  --ease:          0.7s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 19px;
  background: #1c1e1b;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  max-width: 100%;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size-adjust: 0.47;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─────────────────────────────
   NAVBAR
───────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28,30,27,.45);
  backdrop-filter: blur(4px);
  transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.navbar.scrolled {
  background: rgba(28,30,27,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 48px; width: auto; display: block; }

.nav-menu { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.8);
  transition: color .2s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover,
.nav-link.active { color: white; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--primary); color: white;
  padding: 10px 20px; border-radius: 8px;
  font-size: .85rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--primary);
}

/* ─────────────────────────────
   HERO
───────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(80px, 10vh, 120px) 24px clamp(100px, 14vh, 160px);
  position: relative; overflow: hidden;
}



.hero-carousel {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }

.hero-carousel-btn {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: white; font-size: 1.1rem;
  width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s, opacity .25s;
  opacity: .55;
}
.hero-carousel-btn:hover { background: rgba(255,255,255,.2); opacity: 1; }
.hero-carousel-prev { left: 20px; }
.hero-carousel-next { right: 20px; }

.hero-carousel-dots {
  position: absolute; bottom: 76px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: background .3s, transform .3s;
}
.hero-dot.active { background: white; transform: scale(1.3); }

.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 85% 65% at 50% 42%, rgba(0,0,0,.42) 0%, transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 600px;
  z-index: 1;
  background: linear-gradient(to top,
    var(--bg)                     0%,
    rgba(28,30,27,.94)           6%,
    rgba(28,30,27,.72)          20%,
    rgba(28,30,27,.42)          40%,
    rgba(28,30,27,.16)          62%,
    rgba(28,30,27,.04)          82%,
    transparent                100%
  );
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.30); color: #fff;
  padding: 7px 18px; border-radius: 100px;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.70);
  box-shadow: 0 0 20px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.4);
}

/* Word-reveal helpers */
.hero-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}
@keyframes word-rise {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.hero-word {
  display: inline-block;
  animation: word-rise .72s cubic-bezier(.16,1,.3,1) both;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  font-weight: 700; color: white; margin-bottom: 4px;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.hero-tagline {
  font-family: 'BrittanySignature', 'Great Vibes', cursive;
  font-size: clamp(0.95rem, 1.8vw, 1.4rem);
  font-style: normal;
  color: rgba(255,255,255,.95);
  margin-top: 13px;
  margin-bottom: 28px;
  line-height: 1.1;
  display: inline-block;
  opacity: 0;
  clip-path: inset(-30px 100% -30px 0);
}

.hero-owners {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: white; margin-bottom: 36px; margin-top: -8px;
}

.hero-desc {
  color: white; font-size: 1.15rem;
  margin-bottom: 18px; letter-spacing: .04em;
}

.hero-buttons {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.75); font-size: .78rem; text-align: center;
  animation: bounce 2.2s infinite;
}
.hero-scroll span { display: block; font-size: 1.3rem; margin-top: 4px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ─────────────────────────────
   BUTTONS
───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-size: .93rem; font-weight: 600; cursor: pointer;
  transition: all .2s; border: none;
}
.btn-primary  { background: var(--sand); color: #1a2b1e; }
.btn-primary:hover { background: #f0c048; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

.btn-secondary {
  background: rgba(255,255,255,.30); color: #fff;
  border: 1px solid rgba(255,255,255,.70);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-secondary:hover { background: rgba(255,255,255,.42); transform: translateY(-2px); box-shadow: 0 0 28px rgba(255,255,255,.26); }

.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--bg); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-green { background: var(--primary); color: white; }

.btn-cta-hero {
  background: var(--primary); color: white;
  animation: pulse-hero 2.5s ease-in-out infinite;
}
.btn-cta-hero:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  animation: none;
}

@keyframes pulse-hero {
  0%, 100% { box-shadow: 0 0 7px 0 rgba(255,255,255,.4); }
  50%       { box-shadow: 0 0 22px 10px rgba(255,255,255,0); }
}
.btn-green:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-wa {
  background: #25d366; color: white;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.35); }

.btn-ig {
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: white;
}
.btn-ig:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(220,39,67,.35); }

.btn-bk { background: #003580; color: white; }
.btn-bk:hover { background: #002a66; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,53,128,.35); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(141,168,138,.12);
  transform: translateY(-2px);
}

/* ─────────────────────────────
   SECTIONS
───────────────────────────── */
section { overflow-x: hidden; }
.section { padding: clamp(44px, 7vh, 100px) 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: clamp(32px, 5vh, 64px); }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--accent); margin-bottom: 14px;
  position: relative; display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transition: width .85s cubic-bezier(.16,1,.3,1) .45s;
}
.section-header h2.line-visible::after { width: 80%; }
.section-header p {
  color: var(--text-light); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto;
}

/* Primera sección tras el hero — curva que sube sobre la foto */
.section-curve-top {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: 48px 48px 0 0;
  margin-top: -56px;
  box-shadow: 0 -4px 32px rgba(0,0,0,.12);
}

/* PAGE HEADER (galería / contacto / preguntas) */
.page-hero {
  padding: 160px 24px 100px;
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 45%, rgba(28,30,27,.9) 85%, #1c1e1b 100%);
}
.page-hero h1, .page-hero p,
.page-hero-divider, .page-hero-cta, .page-hero-scroll { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); color: white; margin-bottom: 14px;
  animation: phFadeUp .65s ease both;
}
.page-hero p {
  color: rgba(255,255,255,.8); font-size: 1.05rem;
  margin-bottom: 30px;
  animation: phFadeUp .65s .28s ease both;
}
.page-hero-cta { animation: phFadeUp .65s .42s ease both; }
.page-hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  animation: phFadeIn .65s .6s ease both;
}
.page-hero-scroll i {
  display: block; font-size: 1.45rem;
  color: rgba(255,255,255,.55);
  animation: phBounce 2.2s 1.3s infinite;
}
@keyframes phFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes phBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ─────────────────────────────
   LOFT FEATURES
───────────────────────────── */
.loft-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.loft-desc {
  font-size: clamp(.88rem, .9vw + .2rem, 1.05rem); color: var(--text-light);
  margin-bottom: clamp(20px, 2.5vh, 32px); line-height: 1.8;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: clamp(6px, .8vh, 10px); }
.feature-list li {
  font-size: clamp(.84rem, .8vw + .2rem, .97rem); color: var(--text);
  padding: clamp(8px, 1vh, 11px) clamp(12px, 1.2vw, 16px); background: #282b26;
  border-radius: 10px; box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}

/* ─────────────────────────────
   PLACEHOLDER IMAGES
───────────────────────────── */
.img-ph {
  width: 100%;
  background: linear-gradient(135deg,rgba(116,198,157,.18),rgba(72,184,197,.18));
  border: 2px dashed rgba(116,198,157,.7);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--text-light);
  text-align: center; padding: 20px;
}
.img-ph .ph-emoji { font-size: 2.8rem; }
.img-ph .ph-label {
  font-size: .75rem; font-family: monospace;
  color: var(--primary); background: rgba(45,106,79,.1);
  padding: 4px 10px; border-radius: 6px;
}

/* aspect ratios */
.img-ph-4-3  { aspect-ratio: 4/3; }
.img-ph-16-9 { aspect-ratio: 16/9; }
.img-ph-1-1  { aspect-ratio: 1/1; }

/* ─────────────────────────────
   AMENITIES
───────────────────────────── */
.amenities-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(12px, 1.4vw, 20px);
}
.amenity-card {
  background: #282b26; border-radius: var(--radius);
  padding: clamp(18px, 2.4vh, 28px) clamp(13px, 1.4vw, 18px); text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.amenity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.amenity-icon { font-size: 2rem; display: block; margin-bottom: 11px; color: var(--primary); line-height: 1; }
.amenity-icon i { font-size: inherit; }

/* Phosphor icons en placeholders y secciones */
.ph-emoji i { font-size: 2.5rem; color: var(--primary); }
.pet-icon i  { font-size: 3.5rem; color: var(--primary); }
.discount-icon i { font-size: 4rem; color: white; }

/* Email corporativo discreto */
.corporate-email-note {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(45,106,79,.08);
  font-size: .82rem; color: var(--text-light);
}
.corporate-email-note a {
  color: var(--primary); text-decoration: underline;
  text-underline-offset: 3px;
}
.amenity-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .92rem; font-weight: 600;
  color: var(--accent); margin-bottom: 5px;
}
.amenity-card p { font-size: .78rem; color: var(--text-light); }

/* ─────────────────────────────
   PREDIO
───────────────────────────── */
.predio-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(10px, 1.2vw, 20px);
}

/* Stacked-cards effect */
.predio-card-wrap {
  position: relative;
  isolation: isolate;
}
.predio-card-wrap::before,
.predio-card-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(116,198,157,.14);
  background: #282b26;
  z-index: -1;
  transition: transform .35s ease;
}
.predio-card-wrap::before {
  transform: rotate(-2.5deg) translateX(-5px) translateY(7px);
}
.predio-card-wrap::after {
  transform: rotate(1.8deg) translateX(5px) translateY(11px);
}
.predio-card-wrap:hover::before {
  transform: rotate(-3.5deg) translateX(-7px) translateY(9px);
}
.predio-card-wrap:hover::after {
  transform: rotate(2.8deg) translateX(7px) translateY(14px);
}

.predio-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  aspect-ratio: 3/2; background: #282b26;
  border: 1px solid rgba(116,198,157,.18);
}
.predio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border-color: rgba(116,198,157,.45);
}

.predio-preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s;
}
.predio-card:hover .predio-preview { transform: scale(1.05); }

.predio-ph {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  font-size: 2.8rem; color: var(--primary);
}
.predio-card.no-preview .predio-ph { display: flex; }
.predio-card.no-preview .predio-preview { display: none; }

.predio-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
  transition: opacity .6s ease;
}
.predio-card:hover .predio-card-info { opacity: 0; }
.predio-card-info h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .95rem; font-weight: 600;
  color: white; margin-bottom: 3px;
}
.predio-card-info p { font-size: .78rem; color: rgba(255,255,255,.72); margin-bottom: 8px; }

.predio-hover-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18);
  opacity: 0;
  transition: opacity .35s ease;
}
.predio-hover-hint span {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  font-size: .75rem; font-weight: 500;
  color: rgba(255,255,255,.9); letter-spacing: .1em; text-transform: uppercase;
}
.predio-card:hover .predio-hover-hint { opacity: 1; }


/* ─────────────────────────────
   STATS
───────────────────────────── */
.section-stats { background: var(--bg-alt); padding: 56px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; text-align: center;
}
.stat-item {}
.stat-number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; color: var(--accent); line-height: 1;
  margin-bottom: 8px; white-space: nowrap;
}
.stat-label {
  font-size: .75rem; color: var(--text-light);
  letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.4; word-break: break-word;
}

/* ─────────────────────────────
   DISCOUNT BANNER
───────────────────────────── */
.section-discount {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: clamp(44px, 7vh, 80px) 0;
  overflow-x: hidden;
}
.discount-inner {
  display: flex; align-items: center; gap: clamp(22px, 3vw, 40px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vh, 56px) clamp(36px, 4.5vw, 60px);
}
.discount-icon { font-size: 4rem; flex-shrink: 0; }
.discount-text { flex: 1; }
.discount-text h2 { color: white; font-size: 2rem; margin-bottom: 12px; }
.discount-text p  { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.7; }
.discount-note    { font-size: .85rem !important; color: rgba(255,255,255,.5) !important; margin-top: 8px; }

/* ─────────────────────────────
   PET FRIENDLY
───────────────────────────── */
.section-pet { background: var(--bg-alt); padding: 60px 0; }
.pet-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; text-align: left;
}
.pet-icon { font-size: 3.5rem; }
.pet-inner h2 { font-size: 2rem; color: var(--accent); margin-bottom: 6px; }
.pet-inner p  { color: var(--text-light); font-size: 1.02rem; }

/* ─────────────────────────────
   CTA FINAL
───────────────────────────── */
.section-cta { text-align: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--accent); margin-bottom: 14px; }
.cta-inner > p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────
   GALLERY PAGE
───────────────────────────── */
.gallery-section { margin-bottom: 72px; overflow: visible; }
.gallery-section:last-child { margin-bottom: 0; }
.gallery-section-title {
  font-size: 1.6rem; color: var(--accent);
  margin-bottom: 28px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 18vw, 260px);
  gap: clamp(10px, 1.2vw, 16px);
  overflow: visible;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); display: block; cursor: pointer;
  position: relative; z-index: 1;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94), box-shadow .45s, z-index 0s;
}

/* Patrón desestructurado: cuadrado + rect / rect + cuadrado / cuadrado + rect */
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(6),
.gallery-grid .img-ph:nth-child(2),
.gallery-grid .img-ph:nth-child(3),
.gallery-grid .img-ph:nth-child(6) { grid-column: span 2; }

.gallery-grid img:hover {
  transform: scale(1.08);
  z-index: 20;
  box-shadow: 0 16px 48px rgba(0,0,0,.65);
}
.gallery-grid .img-ph {
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  width: 100%; height: 100%;
  aspect-ratio: unset;
  border-radius: var(--radius);
}

/* ─────────────────────────────
   CONTACT PAGE
───────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}

.contact-card {
  background: #282b26; border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: clamp(1.2rem, 1.4vw, 1.5rem); color: var(--accent); margin-bottom: clamp(14px, 2vh, 24px); }

.contact-option {
  display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px);
  padding: clamp(10px, 1.6vh, 16px) 0;
  border-bottom: 1px solid rgba(45,106,79,.08);
}
.contact-option:last-child { border-bottom: none; }
.contact-option-icon { font-size: clamp(1.4rem, 1.6vw, 1.8rem); flex-shrink: 0; }
.contact-option-info h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: .95rem; font-weight: 600;
  color: var(--accent); margin-bottom: 3px;
}
.contact-option-info p { font-size: .85rem; color: var(--text-light); }
.contact-option .btn { margin-left: auto; padding: 9px 18px; font-size: .82rem; }

.phone-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  color: inherit;
}

.map-card {
  background: #282b26; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.map-card-header { padding: 28px 32px; }
.map-card-header h2 { font-size: 1.5rem; color: var(--accent); margin-bottom: 6px; }
.map-card-header p  { color: var(--text-light); font-size: .9rem; }
.map-card iframe {
  display: block; width: 100%; height: clamp(400px, 47vh, 520px); border: none;
}
.map-card-footer {
  padding: 16px 32px;
  background: var(--bg-alt);
  font-size: .88rem; color: var(--text-light);
  display: flex; align-items: center; gap: 10px;
}

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
.footer {
  background: var(--primary-dark); color: white;
  padding: 64px 0 28px;
  overflow-x: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr auto auto;
  column-gap: 40px; row-gap: 48px; margin-bottom: 48px;
  align-items: start;
}
.footer-brand { display: flex; align-items: flex-start; gap: 20px; }
.footer-brand-img {
  width: 200px; height: 200px; flex-shrink: 0;
  object-fit: cover; border-radius: 10px;
}
.footer-brand h3 { font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand p  { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.75; }

.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-col h4 {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.4); margin-bottom: 16px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,.65);
  font-size: .88rem; margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: white; }

.footer-copy {
  text-align: center; color: rgba(255,255,255,.3);
  font-size: .78rem; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ─────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────── */
.fade-in       { opacity: 0; transform: translateY(40px); transition: opacity var(--ease), transform var(--ease); }
.fade-in-left  { opacity: 0; transform: translateX(-50px); transition: opacity var(--ease), transform var(--ease); }
.fade-in-right { opacity: 0; transform: translateX(50px);  transition: opacity var(--ease), transform var(--ease); }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible { opacity: 1; transform: translate(0); }

@media (max-width: 768px) {
  .fade-in-left,
  .fade-in-right { transform: translateY(30px); }
}

/* stagger */
.amenity-card:nth-child(1) { transition-delay: .05s; }
.amenity-card:nth-child(2) { transition-delay: .10s; }
.amenity-card:nth-child(3) { transition-delay: .15s; }
.amenity-card:nth-child(4) { transition-delay: .20s; }
.amenity-card:nth-child(5) { transition-delay: .25s; }
.amenity-card:nth-child(6) { transition-delay: .30s; }
.amenity-card:nth-child(7) { transition-delay: .35s; }
.amenity-card:nth-child(8) { transition-delay: .40s; }

.predio-card-wrap:nth-child(1) { transition-delay: .05s; }
.predio-card-wrap:nth-child(2) { transition-delay: .10s; }
.predio-card-wrap:nth-child(3) { transition-delay: .15s; }
.predio-card-wrap:nth-child(4) { transition-delay: .20s; }
.predio-card-wrap:nth-child(5) { transition-delay: .25s; }
.predio-card-wrap:nth-child(6) { transition-delay: .30s; }
.predio-card-wrap:nth-child(7) { transition-delay: .35s; }
.predio-card-wrap:nth-child(8) { transition-delay: .40s; }

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */

/* Laptop grande (1280px) */
@media (max-width: 1280px) {
  .loft-features      { gap: 40px; }
  .discount-inner     { padding: 44px 40px; }
  .wa-prefooter-inner { gap: 40px; }
}

/* Laptop chica / tablet paisaje (1024px) */
@media (max-width: 1024px) {
  html { font-size: 17px; }

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

  .loft-features { gap: 32px; }
  .stats-grid    { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .contact-grid  { gap: 24px; }

  .discount-inner     { padding: 36px 32px; gap: 28px; }
  .wa-prefooter-inner { gap: 32px; }
}

/* Tablet / móvil (768px) */
@media (max-width: 768px) {
  html { font-size: 18px; }
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }

  /* Verdes más claros — en mobile se ven más oscuros */
  :root {
    --primary:       #6db57f;
    --primary-light: #7ebf90;
    --accent:        #aac9a7;
  }

  .nav-menu {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: #1c1e1b; flex-direction: column;
    padding: 24px; gap: 22px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }

  .hero-title { white-space: normal; }

  /* Lofts — imagen acotada en mobile */
  .loft-features { grid-template-columns: 1fr; gap: 32px; }
  .loft-features .fade-in-right img { max-height: 240px; object-fit: cover; }

  /* Todo incluido — 2 por fila */
  .amenities-grid { grid-template-columns: repeat(2,1fr); }

  /* Stats — 2 por fila */
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }

  /* Predio — sin pseudo-elementos (evita scrollbar lateral) */
  .predio-grid { grid-template-columns: repeat(2,1fr); overflow: hidden; }
  .predio-card-wrap::before,
  .predio-card-wrap::after { display: none; }

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

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

  /* Reseñas — menos espacio entre título y widget */
  #opiniones .section-header { margin-bottom: 16px; }

  /* Descuento — barra horizontal compacta */
  .section-discount { padding: 20px 0; }
  .discount-inner {
    flex-direction: row; align-items: center; text-align: left;
    padding: 16px 20px; gap: 14px;
  }
  .discount-icon i { font-size: 2rem; }
  .discount-text h2 { font-size: 1rem; margin-bottom: 4px; }
  .discount-text p  { font-size: .78rem; line-height: 1.45; }
  .discount-note    { display: none; }

  /* Footer — brand arriba, Páginas y Reservas lado a lado */
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .footer-brand { grid-column: 1 / -1; }

  /* WA form — apilado, sin overflow */
  .wa-form-row        { grid-template-columns: 1fr; }
  .wa-prefooter-inner { grid-template-columns: 1fr; gap: 24px; }
  .wa-prefooter       { overflow: hidden; }
  .wa-form, .wa-form input, .wa-form select, .wa-form textarea {
    width: 100%; min-width: 0; box-sizing: border-box;
  }

  .map-card iframe { height: 320px; }
}

/* Móvil pequeño (480px) */
@media (max-width: 480px) {
  html { font-size: 17px; }
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons  { flex-direction: column; align-items: center; }

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

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(6) { grid-column: span 1; }

  .pet-inner { flex-direction: column; text-align: center; }

  .map-card iframe { height: 260px; }
}

/* Móvil muy pequeño (360px) */
@media (max-width: 360px) {
  html { font-size: 15px; }
  .section { padding: 44px 0; }
  .container { padding: 0 14px; }

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

  .map-card iframe { height: 220px; }
}

/* ─────────────────────────────
   REVIEWS WIDGET
───────────────────────────── */
.reviews-widget {
  zoom: 0.80;
  transform-origin: top center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}
.reviews-widget * {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif !important;
}
@media (max-width: 768px) {
  .reviews-widget { zoom: 0.68; }
}
@media (max-width: 480px) {
  .reviews-widget { zoom: 0.60; }
}



/* ─────────────────────────────
   MOBILE ENHANCEMENTS
───────────────────────────── */
@media (max-width: 768px) {

  /* ── Navbar — más compacta ── */
  .nav-container { height: 60px; }
  .nav-logo-img  { height: 38px; }
  .nav-menu      { padding: 18px 20px; gap: 16px; top: 60px; }
  .nav-link      { font-size: .95rem; }
  .nav-toggle    { font-size: 1.3rem; }

  /* ── Carrusel — ocultar flechas ── */
  .hero-carousel-btn { display: none; }

  /* ── Hero — título en una sola línea, proporciones desktop ── */
  .hero-title  { font-size: clamp(1.9rem, 7.5vw, 3.2rem); white-space: nowrap; }
  .hero-desc   { font-size: .78rem; letter-spacing: .03em; white-space: nowrap; }
  .hero-owners { font-size: .7rem; }
  .hero-scroll { font-size: .95rem; }

  /* ── Hero badge — compacto ── */
  .hero-badge { font-size: .62rem; padding: 5px 11px; margin-bottom: 14px; letter-spacing: .1em; }

  /* ── Sección headers — "Todo incluido en tu estadía" en una línea ── */
  .section-header h2 { font-size: clamp(1.4rem, 5.5vw, 2.8rem); }

  /* ── Amenidades — ícono más grande ── */
  .amenity-icon { font-size: 2.4rem; }

  /* ── Predio — tap abre lightbox directamente ── */
  .predio-card          { aspect-ratio: 16/9; cursor: pointer; }
  .predio-hover-hint    { display: none; }

  /* ── Sección descuento — vertical, centrada ── */
  .discount-inner {
    flex-direction: column; align-items: center; text-align: center;
    padding: 22px 20px; gap: 10px;
  }
  .discount-icon { display: none; }
  .discount-text h2 { font-size: 1.1rem; margin-bottom: 4px; }
  .discount-text p  { display: none; }
  .discount-inner .btn { font-size: .85rem; padding: 10px 22px; }

  /* ── Reseñas — zoom un poco mayor ── */

  /* ── Formularios — labels más legibles ── */
  .wa-form-group label { font-size: .86rem; }

  /* ── WA prefooter — idéntico al form de contacto en mobile ── */
  .wa-prefooter { background: var(--bg-alt); padding: clamp(44px, 7vh, 80px) 0; }
  .wa-prefooter-inner { display: flex; flex-direction: column; gap: 0; }

  /* Heading = mismo que .section-header */
  .wa-prefooter-text {
    text-align: center;
    margin-bottom: clamp(24px, 4vh, 48px);
  }
  .wa-prefooter-text h2 {
    font-size: clamp(1.4rem, 5.5vw, 2.8rem);
    color: var(--accent);
    margin-bottom: 14px;
    position: relative; display: inline-block;
  }
  .wa-prefooter-text h2::after {
    content: '';
    position: absolute; bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
  }
  .wa-prefooter-text p {
    color: var(--text-light); font-size: 1.05rem;
    max-width: 520px; margin: 0 auto;
  }

  /* Form = mismo que .wa-form (max-width 640 centrado, full-width) */
  .wa-form--compact { max-width: 640px; width: 100%; margin: 0 auto; box-sizing: border-box; }

  /* ── Reservas corporativas — versión desktop oculta, versión mobile visible ── */
  .corporate-email-note--desktop { display: none; }
  .corporate-email-note--mobile  { display: block; margin-top: 16px; }

  /* ── Botones de page-hero en subpages — más compactos ── */
  .page-hero-cta { font-size: .8rem; padding: 9px 16px; }

  /* ── Botón WA flotante — chico, emoji prominente ── */
  .whatsapp-float { width: 42px; height: 42px; font-size: 1.6rem; bottom: 16px; right: 16px; }

  /* ── Promo pill — oculta en mobile (también cuando JS agrega .visible) ── */
  .promo-pill,
  .promo-pill.visible { display: none; }
}

/* ─────────────────────────────
   PROMO PILL (flotante)
───────────────────────────── */
.promo-pill {
  position: fixed; bottom: 28px; left: 28px; z-index: 7999;
  background: rgba(24,27,23,.94);
  border: 1px solid rgba(116,198,157,.28);
  border-radius: 50px;
  padding: 10px 16px 10px 13px;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.promo-pill.visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.promo-pill.gone {
  opacity: 0; transform: translateY(14px);
  pointer-events: none;
}
.promo-pill-icon { font-size: 1rem; color: var(--primary-light); flex-shrink: 0; }
.promo-pill-text { font-size: .76rem; color: var(--text-light); line-height: 1.35; }
.promo-pill-text strong { display: block; font-size: .82rem; color: var(--accent); font-weight: 600; }
.promo-pill-cta {
  font-size: .74rem; color: var(--primary-light); font-weight: 600;
  white-space: nowrap; text-decoration: none;
  border: 1px solid rgba(116,198,157,.35); border-radius: 20px; padding: 4px 11px;
  transition: background .2s, border-color .2s;
}
.promo-pill-cta:hover { background: rgba(116,198,157,.1); border-color: rgba(116,198,157,.6); }
.promo-pill-close {
  position: absolute; top: -7px; right: -7px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(36,39,34,.98); border: 1px solid rgba(116,198,157,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--text-light); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.promo-pill-close:hover { color: var(--text); border-color: rgba(116,198,157,.5); }

/* ─────────────────────────────
   WHATSAPP FLOTANTE
───────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 8000;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: white; text-decoration: none;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ─────────────────────────────
   LIGHTBOX
───────────────────────────── */
.predio-card[data-gallery] { cursor: pointer; }

.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}
.lightbox.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}

@keyframes lb-enter {
  from { opacity: 0; transform: scale(0.92) translateY(24px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.lightbox.is-open .lb-img-wrap {
  animation: lb-enter .65s cubic-bezier(.16,1,.3,1) both;
}

.lb-img-wrap {
  display: flex; align-items: center; justify-content: center;
  max-width: 90vw; max-height: 82vh;
}
.lb-img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain; border-radius: 10px;
  display: none;
  transition: opacity .32s ease;
}
.lb-placeholder {
  width: 560px; max-width: 90vw; height: 380px; max-height: 70vh;
  background: #282b26;
  border: 2px dashed rgba(116,198,157,.25);
  border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; color: rgba(116,198,157,.5); font-size: .85rem;
}
.lb-placeholder i { font-size: 3rem; }

.lb-close, .lb-prev, .lb-next {
  position: fixed; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); color: white; cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, transform .2s;
  backdrop-filter: blur(6px);
}
.lb-close {
  top: 20px; right: 20px; width: 42px; height: 42px;
  font-size: 1rem; color: rgba(255,255,255,.75);
}
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.2rem; }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.2rem; }
.lb-close:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); color: white; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); }

/* Galería — cursor hint */
.gallery-grid img { cursor: pointer; }

.lb-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .82rem; letter-spacing: .12em;
}

/* ─────────────────────────────
   TRANSICIÓN DE PÁGINA
───────────────────────────── */
/* ─────────────────────────────
   FORMULARIO WHATSAPP
───────────────────────────── */
.wa-section { background: var(--bg-alt); }

.wa-form {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.wa-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wa-form-group { display: flex; flex-direction: column; gap: 8px; }
.wa-form-group label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-light);
}
.wa-form-group input,
.wa-form-group select,
.wa-form-group textarea {
  background: #1c1e1b;
  border: 1px solid rgba(141,168,138,.18);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem; outline: none;
  transition: border-color .25s;
  width: 100%;
}
.wa-form-group input:focus,
.wa-form-group select:focus,
.wa-form-group textarea:focus { border-color: var(--accent); }
.wa-form-group textarea { resize: vertical; min-height: 90px; }
.wa-form-group select { appearance: none; cursor: pointer; }
.wa-form-group input::placeholder,
.wa-form-group textarea::placeholder { color: rgba(228,230,226,.28); }

.form-discount-hint {
  display: flex; align-items: center; gap: 10px;
  background: rgba(116,198,157,.07);
  border: 1px solid rgba(116,198,157,.18);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 9px 14px;
  font-size: .82rem; color: rgba(228,230,226,.68);
}
.form-discount-hint i {
  font-size: 1.05rem; color: var(--accent); flex-shrink: 0;
}
.form-discount-hint strong {
  color: var(--accent); font-size: .84rem; margin-right: 6px;
}
.form-discount-hint--stack strong {
  display: block; margin-right: 0; margin-bottom: 2px;
}
.form-discount-hint:not(.form-discount-hint--stack) span::before {
  content: ' | ';
  color: rgba(116,198,157,.35);
  margin: 0 3px;
}
.wa-form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.5); }
.wa-form .btn { align-self: flex-start; margin-top: 4px; }

/* Reservas corporativas: en desktop en columna izquierda, en mobile al pie del form */
.corporate-email-note--mobile { display: none; }

/* Pre-footer compacto (otras páginas) */
.wa-prefooter {
  background: var(--bg-alt);
  padding: clamp(44px, 6.5vh, 72px) 0;
  border-top: 1px solid rgba(141,168,138,.08);
  overflow-x: hidden;
}
.wa-prefooter-inner {
  display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 5.5vh, 64px); align-items: start;
}
.wa-prefooter-text h2 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); margin-bottom: 12px; }
.wa-prefooter-text p { color: var(--text-light); font-size: .95rem; line-height: 1.6; }
.wa-form--compact { max-width: 100%; }

/* ─────────────────────────────
   TRANSICIÓN DE PÁGINA
───────────────────────────── */
.page-transition {
  position: fixed; inset: 0;
  background: #1c1e1b;
  z-index: 99999;
  pointer-events: none;
  opacity: 1;
  transition: opacity .5s ease;
}
.page-transition.is-hidden { opacity: 0; }

/* ─────────────────────────────
   MOBILE: FORMULARIOS → CTA CONTACTO
───────────────────────────── */
.mobile-form-cta  { display: none; }
.btn-discount-mobile { display: none; }

@media (max-width: 768px) {
  /* Ocultar formularios (excepto contacto.html que usa wa-section) */
  .wa-prefooter { display: none !important; }

  /* CTA de reemplazo */
  .mobile-form-cta {
    display: block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 20px 0;
  }
  .mobile-cta-inner {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 14px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
  }
  .mobile-cta-text h2 { color: white; font-size: 1.1rem; margin-bottom: 4px; }
  .mobile-cta-text p  { color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.45; }

  /* Sección descuento: solo botón desktop oculto, barra fina como divisor */
  .btn-discount-desktop { display: none; }
  .section-discount     { padding: 6px 0; }
  .discount-inner       { flex-direction: row; align-items: center; padding: 10px 16px; gap: 10px; background: rgba(255,255,255,.06); }
  .discount-icon        { display: none; }
  .discount-text p      { display: none; }
  .discount-text h2     { font-size: .82rem; margin-bottom: 0; }

  /* Fix overflow en contacto (S y M) */
  .contact-card { overflow: hidden; }
  .contact-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
  .contact-option-info { min-width: 0; overflow: hidden; }
  .contact-option-info p { overflow-wrap: break-word; }
  .phone-num { white-space: normal; overflow-wrap: break-word; }

  /* Footer: imagen más grande en móvil */
  .footer-brand-img { width: 120px; height: 120px; }

  /* Lightbox: imagen más corta para dejar espacio debajo */
  .lb-img-wrap { max-height: 70vh; max-width: 96vw; }
  .lb-img      { max-height: 70vh; max-width: 96vw; }

  /* Flechas debajo del cuadro, centradas */
  .lb-prev, .lb-next {
    width: 44px; height: 44px; font-size: 1rem;
    background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25);
    top: auto; transform: none;
    bottom: 62px;
  }
  .lb-prev { left: calc(50% - 54px); }
  .lb-next { right: calc(50% - 54px); }
}


