/* ════════════════════════════════════════════════════════════════
   Relax Store · stylesheet
   ──────────────────────────────────────────────────────────────── */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: #f7f9f4;
  color: #2a3320;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  --green-dark:   #1a4a1f;
  --green-mid:    #2e7d32;
  --green-light:  #4caf50;
  --green-pale:   #e8f5e9;
  --green-xpale:  #f1f8f1;
  --gold:         #c8860a;
  --gold-light:   #fef3cd;
  --cream:        #fdfaf4;
  --sand:         #f5ede0;
  --text-dark:    #1a2e1c;
  --text-mid:     #4a5e4c;
  --text-light:   #7a8f7c;
  --shadow-sm:    0 2px 12px rgba(30,80,30,.08);
  --shadow-md:    0 6px 24px rgba(30,80,30,.13);
  --shadow-lg:    0 14px 48px rgba(30,80,30,.18);
  --radius:       18px;
}

.font-display { font-family: 'Playfair Display', serif; }

/* ─── Header ───────────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,125,50,.12);
  box-shadow: 0 2px 20px rgba(30,80,30,.08);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: .85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--green-dark);
  letter-spacing: -.02em;
}
.logo-text span { color: var(--green-light); }

/* ─── Navigation ───────────────────────────────────────────── */
.nav-wrapper { display: flex; gap: .35rem; flex-wrap: wrap; }
.nav-btn {
  font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: .8rem;
  padding: .45rem 1rem;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  color: var(--text-mid);
  background: transparent;
  text-decoration: none;
  transition: all .22s ease;
  white-space: nowrap;
  letter-spacing: .01em;
  display: inline-flex; align-items: center; gap: .35rem;
}
.nav-btn:hover { background: var(--green-pale); color: var(--green-dark); }
.nav-btn.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(26,74,31,.32);
}

#mobile-nav {
  display: flex; flex-direction: column; gap: .4rem;
  padding: .75rem 1rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(46,125,50,.1);
}
#mobile-nav.hidden { display: none; }
.mobile-nav-btn {
  font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: .85rem;
  padding: .6rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--green-pale);
  cursor: pointer;
  color: var(--text-mid);
  background: var(--green-xpale);
  text-decoration: none;
  text-align: left;
  transition: all .2s;
  display: block;
}
.mobile-nav-btn.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

