/* ═══════════════════════════════════════════════════════════════
   Secretos Estética Corporal y Facial — sitio público
   Único CSS del sitio. Crema · dorado · petróleo.
   Sin Tailwind: lo que el sitio viejo tomaba de Tailwind (reset y
   contenedor) está escrito aquí para que el hero se vea idéntico.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Paleta (mismos valores que el sitio viejo) ────────────────── */
:root {
  --sec-petroleo: #0E4A55;
  --sec-petroleo-osc: #08333B;
  --sec-oro: #B8893A;
  --sec-oro-claro: #C9A35C;
  --sec-oro-texto: #8A6424;
  --sec-crema: #FBF7F0;
  --sec-crema-2: #F6EEE2;
  --sec-tinta: #2B2622;
  --sec-tinta-2: #5E554C;
  --sec-oro-degradado: linear-gradient(135deg, #C9A35C 0%, #B8893A 45%, #8A6424 100%);
}
:root {
  --sec-tarjeta: #FFFDF9;
  --sec-borde: #E8DCC8;
  --sec-borde-2: #CBB89A;
  --sec-oro-suave: #F4E9D4;
  --sec-wa: #25D366;
  --sec-wa-texto: #06301A;
  --sec-error: #A3261B;
  --fuente-titulo: 'Cormorant Garamond', 'Playfair Display', serif;
  --fuente-texto: 'Inter', sans-serif;
  --sombra-suave: 0 2px 4px rgba(14, 74, 85, 0.04), 0 10px 40px rgba(14, 74, 85, 0.08);
  --sombra-chica: 0 1px 3px rgba(14, 74, 85, 0.03), 0 4px 16px rgba(14, 74, 85, 0.06);
}

/* ─── Base (lo que daba el preflight de Tailwind) ───────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; padding-top: 80px;               /* barra superior fija */
  font-family: var(--fuente-texto); font-size: 16px;
  background-color: var(--sec-crema); color: var(--sec-tinta);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (max-width: 767px) {
  body { padding-bottom: 64px; }              /* barra inferior del teléfono */
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: transparent; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(184, 137, 58, 0.25); }
:focus-visible { outline: 3px solid rgba(184, 137, 58, 0.55); outline-offset: 3px; }

main { display: block; width: 100%; overflow-x: hidden; overflow-x: clip; }

/* Íconos Material Symbols (solo los glifos usados; ver ICONOS en header.php) */
.material-symbols-outlined { font-size: 24px; line-height: 1; user-select: none; }

/* Texto solo para lectores de pantalla */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ─── Contenedor (= max-w-site mx-auto px-container-padding w-full) ─ */
.contenedor { width: 100%; max-width: 1440px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.contenedor-angosto { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ─── Hero: base que el sitio viejo tenía antes del bloque 2026 ──── */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-grid { z-index: 10; }

/* ═══════════════════════════════════════════════════════════════
   Hero Yessika — COPIA TEXTUAL de styles.css del sitio viejo
   (bloque "Estilo 2026"). No editar sin comparar con el original.
   ═══════════════════════════════════════════════════════════════ */
/* ─── Hero Yessika ─────────────────────────────────────────────── */
.hero-yessika { min-height: clamp(600px, 50vw, 780px); overflow: hidden; background: var(--sec-crema); }
.hero-foto { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; display: block; }
.hero-yessika .hero-overlay {
  background: linear-gradient(90deg,
    rgba(251, 247, 240, 0.97) 0%,
    rgba(251, 247, 240, 0.92) 32%,
    rgba(251, 247, 240, 0.60) 46%,
    rgba(251, 247, 240, 0.12) 58%,
    rgba(251, 247, 240, 0) 66%);
}
.hero-grid { position: relative; padding-top: 28px; padding-bottom: 36px; }
.hero-text { position: relative; z-index: 2; width: min(100%, 660px); display: flex; flex-direction: column; align-items: flex-start; }

.hero-logo { width: clamp(200px, 17vw, 260px); height: auto; margin: 0 0 0 -6px; }
.hero-adorno { display: flex; align-items: center; gap: 14px; width: min(100%, 340px); color: var(--sec-oro); margin: 2px 0 16px; }
.hero-adorno span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--sec-oro), transparent); }
.hero-adorno i { font-style: normal; font-size: 18px; line-height: 1; }
.hero-adorno-loto { width: min(100%, 460px); margin: 14px 0 10px; }

.hero-titulo {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600; text-transform: uppercase;
  font-size: clamp(40px, 4.5vw, 74px); line-height: 0.98; white-space: nowrap; letter-spacing: 0.005em;
  color: var(--sec-petroleo); margin: 0;
}
.hero-titulo-linea { display: block; }
.hero-titulo-oro { background: var(--sec-oro-degradado); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--sec-oro); }

.hero-sub {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; font-weight: 500;
  color: var(--sec-tinta); margin: 14px 0 0; max-width: 40ch;
}
.hero-experiencia {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--sec-tinta); margin: 0 0 20px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 9999px; text-decoration: none;
  font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 18px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; border: 1.5px solid var(--sec-oro);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.hero-btn .material-symbols-outlined { font-size: 22px; transition: transform .2s ease; }
.hero-btn:hover .material-symbols-outlined { transform: translateX(3px); }
.hero-btn:focus-visible { outline: 3px solid rgba(184, 137, 58, 0.55); outline-offset: 3px; }
.hero-btn-principal { background: var(--sec-petroleo); color: #FFFFFF; box-shadow: 0 10px 26px -10px rgba(8, 51, 59, 0.55); }
.hero-btn-principal:hover { background: var(--sec-petroleo-osc); transform: translateY(-2px); }
.hero-btn-secundario { background: rgba(255, 253, 249, 0.92); color: var(--sec-petroleo); }
.hero-btn-secundario:hover { background: #FFFFFF; transform: translateY(-2px); }

.hero-wa-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 2px;
  font-size: 14px; font-weight: 600; color: var(--sec-oro-texto); text-decoration: none;
}
.hero-wa-link .material-symbols-outlined { font-size: 20px; }
.hero-wa-link:hover { color: var(--sec-petroleo); }

.hero-firma {
  position: absolute; z-index: 2; right: 3%; top: 34%;
  display: flex; flex-direction: column; gap: 2px; margin: 0;
  padding-left: 18px; border-left: 2px solid var(--sec-oro);
}
.hero-firma strong { font-family: 'Cormorant Garamond', 'Playfair Display', serif; font-size: 30px; font-weight: 600; color: var(--sec-petroleo); line-height: 1.1; }
.hero-firma span { font-size: 15px; color: var(--sec-tinta); font-weight: 500; }

/* Final del hero: la foto se desvanece en el crema de la sección siguiente (sin corte duro) */
.hero-yessika::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none;
  height: clamp(140px, 16vw, 260px);
  background: linear-gradient(180deg,
    rgba(251, 247, 240, 0) 0%,
    rgba(251, 247, 240, 0.35) 30%,
    rgba(251, 247, 240, 0.75) 60%,
    rgba(251, 247, 240, 0.95) 85%,
    var(--sec-crema) 100%);
}

/* Pantallas medianas: la firma baja para no tocar la cara */
@media (max-width: 1279px) and (min-width: 1024px) {
  .hero-firma { top: auto; bottom: 7%; background: rgba(251, 247, 240, 0.85); padding: 10px 16px; border-radius: 0 12px 12px 0; }
  .hero-firma strong { font-size: 24px; }
  .hero-yessika .hero-overlay {
    background: linear-gradient(90deg, rgba(251, 247, 240, 0.97) 0%, rgba(251, 247, 240, 0.9) 42%, rgba(251, 247, 240, 0.45) 56%, rgba(251, 247, 240, 0) 70%);
  }
}

/* Teléfono y tableta: la misma composición que en computadora — foto de fondo con Yessika a la
   derecha, velo crema a la izquierda con logo, título y texto, y abajo los botones y la firma.
   El texto se limita a la columna izquierda; los botones ocupan todo el ancho al pie del hero. */
