/* =========================================================
   Oráculo del Amor — hoja de estilos
   Paleta: ink/escarlata/marfil (rojo pasión directo, sin dorado)
   Tipografía: Spectral (display) + Manrope (texto/UI)
   ========================================================= */

:root {
  --ink: #15090b;
  --wine: #330f17;
  --wine-light: #4c1620;
  --accent: #d81e3f;
  --accent-light: #f0536c;
  --ivory: #f7ece1;
  --rose: #c98a93;

  --text-high: var(--ivory);
  --text-mid: rgba(247, 236, 225, 0.74);
  --text-low: rgba(247, 236, 225, 0.52);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 18px 50px rgba(5, 2, 10, 0.45);
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* El header queda sticky arriba; sin esto, saltar a un ancla (#servicios,
   #proceso, etc. — p. ej. desde un vínculo de sitio de Google Ads) deja el
   título de la sección tapado detrás del header. */
section[id], article[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-high);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Grano/textura sutil sobre todo el sitio — rompe la sensación "plana" de color sólido */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* Sello ornamental usado como separador entre secciones — reemplaza el corte recto */
.seal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 2px;
  position: relative;
  z-index: 1;
}
.seal-divider::before,
.seal-divider::after {
  content: "";
  height: 1px;
  width: clamp(40px, 12vw, 140px);
  background: linear-gradient(90deg, transparent, rgba(240, 83, 108, 0.45));
}
.seal-divider::after { background: linear-gradient(90deg, rgba(240, 83, 108, 0.45), transparent); }
.seal-divider .seal-mark {
  width: 11px;
  height: 11px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(216, 30, 63, 0.12);
}

h1, h2, h3, .font-display {
  font-family: "Spectral", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-high);
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

.section {
  padding-block: 88px;
  position: relative;
}
.section > .container {
  position: relative;
  z-index: 2;
}

/* Campo de estrellas reutilizable — el mismo tratamiento del hero, repetido en cada sección */
.stars-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.stars-field .star {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 6px 1px rgba(240, 83, 108, 0.6);
  animation: twinkle 3.6s ease-in-out infinite;
}
.stars-field .star:nth-child(2n) { animation-delay: 1.1s; background: var(--rose); box-shadow: 0 0 6px 1px rgba(201, 138, 147, 0.5); }
.stars-field .star:nth-child(3n) { animation-delay: 2s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-light);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head .lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--ivory);
  box-shadow: 0 14px 34px rgba(216, 30, 63, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(216, 30, 63, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--text-high);
  border: 1px solid rgba(247, 236, 225, 0.28);
}
.btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(21, 9, 11, 0.78);
  border-bottom: 1px solid rgba(247, 236, 225, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 40px; width: auto; }
.brand span {
  font-family: "Spectral", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.header-cta { font-size: 14px; padding: 12px 22px; }
.header-cta .short { display: none; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding-block: 76px 100px;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(201, 138, 147, 0.22), transparent 60%),
    radial-gradient(50% 45% at 10% 95%, rgba(216, 30, 63, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--wine) 100%);
}
.hero-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-flow .eyebrow { justify-content: center; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 0.95; transform: scale(1.2); }
}
.hero-glyph {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Spectral", serif;
  font-size: clamp(220px, 30vw, 460px);
  line-height: 1;
  color: var(--accent);
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero-flow h1 {
  font-family: "Playfair Display", "Spectral", Georgia, serif;
  font-weight: 800;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 920px;
  text-shadow: 0 4px 40px rgba(216, 30, 63, 0.25);
}
.hero-flow .lead {
  margin-top: 28px;
  font-size: 18px;
  color: var(--text-mid);
  max-width: 560px;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero-trust {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-low);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-trust svg { flex: none; }
.hero-age {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-light);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-age .age-badge { flex: none; }
@media (max-width: 480px) {
  .hero-age { font-size: 13px; gap: 8px; }
  .hero-age .age-badge { width: 26px; height: 26px; }
}

.oracle-card-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px 34px 20px;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.oracle-card {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 34px 10px 34px 10px;
  background: linear-gradient(160deg, var(--wine-light), var(--ink) 70%);
  border: 1px solid rgba(240, 83, 108, 0.25);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: rotate(-4deg);
  transition: transform 0.35s ease;
}
.oracle-card-wrap:hover .oracle-card { transform: rotate(-1.5deg); }
.oracle-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(240, 83, 108, 0.3);
  border-radius: 26px 8px 26px 8px;
}
.oracle-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oracle-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(21, 9, 11, 0.05) 40%, rgba(21, 9, 11, 0.78) 100%);
}
.oracle-card .spark {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.85;
}
.oracle-card .spark.s1 { width: 6px; height: 6px; top: 18%; left: 20%; }
.oracle-card .spark.s2 { width: 4px; height: 4px; top: 70%; left: 78%; }
.oracle-card .spark.s3 { width: 5px; height: 5px; top: 30%; left: 82%; }
.oracle-card-wrap .halo {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 30, 63, 0.22), transparent 70%);
  z-index: -1;
}