/* ─── Hero (rediseñado: split layout) ──────────────────────── */
.hero-v2 {
  background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 45%, #f7f9f4 100%);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.hero-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234caf50' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .6;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(46,125,50,.2);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: .04em;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(76,175,80,.7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(76,175,80,.7); }
  70%  { box-shadow: 0 0 0 12px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.05;
  color: var(--green-dark);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.hero-title .accent {
  color: var(--green-light);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 1.5rem;
}
@media (max-width: 820px) {
  .hero-subtitle { margin-left: auto; margin-right: auto; }
}
.hero-cta-row {
  display: flex; gap: .75rem; flex-wrap: wrap;
}
@media (max-width: 820px) {
  .hero-cta-row { justify-content: center; }
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin-left: auto;
  width: 100%;
}
@media (max-width: 820px) {
  .hero-visual { margin: 0 auto; max-width: 280px; }
}
.hero-visual-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  border-radius: 32% 68% 68% 32% / 30% 30% 70% 70%;
  opacity: .12;
  animation: blobMorph 18s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 32% 68% 68% 32% / 30% 30% 70% 70%; }
  50%      { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
.hero-visual-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-content img {
  max-width: 75%; max-height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(26,74,31,.25));
}
.hero-visual-emoji {
  font-size: clamp(6rem, 18vw, 10rem);
  filter: drop-shadow(0 12px 30px rgba(26,74,31,.2));
}

/* ─── Stats strip ──────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem .5rem; padding: 1.25rem .5rem; }
}
.stat-item { text-align: center; padding: 0 .5rem; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .75rem;
  color: var(--text-light);
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ─── Tiendas strip (logos) ───────────────────────────────── */
.tiendas-strip-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}
.tiendas-strip-title {
  text-align: center;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: .85rem;
}
.tiendas-strip {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: scrollX 30s linear infinite;
  width: max-content;
}
.tiendas-strip-wrap:hover .tiendas-strip { animation-play-state: paused; }
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tienda-pill {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.tienda-blue { background: #e3f2fd; color: #0d47a1; border-color: #bbdefb; }
.tienda-red  { background: #ffebee; color: #b71c1c; border-color: #ffcdd2; }
.tienda-pink { background: #fce4ec; color: #ad1457; border-color: #f8bbd0; }
.tienda-dark { background: #f5f5f5; color: #212121; border-color: #e0e0e0; }

/* ─── Cards ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.mode-vip {
  border: 2px solid #e6b800;
  background: linear-gradient(145deg, #fffdf0, #fff9e0);
}
.mode-normal {
  border: 2px solid var(--green-light);
  background: linear-gradient(145deg, #f4fbf4, #e8f5e9);
}
.mode-casillero {
  border: 2px solid #1565c0;
  background: linear-gradient(145deg, #f0f4ff, #e3f0ff);
}
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 900; letter-spacing: .07em;
  padding: .28rem .8rem; border-radius: 50px;
  text-transform: uppercase;
}
.badge-vip { background: linear-gradient(135deg,#c8860a,#f5c842); color:#fff; }
.badge-std { background: var(--green-mid); color:#fff; }
.badge-cas { background: #1565c0; color:#fff; }

/* ─── Steps ────────────────────────────────────────────────── */
.step-number {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.1rem;
}

/* ─── Calendar / Viajes ────────────────────────────────────── */
.calendar-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: 0 8px 32px rgba(26,74,31,.35);
  position: relative;
  overflow: hidden;
}
.calendar-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.date-slot {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
}
.date-slot.tbd { background: rgba(255,255,255,.08); border-style: dashed; }
.date-slot .estado-pill {
  display: inline-block;
  font-size: .65rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 800;
  padding: .15rem .55rem;
  border-radius: 50px;
  margin-top: .5rem;
}
.estado-cupos { background: rgba(76,175,80,.3); color: #c8e6c9; }
.estado-casi  { background: rgba(255,193,7,.3);  color: #fff8e1; }
.estado-lleno { background: rgba(244,67,54,.3);  color: #ffebee; }

/* ─── Section title ────────────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.2;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: .35rem;
}
.section-header p {
  color: var(--text-mid);
  font-size: .95rem;
}

/* ─── Tablas de precios ────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  text-align: left;
}
.price-table td {
  padding: .65rem 1rem;
  font-size: .9rem;
  border-bottom: 1px solid #f0f4f0;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--green-xpale); }
.price-highlight { color: var(--green-mid); font-weight: 700; }

/* ─── Galería + Lightbox ───────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 12px;
  transition: transform .3s, box-shadow .3s;
  cursor: zoom-in;
}
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

#lightbox {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
#lightbox.open { opacity: 1; pointer-events: auto; }
#lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
#lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border: none; border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
#lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ─── Form ─────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  border: 1.5px solid #dce8dc;
  border-radius: 12px;
  padding: .75rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  background: #fafcfa;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
  background: #fff;
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: #d84545;
}
.form-label {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  color: var(--text-mid);
  margin-bottom: .4rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn-primary,
.btn-wa,
.btn-ghost {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .03em;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  transition: all .22s;
}
.btn-primary {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,74,31,.3);
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,74,31,.35);
}
.btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.btn-wa:hover {
  background: #20b858;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.btn-ghost:hover { background: var(--green-pale); }
.btn-gold {
  background: var(--gold); color: #fff;
  box-shadow: 0 4px 16px rgba(200,134,10,.3);
}
.btn-gold:hover { background: #b07509; transform: translateY(-2px); }

/* ─── Floating buttons (desktop / fallback) ───────────────── */
.float-btn {
  position: fixed; right: 1.2rem; z-index: 9999;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.float-wa { bottom: 6rem; background: #25d366; }
.float-ig {
  bottom: 1.3rem;
  background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
@media (max-width: 768px) {
  .float-btn { display: none; }
}

/* ─── Sticky bottom CTA (mobile only) ──────────────────────── */
#sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(46,125,50,.15);
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0));
  display: flex; gap: .6rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
#sticky-cta a {
  flex: 1;
  text-align: center;
  padding: .8rem 1rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: .88rem;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
}
#sticky-cta .sticky-wa { background: #25d366; color: #fff; }
#sticky-cta .sticky-call { background: var(--green-dark); color: #fff; }
@media (min-width: 769px) {
  #sticky-cta { display: none; }
}
@media (max-width: 768px) {
  body { padding-bottom: 80px; }
}

/* ─── Divider ──────────────────────────────────────────────── */
.leaf-divider { text-align: center; opacity: .25; font-size: 1.4rem; margin: 2rem 0; user-select: none; }

/* ─── Responsive helpers ───────────────────────────────────── */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ─── Page transition (entre páginas reales) ─────────────── */
.page-fade {
  animation: fadeIn .4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Cookie consent ──────────────────────────────────────── */
#cookie-overlay {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  animation: overlayIn .35s ease;
}
#cookie-overlay.hidden { display: none; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

#cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(26,74,31,.28), 0 0 0 1px rgba(46,125,50,.1);
  max-width: 520px; width: 100%;
  overflow: hidden;
  animation: modalIn .38s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.88) translateY(24px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
#cookie-modal-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 1.5rem 1.75rem 1.25rem;
  color: #fff;
}
#cookie-modal-header h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.35rem;
  margin-bottom: .25rem;
  display: flex; align-items: center; gap: .5rem;
}
#cookie-modal-header p { font-size: .82rem; color: #a5d6a7; margin: 0; }
#cookie-modal-body { padding: 1.5rem 1.75rem; }
#cookie-modal-body p {
  font-size: .88rem; color: var(--text-mid);
  line-height: 1.65; margin-bottom: 1rem;
}

.cookie-item {
  display: flex; align-items: flex-start; gap: .75rem;
  background: var(--green-xpale);
  border: 1px solid rgba(46,125,50,.15);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin-bottom: .6rem;
}
.cookie-item-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }
.cookie-item-text strong {
  display: block;
  font-size: .82rem; font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .15rem;
}
.cookie-item-text span { font-size: .78rem; color: var(--text-light); line-height: 1.5; }

#cookie-modal-footer {
  padding: 1.1rem 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.cookie-btn-accept {
  background: var(--green-dark);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 900; font-size: .92rem;
  padding: .85rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .22s;
  box-shadow: 0 4px 16px rgba(26,74,31,.3);
}
.cookie-btn-accept:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,74,31,.35);
}
.cookie-btn-reject {
  background: transparent;
  color: var(--text-light);
  font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: .8rem;
  padding: .5rem;
  border-radius: 50px;
  border: 1.5px solid #dce8dc;
  cursor: pointer;
  transition: all .2s;
}
.cookie-btn-reject:hover { border-color: var(--text-light); color: var(--text-dark); }
.cookie-legal-note {
  font-size: .72rem; color: var(--text-light);
  text-align: center; line-height: 1.5;
}
@media (max-width: 480px) {
  #cookie-modal-header { padding: 1.25rem 1.25rem 1rem; }
  #cookie-modal-body   { padding: 1.25rem; }
  #cookie-modal-footer { padding: .9rem 1.25rem 1.25rem; }
}

/* ─── Form success/error toast ─────────────────────────────── */
.form-toast {
  background: var(--green-pale);
  border-left: 4px solid var(--green-mid);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--green-dark);
  font-size: .9rem;
}
.form-toast.error {
  background: #ffebee;
  border-left-color: #d84545;
  color: #b71c1c;
}