@media (max-width: 1023px) {
  .hero-yessika { align-items: stretch; min-height: 640px; min-height: max(640px, calc(100svh - 144px)); }
  .hero-foto img { object-position: 58% 0%; }
  .hero-yessika .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 247, 240, 0) 62%, rgba(251, 247, 240, 0.7) 80%, rgba(251, 247, 240, 0.94) 100%),
      linear-gradient(90deg,
        rgba(251, 247, 240, 0.97) 0%,
        rgba(251, 247, 240, 0.9) 38%,
        rgba(251, 247, 240, 0.55) 54%,
        rgba(251, 247, 240, 0.12) 68%,
        rgba(251, 247, 240, 0) 78%);
  }
  .hero-yessika::after { display: none; }
  /* static: la firma se posiciona respecto a la sección; flex: los botones bajan al pie */
  .hero-yessika .hero-grid { position: static; display: flex; flex-direction: column; padding-top: 20px; padding-bottom: 20px; }
  .hero-text { flex: 1; width: 100%; }
  .hero-text > :not(.hero-ctas):not(.hero-wa-link) { max-width: 60%; }

  .hero-logo { width: clamp(118px, 34vw, 200px); margin: 0 0 0 -4px; }
  .hero-adorno { width: 100%; gap: 10px; margin: 2px 0 12px; }
  .hero-adorno i { font-size: 14px; }
  .hero-titulo { white-space: normal; font-size: clamp(28px, 7.6vw, 52px); line-height: 1.02; }
  .hero-sub { font-size: clamp(15px, 4vw, 22px); line-height: 1.32; margin-top: 10px; }
  .hero-adorno-loto { margin: 10px 0 8px; }
  .hero-adorno-loto svg { width: 26px; height: 15px; }
  .hero-experiencia { font-size: clamp(9.5px, 2.5vw, 12px); line-height: 1.6; letter-spacing: 0.16em; margin: 0; }
  .hero-ctas { margin-top: auto; padding-top: 18px; width: 100%; flex-direction: column; gap: 10px; }
  .hero-btn { width: 100%; min-height: 50px; padding: 0 20px; font-size: 16px; }
  .hero-wa-link { align-self: center; margin-top: 6px; font-size: 13px; }

  .hero-firma {
    top: auto; right: 16px; bottom: 192px;
    padding: 8px 14px; background: rgba(251, 247, 240, 0.88); border-radius: 0 12px 12px 0;
  }
  .hero-firma strong { font-size: 19px; }
  .hero-firma span { font-size: 12px; }
}
/* Tableta: más aire, botones lado a lado y la firma un poco más grande */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-yessika { min-height: max(680px, calc(100svh - 80px)); }
  .hero-foto img { object-position: 54% 0%; }
  .hero-yessika .hero-grid { padding-top: 32px; padding-bottom: 32px; }
  .hero-text > :not(.hero-ctas):not(.hero-wa-link) { max-width: 58%; }
  .hero-ctas { flex-direction: row; }
  .hero-btn { width: auto; }
  .hero-wa-link { align-self: flex-start; }
  .hero-firma { right: 24px; bottom: 150px; padding: 10px 16px; }
  .hero-firma strong { font-size: 24px; }
  .hero-firma span { font-size: 14px; }
}

/* ─── Promoción del CRM (Inicio): panel dividido ────────────────────
   Izquierda: el flyer nítido sobre una versión muy desenfocada de sí mismo,
   así el panel toma los colores de cualquier flyer. Derecha: el texto sobre
   crema, en petróleo. El flyer se abre en grande (modal en site.js). */
.promo { position: relative; z-index: 4; padding: 40px 0 8px; }
.promo-tarjeta {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border-radius: 28px; background: var(--sec-tarjeta);
  box-shadow: inset 0 0 0 1px rgba(201, 163, 92, 0.45), 0 30px 60px -34px rgba(43, 38, 34, 0.45);
}
.promo-visual {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; padding: 32px 24px;
  background: #2B2622;
}
.promo-ambiente {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: blur(40px) saturate(1.15); transform: scale(1.3);
}
/* velo: oscurece un poco y suaviza el borde con el panel crema */
.promo-visual::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(20, 12, 8, 0.12) 0%, rgba(20, 12, 8, 0.38) 100%);
}
.promo-flyer {
  position: relative; display: block; width: min(100%, 230px);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201, 163, 92, 0.75), 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 10px 20px -10px rgba(0, 0, 0, 0.35);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.promo-flyer:hover { translate: 0 -5px; box-shadow: 0 0 0 1px rgba(201, 163, 92, 1), 0 38px 70px -22px rgba(0, 0, 0, 0.65), 0 12px 24px -10px rgba(0, 0, 0, 0.4); }