/* ===================== Reconocimiento ===================== */
.recognize {
  background:
    radial-gradient(55% 50% at 85% 0%, rgba(216, 30, 63, 0.16), transparent 60%),
    radial-gradient(45% 40% at 5% 100%, rgba(201, 138, 147, 0.18), transparent 60%),
    var(--wine);
}
.recognize-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
}
.recognize-photo {
  border-radius: 10px 40px 10px 40px;
  overflow: hidden;
  border: 1px solid rgba(247, 236, 225, 0.1);
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.4deg);
}
.recognize-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  filter: saturate(0.9);
}
.recognize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.recognize-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(21, 9, 11, 0.4);
  border: 1px solid rgba(247, 236, 225, 0.08);
}
.recognize-item .mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 30, 63, 0.16);
  color: var(--accent-light);
  font-family: "Spectral", serif;
  font-size: 16px;
}
.recognize-item p { color: var(--text-mid); font-size: 15px; }
.recognize-item strong { display: block; color: var(--text-high); font-size: 16px; margin-bottom: 4px; }

/* ===================== Servicios ===================== */
.services {
  background:
    radial-gradient(50% 50% at 12% 5%, rgba(201, 138, 147, 0.16), transparent 60%),
    radial-gradient(55% 45% at 92% 95%, rgba(216, 30, 63, 0.14), transparent 60%),
    var(--ink);
}
/* Lista editorial de trabajos — medallones circulares en vez de tarjetas
   rectangulares en grilla, para diferenciarse del patrón "3 cuadros" habitual. */
.ritual-list {
  display: flex;
  flex-direction: column;
}
.ritual-row {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-block: 20px;
}
.ritual-row.reverse { flex-direction: row-reverse; text-align: right; }
.ritual-row.reverse .ritual-content { align-items: flex-end; }
.ritual-divider { padding-block: 0; }
.ritual-media-wrap {
  position: relative;
  flex: none;
  --rot: -3deg;
  --reveal-y: 0px;
  --reveal-s: 1;
  opacity: 1;
  transform: rotate(var(--rot)) translateY(var(--reveal-y)) scale(var(--reveal-s));
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ritual-row.reverse .ritual-media-wrap { --rot: 3deg; }
/* La foto siempre queda visible (opacity:1) aunque el navegador nunca
   dispare el IntersectionObserver — solo se anima la posición/escala,
   nunca se esconde el contenido detrás de JavaScript. */
.js .ritual-media-wrap { --reveal-y: 18px; --reveal-s: 0.96; }
.js .ritual-row.in-view .ritual-media-wrap { --reveal-y: 0px; --reveal-s: 1; }
.ritual-halo {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 30, 63, 0.3), transparent 70%);
  z-index: 0;
  animation: ritual-breathe 5.5s ease-in-out infinite;
}
.ritual-row:nth-child(3) .ritual-halo { animation-delay: 0.6s; }
.ritual-row:nth-child(5) .ritual-halo { animation-delay: 1.2s; }
@keyframes ritual-breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}
.ritual-media {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-light);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s ease, border-color 0.3s ease;
}
.ritual-row:hover .ritual-media { transform: scale(1.04); border-color: var(--ivory); }
.ritual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 2.8s ease;
}
.ritual-row:hover .ritual-media img { transform: scale(1.1); }
.ritual-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.ritual-num {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--accent-light);
  opacity: 0.45;
  margin-bottom: 6px;
}
.ritual-content h3 { font-size: 25px; margin-bottom: 10px; }
.ritual-content p { color: var(--text-mid); font-size: 15px; max-width: 480px; margin-bottom: 16px; }
.ritual-content .tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 1px solid rgba(240, 83, 108, 0.4);
  border-radius: 999px;
  padding: 7px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.ritual-content .tag:hover,
.ritual-content .tag:focus-visible {
  color: var(--ivory);
  border-color: var(--accent-light);
  background: var(--accent);
}

