:root {
  --bg-1: #050814;
  --bg-2: #0a1531;
  --bg-3: #12295a;
  --paper: rgba(8, 18, 42, 0.72);
  --ink: #edf3ff;
  --ink-soft: #b8c7e8;
  --night: #f3f8ff;
  --wine: #6ea8ff;
  --gold: #9fd0ff;
  --line: rgba(151, 189, 255, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  position: relative;
  background: linear-gradient(155deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));
  overflow-x: hidden;
}

/* Capas de luz astral y campo de estrellas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(110, 168, 255, 0.34), transparent 35%),
    radial-gradient(circle at 86% 20%, rgba(126, 173, 255, 0.28), transparent 34%),
    radial-gradient(circle at 50% 88%, rgba(69, 122, 228, 0.2), transparent 38%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 26px 22px, rgba(255, 255, 255, 0.8) 1px, transparent 1.3px),
    radial-gradient(circle at 92px 76px, rgba(182, 213, 255, 0.7) 1px, transparent 1.3px),
    radial-gradient(circle at 146px 130px, rgba(216, 233, 255, 0.52) 1px, transparent 1.25px);
  background-size: 180px 180px, 240px 240px, 300px 300px;
  opacity: 0.48;
  z-index: -1;
}

.page {
  width: 100%;
  margin: 0;
  padding: 1rem clamp(0.9rem, 2.8vw, 2.4rem) 2rem;
  display: grid;
  gap: 1rem;
}

.hero,
.testimonials,
.readers,
.pricing,
.tarot-visa,
.predictions,
.ai-service,
.phone-bottom {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(4, 9, 25, 0.45);
  backdrop-filter: blur(7px);
}

.hero {
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url("images/hero-faro-esoterico.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(149, 194, 255, 0.35);
  box-shadow: 0 14px 34px rgba(2, 8, 27, 0.52);
}

.hero::before {
  content: none;
  position: absolute;
  inset: -6% -8%;
  background:
    radial-gradient(circle at 18% 18%, rgba(174, 219, 255, 0.16), transparent 34%),
    radial-gradient(circle at 80% 78%, rgba(70, 119, 214, 0.14), transparent 44%);
  pointer-events: none;
}

.hero::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 9, 26, 0.08), rgba(2, 7, 21, 0.34));
  opacity: 1;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero .brand-subtitle,
.hero .subtitle,
.hero .confidence,
.hero .note {
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.62),
    0 0 2px rgba(0, 0, 0, 0.36);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 5.8vw, 4rem);
  line-height: 1.04;
  color: var(--night);
  text-transform: capitalize;
}

h2 {
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  margin-bottom: 0.8rem;
  color: #dbe9ff;
}

.greeting {
  margin: 0 0 0.5rem;
  color: #a6cfff;
  font-weight: 700;
}

.subtitle {
  margin: 0.75rem auto 1rem;
  max-width: 56ch;
  color: var(--ink-soft);
}

.brand-subtitle {
  margin: 0.35rem 0 0;
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  font-weight: 700;
  color: #d5e6ff;
}

.tarot-logo {
  margin: 0 auto 0.85rem;
  width: min(260px, 68vw);
}

.tarot-logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(2, 8, 26, 0.48));
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: nowrap;
  text-decoration: none;
  color: #f7fbff;
  background: linear-gradient(120deg, #3b6fff, #78b1ff);
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-size: clamp(1.16rem, 2.5vw, 1.6rem);
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(76, 125, 230, 0.44);
}

.phone:hover {
  filter: brightness(1.08);
}

.open-chat {
  margin-top: 0.8rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: linear-gradient(130deg, #4a7dff, #9bc8ff);
  color: #f8fbff;
  font-weight: 800;
  font-family: "Nunito", sans-serif;
  max-width: 100%;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(69, 108, 196, 0.44);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.open-chat:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 14px 26px rgba(69, 108, 196, 0.46);
}

.confidence {
  margin: 0.65rem 0 0;
  color: #d5e6ff;
  font-weight: 700;
}

.note {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.small {
  font-size: 0.85rem;
}

.testimonials {
  background:
    radial-gradient(circle at 12% 20%, rgba(117, 177, 255, 0.16), transparent 36%),
    linear-gradient(150deg, rgba(9, 26, 63, 0.84), rgba(8, 21, 50, 0.9));
  border-color: rgba(140, 186, 255, 0.42);
}

.testimonial-carousel {
  margin-top: 0.35rem;
}

.testimonial-stage {
  position: relative;
  min-height: 168px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(145, 189, 255, 0.34);
  border-radius: 12px;
  padding: 0.9rem;
  background: rgba(8, 20, 49, 0.72);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 340ms ease, transform 340ms ease;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-card p {
  margin: 0;
  color: #dceaff;
  line-height: 1.5;
}

.testimonial-meta {
  margin-top: 0.65rem !important;
  color: #aac6eb !important;
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-dots {
  margin-top: 0.72rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(154, 190, 245, 0.42);
}

.dot.is-active {
  background: #d7ecff;
  box-shadow: 0 0 0 3px rgba(132, 176, 245, 0.25);
}

.reader-grid,
.pricing-grid,
.prediction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.reader-card,
.price-card,
.prediction-card {
  border: 1px solid rgba(147, 190, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(7, 17, 40, 0.75);
}

.visa-points {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.visa-logo {
  width: fit-content;
  margin: 0 auto 0.8rem;
  padding: 0.35rem 0.9rem 0.3rem;
  border-radius: 10px;
  background: #ffffff;
  color: #1434cb;
  border: 1px solid rgba(167, 196, 255, 0.8);
  font-family: "Quicksand", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 18px rgba(8, 15, 38, 0.35);
}

.visa-points p {
  margin: 0;
  border: 1px solid rgba(147, 190, 255, 0.35);
  border-radius: 999px;
  background: rgba(21, 45, 94, 0.5);
  color: #d9e8ff;
  padding: 0.45rem 0.7rem;
  text-align: center;
  font-weight: 700;
}

.tarot-visa h3 {
  margin-top: 1rem;
  color: #cfe2ff;
}

.blog-link {
  color: #d7ecff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-link:hover {
  color: #ffffff;
}

.reader-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px dashed rgba(164, 201, 255, 0.62);
  background:
    radial-gradient(circle at 50% 35%, rgba(150, 193, 255, 0.35), transparent 45%),
    linear-gradient(160deg, #0f214c, #18356e);
  color: #d8e8ff;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
}

.reader-photo-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(159, 196, 255, 0.56);
  display: block;
  margin-bottom: 0.55rem;
}

.chat-trigger {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.chat-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(9, 20, 48, 0.45);
  border-color: rgba(203, 227, 255, 0.9);
}

.chat-trigger:focus-visible {
  outline: 2px solid rgba(188, 222, 255, 0.9);
  outline-offset: 2px;
}

.reader-card p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.minutes {
  margin: 0;
  color: #9ecbff;
  font-weight: 700;
}

.price {
  margin: 0.2rem 0;
  font-size: 1.9rem;
  font-weight: 800;
  color: #f5f9ff;
}

.per-minute {
  margin: 0;
  color: var(--ink-soft);
}

.featured {
  border-color: rgba(162, 208, 255, 0.78);
  background: linear-gradient(180deg, rgba(24, 50, 103, 0.85), rgba(10, 22, 48, 0.85));
}

.tag {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(117, 175, 255, 0.2);
  color: #d7e9ff;
  border: 1px solid rgba(150, 198, 255, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
}

.prediction-card h3 {
  color: #c7ddff;
  margin-bottom: 0.35rem;
}

.prediction-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.widget-wrap {
  margin-top: 0.8rem;
  border: 1px dashed rgba(145, 189, 255, 0.56);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(7, 18, 43, 0.6);
  min-height: 420px;
  display: grid;
  align-items: stretch;
}

.widget-wrap elevenlabs-convai {
  width: 100%;
  display: block;
}

.ai-service {
  text-align: center;
}

.ai-tarotista-card {
  margin: 0.8rem auto 0;
  max-width: 760px;
  border: 1px solid rgba(150, 198, 255, 0.4);
  border-radius: 14px;
  background: rgba(11, 24, 54, 0.72);
  padding: 0.7rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  align-items: center;
  text-align: left;
}

.ai-tarotista-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(159, 196, 255, 0.62);
}

.ai-tarotista-card h3 {
  margin: 0;
  color: #e6f1ff;
}

.ai-tarotista-card p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.phone-bottom {
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(129, 188, 255, 0.2), transparent 40%),
    linear-gradient(150deg, rgba(12, 31, 73, 0.9), rgba(7, 20, 49, 0.92));
  border-color: rgba(145, 194, 255, 0.52);
}

.phone-bottom-text {
  margin: 0;
  color: #d7e9ff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.phone-bottom-link {
  margin-top: 0.62rem;
  display: inline-block;
  text-decoration: none;
  color: #f8fbff;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  text-shadow:
    0 0 16px rgba(150, 204, 255, 0.24),
    0 10px 22px rgba(4, 13, 34, 0.54);
}

.phone-bottom-link:hover {
  color: #ffffff;
}

.legal-footer {
  text-align: center;
  background: rgba(6, 15, 36, 0.72);
}

.legal-brand {
  margin: 0;
  color: #d9e9ff;
  font-weight: 700;
}

.legal-links {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  justify-content: center;
}

.legal-links a {
  color: #b9d5ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links a:hover {
  color: #ffffff;
}

.legal-disclaimer {
  margin: 0.7rem auto 0;
  max-width: 72ch;
  color: #9fb6dd;
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: min(540px, calc(100vw - 28px));
  z-index: 35;
  border: 1px solid rgba(167, 205, 255, 0.54);
  border-radius: 14px;
  background: rgba(8, 20, 48, 0.96);
  box-shadow: 0 18px 32px rgba(2, 7, 22, 0.55);
  padding: 0.82rem;
}

.cookie-banner p {
  margin: 0;
  color: #d8e8ff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-actions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cookie-actions button,
.cookie-actions a {
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
}

.cookie-actions button {
  border: 1px solid rgba(162, 204, 255, 0.5);
  background: rgba(22, 49, 102, 0.85);
  color: #eef6ff;
  cursor: pointer;
}

.cookie-actions button:hover {
  filter: brightness(1.09);
}

.cookie-actions a {
  border: 1px solid rgba(162, 204, 255, 0.34);
  color: #c9e0ff;
  text-decoration: none;
}

.cookie-actions a:hover {
  color: #ffffff;
}

.cookie-settings-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 30;
  border: 1px solid rgba(160, 203, 255, 0.46);
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  background: rgba(10, 22, 49, 0.82);
  color: #cfe4ff;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner:not([hidden]) + .cookie-settings-btn {
  display: none;
}

.legal-page .article-shell {
  width: min(980px, 94%);
  margin: 1rem auto 2rem;
}

.legal-card {
  margin-top: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(4, 9, 25, 0.45);
  backdrop-filter: blur(7px);
}

.legal-card h1 {
  font-size: clamp(1.65rem, 4.2vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.legal-card h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.55;
}

.legal-card ul {
  margin: 0.25rem 0 0;
  padding-left: 1.2rem;
}

.blog-page .article-shell {
  width: min(980px, 94%);
  margin: 1rem auto 2rem;
}

.back-link {
  color: #d0e7ff;
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  text-decoration: underline;
}

.article-card {
  margin-top: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(4, 9, 25, 0.45);
  backdrop-filter: blur(7px);
}

.article-card h1 {
  font-size: clamp(1.7rem, 4.3vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.article-card h2 {
  margin-top: 1rem;
  margin-bottom: 0.45rem;
}

.article-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.article-card h2 + p {
  margin-top: 0.2rem;
}

@media (max-width: 620px) {
  .page {
    padding: 0.75rem 0.75rem 1.25rem;
  }

  .hero,
  .testimonials,
  .readers,
  .pricing,
  .tarot-visa,
  .predictions,
  .ai-service,
  .phone-bottom {
    padding: 0.95rem;
  }

  .tarot-logo {
    width: min(210px, 64vw);
  }

  .ai-tarotista-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-tarotista-photo {
    width: min(170px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .testimonial-stage {
    min-height: 210px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie-settings-btn {
    left: 12px;
    bottom: 12px;
  }

  .phone {
    font-size: 1.05rem;
    padding: 0.72rem 0.95rem;
  }

  .phone-bottom-link {
    font-size: clamp(1.55rem, 11vw, 2.3rem);
    letter-spacing: 0.01em;
  }
}
