/* =========================================================
   TAROTPROFETA.COM
   Identidad visual: verde profundo + dorado + marfil
   Estética: elegante, espiritual, serena y confiable
   ========================================================= */

/* ============================
   VARIABLES DE COLOR Y BASE
   ============================ */

:root {
  --verde-profeta: #073d32;
  --verde-abisal: #032820;
  --verde-profundo: #021d17;
  --verde-medio: #0a4b3d;
  --verde-suave: #315d50;

  --oro: #d6ae4a;
  --oro-luz: #f1d77a;
  --oro-suave: #e6cc82;
  --oro-transparente: rgba(214, 174, 74, 0.22);

  --marfil: #f7f3e8;
  --pergamino: #eae1cc;
  --blanco-calido: #fffdf8;

  --carbon: #17241f;
  --texto: #26362f;
  --texto-suave: #58675f;
  --texto-claro: #dce7e1;
  --texto-claro-suave: #bfcfc6;

  --salvia: #829c8c;
  --danger: #b95c5c;

  --border-light: rgba(23, 36, 31, 0.12);
  --border-gold: rgba(214, 174, 74, 0.38);
  --border-dark: rgba(255, 255, 255, 0.09);

  --shadow-soft: 0 14px 38px rgba(3, 40, 32, 0.08);
  --shadow-card: 0 18px 45px rgba(3, 40, 32, 0.11);
  --shadow-dark: 0 24px 70px rgba(0, 0, 0, 0.25);

  /* Compatibilidad con nombres usados en la versión anterior */
  --bg-body: var(--marfil);
  --bg-alt: var(--pergamino);
  --bg-card: var(--blanco-calido);
  --bg-soft: rgba(255, 253, 248, 0.97);

  --fg-main: var(--carbon);
  --fg-muted: var(--texto);
  --fg-muted-2: var(--texto-suave);

  --gold: var(--oro);
  --gold-soft: var(--oro-luz);
  --green: var(--oro-luz);
  --emerald: var(--verde-profeta);

  --border-soft: var(--border-light);
}


/* ============================
   RESET BÁSICO
   ============================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--marfil);
  color: var(--carbon);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}


/* ============================
   SHELL GENERAL
   ============================ */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.app-main {
  flex: 1;
}


/* ============================
   HEADER / NAV
   ============================ */

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(3, 40, 32, 0.96);
  border-bottom: 1px solid rgba(214, 174, 74, 0.24);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

.app-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 78px;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(214, 174, 74, 0.55);
  box-shadow: 0 0 18px rgba(214, 174, 74, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--oro-luz);
}

.brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--texto-claro);
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.52rem 0.68rem;
  border-radius: 0.55rem;
  color: #e5eee9;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.nav-link:hover {
  color: var(--oro-luz);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.is-active {
  color: var(--oro-luz);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 0.15rem;
  height: 1px;
  background: var(--oro);
}

.nav-link-cta {
  margin-left: 0.25rem;
  border: 1px solid var(--oro);
  color: var(--oro-luz);
  padding-inline: 0.9rem;
}

.nav-link-cta:hover {
  background: var(--oro);
  color: var(--verde-abisal);
}


/* Menú hamburguesa */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 34px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-line {
  width: 100%;
  height: 2px;
  background: var(--oro-luz);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================
   SECCIONES GENERALES
   ============================ */

.section {
  position: relative;
  padding: 5.4rem 1.25rem;
  background: var(--marfil);
}

.section-alt {
  background:
    radial-gradient(circle at 8% 10%, rgba(214, 174, 74, 0.05), transparent 25%),
    var(--pergamino);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-title,
.hero-title,
.hero-card-title,
.card-title,
.step-title,
.about-card-title,
.faq-question,
.footer-title {
  font-family: Georgia, "Times New Roman", serif;
}

.section-title {
  color: var(--verde-profeta);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.82;
}


/* ============================
   HERO
   ============================ */

.section-hero {
  min-height: 690px;
  padding-top: 5.5rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 28%, rgba(241, 215, 122, 0.15), transparent 25%),
    radial-gradient(circle at 15% 10%, rgba(10, 75, 61, 0.35), transparent 30%),
    linear-gradient(135deg, var(--verde-profundo) 0%, var(--verde-abisal) 42%, var(--verde-medio) 100%);
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

.section-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -130px;
  bottom: -180px;
  border-radius: 50%;
  border: 1px solid rgba(214, 174, 74, 0.12);
  box-shadow:
    0 0 0 55px rgba(214, 174, 74, 0.025),
    0 0 0 110px rgba(214, 174, 74, 0.018);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--oro-luz);
  margin-bottom: 0.9rem;
}