.promo-flyer img { width: 100%; height: auto; }
.promo-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 253, 249, 0.94); color: var(--sec-petroleo); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.promo-zoom .material-symbols-outlined { font-size: 22px; }
.promo-texto { padding: 30px 24px 32px; }
.promo-etiqueta {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sec-oro-texto);
}
.promo-etiqueta .material-symbols-outlined { font-size: 16px; }
.promo-texto h2 {
  margin-top: 10px; font-family: var(--fuente-titulo); font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08; font-weight: 600; color: var(--sec-petroleo);
}
.promo-linea { width: 56px; height: 2px; margin: 18px 0; border-radius: 9999px; background: var(--sec-oro-degradado); }
.promo-texto p { max-width: 32rem; font-size: 16px; line-height: 1.65; color: var(--sec-tinta-2); }
.promo-texto .promo-vigencia {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 14px;
  border-radius: 14px; background: rgba(184, 137, 58, 0.1); border: 1px solid rgba(184, 137, 58, 0.3);
  font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--sec-oro-texto);
}
.promo-vigencia strong { color: var(--sec-petroleo); white-space: nowrap; }
.promo-vigencia .material-symbols-outlined { flex: none; font-size: 18px; }
.svg-wa-verde { color: #1DAE54; }
.promo-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.promo-botones .btn { flex: 1 1 auto; }   /* teléfono: a todo el ancho */
.promo-texto .promo-nota { margin-top: 14px; font-size: 13px; color: var(--sec-tinta-2); }
@media (min-width: 768px) {
  .promo { padding-top: 56px; }
  .promo-tarjeta { grid-template-columns: 45fr 55fr; }
  .promo-visual { padding: 48px 32px; }
  .promo-flyer { width: min(100%, 280px); }
  .promo-texto { align-self: center; padding: 48px 44px; }
  .promo-botones .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .promo-flyer { width: min(100%, 300px); }
  .promo-texto { padding: 56px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-btn, .promo-flyer { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Fin de la copia textual
   ═══════════════════════════════════════════════════════════════ */

/* Único cambio sobre el hero original: en pantallas grandes la firma no tenía
   fondo y se perdía sobre las orquídeas y las luces doradas. Lleva el mismo velo
   crema que ya tenía en pantallas medianas y en teléfono. */
@media (min-width: 1280px) {
  .hero-firma {
    padding: 12px 20px; border-radius: 0 12px 12px 0;
    background: rgba(251, 247, 240, 0.88);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px -14px rgba(43, 38, 34, 0.35);
  }
}

/* Inicio en computadora: el hero sube 80 px por detrás de la barra transparente.
   Texto y firma no se mueven (están dentro de .hero-grid). La foto se recoloca
   para quedar exactamente donde estaba: con el cuadro 80 px más alto,
   "30% + 56px" da lo mismo que el "30%" original (0,3 × (alto − foto) + 80).
   En teléfono y tableta no aplica: ahí la foto ya empieza en su borde superior. */
@media (min-width: 1024px) {
  .hero-bajo-nav { margin-top: -80px; padding-top: 80px; min-height: calc(clamp(600px, 50vw, 780px) + 80px); }
  .hero-bajo-nav .hero-foto img { object-position: 72% calc(30% + 56px); }
  /* Velo crema detrás de los enlaces: se leen sobre la foto y no se nota dónde empieza la imagen */
  .hero-bajo-nav::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 80px; pointer-events: none;
    background: linear-gradient(180deg, rgba(251, 247, 240, 0.92) 0%, rgba(251, 247, 240, 0.6) 45%, rgba(251, 247, 240, 0) 100%);
  }
}
/* Entre 1024 y 1279 px la foto no alcanza a llenar los 80 px de arriba (empieza
   hasta 56 px más abajo): el velo es más denso para que no se vea el borde. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-bajo-nav::before {
    background: linear-gradient(180deg, rgba(251, 247, 240, 0.96) 0%, rgba(251, 247, 240, 0.9) 72%, rgba(251, 247, 240, 0) 100%);
  }
}

/* Entrada del hero (antes con GSAP): los bloques del texto suben en cascada
   y la firma entra desde la derecha. Mismos tiempos que el sitio viejo.
   "backwards" y no "both": al terminar, la animación se suelta y el texto
   vuelve a dibujarse igual que en el sitio viejo (con "both" queda en una
   capa aparte y el navegador lo suaviza distinto, se ve más claro). */
@keyframes hero-entrada { from { opacity: 0; transform: translateY(var(--hero-dy, 28px)); } }
@keyframes hero-firma-entrada { from { opacity: 0; transform: translateX(20px); } }
.hero-text > * { animation: hero-entrada 0.7s cubic-bezier(0.215, 0.61, 0.355, 1) backwards; }
.hero-text > :nth-child(1) { animation-delay: 0.20s; }
.hero-text > :nth-child(2) { animation-delay: 0.35s; }
.hero-text > :nth-child(3) { animation-delay: 0.50s; }
.hero-text > :nth-child(4) { animation-delay: 0.65s; }
.hero-text > :nth-child(5) { animation-delay: 0.80s; }
.hero-text > :nth-child(6) { animation-delay: 0.95s; }
.hero-text > :nth-child(7) { animation-delay: 1.10s; }
.hero-text > :nth-child(8) { animation-delay: 1.25s; }
.hero-firma { animation: hero-firma-entrada 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s backwards; }
@media (max-width: 767px) {
  .hero-text > * { --hero-dy: 18px; animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  .hero-text > :nth-child(1) { animation-delay: 0.15s; }
  .hero-text > :nth-child(2) { animation-delay: 0.27s; }
  .hero-text > :nth-child(3) { animation-delay: 0.39s; }
  .hero-text > :nth-child(4) { animation-delay: 0.51s; }
  .hero-text > :nth-child(5) { animation-delay: 0.63s; }
  .hero-text > :nth-child(6) { animation-delay: 0.75s; }
  .hero-text > :nth-child(7) { animation-delay: 0.87s; }
  .hero-text > :nth-child(8) { animation-delay: 0.99s; }
  .hero-firma { animation: none; }
}

/* Logo animado del hero (secretos-logo-animado.svg, en vez de hero-brand.png).
   - Sin la entrada en cascada: el SVG empieza a dibujarse al cargar, y si
     está oculto en ese momento se pierde el comienzo.
   - 50 % más alto que el PNG (pedido del usuario): el PNG medía de alto 0,6 de
     su ancho; este mide 0,9 de ese mismo ancho. El SVG es más apaisado
     (1650×660, lleva "by Yessika"), por eso el ancho se multiplica por 1650/660.
   - En teléfono y tableta puede usar toda la columna, no solo el 58–60 % que
     usa el texto para no tapar la foto. */
.hero-text > .hero-logo { animation: none; }
.hero-logo { width: calc(clamp(200px, 17vw, 260px) * 0.9 * 1650 / 660); }
@media (max-width: 1023px) {
  .hero-logo { width: calc(clamp(118px, 34vw, 200px) * 0.9 * 1650 / 660); }
  .hero-yessika .hero-text > .hero-logo { max-width: 100%; }
}

/* ─── Modal de la promoción (<dialog>) ──────────────────────────── */
.promo-modal {
  width: min(560px, calc(100vw - 48px)); max-width: none; max-height: 90vh;
  padding: 0; border: 0; border-radius: 22px; overflow: hidden;
  background: #FFFFFF; color: var(--sec-tinta);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.promo-modal::backdrop { background: rgba(30, 22, 14, 0.82); backdrop-filter: blur(4px); }
.promo-modal[open] { display: flex; flex-direction: column; animation: promo-modal-entrada 0.3s ease; }
@keyframes promo-modal-entrada { from { opacity: 0; transform: scale(0.94); } }
.promo-modal-img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; background: var(--sec-crema); }
.promo-modal-pie {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px 16px; padding: 16px 20px;
}
.promo-modal-titulo { font-family: var(--fuente-titulo); font-size: 20px; font-weight: 600; color: var(--sec-tinta); line-height: 1.2; }
.promo-modal-cerrar {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92); color: var(--sec-tinta);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.promo-modal-cerrar:hover { background: #FFFFFF; }

/* ═══════════════════════════════════════════════════════════════
   Componentes comunes
   ═══════════════════════════════════════════════════════════════ */

/* ─── Botones: píldora con borde dorado, como los del hero ──────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 28px; border-radius: 9999px;
  font-family: var(--fuente-texto); font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0.04em;
  text-align: center; border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn .material-symbols-outlined { font-size: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primario { background: var(--sec-petroleo); color: #FFFFFF; border-color: var(--sec-oro); box-shadow: 0 10px 26px -12px rgba(8, 51, 59, 0.55); }
.btn-primario:hover { background: var(--sec-petroleo-osc); }
.btn-secundario { background: var(--sec-tarjeta); color: var(--sec-petroleo); border-color: var(--sec-oro); }
.btn-secundario:hover { background: #FFFFFF; }
.btn-wa { background: var(--sec-wa); color: var(--sec-wa-texto); border-color: #1DAE54; }
.btn-wa:hover { background: #2EE070; }
.btn-claro { background: #FFFFFF; color: var(--sec-petroleo); border-color: #FFFFFF; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.45); }
.btn-claro:hover { background: var(--sec-crema); }
.btn-contorno-claro { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.6); }
.btn-contorno-claro:hover { background: rgba(255, 255, 255, 0.1); }
.btn-chico { min-height: 42px; padding: 10px 18px; font-size: 13px; }
.btn-bloque { width: 100%; }
.svg-wa { width: 20px; height: 20px; flex: none; }

/* Enlace de texto con flecha */
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sec-petroleo); transition: gap 0.2s ease; }
.enlace-flecha .material-symbols-outlined { font-size: 18px; }
.enlace-flecha:hover { gap: 10px; }

/* ─── Secciones ─────────────────────────────────────────────────── */
.seccion { padding-top: 72px; padding-bottom: 72px; }
.seccion-alt { background: var(--sec-crema-2); }
@media (min-width: 768px) {
  .seccion { padding-top: 112px; padding-bottom: 112px; }
}
.encabezado-seccion { max-width: 42rem; margin: 0 auto 48px; text-align: center; }
.encabezado-seccion.sin-margen { margin-bottom: 0; }
.encabezado-seccion .cabecera-acciones { justify-content: center; }
.etiqueta {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sec-oro-texto);
}
.titulo-seccion {
  font-family: var(--fuente-titulo); font-size: clamp(32px, 4.4vw, 40px); line-height: 1.15;
  font-weight: 600; color: var(--sec-tinta);
}
.section-divider {
  width: 56px; height: 3px; border-radius: 9999px; margin: 14px auto 0;
  background: linear-gradient(90deg, #0E4A55, #B8893A);
}
.section-divider-left { margin-left: 0; }
.texto-intro { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--sec-tinta-2); }
.lema {
  margin-top: 18px; font-family: var(--fuente-titulo); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.6vw, 26px); line-height: 1.3; color: var(--sec-oro-texto);
}

/* Encabezado de las páginas internas */
.cabecera-pagina {
  position: relative; overflow: hidden; padding: 56px 0 48px;
  background: linear-gradient(135deg, #FBF7F0 0%, #F1E6D5 100%);
  border-bottom: 1px solid var(--sec-borde);
}
.cabecera-pagina::after {
  content: ""; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 137, 58, 0.16), transparent 70%); pointer-events: none;
}
.cabecera-pagina .contenedor { position: relative; z-index: 1; }
.cabecera-pagina h1 {
  margin-top: 8px; font-family: var(--fuente-titulo); font-weight: 600;
  font-size: clamp(40px, 6vw, 60px); line-height: 1.05; color: var(--sec-petroleo);
}
.cabecera-pagina .texto-intro { max-width: 40rem; font-size: 17px; }
.cabecera-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 768px) {
  .cabecera-pagina { padding: 72px 0 64px; }
}