/* ===================== Proceso (consulta del oráculo) ===================== */
.process {
  background:
    radial-gradient(55% 50% at 90% 100%, rgba(216, 30, 63, 0.16), transparent 60%),
    radial-gradient(45% 40% at 8% 0%, rgba(201, 138, 147, 0.16), transparent 60%),
    var(--wine);
}
.process-banner {
  position: relative;
  width: min(300px, 78%);
  aspect-ratio: 9 / 15;
  margin: 0 auto 40px;
  border-radius: 14px 46px 14px 46px;
  overflow: hidden;
  transform: rotate(-1.6deg);
  border: 1px solid rgba(247, 236, 225, 0.1);
  box-shadow: 0 24px 50px rgba(8, 3, 4, 0.45);
}
.process-banner video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.process-banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 9, 11, 0) 38%, rgba(21, 9, 11, 0.55) 72%, rgba(21, 9, 11, 0.92) 100%);
}
.process-banner-text {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 86%;
  text-align: center;
  font-family: "Spectral", serif;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text-high);
  margin: 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  padding-top: 10px;
}
.process-grid::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 56px;
  height: 0;
  border-top: 2px dashed rgba(240, 83, 108, 0.28);
  z-index: 0;
  display: none;
}
@media (min-width: 900px) { .process-grid::before { display: block; } }
.process-step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: 10px 30px 10px 30px;
  background: rgba(21, 9, 11, 0.55);
  border: 1px solid rgba(247, 236, 225, 0.08);
  overflow: hidden;
  z-index: 1;
}
.process-grid > .process-step:nth-child(2) { margin-top: 34px; }
.process-grid > .process-step:nth-child(3) { margin-top: -10px; }
.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -22px;
  right: -6px;
  font-family: "Spectral", serif;
  font-size: 96px;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}
.process-step .num {
  font-family: "Spectral", serif;
  font-size: 15px;
  color: var(--accent-light);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 14px;
  position: relative;
}
.process-step h3 { font-size: 19px; margin-bottom: 10px; position: relative; }
.process-step p { color: var(--text-mid); font-size: 14.5px; position: relative; }

/* ===================== Confianza ===================== */
.trust-section {
  background:
    radial-gradient(50% 55% at 95% 10%, rgba(201, 138, 147, 0.16), transparent 60%),
    radial-gradient(45% 40% at 0% 100%, rgba(216, 30, 63, 0.14), transparent 60%),
    var(--ink);
}
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trust-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.trust-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-mid);
  font-size: 15px;
}
.trust-list svg { flex: none; margin-top: 2px; color: var(--accent-light); }
.trust-panel {
  position: relative;
  padding: 44px 34px;
  border-radius: 40px 10px 40px 10px;
  overflow: hidden;
  border: 1px solid rgba(240, 83, 108, 0.18);
  text-align: center;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-panel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trust-panel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(51, 15, 23, 0.88), rgba(21, 9, 11, 0.86));
}
.trust-panel-content { position: relative; }
.trust-panel .big {
  font-family: "Spectral", serif;
  font-size: 44px;
  color: var(--accent-light);
}
.trust-panel p { color: var(--text-mid); margin-top: 10px; font-size: 14.5px; }

/* ===================== FAQ ===================== */
.faq {
  background:
    radial-gradient(50% 50% at 8% 100%, rgba(216, 30, 63, 0.16), transparent 60%),
    radial-gradient(45% 40% at 95% 0%, rgba(201, 138, 147, 0.16), transparent 60%),
    var(--wine);
}
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid rgba(247, 236, 225, 0.1);
  border-radius: 6px 22px 6px 22px;
  background: rgba(21, 9, 11, 0.45);
  overflow: hidden;
}
.faq-list > .faq-item:nth-child(2n) { border-radius: 22px 6px 22px 6px; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .answer { padding: 0 24px 20px; color: var(--text-mid); font-size: 14.5px; }

/* ===================== CTA final ===================== */
.cta-final {
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(201, 138, 147, 0.2), transparent 60%),
    radial-gradient(45% 50% at 85% 100%, rgba(216, 30, 63, 0.14), transparent 60%),
    var(--ink);
}
.cta-final-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.cta-final h2 { font-size: clamp(26px, 3.6vw, 38px); max-width: 480px; }
.cta-final .lead { margin-top: 14px; color: var(--text-mid); max-width: 460px; }
.cta-final .btn { margin-top: 30px; }
.cta-final-art {
  display: flex;
  justify-content: center;
}
.cta-final-art img {
  width: min(380px, 100%);
  transform: rotate(5deg);
  filter: drop-shadow(0 20px 34px rgba(216, 30, 63, 0.3));
}
@media (max-width: 980px) {
  .cta-final-layout { grid-template-columns: 1fr; text-align: center; }
  .cta-final h2, .cta-final .lead { margin-inline: auto; }
  .cta-final-art { order: -1; }
}