.hero-title {
  max-width: 760px;
  font-size: clamp(2.75rem, 5.5vw, 5.25rem);
  line-height: 0.98;
  font-weight: 600;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.hero-title-highlight {
  display: block;
  margin-top: 0.12em;
  color: var(--oro-luz);
}

.hero-subtitle {
  max-width: 720px;
  font-size: 1rem;
  color: #d6e2dc;
  line-height: 1.82;
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 1.55rem;
}


/* ============================
   BOTONES
   ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.35rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.15s ease,
    color 0.22s ease;
}

.btn-primary {
  background: var(--oro);
  color: var(--verde-abisal);
  border-color: var(--oro);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.btn-primary:hover {
  background: var(--oro-luz);
  border-color: var(--oro-luz);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(214, 174, 74, 0.65);
  color: var(--oro-luz);
}

.btn-ghost:hover {
  background: rgba(214, 174, 74, 0.09);
  border-color: var(--oro-luz);
  color: #fff7dc;
}

.btn-full {
  width: 100%;
}


/* ============================
   META INFO DEL HERO
   ============================ */

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.meta-item {
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 174, 74, 0.22);
  border-radius: 0.85rem;
}

.meta-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--oro-luz);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.meta-value {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #e4eee8;
}


/* ============================
   TARJETA HERO LATERAL
   ============================ */

.hero-card {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-card-inner {
  width: 100%;
  padding: 2rem 1.9rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.97), rgba(247, 243, 232, 0.95));
  color: var(--carbon);
  border: 1px solid rgba(241, 215, 122, 0.65);
  box-shadow: var(--shadow-dark);
}