/* ════════════════════════════════════════════════════════════════
   v3.2 — Galería masonry, testimonios, CTA banner
   ──────────────────────────────────────────────────────────────── */

/* ─── Galería masonry ─────────────────────────────────────── */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 90px;
  gap: 12px;
}
@media (max-width: 900px) {
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 70px; }
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--green-xpale);
  cursor: zoom-in;
  transition: transform .35s, box-shadow .35s;
  box-shadow: var(--shadow-sm);
}
.gallery-tile:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-md);
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery-tile:hover img { transform: scale(1.06); }

/* Patrón de alturas variables: tiles 1, 2, 3, 4, 5 ciclan */
.gallery-tile-1 { grid-row: span 3; }
.gallery-tile-2 { grid-row: span 2; }
.gallery-tile-3 { grid-row: span 4; }
.gallery-tile-4 { grid-row: span 2; }
.gallery-tile-5 { grid-row: span 3; }

@media (max-width: 560px) {
  .gallery-tile-1 { grid-row: span 3; }
  .gallery-tile-2 { grid-row: span 2; }
  .gallery-tile-3 { grid-row: span 3; }
  .gallery-tile-4 { grid-row: span 2; }
  .gallery-tile-5 { grid-row: span 3; }
}

/* ─── Testimonios ─────────────────────────────────────────── */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testimonio-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46,125,50,.08);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.testimonio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: -10px; right: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--green-pale);
  line-height: 1;
  font-weight: 900;
  pointer-events: none;
}
.testimonio-header {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: .85rem;
  position: relative; z-index: 1;
}
.testimonio-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,74,31,.2);
}
.testimonio-meta {
  flex: 1;
  min-width: 0;
}
.testimonio-meta strong {
  display: block;
  font-size: .92rem;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.2;
}
.testimonio-meta span {
  display: block;
  font-size: .76rem;
  color: var(--text-light);
  margin-top: 2px;
}
.testimonio-rating {
  display: flex; gap: 1px;
  font-size: .9rem;
}
.testimonio-rating .star-on  { color: #f5b700; }
.testimonio-rating .star-off { color: #e0e0e0; }
.testimonio-text {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.65;
  font-style: italic;
  margin: 0;
  position: relative; z-index: 1;
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(200,134,10,.12) 0%, transparent 55%);
  pointer-events: none;
}
.cta-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .cta-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
}
.cta-banner-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: .5rem;
  color: #fff;
}
.cta-banner-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  max-width: 520px;
}
@media (max-width: 720px) {
  .cta-banner-text p { margin: 0 auto; }
}
.cta-banner-btn {
  font-size: 1rem !important;
  padding: 1rem 2rem !important;
  white-space: nowrap;
  transform: translateZ(0); /* GPU accel */
}
.cta-banner-btn:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.25) !important;
}

/* ─── Animación de entrada al hacer scroll ────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .testimonio-card, .gallery-tile, .cta-banner-inner {
    animation: revealUp .6s ease backwards;
  }
  .testimonio-card:nth-child(2) { animation-delay: .08s; }
  .testimonio-card:nth-child(3) { animation-delay: .16s; }
  .testimonio-card:nth-child(4) { animation-delay: .24s; }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
