/* ══════════════════════════════════════════════════════════════
   Revive Tus Recuerdos en 4K — Stylesheet
   Paleta: Light (#FDF8F5 / #2C1E16 / #C06E52 / #EAE0D5)
           Dark  (#1A1614 / #F4EFEA / #D4A373 / #2A2421)
   ══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --bg:        #FDF8F5;
  --bg-card:   #EAE0D5;
  --bg-card2:  #DDD0C4;
  --text:      #2C1E16;
  --text-muted:#7A6355;
  --cta:       #C06E52;
  --cta-hover: #A85A40;
  --cta-text:  #FFFFFF;
  --border:    rgba(44,30,22,0.12);
  --shadow:    0 4px 24px rgba(44,30,22,0.10);
  --shadow-lg: 0 12px 48px rgba(44,30,22,0.16);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --header-h:  68px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}
[data-theme="dark"] {
  --bg:        #1A1614;
  --bg-card:   #2A2421;
  --bg-card2:  #352E2B;
  --text:      #F4EFEA;
  --text-muted:#A89080;
  --cta:       #D4A373;
  --cta-hover: #BF8E5D;
  --cta-text:  #1A1614;
  --border:    rgba(244,239,234,0.10);
  --shadow:    0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.50);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }   /* respeta el atributo hidden aunque img use display:block */
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Utilidades ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--cta);
  color: var(--cta-text);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,110,82,0.35); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--cta);
  border: 2px solid var(--cta);
}
.btn-outline:hover { background: var(--cta); color: var(--cta-text); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ── Header ─────────────────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.logo-text span { color: var(--cta); }
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
nav a:hover { color: var(--cta); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-theme {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-theme:hover { background: var(--bg-card2); transform: rotate(20deg); }
.btn-menu {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.btn-menu span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.3rem; font-weight: 600; color: var(--text); }
.mobile-nav a:hover { color: var(--cta); }

/* ── Hero ───────────────────────────────────────────────────── */
#hero {
  padding: 80px 0 100px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--cta);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--cta);
}
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.hero-badge-icon { font-size: 1rem; }

/* ── Slider Antes/Después ───────────────────────────────────── */
.slider-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: col-resize;
  touch-action: none;
  user-select: none;
  aspect-ratio: 16/9;                 /* por defecto (placeholder sin foto) */
  background: var(--bg-card);
}
/* Con foto real: el JS fija width/height exactos del par (cualquier dimensión cabe
   completa, sin recorte ni distorsión). Anula el aspect-ratio por defecto. */