.hero-card-title {
  color: var(--verde-profeta);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-list {
  margin-bottom: 1rem;
  padding-left: 1.15rem;
  font-size: 0.93rem;
  color: var(--texto-suave);
  line-height: 1.72;
}

.hero-list li {
  margin-bottom: 0.45rem;
}

.hero-list li::marker {
  color: var(--oro);
}

.hero-card-note {
  font-size: 0.88rem;
  color: var(--texto-suave);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero-card-cta {
  display: inline-block;
  color: var(--verde-profeta);
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px solid var(--oro);
  padding-bottom: 0.15rem;
}

.hero-card-cta:hover {
  color: #0a5a48;
}


/* ============================
   CARDS GENERALES
   ============================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  background: var(--blanco-calido);
  border-radius: 1.15rem;
  padding: 1.55rem 1.55rem 1.65rem;
  border: 1px solid rgba(214, 174, 74, 0.24);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--oro), transparent);
  opacity: 0.55;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 174, 74, 0.5);
  box-shadow: var(--shadow-card);
}

.card-title {
  color: var(--verde-profeta);
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.card-text {
  font-size: 0.92rem;
  color: var(--texto-suave);
  line-height: 1.75;
}

.card-list {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--texto);
  line-height: 1.65;
}

.card-list li {
  margin-bottom: 0.42rem;
}

.card-list li::marker {
  color: var(--oro);
}

.card-service {
  min-height: 100%;
}

.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2.3rem;
}

.section-cta-row .btn-primary {
  min-width: min(100%, 360px);
}


/* ============================
   RITUAL / PASOS
   ============================ */

.ritual-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.ritual-step {
  position: relative;
  min-height: 100%;
  padding: 1.5rem 1.35rem 1.45rem;
  background: var(--blanco-calido);
  border-radius: 1rem;
  border-top: 2px solid var(--oro);
  border-right: 1px solid rgba(214, 174, 74, 0.18);
  border-bottom: 1px solid rgba(214, 174, 74, 0.18);
  border-left: 1px solid rgba(214, 174, 74, 0.18);
  box-shadow: 0 10px 28px rgba(3, 40, 32, 0.06);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--verde-profeta);
  color: var(--oro-luz);
  border: 1px solid var(--oro);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.step-title {
  color: var(--verde-profeta);
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.step-text {
  font-size: 0.89rem;
  color: var(--texto-suave);
  line-height: 1.72;
}


/* ============================
   ACERCA DE
   ============================ */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.body-text {
  font-size: 0.95rem;
  color: var(--texto-suave);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.body-text-small {
  font-size: 0.82rem;
  color: var(--texto-suave);
}

.about-card {
  position: relative;
  background: var(--verde-profeta);
  color: white;
  border-radius: 1.2rem;
  padding: 1.6rem 1.55rem;
  border: 1px solid rgba(214, 174, 74, 0.48);
  box-shadow: var(--shadow-card);
}

.about-card::before {
  content: "✦";
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: var(--oro-luz);
  opacity: 0.75;
}

.about-card-title {
  color: var(--oro-luz);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-card .card-list {
  color: #e5eee9;
}


/* ============================
   FAQ
   ============================ */

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.faq-item {
  background: rgba(255, 253, 248, 0.88);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(214, 174, 74, 0.23);
  box-shadow: 0 8px 24px rgba(3, 40, 32, 0.055);
}

.faq-question {
  color: var(--verde-profeta);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 0.48rem;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.75;
}


/* ============================
   CONTACTO
   ============================ */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-text .card-list {
  margin-bottom: 1.2rem;
}

.contact-text .btn-primary {
  max-width: 420px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-tag {
  background: var(--verde-abisal);
  border-radius: 1.1rem;
  padding: 1.4rem 1.45rem;
  border: 1px solid rgba(214, 174, 74, 0.38);
  box-shadow: var(--shadow-card);
}

.contact-tag-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 700;
  color: var(--oro-luz);
  margin-bottom: 0.55rem;
}

.contact-tag-text {
  font-size: 0.88rem;
  color: #d7e3dc;
  line-height: 1.72;
  margin-bottom: 0.55rem;
}

.contact-license {
  padding: 0.3rem 0.25rem;
  font-size: 0.82rem;
  color: var(--texto-suave);
}

.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.35rem;
}

.cc-icon {
  width: 18px;
  height: auto;
}


/* ============================
   FOOTER
   ============================ */

.app-footer {
  background:
    radial-gradient(circle at 15% 10%, rgba(214, 174, 74, 0.055), transparent 26%),
    var(--verde-profundo);
  border-top: 1px solid rgba(214, 174, 74, 0.26);
  padding: 2.2rem 1.25rem 2.5rem;
  font-size: 0.84rem;
  color: #bfcfc6;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--oro-luz);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.footer-title {
  color: var(--oro-luz);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #c9d6cf;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--oro-luz);
}

.footer-text {
  max-width: 540px;
  margin: 0.6rem 0;
  line-height: 1.7;
}

.footer-author {
  margin-top: 0.25rem;
  color: #9eb0a7;
}

.social-icon {
  width: 18px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.35rem;
}


/* ============================
   ORÁCULO NUMÉRICO SÍ / NO
   ============================ */

.section-oraculo-destacado {
  background:
    radial-gradient(circle at 50% 0%, rgba(241, 215, 122, 0.13), transparent 28%),
    linear-gradient(145deg, var(--verde-profundo), var(--verde-abisal) 58%, #06372d);
  color: white;
  border-top: 1px solid var(--oro);
  border-bottom: 1px solid var(--oro);
}

.section-oraculo-destacado .section-title {
  color: var(--oro-luz);
}

.section-oraculo-destacado .section-subtitle {
  color: #d2dfd8;
}

.section-oraculo-destacado .card {
  background: rgba(255, 253, 248, 0.975);
  border-color: rgba(214, 174, 74, 0.42);
}

.pregunta-grid {
  align-items: stretch;
}

.pregunta-formulario {
  position: relative;
}

.pregunta-form .digits-row {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.42rem;
  color: var(--texto);
  font-weight: 600;
}

.digit-input {
  width: 2.9rem;
  padding: 0.55rem 0.35rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(7, 61, 50, 0.24);
  background: #fffef9;
  color: var(--verde-profeta);
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
  outline: none;
  appearance: textfield;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.digit-input:focus,
.question-input:focus {
  border-color: var(--oro);
  box-shadow: 0 0 0 3px rgba(214, 174, 74, 0.15);
}

.digit-input::-webkit-outer-spin-button,
.digit-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.question-input {
  width: 100%;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(7, 61, 50, 0.24);
  background: #fffef9;
  color: var(--carbon);
  font-size: 0.9rem;
  line-height: 1.55;
  resize: vertical;
  min-height: 100px;
  outline: none;
}

.question-input::placeholder {
  color: #8b9690;
}

.form-note {
  font-size: 0.78rem;
  color: var(--texto-suave);
  line-height: 1.62;
  margin-bottom: 1rem;
}

.form-error {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1.1rem;
}

.respuesta-si-no {
  padding: 1.1rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(214, 174, 74, 0.58);
  background: #f7f1df;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--texto);
}

.respuesta-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  text-align: center;
  color: var(--verde-profeta);
}

.respuesta-main::before,
.respuesta-main::after {
  content: "✶";
  font-size: 0.95rem;
  margin: 0 0.35rem;
  color: var(--oro);
}

.respuesta-enfasis {
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--texto);
}

.respuesta-enfasis span {
  font-weight: 700;
  color: var(--verde-profeta);
}

.respuesta-detail {
  font-size: 0.75rem;
  color: var(--texto-suave);
  text-align: center;
  line-height: 1.5;
}

.respuesta-keyword {
  font-weight: 700;
  color: var(--verde-profeta);
  letter-spacing: 0.02em;
}

.card-text-small {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-top: 0.75rem;
}

.consulta-extra {
  margin-top: 1.3rem;
  text-align: center;
}

.consulta-text {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-bottom: 0.6rem;
}

.consulta-btn {
  margin-top: 0.4rem;
}


/* ============================
   MODAL ORÁCULO
   ============================ */

.modal-oraculo {
  position: fixed;
  inset: 0;
  padding: 1rem;
  background: rgba(2, 29, 23, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-oraculo.activo {
  display: flex;
}

.modal-contenido {
  position: relative;
  width: min(92%, 410px);
  padding: 2rem;
  text-align: center;
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at top, rgba(10, 75, 61, 0.95), var(--verde-abisal) 68%);
  color: white;
  border: 1px solid rgba(241, 215, 122, 0.65);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.4),
    0 0 45px rgba(214, 174, 74, 0.16);
}

.modal-cerrar {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--oro-luz);
  font-size: 1.8rem;
  cursor: pointer;
}


/* ============================
   BOLA DE CRISTAL
   ============================ */

.bola-cristal {
  width: 170px;
  height: 170px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 42% 34%,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(241, 215, 122, 0.9) 14%,
      rgba(214, 174, 74, 0.67) 30%,
      rgba(10, 75, 61, 0.82) 56%,
      rgba(3, 40, 32, 0.98) 100%
    );

  border: 1px solid rgba(241, 215, 122, 0.78);

  box-shadow:
    0 0 28px rgba(241, 215, 122, 0.34),
    0 0 58px rgba(214, 174, 74, 0.16),
    inset 0 0 20px rgba(255, 255, 255, 0.32);
}

.bola-cristal span {
  z-index: 2;
  color: var(--verde-profundo);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 12px rgba(255, 255, 255, 0.55);
}


/* Tarjeta de palabras */
.tarjeta-palabras {
  background: rgba(255, 253, 248, 0.96);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(214, 174, 74, 0.3);
  font-size: 0.84rem;
  color: var(--texto);
  line-height: 1.6;
}


/* Botón destacado */
.btn-consulta-destacado {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  animation: pulsoSuave 1.9s infinite alternate ease-in-out;
}

@keyframes pulsoSuave {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.025);
  }
}