/* Encabezado con foto de fondo (Servicios), con el mismo recurso que el hero de
   Inicio: la foto ocupa todo el ancho y un velo crema a la izquierda deja leer
   el texto. En teléfono la foto es una franja arriba que se funde en crema. */
.cabecera-con-fondo {
  display: flex; align-items: center; min-height: clamp(380px, 30vw, 440px);
  padding: 44px 0; background: var(--sec-crema);
}
.cabecera-con-fondo::after { display: none; }   /* sin el brillo dorado de las otras cabeceras */
.cabecera-fondo { position: absolute; inset: 0; z-index: 0; }
.cabecera-fondo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* Computadora: la foto ocupa solo el 62 % derecho (menos zoom, se ve la camilla);
   a la izquierda el texto queda sobre crema y el velo funde el borde de la foto. */
@media (min-width: 1280px) {
  .cabecera-fondo {
    left: 38%;
    /* el borde izquierdo de la foto se desvanece en un degradado largo */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 45%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 18%, #000 45%);
  }
  .cabecera-fondo img { object-position: 50% 70%; }
  .cabecera-con-fondo::before {
    background: linear-gradient(90deg,
      var(--sec-crema) 0%, var(--sec-crema) 38%,
      rgba(251, 247, 240, 0.7) 44%, rgba(251, 247, 240, 0.15) 54%, rgba(251, 247, 240, 0) 62%);
  }
}
.cabecera-con-fondo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(251, 247, 240, 0.97) 0%,
    rgba(251, 247, 240, 0.93) 30%,
    rgba(251, 247, 240, 0.62) 45%,
    rgba(251, 247, 240, 0.14) 60%,
    rgba(251, 247, 240, 0) 70%);
}
.cabecera-con-fondo .contenedor { z-index: 2; }
.cabecera-texto { max-width: 620px; }
/* 1024–1279: la foto se agranda hacia la derecha (125 %) para que el letrero
   de la cabina no quede detrás del párrafo, y el velo es más largo. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .cabecera-fondo img { width: 125%; max-width: none; }
  .cabecera-con-fondo::before {
    background: linear-gradient(90deg,
      rgba(251, 247, 240, 0.97) 0%, rgba(251, 247, 240, 0.93) 38%,
      rgba(251, 247, 240, 0.6) 52%, rgba(251, 247, 240, 0.12) 64%, rgba(251, 247, 240, 0) 72%);
  }
  .cabecera-texto { max-width: 540px; }
}
/* Teléfono y tableta: la foto es una franja arriba que se funde en crema y el texto va debajo */
@media (max-width: 1023px) {
  .cabecera-con-fondo { --banda: clamp(230px, 38vw, 300px); display: block; min-height: 0; padding: calc(var(--banda) - 40px) 0 32px; }
  .cabecera-fondo { bottom: auto; height: var(--banda); }
  .cabecera-fondo img { object-position: 50% 50%; }
  .cabecera-con-fondo::before {
    bottom: auto; height: var(--banda);
    background: linear-gradient(180deg,
      rgba(251, 247, 240, 0) 0%, rgba(251, 247, 240, 0) 55%,
      rgba(251, 247, 240, 0.85) 86%, var(--sec-crema) 100%);
  }
}
/* Teléfono: cabecera compacta; los dos botones van en una fila si caben (≥ ~380 px) */
@media (max-width: 767px) {
  .cabecera-con-fondo h1 { font-size: 36px; }
  .cabecera-con-fondo .texto-intro { margin-top: 14px; font-size: 15px; }
  .cabecera-con-fondo .cabecera-acciones { gap: 8px; margin-top: 20px; }
  .cabecera-con-fondo .cabecera-acciones .btn { gap: 6px; min-height: 44px; padding: 10px 14px; font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }
  .ocultar-movil { display: none; }
}

/* ─── Aparición suave al hacer scroll (site.js) ─────────────────── */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-grupo > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-grupo > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-grupo > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-grupo > .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════
   Barra superior, barra inferior (teléfono), WhatsApp y footer
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; z-index: 50; width: 100%;
  background: rgba(251, 247, 240, 0.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(14, 74, 85, 0.06), 0 4px 24px rgba(14, 74, 85, 0.08); }
.nav-barra { height: 79px; display: flex;   /* 79 + 1 de borde = 80, como la barra vieja */ align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { flex: none; transition: opacity 0.3s ease, visibility 0.3s; }
/* Inicio, arriba del todo: barra transparente y sin logo (ya está en el hero).
   Al bajar, site.js agrega .scrolled y vuelve el fondo crema con el logo.
   Va bajo .js: sin JavaScript nadie la volvería sólida, así que queda normal. */
.js .nav-transparente:not(.scrolled) {
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent;
}
.js .nav-transparente:not(.scrolled) .nav-logo { opacity: 0; visibility: hidden; }
.nav-logo img { width: auto; height: 48px; }
.nav-enlaces { display: none; align-items: center; gap: 4px; }
.nav-enlace {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0.04em;
  color: var(--sec-tinta-2); transition: color 0.15s ease, background 0.15s ease;
}
.nav-enlace:hover { color: var(--sec-petroleo); background: rgba(26, 100, 112, 0.1); }
.nav-enlace.is-activo { color: var(--sec-petroleo); box-shadow: inset 0 -2px 0 var(--sec-petroleo); border-radius: 0; }
.nav-cta { display: none; }
.nav-tel {
  width: 44px; height: 44px; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--sec-petroleo); border: 1.5px solid var(--sec-oro); background: var(--sec-tarjeta);
}
.nav-tel .material-symbols-outlined { font-size: 22px; }
@media (min-width: 768px) {
  .nav-enlaces { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-tel { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-enlace { padding: 8px 7px; letter-spacing: 0.02em; }   /* 5 enlaces + botón caben desde 768 */
  .nav-cta { padding: 10px 16px; white-space: nowrap; }
}

/* Barra inferior: solo teléfono */
.nav-movil {
  position: fixed; left: 0; bottom: 0; z-index: 50; width: 100%;
  display: flex; align-items: stretch;
  height: calc(64px + env(safe-area-inset-bottom, 0px)); padding: 0 8px env(safe-area-inset-bottom, 0px);
  background: rgba(255, 253, 249, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid #EADCC6; box-shadow: 0 -4px 20px rgba(74, 52, 16, 0.08);
}
.nav-movil-item {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--sec-tinta-2); font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
}
.nav-movil-item .material-symbols-outlined { font-size: 22px; }
.nav-movil-item.is-activo { color: var(--sec-petroleo); }
.nav-movil-item.is-activo .material-symbols-outlined { font-variation-settings: 'FILL' 1; }
@media (min-width: 768px) {
  .nav-movil { display: none; }
}

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed; right: 20px; bottom: 80px; z-index: 50;
  width: 56px; height: 56px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sec-wa); color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  /* aparece a los 1.5 s (como en el sitio viejo) y luego late */
  animation: wa-aparece 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s backwards, wa-pulse 2.5s 2s infinite;
  transition: transform 0.2s ease;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.1); }
@keyframes wa-aparece { from { opacity: 0; transform: scale(0.5); } }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
@media (min-width: 768px) {
  .wa-fab { right: 24px; bottom: 24px; }
}