/* ===================== Footer ===================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(216, 30, 63, 0.12), transparent 60%),
    var(--ink);
  border-top: 1px solid rgba(247, 236, 225, 0.08);
  padding-block: 48px 38px;
}
.site-footer .container { position: relative; z-index: 2; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 32px; }
.footer-brand span { font-family: "Spectral", serif; font-size: 17px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--text-mid); font-size: 14px; }
.footer-links a:hover { color: var(--accent-light); }
.footer-disclaimer {
  padding-block: 22px;
  border-top: 1px solid rgba(247, 236, 225, 0.08);
}
.footer-disclaimer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}
.footer-disclaimer li {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-low);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 236, 225, 0.08);
  font-size: 13px;
  color: var(--text-low);
}
.footer-bottom a {
  color: var(--text-low);
  text-decoration: underline;
  text-decoration-color: rgba(240, 83, 108, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--accent-light);
  text-decoration-color: var(--accent-light);
}

/* ===================== WhatsApp flotante ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  animation: wa-float 3.2s ease-in-out infinite;
  transition: opacity 0.3s ease;
}
/* Al llegar al pie de página, el botón se aparta: si no, tapa el crédito
   "El Publicista De Los Brujos" y lo vuelve difícil de tocar. */
.whatsapp-float.wa-hide {
  opacity: 0;
  pointer-events: none;
}
.whatsapp-float:hover { animation-play-state: paused; }
.whatsapp-float:hover .wa-icon { transform: scale(1.07); }
.wa-icon {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(216, 30, 63, 0.4);
  transition: transform 0.25s ease;
}
.wa-icon svg { width: 29px; height: 29px; color: var(--ivory); position: relative; z-index: 2; }
.wa-icon::before,
.wa-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  animation: wa-ember 2.6s ease-out infinite;
  pointer-events: none;
}
.wa-icon::after { animation-delay: 1.3s; }
.wa-label {
  flex: none;
  font-family: "Manrope", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-high);
  background: rgba(21, 9, 11, 0.85);
  border: 1px solid rgba(240, 83, 108, 0.3);
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(5, 2, 10, 0.35);
}
@keyframes wa-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes wa-ember {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}
@media (max-width: 400px) {
  .wa-label { font-size: 12px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
  .wa-icon::before, .wa-icon::after { animation: none; display: none; }
}

/* ===================== Overlay de verificación ===================== */
#verif-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 4, 5, 0.78);
  backdrop-filter: blur(4px);
  padding: 24px;
}
#verif-overlay.show { display: flex; }
.verif-box {
  background: var(--wine-light);
  border: 1px solid rgba(240, 83, 108, 0.3);
  border-radius: 34px 10px 34px 10px;
  padding: 32px 28px;
  max-width: 320px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.verif-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(240, 83, 108, 0.25);
  border-top-color: var(--accent-light);
  animation: spin 0.9s linear infinite;
}
#verif-overlay.blocked .verif-spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
#verif-msg { font-size: 14.5px; color: var(--text-high); }

/* ===================== Legal pages ===================== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 80px 100px;
}
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .updated { color: var(--text-low); font-size: 13.5px; margin-bottom: 36px; display: block; }
.legal h2 { font-size: 20px; margin-top: 36px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--text-mid); font-size: 15px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--accent-light); }
.legal-back { display: inline-block; margin-top: 10px; color: var(--accent-light); font-size: 14px; }

/* ===================== Utilidades de accesibilidad ===================== */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .recognize-layout { grid-template-columns: 1fr; }
  .recognize-grid { grid-template-columns: 1fr; }
  .ritual-row, .ritual-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }
  .ritual-row.reverse .ritual-content { align-items: center; }
  .ritual-content { align-items: center; }
  .ritual-content p { max-width: 440px; }
  .ritual-media-wrap, .ritual-row.reverse .ritual-media-wrap { --rot: 0deg; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid > .process-step:nth-child(2),
  .process-grid > .process-step:nth-child(3) { margin-top: 0; }
  .trust { grid-template-columns: 1fr; }
  .hero-glyph { font-size: 260px; opacity: 0.06; }
  .footer-disclaimer ul { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding-block: 64px; }
  .header-cta .full { display: none; }
  .header-cta .short { display: inline; }
  .footer-top { flex-direction: column; }
  .ritual-media { width: 168px; height: 168px; }
  .ritual-row:hover .ritual-media { transform: none; }
  .ritual-divider { padding-block: 4px; }
  .recognize-photo { transform: none; }
  .cta-final-art img { transform: rotate(2deg); }
  .seal-divider::before, .seal-divider::after { width: 48px; }
}