/* ============================
   BOTÓN DESCARGA ORÁCULO
   ============================ */

.btn-descarga-oraculo {
  margin-top: 12px;
  opacity: 1;
  pointer-events: auto;
  border-color: var(--verde-profeta);
  color: var(--verde-profeta);
}

.btn-descarga-oraculo:hover {
  background: rgba(7, 61, 50, 0.06);
  color: var(--verde-abisal);
}

.btn-descarga-oraculo.is-waiting {
  opacity: 0.76;
}


/* ============================
   ACCESIBILIDAD / SELECCIÓN
   ============================ */

::selection {
  background: var(--oro-luz);
  color: var(--verde-abisal);
}

:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
}


/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1050px) {
  .app-nav {
    gap: 0.1rem;
  }

  .nav-link {
    font-size: 0.76rem;
    padding-inline: 0.5rem;
  }
}


/* Tablets */
@media (max-width: 900px) {
  .app-header-inner {
    padding-inline: 1rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
  }

  .card-grid,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ritual-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  }

  .faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.9fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .pregunta-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Móviles */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  .app-header-inner {
    min-height: 70px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.59rem;
  }

  .nav-toggle {
    display: flex;
  }

  .app-nav {
    position: fixed;
    top: 69px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 69px);
    overflow-y: auto;
    background: rgba(3, 40, 32, 0.985);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1rem 1.1rem;
    gap: 0.18rem;
    border-bottom: 1px solid rgba(214, 174, 74, 0.28);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
    z-index: 40;
  }

  .app-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem 0.75rem;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link-cta {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
  }

  .section {
    padding-inline: 1rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-hero {
    min-height: auto;
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: 0;
  }

  .hero-title {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid,
  .card-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ritual-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn,
  .btn-full {
    width: 100%;
    max-width: 100%;
  }

  .section-cta-row .btn-primary {
    min-width: 0;
  }
}


/* Móviles muy pequeños */
@media (max-width: 480px) {
  .app-header-inner {
    padding-inline: 0.8rem;
  }

  .brand-text {
    max-width: 180px;
  }

  .section {
    padding-inline: 0.8rem;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .hero-subtitle {
    font-size: 0.94rem;
  }

  .hero-card-inner {
    padding: 1.45rem 1.25rem;
  }

  .card {
    padding: 1.3rem 1.2rem;
  }

  .pregunta-form .digits-row {
    gap: 0.38rem;
  }

  .digit-input {
    width: calc(25% - 0.3rem);
  }

  .modal-contenido {
    padding: 1.7rem 1.25rem;
  }

  .bola-cristal {
    width: 150px;
    height: 150px;
  }

  .bola-cristal span {
    font-size: 2rem;
  }
}


/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