/* Footer */
.pie { background: var(--sec-crema-2); border-top: 1px solid var(--sec-borde); padding: 64px 0 32px; }
.pie-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.pie-logo img { width: auto; height: 56px; }
.pie-frase { margin-top: 16px; max-width: 22rem; font-size: 15px; line-height: 1.6; color: var(--sec-tinta-2); }
.pie .btn { margin-top: 20px; }
.pie-titulo { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sec-oro-texto); }
.pie-lista { display: grid; gap: 10px; font-size: 14px; color: var(--sec-tinta-2); }
.pie-lista a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.15s ease; }
.pie-lista a:hover { color: var(--sec-petroleo); }
.pie-lista .material-symbols-outlined { font-size: 18px; color: var(--sec-petroleo); }
.pie-horario { display: flex; justify-content: space-between; gap: 12px; }
.pie-horario span:last-child { color: var(--sec-tinta); font-weight: 500; }
.pie-legal {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--sec-borde);
  display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--sec-tinta-2);
}
.pie-legal p:first-child { color: var(--sec-oro-texto); }
@media (min-width: 768px) {
  .pie-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 32px; }
  .pie-legal { flex-direction: row; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════════
   Inicio
   ═══════════════════════════════════════════════════════════════ */

/* Nuestra Filosofía */
.filosofia-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.tarjeta-filosofia {
  position: relative; overflow: hidden; padding: 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--sec-tarjeta); border: 1px solid var(--sec-borde); border-radius: 20px;
  box-shadow: var(--sombra-suave);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tarjeta-filosofia::before {
  content: ""; position: absolute; top: -20px; right: -20px; width: 130px; height: 130px;
  background: radial-gradient(circle at top right, rgba(184, 137, 58, 0.08), transparent 70%);
  border-bottom-left-radius: 100%;
}
.tarjeta-filosofia:hover {
  box-shadow: 0 4px 8px rgba(14, 74, 85, 0.07), 0 20px 50px rgba(14, 74, 85, 0.13);
  border-color: rgba(14, 74, 85, 0.4);
}
.tarjeta-filosofia h3 { margin: 24px 0 12px; font-family: var(--fuente-titulo); font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--sec-tinta); }
.tarjeta-filosofia p { font-size: 14px; line-height: 1.65; color: var(--sec-tinta-2); }
.icono-caja {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #F4E9D4 0%, #EFE2C6 100%); color: var(--sec-petroleo);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icono-caja .material-symbols-outlined { font-size: 28px; font-variation-settings: 'FILL' 1; }
.icono-caja-oro { color: var(--sec-oro-texto); }
.icono-caja-petroleo { background: linear-gradient(135deg, #DCE9E6, #F4E9D4); }
.tarjeta-filosofia:hover .icono-caja { transform: scale(1.1) rotate(4deg); box-shadow: 0 4px 16px rgba(14, 74, 85, 0.2); }
@media (min-width: 768px) {
  .filosofia-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .filosofia-grid > :nth-child(2) { top: 20px; }   /* top y no transform: .reveal usa transform */
}

/* Nuestros Tratamientos (categorías) */
.categorias-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tarjeta-categoria {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 22px 12px 20px; border-radius: 18px;
  background: var(--sec-tarjeta); border: 1px solid #EADCC6; box-shadow: var(--sombra-chica);
  transition: translate 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* translate y no transform: .reveal ya usa transform */
.tarjeta-categoria:hover { translate: 0 -6px; border-color: var(--sec-oro); box-shadow: var(--sombra-suave); }
/* con 5 categorías en 2 columnas, la última ocupa el ancho completo */
.tarjeta-categoria:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tarjeta-categoria img { width: 80px; height: 80px; object-fit: contain; transition: transform 0.3s ease; }
.tarjeta-categoria .material-symbols-outlined.cat-icono { font-size: 64px; color: var(--sec-petroleo); font-variation-settings: 'FILL' 1; }
.tarjeta-categoria:hover img { transform: scale(1.08); }
.tarjeta-categoria h3 { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0.02em; color: var(--sec-tinta); }
.tarjeta-categoria .enlace-flecha { margin-top: auto; font-size: 13px; color: var(--sec-oro-texto); }
.centrado { margin-top: 40px; text-align: center; }
@media (min-width: 640px) {
  .categorias-grid { gap: 20px; }
  .tarjeta-categoria { padding: 28px 20px 24px; }
}
@media (min-width: 1024px) {
  .categorias-grid { grid-template-columns: repeat(5, 1fr); }
  .tarjeta-categoria:last-child:nth-child(odd) { grid-column: auto; }
}

/* Banda final "¿Lista para empezar…?" */
.banda-cta {
  position: relative; overflow: hidden; padding: 48px 24px; border-radius: 32px; text-align: center;
  background: linear-gradient(135deg, #0E4A55 0%, #0A3D47 55%, #08333B 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 163, 92, 0.45);
  color: #FFFFFF;
}
.banda-cta::before, .banda-cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.05); pointer-events: none;
}
.banda-cta::before { top: 0; left: 0; width: 256px; height: 256px; transform: translate(-50%, -50%); }
.banda-cta::after { right: 0; bottom: 0; width: 384px; height: 384px; transform: translate(33%, 33%); }
.banda-cta > * { position: relative; z-index: 1; }
.banda-cta h2 { font-family: var(--fuente-titulo); font-size: clamp(32px, 4.4vw, 40px); line-height: 1.15; font-weight: 600; }
.banda-cta p { max-width: 36rem; margin: 16px auto 0; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.banda-cta-botones { display: flex; flex-direction: column; justify-content: center; gap: 14px; margin-top: 32px; }
.banda-cta .banda-cta-tels { margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
.banda-cta .banda-cta-tels a:hover { color: #FFFFFF; }
@media (min-width: 640px) {
  .banda-cta-botones { flex-direction: row; }
}
@media (min-width: 768px) {
  .banda-cta { padding: 64px; }
}

/* ═══════════════════════════════════════════════════════════════
   Servicios
   ═══════════════════════════════════════════════════════════════ */
.chips-barra {
  position: sticky; top: 80px; z-index: 30;
  background: rgba(255, 253, 249, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid #EADCC6; box-shadow: 0 2px 12px rgba(74, 52, 16, 0.06);
}
.chips {
  display: flex; gap: 10px; overflow-x: auto; padding: 14px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; white-space: nowrap; padding: 9px 20px; border-radius: 9999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--sec-tinta-2); border: 1.5px solid var(--sec-borde); background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { color: var(--sec-petroleo); border-color: rgba(14, 74, 85, 0.35); background: var(--sec-crema); }
.chip.is-activo {
  color: var(--sec-petroleo-osc); border-color: rgba(14, 74, 85, 0.4);
  background: linear-gradient(135deg, #F4E9D4, #EFE2C6); box-shadow: 0 2px 8px rgba(14, 74, 85, 0.12);
}

.categoria-bloque + .categoria-bloque { margin-top: 72px; }
.categoria-cabecera { display: flex; align-items: center; gap: 16px; }
.categoria-cabecera img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.categoria-cabecera .material-symbols-outlined { font-size: 44px; color: var(--sec-petroleo); flex: none; }
.categoria-cabecera h2 { font-family: var(--fuente-titulo); font-size: clamp(28px, 3.4vw, 34px); line-height: 1.15; font-weight: 600; color: var(--sec-tinta); }
.categoria-descripcion { margin-top: 10px; max-width: 46rem; font-size: 15px; line-height: 1.6; color: var(--sec-tinta-2); }
.categoria-linea { height: 1px; margin: 20px 0 32px; background: linear-gradient(90deg, var(--sec-borde), transparent); }

.servicios-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1100px) {
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
}
.tarjeta-servicio {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--sec-tarjeta); border: 1px solid var(--sec-borde); border-radius: 20px;
  box-shadow: var(--sombra-chica);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.tarjeta-servicio:hover { border-color: rgba(14, 74, 85, 0.35); box-shadow: var(--sombra-suave); }
.tarjeta-servicio-foto { aspect-ratio: 16 / 10; background: var(--sec-crema-2); }
.tarjeta-servicio-foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta-servicio-cuerpo { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.tarjeta-servicio .icono-caja { margin-bottom: 18px; }
.tarjeta-servicio .icono-caja img { width: 36px; height: 36px; object-fit: contain; }
.tarjeta-servicio h3 { font-family: var(--fuente-titulo); font-size: 25px; line-height: 1.2; font-weight: 600; color: var(--sec-tinta); }
.tarjeta-servicio-desc { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--sec-tinta-2); }
.beneficios { display: grid; gap: 8px; margin-top: 16px; }
.beneficios li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--sec-tinta-2); }
.beneficios li::before { content: "✦"; flex: none; margin-top: 1px; font-size: 11px; color: var(--sec-oro-texto); }
.ver-mas { margin-top: 16px; }
.ver-mas summary {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--sec-petroleo);
}
.ver-mas summary::-webkit-details-marker { display: none; }
.ver-mas summary .material-symbols-outlined { font-size: 20px; transition: transform 0.2s ease; }
.ver-mas[open] summary .material-symbols-outlined { transform: rotate(180deg); }
.ver-mas-contenido { display: grid; gap: 12px; margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--sec-tinta-2); }
.ver-mas-contenido strong { color: var(--sec-tinta); font-weight: 600; }
/* El espaciador empuja los botones al pie de la tarjeta, con al menos 20px de aire */
.espaciador { flex: 1; min-height: 20px; }
.tarjeta-servicio-acciones {
  display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid #F1E6D5;
}
.tarjeta-servicio-acciones .btn { flex: 1 1 140px; }

.nota-legal {
  display: flex; gap: 12px; margin-top: 64px; padding: 22px 24px; border-radius: 16px;
  background: var(--sec-crema-2); border: 1px solid var(--sec-borde);
  font-size: 14px; line-height: 1.65; font-style: italic; color: var(--sec-tinta-2);
}
.nota-legal .material-symbols-outlined { flex: none; font-size: 22px; color: var(--sec-oro-texto); }
.vacio { padding: 48px 0; text-align: center; color: var(--sec-tinta-2); }
.vacio .btn { margin-top: 20px; }

/* ═══════════════════════════════════════════════════════════════
   Tienda (tienda.php, producto.php y la franja de Inicio)
   ═══════════════════════════════════════════════════════════════ */

/* Cabecera: texto a la izquierda y tres productos en marcos de arco a la derecha */
.cabecera-tienda .contenedor { display: grid; gap: 32px; align-items: center; }
.cabecera-tienda-fotos { display: none; }
@media (min-width: 900px) {
  .cabecera-tienda .contenedor { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 56px; }
  .cabecera-tienda-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
  .cabecera-tienda-fotos img {
    width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover;
    border-radius: 9999px 9999px 18px 18px; border: 1px solid rgba(201, 163, 92, 0.55);
    box-shadow: 0 18px 40px -22px rgba(14, 74, 85, 0.45);
  }
  .cabecera-tienda-fotos img:nth-child(2) { margin-bottom: 36px; }
}

.seccion-tienda { padding-top: 40px; }
.tienda-aviso {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 32px; padding: 14px 18px; border-radius: 14px;
  background: var(--sec-oro-suave); border: 1px solid #EADCC6;
  font-size: 14px; line-height: 1.55; color: var(--sec-tinta-2);
}
.tienda-aviso .material-symbols-outlined { flex: none; font-size: 22px; color: var(--sec-oro-texto); }
.tienda-aviso strong { font-weight: 600; color: var(--sec-tinta); }
@media (min-width: 768px) {
  .seccion-tienda { padding-top: 56px; }
}

/* Cuadrícula: 2 columnas en teléfono, 3 desde 1024 y 4 desde 1280.
   .productos-fila (Inicio y relacionados) siempre son 4 productos: 2 + 2 o una fila. */
.productos-grid, .productos-fila { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) {
  .productos-grid, .productos-fila { gap: 22px; }
}
@media (min-width: 1024px) {
  .productos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .productos-fila { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1280px) {
  .productos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Tarjeta: toda es un enlace a la ficha. translate y no transform: .reveal usa transform. */
.tarjeta-producto {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--sec-tarjeta); border: 1px solid var(--sec-borde); border-radius: 22px;
  box-shadow: var(--sombra-chica);
  transition: translate 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.tarjeta-producto:hover { translate: 0 -6px; border-color: rgba(184, 137, 58, 0.6); box-shadow: var(--sombra-suave); }
/* La foto crece si la fila es más alta (la tarjeta ancha lo es) y recorta solo
   los costados, que son fondo: el producto está centrado en todas las fotos. */
.tarjeta-producto-foto { position: relative; flex: 1 0 auto; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sec-crema-2); }
.tarjeta-producto-foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tarjeta-producto:hover .tarjeta-producto-foto img { transform: scale(1.05); }
.producto-sello {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 9999px;
  background: rgba(255, 253, 249, 0.92); border: 1px solid rgba(184, 137, 58, 0.5);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sec-petroleo);
}
.tarjeta-producto-cuerpo { display: flex; flex-direction: column; padding: 16px 14px 16px; }
.producto-marca { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sec-oro-texto); }
.producto-nombre { margin-top: 6px; font-family: var(--fuente-titulo); font-size: 20px; line-height: 1.15; font-weight: 600; color: var(--sec-tinta); }
.producto-subtitulo { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--sec-tinta-2); }
.producto-resumen { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--sec-tinta-2); }
.tarjeta-producto-pie {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #F1E6D5;
}
.producto-tamano { font-size: 12px; letter-spacing: 0.02em; color: var(--sec-tinta-2); }
.tarjeta-producto .enlace-flecha { display: none; flex: none; font-size: 13px; }
@media (min-width: 640px) {
  .tarjeta-producto-cuerpo { padding: 20px 22px 22px; }
  .producto-marca { font-size: 11px; }
  .producto-nombre { font-size: 24px; }
  .producto-subtitulo { font-size: 14px; }
  .tarjeta-producto .enlace-flecha { display: inline-flex; }
}