.slider-wrapper.has-photo {
  aspect-ratio: auto;
  max-width: 100%;
}
.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.slider-img-before {
  z-index: 1;
}
.slider-img-after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
/* Foto "antes" — efecto sepia/viejo */
.slider-img-before .photo-sim {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #8B6F5A 0%, #C4A882 25%, #6B4E34 50%, #A08060 75%, #7A5A40 100%);
  filter: sepia(0.9) contrast(0.7) brightness(0.85) blur(1.2px) grayscale(0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Foto "después" — efecto restaurado/nítido */
.slider-img-after .photo-sim {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #D4956A 0%, #F2C896 25%, #8B4E2A 50%, #DDA870 75%, #C07840 100%);
  filter: contrast(1.1) brightness(1.05) saturate(1.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-sim-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 20px;
}
.photo-sim-icon { font-size: 3rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.photo-sim-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.photo-sim-sub {
  font-size: 0.8rem;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Foto-sim overlay para before: grano/ruido */
.slider-img-before .photo-sim::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.25;
  mix-blend-mode: overlay;
}
.slider-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  z-index: 10;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  z-index: 11;
  font-size: 1rem;
  gap: 2px;
  color: #555;
  transition: transform var(--transition);
}
.slider-handle:hover { transform: translate(-50%, -50%) scale(1.1); }
.slider-label {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  z-index: 5;
}
.label-before { left: 16px; background: rgba(0,0,0,0.55); color: white; }
.label-after { right: 16px; background: rgba(255,255,255,0.85); color: #2C1E16; }
.slider-caption {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ── Trust Bar ──────────────────────────────────────────────── */
#trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item-icon { font-size: 1.3rem; }

/* ── Sección genérica ───────────────────────────────────────── */
section { padding: 90px 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── Servicios ──────────────────────────────────────────────── */
#servicios { background: var(--bg-card); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cta);
}
.service-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(192,110,82,0.3);
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.service-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.service-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.service-feat::before {
  content: '✓';
  color: var(--cta);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Cómo Funciona ──────────────────────────────────────────── */
#como-funciona { background: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--cta), var(--cta-hover));
  opacity: 0.4;
}
.step-card { text-align: center; }
.step-number {
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--cta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cta);
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }

/* ── Testimonios ────────────────────────────────────────────── */
#testimonios { background: var(--bg-card); }
.testimonials-track-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  flex-shrink: 0;
}
.testimonial-stars {
  font-size: 1rem;
  color: var(--cta);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.author-location { font-size: 0.82rem; color: var(--text-muted); }
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}
.t-btn:hover { background: var(--cta); color: white; border-color: var(--cta); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition), transform var(--transition);
}
.t-dot.active { background: var(--cta); transform: scale(1.3); }

/* ── Footer CTA ─────────────────────────────────────────────── */
#footer-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-hover) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='35' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  background-size: 80px 80px;
}
.footer-cta-content { position: relative; z-index: 1; }
.footer-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.footer-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.btn-wa-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: #C06E52;
  padding: 18px 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.btn-wa-lg:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
[data-theme="dark"] .btn-wa-lg { color: #BF8E5D; }
.wa-icon { font-size: 1.4rem; }
.footer-cta-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.93rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cta); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

/* ── Botón flotante WhatsApp ────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-bounce 2.5s ease-in-out infinite;
}
#wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
  animation: none;
}
#wa-float-tooltip {
  position: fixed;
  bottom: 34px;
  right: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
#wa-float-tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: var(--bg-card);
}
#wa-float:hover + #wa-float-tooltip,
#wa-float-tooltip:hover {
  opacity: 1;
  transform: translateX(0);
}
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Animaciones de entrada ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ── FAQ ────────────────────────────────────────────────────── */
#faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--cta); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  gap: 16px;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--cta); }
.faq-icon { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .steps-grid::before { display: none; }
  .testimonial-card { min-width: calc(100% - 0px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  nav { display: none; }
  .btn-menu { display: flex; }
  .header-actions .btn { display: none; }
  section { padding: 60px 0; }
  .section-header { margin-bottom: 38px; }
  #hero { padding: 48px 0 64px; }
  .hero-subtitle { margin-bottom: 34px; }
  .hero-cta-group { margin-bottom: 48px; }
  .hero-cta-group .btn-outline { display: none; }
  .trust-bar-inner { gap: 18px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  #footer-cta { padding: 60px 0; }
  /* CTAs inferiores de sección: menos aire en móvil */
  #servicios .container > div[style*="margin-top"],
  #como-funciona .container > div[style*="margin-top"] { margin-top: 40px !important; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 48px 0; }
  #hero { padding: 40px 0 56px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .service-card { padding: 32px 22px; }
  .testimonial-card { padding: 28px 24px; }
  .slider-wrapper { aspect-ratio: 4/3; }
  #wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 1.5rem; }
  #wa-float-tooltip { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   WhatsApp icon (máscara SVG, hereda currentColor)
   ══════════════════════════════════════════════════════════════ */
.wa-ico {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.22em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTS4wNTcgMjRsMS42ODctNi4xNjNhMTEuODY3IDExLjg2NyAwIDAgMS0xLjU4Ny01Ljk0NUMuMTYgNS4zMzUgNS40OTUgMCAxMi4wNSAwYTExLjgxNyAxMS44MTcgMCAwIDEgOC40MTMgMy40ODggMTEuODI0IDExLjgyNCAwIDAgMSAzLjQ4IDguNDE0Yy0uMDAzIDYuNTU3LTUuMzM4IDExLjg5Mi0xMS44OTMgMTEuODkyYTExLjkgMTEuOSAwIDAgMS01LjY4OC0xLjQ0OEwuMDU3IDI0em02LjU5Ny0zLjgwN2MxLjY3Ni45OTUgMy4yNzYgMS41OTEgNS4zOTIgMS41OTIgNS40NDggMCA5Ljg4Ni00LjQzNCA5Ljg4OS05Ljg4NS4wMDItNS40NjItNC40MTUtOS44OS05Ljg4MS05Ljg5Mi01LjQ1MiAwLTkuODg3IDQuNDM0LTkuODg5IDkuODg0YTkuODYgOS44NiAwIDAgMCAxLjUxIDUuMjZsLS45OTkgMy42NDggMy43MzgtLjk3OXptMTEuMzg3LTUuNDY0Yy0uMDc0LS4xMjQtLjI3Mi0uMTk4LS41Ny0uMzQ3LS4yOTctLjE0OS0xLjc1OC0uODY4LTIuMDMxLS45NjctLjI3Mi0uMDk5LS40Ny0uMTQ5LS42NjkuMTQ5LS4xOTguMjk3LS43NjguOTY3LS45NDEgMS4xNjUtLjE3My4xOTgtLjM0Ny4yMjMtLjY0NC4wNzQtLjI5Ny0uMTQ5LTEuMjU1LS40NjItMi4zOS0xLjQ3NS0uODgzLS43ODgtMS40OC0xLjc2MS0xLjY1My0yLjA1OS0uMTczLS4yOTctLjAxOC0uNDU4LjEzLS42MDYuMTM0LS4xMzMuMjk3LS4zNDcuNDQ2LS41MjEuMTUxLS4xNzIuMi0uMjk2LjMtLjQ5NS4wOTktLjE5OC4wNS0uMzcyLS4wMjUtLjUyMS0uMDc1LS4xNDgtLjY2OS0xLjYxMS0uOTE2LTIuMjA2LS4yNDItLjU3OS0uNDg3LS41MDEtLjY2OS0uNTFsLS41Ny0uMDFjLS4xOTggMC0uNTIuMDc0LS43OTIuMzcycy0xLjA0IDEuMDE2LTEuMDQgMi40NzkgMS4wNjUgMi44NzYgMS4yMTMgMy4wNzRjLjE0OS4xOTggMi4wOTUgMy4yIDUuMDc2IDQuNDg3LjcxLjMwNiAxLjI2My40ODkgMS42OTQuNjI2LjcxMi4yMjYgMS4zNi4xOTQgMS44NzIuMTE4LjU3MS0uMDg1IDEuNzU4LS43MTkgMi4wMDYtMS40MTMuMjQ4LS42OTUuMjQ4LTEuMjkuMTczLTEuNDE0eiIvPjwvc3ZnPg==") center/contain no-repeat;
  mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTS4wNTcgMjRsMS42ODctNi4xNjNhMTEuODY3IDExLjg2NyAwIDAgMS0xLjU4Ny01Ljk0NUMuMTYgNS4zMzUgNS40OTUgMCAxMi4wNSAwYTExLjgxNyAxMS44MTcgMCAwIDEgOC40MTMgMy40ODggMTEuODI0IDExLjgyNCAwIDAgMSAzLjQ4IDguNDE0Yy0uMDAzIDYuNTU3LTUuMzM4IDExLjg5Mi0xMS44OTMgMTEuODkyYTExLjkgMTEuOSAwIDAgMS01LjY4OC0xLjQ0OEwuMDU3IDI0em02LjU5Ny0zLjgwN2MxLjY3Ni45OTUgMy4yNzYgMS41OTEgNS4zOTIgMS41OTIgNS40NDggMCA5Ljg4Ni00LjQzNCA5Ljg4OS05Ljg4NS4wMDItNS40NjItNC40MTUtOS44OS05Ljg4MS05Ljg5Mi01LjQ1MiAwLTkuODg3IDQuNDM0LTkuODg5IDkuODg0YTkuODYgOS44NiAwIDAgMCAxLjUxIDUuMjZsLS45OTkgMy42NDggMy43MzgtLjk3OXptMTEuMzg3LTUuNDY0Yy0uMDc0LS4xMjQtLjI3Mi0uMTk4LS41Ny0uMzQ3LS4yOTctLjE0OS0xLjc1OC0uODY4LTIuMDMxLS45NjctLjI3Mi0uMDk5LS40Ny0uMTQ5LS42NjkuMTQ5LS4xOTguMjk3LS43NjguOTY3LS45NDEgMS4xNjUtLjE3My4xOTgtLjM0Ny4yMjMtLjY0NC4wNzQtLjI5Ny0uMTQ5LTEuMjU1LS40NjItMi4zOS0xLjQ3NS0uODgzLS43ODgtMS40OC0xLjc2MS0xLjY1My0yLjA1OS0uMTczLS4yOTctLjAxOC0uNDU4LjEzLS42MDYuMTM0LS4xMzMuMjk3LS4zNDcuNDQ2LS41MjEuMTUxLS4xNzIuMi0uMjk2LjMtLjQ5NS4wOTktLjE5OC4wNS0uMzcyLS4wMjUtLjUyMS0uMDc1LS4xNDgtLjY2OS0xLjYxMS0uOTE2LTIuMjA2LS4yNDItLjU3OS0uNDg3LS41MDEtLjY2OS0uNTFsLS41Ny0uMDFjLS4xOTggMC0uNTIuMDc0LS43OTIuMzcycy0xLjA0IDEuMDE2LTEuMDQgMi40NzkgMS4wNjUgMi44NzYgMS4yMTMgMy4wNzRjLjE0OS4xOTggMi4wOTUgMy4yIDUuMDc2IDQuNDg3LjcxLjMwNiAxLjI2My40ODkgMS42OTQuNjI2LjcxMi4yMjYgMS4zNi4xOTQgMS44NzIuMTE4LjU3MS0uMDg1IDEuNzU4LS43MTkgMi4wMDYtMS40MTMuMjQ4LS42OTUuMjQ4LTEuMjkuMTczLTEuNDE0eiIvPjwvc3ZnPg==") center/contain no-repeat;
}
.btn .wa-ico, .btn-wa-lg .wa-ico { margin-right: 2px; }

/* Logo: imagen real (cuando el restaurador sube logo) */
.logo-img {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.logo.has-img .logo-icon,
.logo.has-img .logo-text { display: none; }
footer .logo-img { height: 34px; }

/* Slider: fotos reales (cubren el placeholder cuando hay imagen) */
.slider-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}
.slider-img-after .slider-photo { z-index: 4; }

/* Miniaturas selectoras de pares antes/después */
.ba-thumbs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.ba-thumb {
  position: relative;
  width: 84px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
  background: var(--bg-card);
  padding: 0;
}
.ba-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ba-thumb:hover { transform: translateY(-2px); }
.ba-thumb.active { border-color: var(--cta); }
.ba-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  font-size: 0.62rem;
  font-weight: 600;
  text-align: center;
  padding: 2px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ícono dentro del botón flotante de WhatsApp */
#wa-float { color: #fff; }
#wa-float .wa-ico { width: 30px; height: 30px; vertical-align: middle; }
