:root {
  --bg: #f4ecdf;
  --bg-soft: #fcf7ee;
  --text: #202834;
  --text-muted: #4f5968;
  --navy: #182a46;
  --gold: #b38a54;
  --gold-soft: #e9d8b9;
  --warm-gray: #b5a792;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 16px 36px rgba(24, 42, 70, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(233, 216, 185, 0.5), transparent 36%),
    radial-gradient(circle at 84% 78%, rgba(179, 138, 84, 0.14), transparent 44%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 6.5vw, 4.4rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.8rem, 5.2vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.8rem 0 5rem;
  border-bottom: 1px solid rgba(179, 138, 84, 0.32);
  background-image: url("../assets/img/fondo.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(8, 15, 29, 0.74), rgba(24, 42, 70, 0.5)),
    radial-gradient(circle at 22% 18%, rgba(244, 233, 212, 0.38), transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(179, 138, 84, 0.26), transparent 48%);
  backdrop-filter: blur(2.5px);
}

.constellation {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background-image:
    radial-gradient(circle at 16% 24%, rgba(255, 246, 230, 0.78) 0.6px, transparent 1.2px),
    radial-gradient(circle at 24% 67%, rgba(233, 216, 185, 0.82) 0.7px, transparent 1.2px),
    radial-gradient(circle at 74% 30%, rgba(233, 216, 185, 0.72) 0.8px, transparent 1.25px),
    radial-gradient(circle at 65% 78%, rgba(255, 255, 255, 0.66) 0.65px, transparent 1.2px),
    linear-gradient(22deg, transparent 48%, rgba(179, 138, 84, 0.16) 49%, transparent 50%),
    linear-gradient(154deg, transparent 45%, rgba(233, 216, 185, 0.1) 46%, transparent 47%);
}

.zodiac-wheel {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(233, 216, 185, 0.5);
  box-shadow: inset 0 0 0 20px rgba(255, 255, 255, 0.08), inset 0 0 0 52px rgba(179, 138, 84, 0.1);
}

.zodiac-wheel::before,
.zodiac-wheel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.zodiac-wheel::before {
  inset: 10%;
  border: 1px dashed rgba(233, 216, 185, 0.4);
}

.zodiac-wheel::after {
  inset: 0;
  background: conic-gradient(
    from 15deg,
    transparent 0deg 25deg,
    rgba(233, 216, 185, 0.18) 25deg 30deg,
    transparent 30deg 55deg,
    rgba(233, 216, 185, 0.18) 55deg 60deg,
    transparent 60deg 85deg,
    rgba(233, 216, 185, 0.18) 85deg 90deg,
    transparent 90deg 360deg
  );
}

.zodiac-wheel-left {
  width: 360px;
  height: 360px;
  left: -150px;
  top: -80px;
  transform: rotate(-10deg);
  opacity: 0.5;
}

.zodiac-wheel-right {
  width: 420px;
  height: 420px;
  right: -200px;
  bottom: -160px;
  transform: rotate(9deg);
  opacity: 0.34;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 840px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.95rem;
}

.hero h1,
.hero p {
  color: #fbf5e8;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 1rem;
  font-size: 1.08rem;
}

.hero-quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #f5dfb7;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: #231c15;
  box-shadow: 0 10px 24px rgba(24, 42, 70, 0.28);
}

.btn-outline {
  border: 1px solid rgba(251, 245, 232, 0.72);
  color: #fbf5e8;
  background: rgba(255, 255, 255, 0.08);
}

.section-divider {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.section-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(179, 138, 84, 0.58);
}

.section-divider span:nth-child(2) {
  width: 34px;
  border-radius: 999px;
}

.section {
  padding: 4.2rem 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, rgba(252, 247, 238, 0.95), rgba(247, 238, 225, 0.9));
  border-top: 1px solid rgba(179, 138, 84, 0.2);
  border-bottom: 1px solid rgba(179, 138, 84, 0.2);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.lead-text {
  font-size: 1.08rem;
  color: #404a59;
}

.paper-card,
.card,
.cta-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 244, 232, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(24, 42, 70, 0.02) 10px 11px);
  border: 1px solid rgba(179, 138, 84, 0.27);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.2rem;
}

.card {
  position: relative;
}

.with-symbol::after {
  content: "✶";
  position: absolute;
  right: clamp(12px, 3vw, 30px);
  top: clamp(8px, 2vw, 18px);
  font-size: 1.9rem;
  color: rgba(179, 138, 84, 0.36);
}

.highlight {
  color: var(--navy);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 1rem;
}

.three-cols {
  grid-template-columns: 1fr;
}

.feature {
  padding: 1.25rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 223, 0.86));
  border-radius: 14px;
  border: 1px solid rgba(179, 138, 84, 0.22);
  box-shadow: 0 6px 14px rgba(24, 42, 70, 0.06);
}

.feature p {
  margin-bottom: 0;
}

.cta-final {
  background: linear-gradient(180deg, #f8efde 0%, #f1e4d0 100%);
}

.cta-box {
  text-align: center;
  position: relative;
}

.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(179, 138, 84, 0.2);
}

.cta-box::before {
  width: 170px;
  height: 170px;
  left: -50px;
  top: -50px;
}

.cta-box::after {
  width: 130px;
  height: 130px;
  right: -35px;
  bottom: -35px;
}

.cta-box p {
  max-width: 720px;
  margin: 0 auto 1.4rem;
}

.footer {
  background: #121f35;
  color: rgba(255, 255, 255, 0.88);
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.footer a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 600;
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .hero {
    padding: 7rem 0 6rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: start;
  }

  .three-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .paper-card,
  .card,
  .cta-box {
    padding: 2.2rem;
  }

  .zodiac-wheel-left {
    width: 440px;
    height: 440px;
    left: -190px;
    top: -110px;
  }

  .zodiac-wheel-right {
    width: 520px;
    height: 520px;
    right: -230px;
    bottom: -240px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 5.4rem;
  }

  .btn,
  .hero-actions {
    width: 100%;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .zodiac-wheel {
    opacity: 0.2;
  }

  .cta-box::before,
  .cta-box::after {
    display: none;
  }
}
/* ====== FIX FONDO GLOBAL ====== */

/* El fondo vive en el body */
body {
  background-image: url("../assets/img/fondo.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Anula fondos sólidos de secciones */
section,
.section,
.section-light,
.section-dark {
  background-color: transparent !important;
  background-image: none !important;
}