/* Tarjeta ancha (kit con foto horizontal): ocupa dos columnas y la foto se ve completa */
.producto-ancho { grid-column: span 2; }
.producto-ancho .tarjeta-producto-foto { flex: none; aspect-ratio: 4 / 3; }
.producto-ancho .producto-nombre { font-size: 24px; }
@media (min-width: 640px) {
  .producto-ancho .producto-nombre { font-size: 30px; }
}

/* Franja de confianza */
.confianza { display: grid; gap: 16px; margin-top: 64px; }
.confianza-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 18px;
  background: var(--sec-tarjeta); border: 1px solid var(--sec-borde);
}
.confianza-item h3 { font-family: var(--fuente-titulo); font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--sec-tinta); }
.confianza-item p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--sec-tinta-2); }
.confianza + .nota-legal { margin-top: 24px; }
@media (min-width: 768px) {
  .confianza { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* Inicio: la banda final ya da el aire de abajo */
.inicio-tienda { padding-bottom: 0; }

/* ─── Ficha del producto ────────────────────────────────────────── */
.ficha { padding: 24px 0 72px; }
.migas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 24px; font-size: 13px; color: var(--sec-tinta-2); }
.migas a { font-weight: 600; color: var(--sec-petroleo); }
.migas a:hover { text-decoration: underline; }
.migas .material-symbols-outlined { font-size: 16px; color: var(--sec-borde-2); }
.ficha-grid { display: grid; gap: 32px; align-items: start; }
.ficha-foto {
  overflow: hidden; border-radius: 26px; background: var(--sec-crema-2);
  border: 1px solid var(--sec-borde); box-shadow: var(--sombra-suave);
}
.ficha-foto img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .ficha { padding: 40px 0 112px; }
  .ficha-grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 56px; }
  .ficha-ancha { grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: 48px; }
  .ficha-foto { position: sticky; top: 104px; }
}
.ficha-info h1 {
  margin-top: 8px; font-family: var(--fuente-titulo); font-weight: 600;
  font-size: clamp(36px, 4.4vw, 52px); line-height: 1.05; color: var(--sec-petroleo);
}
.ficha-subtitulo {
  margin-top: 10px; font-family: var(--fuente-titulo); font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; color: var(--sec-oro-texto);
}
.ficha-datos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ficha-chip {
  padding: 6px 14px; border-radius: 9999px; border: 1px solid var(--sec-borde); background: var(--sec-tarjeta);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--sec-tinta-2);
}
.ficha-descripcion { margin-top: 22px; font-size: 16px; line-height: 1.75; color: var(--sec-tinta-2); }
.ficha-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ficha-acciones .btn { flex: 1 1 230px; }
.ficha-disponible { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--sec-tinta-2); }
.ficha-disponible .material-symbols-outlined { flex: none; font-size: 18px; color: var(--sec-oro-texto); }
.ficha-bloque { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--sec-borde); }
.ficha-bloque h2 { font-family: var(--fuente-titulo); font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--sec-tinta); }
.lista-check { display: grid; gap: 12px; margin-top: 16px; }
.lista-check li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--sec-tinta-2); }
.lista-check .material-symbols-outlined { flex: none; margin-top: 1px; font-size: 20px; color: var(--sec-petroleo); font-variation-settings: 'FILL' 1; }
.ficha-incluye { display: grid; gap: 10px; margin-top: 16px; }
.ficha-incluye li {
  position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 54px; border-radius: 14px;
  background: var(--sec-tarjeta); border: 1px solid var(--sec-borde);
}
/* ✦ y no un número: en el kit los nombres ya dicen el paso (y 5, 6 y 7 van juntos) */
.ficha-incluye li::before {
  content: "✦"; position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sec-oro-suave); color: var(--sec-oro-texto); font-size: 12px;
}
.ficha-incluye strong { font-size: 14px; font-weight: 600; color: var(--sec-tinta); }
.ficha-incluye span { font-size: 13.5px; line-height: 1.55; color: var(--sec-tinta-2); }
.ficha-acordeon { margin-top: 36px; border-top: 1px solid var(--sec-borde); }
.ficha-acordeon details { border-bottom: 1px solid var(--sec-borde); }
.ficha-acordeon summary {
  display: flex; align-items: center; gap: 10px; padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--sec-tinta);
}
.ficha-acordeon summary::-webkit-details-marker { display: none; }
.ficha-acordeon summary .material-symbols-outlined { font-size: 22px; color: var(--sec-oro-texto); }
.ficha-acordeon summary .material-symbols-outlined:last-child { margin-left: auto; color: var(--sec-petroleo); transition: transform 0.2s ease; }
.ficha-acordeon details[open] summary .material-symbols-outlined:last-child { transform: rotate(180deg); }
.ficha-acordeon details > :not(summary) { padding-bottom: 20px; font-size: 15px; line-height: 1.7; color: var(--sec-tinta-2); }
.ficha-ingredientes { display: grid; gap: 12px; }
.ficha-ingredientes dt { font-size: 14px; font-weight: 600; color: var(--sec-tinta); }
.ficha-ingredientes dd { font-size: 14px; line-height: 1.6; }
.ficha-pasos { display: grid; gap: 8px; padding-left: 20px; list-style: decimal; }
.ficha-aviso {
  display: flex; gap: 10px; margin-top: 28px; padding: 16px 18px; border-radius: 14px;
  background: var(--sec-crema-2); border: 1px solid var(--sec-borde);
  font-size: 13px; line-height: 1.6; font-style: italic; color: var(--sec-tinta-2);
}
.ficha-aviso .material-symbols-outlined { flex: none; font-size: 20px; color: var(--sec-oro-texto); }

/* ═══════════════════════════════════════════════════════════════
   Contacto
   ═══════════════════════════════════════════════════════════════ */
.contacto-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1024px) {
  .contacto-grid { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.tarjeta {
  background: var(--sec-tarjeta); border: 1px solid var(--sec-borde); border-radius: 24px;
  box-shadow: var(--sombra-suave); padding: 28px 22px;
}
@media (min-width: 640px) {
  .tarjeta { padding: 36px; }
}
.tarjeta-titulo { font-family: var(--fuente-titulo); font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--sec-tinta); }
.tarjeta-sub { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--sec-tinta-2); }
.lateral { display: grid; gap: 20px; }
.tarjeta-chica {
  padding: 24px; border-radius: 20px; background: var(--sec-tarjeta); border: 1px solid var(--sec-borde);
}
.tarjeta-chica h2, .tarjeta-chica h3 {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--fuente-titulo); font-size: 22px; line-height: 1.2; font-weight: 600; color: var(--sec-tinta);
}
.tarjeta-chica h2 .material-symbols-outlined, .tarjeta-chica h3 .material-symbols-outlined { font-size: 22px; color: var(--sec-oro-texto); font-variation-settings: 'FILL' 1; }
.lista-contacto { display: grid; gap: 14px; }
.lista-contacto a { display: flex; align-items: center; gap: 14px; }
.lista-contacto a:hover strong { color: var(--sec-petroleo); }
.lista-contacto small { display: block; font-size: 12px; color: var(--sec-tinta-2); }
.lista-contacto strong { display: block; font-size: 15px; font-weight: 600; color: var(--sec-tinta); transition: color 0.15s ease; }
.circulo {
  width: 44px; height: 44px; border-radius: 9999px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 74, 85, 0.08); color: var(--sec-petroleo);
}
.circulo .material-symbols-outlined { font-size: 22px; }
.circulo-wa { background: var(--sec-wa); color: #FFFFFF; }
.circulo-wa .svg-wa { width: 22px; height: 22px; }
.sucursal + .sucursal { margin-top: 16px; padding-top: 16px; border-top: 1px solid #F1E6D5; }
.sucursal strong { display: block; font-size: 16px; font-weight: 600; color: var(--sec-petroleo); }
.sucursal p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--sec-tinta-2); }
.sucursal .enlace-flecha { margin-top: 6px; font-size: 13px; }
.horario { display: grid; gap: 8px; font-size: 14px; }
.horario div { display: flex; justify-content: space-between; gap: 12px; }
.horario dt { color: var(--sec-tinta-2); }
.horario dd { font-weight: 600; color: var(--sec-tinta); text-align: right; }

/* ─── Formularios ───────────────────────────────────────────────── */
.formulario { display: grid; gap: 20px; margin-top: 24px; }
.fila-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) {
  .fila-2 { grid-template-columns: 1fr 1fr; }
}
.campo label, .campo-titulo {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sec-tinta-2);
}
.campo label .opcional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.campo label .req { color: var(--sec-error); }
.entrada {
  display: block; width: 100%; padding: 12px 16px; border-radius: 14px;
  background: #FFFFFF; border: 1.5px solid var(--sec-borde);
  font-size: 16px; line-height: 24px; color: var(--sec-tinta);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.entrada::placeholder { color: #8F8270; }
.entrada:focus { outline: none; border-color: var(--sec-petroleo); box-shadow: 0 0 0 3px rgba(14, 74, 85, 0.12); }
select.entrada {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230E4A55'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 22px;
}
textarea.entrada { resize: vertical; min-height: 140px; }
.entrada.con-error { border-color: var(--sec-error); }
.campo-ayuda { margin-top: 6px; font-size: 12px; color: var(--sec-tinta-2); }
.campo-error { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--sec-error); }
/* Campo trampa para bots: fuera de la vista, sin tabulación */
.campo-trampa { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.aviso {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  font-size: 14px; line-height: 1.55;
}
.aviso .material-symbols-outlined { flex: none; font-size: 20px; }
.aviso-error { background: #FBE9E6; color: #7A1D14; border: 1px solid #F0C4BD; }
.aviso-info { background: rgba(184, 137, 58, 0.08); color: var(--sec-tinta-2); border: 1px solid rgba(184, 137, 58, 0.25); }
.aviso-info .material-symbols-outlined { color: var(--sec-oro-texto); }
.oculto { display: none !important; }

.exito { text-align: center; padding: 16px 0 8px; }
.exito .circulo-grande {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; background: rgba(14, 74, 85, 0.1); color: var(--sec-petroleo);
}
.exito .circulo-grande .material-symbols-outlined { font-size: 44px; font-variation-settings: 'FILL' 1; }
.exito h2, .exito h1 { font-family: var(--fuente-titulo); font-size: 34px; line-height: 1.15; font-weight: 600; color: var(--sec-tinta); }
.exito p { max-width: 30rem; margin: 10px auto 0; font-size: 16px; line-height: 1.6; color: var(--sec-tinta-2); }
.exito .cabecera-acciones { justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   Gift cards
   ═══════════════════════════════════════════════════════════════ */
.gc-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .gc-grid { grid-template-columns: 1fr 1fr; }
  .gc-lateral { position: sticky; top: 112px; }
}
.gc-bloque-titulo { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sec-oro-texto); }
.gc-monto {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 14px; background: rgba(14, 74, 85, 0.05); border: 1px solid rgba(14, 74, 85, 0.18);
  font-size: 14px; color: var(--sec-tinta-2);
}
.gc-monto strong { font-family: var(--fuente-titulo); font-size: 26px; font-weight: 700; color: var(--sec-petroleo); }
.gc-vista-titulo { margin-bottom: 16px; text-align: center; font-family: var(--fuente-titulo); font-size: 24px; font-weight: 600; color: var(--sec-tinta); }
.gc-ventajas { display: grid; gap: 12px; margin-top: 28px; }
.gc-ventajas li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--sec-tarjeta); border: 1px solid #F1E6D5; }
.gc-ventajas .material-symbols-outlined { flex: none; font-size: 22px; color: var(--sec-petroleo); }
.gc-ventajas strong { display: block; font-size: 14px; font-weight: 600; color: var(--sec-tinta); }
.gc-ventajas small { display: block; font-size: 13px; color: var(--sec-tinta-2); }
.gc-prueba { padding: 10px 14px; border-radius: 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--sec-oro-texto); background: rgba(184, 137, 58, 0.1); border: 1px solid rgba(184, 137, 58, 0.3); }
.gc-card { max-width: 100%; }
.detalles { display: grid; gap: 12px; margin-top: 20px; font-size: 14px; }
.detalles div { display: flex; justify-content: space-between; gap: 16px; }
.detalles dt { color: var(--sec-tinta-2); }
.detalles dd { font-weight: 600; color: var(--sec-tinta); text-align: right; overflow-wrap: anywhere; }
.gc-confirmacion { display: grid; gap: 24px; }

/* ─── Certificado imprimible (giftcard-pdf.php) ─────────────────── */
body.pagina-certificado {
  min-height: 100vh; padding: 36px 20px 56px;
  display: flex; flex-direction: column; align-items: center;
  background: #1A1A1A; color: #FFFFFF;
}
.cert-acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.cert-acciones .btn-oro { background: var(--sec-oro); color: #1A1A1A; border-color: var(--sec-oro); }
.cert-acciones .btn-contorno-oro { background: transparent; color: var(--sec-oro); border-color: var(--sec-oro); }
.cert {
  position: relative; width: 100%; max-width: 660px; overflow: hidden; border-radius: 20px;
  background: #0D0D0D; box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.25), 0 32px 80px rgba(0, 0, 0, 0.7);
}
.cert::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1), transparent 70%); pointer-events: none;
}
.cert-cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 32px 32px 24px; }
.cert-logo { height: 36px; width: auto; margin-bottom: 8px; filter: brightness(0) invert(1) opacity(0.85); }
.cert-titulo { font-family: var(--fuente-titulo); font-style: italic; font-size: 44px; font-weight: 700; line-height: 1; color: var(--sec-oro); }
.cert-servicio { flex: none; min-width: 180px; max-width: 210px; padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(197, 160, 89, 0.55); }
.cert-etiqueta { margin-bottom: 5px; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.cert-servicio .cert-etiqueta { color: var(--sec-oro); }
.cert-servicio-nombre { font-size: 15px; font-weight: 600; line-height: 1.3; }
.cert-servicio ul { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(197, 160, 89, 0.3); display: grid; gap: 7px; }
.cert-servicio li { display: flex; gap: 7px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.78); }
.cert-servicio li::before { content: "✦"; color: var(--sec-oro); font-size: 10px; margin-top: 2px; }
.cert-linea { height: 1px; margin: 0 32px; background: linear-gradient(90deg, rgba(197, 160, 89, 0.7) 0%, rgba(197, 160, 89, 0.08) 100%); }
.cert-cuerpo { padding: 20px 32px; }
.cert-para { font-family: var(--fuente-titulo); font-size: 30px; font-weight: 600; line-height: 1.2; }
.cert-mensaje { margin-top: 8px; font-size: 13px; font-style: italic; line-height: 1.5; color: rgba(255, 255, 255, 0.62); }
.cert-pie { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 32px 12px; }
.cert-codigo { font-family: 'Courier New', monospace; font-size: 20px; font-weight: 700; letter-spacing: 0.14em; color: var(--sec-oro); }
.cert-validez { font-size: 11px; line-height: 1.7; text-align: right; color: rgba(255, 255, 255, 0.42); }
.cert-validez strong { color: rgba(255, 255, 255, 0.7); }
.cert-contacto { padding: 8px 32px 14px; font-size: 10px; letter-spacing: 0.08em; text-align: center; color: rgba(197, 160, 89, 0.6); }
.cert-detalles { padding: 28px 32px; background: #161616; }
.cert-detalles h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sec-oro); }
.cert-detalles h2::after { content: ""; flex: 1; height: 1px; background: rgba(197, 160, 89, 0.2); }
.cert-tabla { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border: 1px solid rgba(197, 160, 89, 0.18); border-radius: 10px; overflow: hidden; }
.cert-tabla div { padding: 12px 16px; border-bottom: 1px solid rgba(197, 160, 89, 0.12); }
.cert-tabla div:nth-child(odd) { border-right: 1px solid rgba(197, 160, 89, 0.12); background: rgba(197, 160, 89, 0.04); }
.cert-tabla dt { margin-bottom: 3px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sec-oro); }
.cert-tabla dd { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.cert-redimir { padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(197, 160, 89, 0.25); }
.cert-redimir strong { display: block; margin-bottom: 6px; font-size: 11px; color: var(--sec-oro); }
.cert-redimir p { font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.cert-final { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 32px; border-top: 1px solid rgba(197, 160, 89, 0.12); font-size: 11px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 560px) {
  .cert-cabecera { flex-direction: column; padding: 24px 20px 18px; }
  .cert-servicio { max-width: none; width: 100%; }
  .cert-linea { margin: 0 20px; }
  .cert-cuerpo, .cert-pie, .cert-detalles, .cert-final { padding-left: 20px; padding-right: 20px; }
  .cert-tabla { grid-template-columns: 1fr; }
  .cert-tabla div:nth-child(odd) { border-right: 0; }
  .cert-pie { flex-direction: column; align-items: flex-start; }
  .cert-codigo { white-space: nowrap; }
  .cert-validez { text-align: left; }
}
@media print {
  body.pagina-certificado { background: #000; padding: 0; }
  .cert-acciones { display: none !important; }
  .cert { box-shadow: none; border-radius: 0; max-width: 100%; }
  .cert, .cert * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ─── Destellos dorados detrás del mouse ────────────────────────── */
/* site.js crea el lienzo con el primer movimiento del mouse (no existe en
   teléfonos ni con "reducir movimiento"). Va por encima de la barra. */
.destellos-mouse { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* ─── Impresión y movimiento reducido ───────────────────────────── */
@media print {
  .nav, .nav-movil, .wa-fab, .destellos-mouse { display: none !important; }
  body { padding-top: 0 !important; padding-bottom: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .hero-text > *, .hero-firma { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .wa-fab { animation: none; }
}
