/* ==========
   BASE
========== */

:root {
  --bg-deep: #021712;
  --bg-forest: #05271e;
  --bg-card: rgba(3, 32, 25, 0.96);
  --gold: #f5d58a;
  --gold-soft: #e7c97c;
  --emerald: #1f7a5a;
  --emerald-soft: #2d9c72;
  --text-main: #f6f3e8;
  --text-muted: #b8c4b6;
  --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.6);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, #0a3b2c 0, #02120f 55%, #000 100%);
  overflow-x: hidden;
}

/* Fondo general con textura bosque */

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(208, 240, 192, 0.06), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(252, 250, 215, 0.08), transparent 55%),
    radial-gradient(circle at 10% 75%, rgba(169, 223, 192, 0.07), transparent 55%),
    linear-gradient(135deg, #02150f 0%, #041f19 45%, #010c09 100%);
  pointer-events: none;
  z-index: -2;
}

/* Elementales (orbes de luz) */

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 213, 138, 0.6), transparent 60%);
  filter: blur(3px);
  opacity: 0.22;
  animation: float-orb 28s ease-in-out infinite alternate;
}

.orb-1 {
  top: 8%;
  left: 12%;
}

.orb-2 {
  top: 65%;
  left: 8%;
  animation-delay: 4s;
}

.orb-3 {
  top: 15%;
  right: 10%;
  animation-delay: 9s;
}

.orb-4 {
  bottom: 10%;
  right: 18%;
  animation-delay: 14s;
}

/* Mariposas */

.butterfly {
  position: absolute;
  width: 32px;
  height: 24px;
  background:
    radial-gradient(circle at 30% 50%, #fff 0, rgba(255, 255, 255, 0) 70%),
    radial-gradient(circle at 70% 50%, #fff 0, rgba(255, 255, 255, 0) 70%);
  filter: drop-shadow(0 0 9px rgba(255, 240, 200, 0.9));
  transform-origin: center;
  opacity: 0.95;
  animation: butterfly-path 22s linear infinite;
}

.butterfly::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -40px;
  top: -10px;
  background: radial-gradient(
    circle,
    rgba(245, 213, 138, 0.6),
    rgba(245, 213, 138, 0.03) 65%,
    transparent 70%
  );
  opacity: 0.7;
  filter: blur(1px);
}

.butterfly-1 {
  top: 32%;
  left: 6%;
}

.butterfly-2 {
  top: 55%;
  right: 16%;
  animation-delay: 7s;
}

.butterfly-3 {
  bottom: 8%;
  left: 40%;
  animation-delay: 13s;
}

/* Layout principal */

.page-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

/* Botón audio */

.audio-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  background: rgba(3, 32, 25, 0.86);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.audio-toggle:hover {
  background: rgba(4, 46, 35, 0.96);
}

/* ==========
   HERO
========== */

.hero {
  margin-top: 12px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: stretch;
}

.hero-card {
  background: radial-gradient(circle at top left, #12372b 0, #021511 55%);
  border-radius: var(--radius-xl);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(245, 213, 138, 0.18);
  position: relative;
  overflow: hidden;
}

/* textura sutil */

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 90px 90px;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.logo-symbol {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(245, 213, 138, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: radial-gradient(circle at 30% 0, #f5d58a 0, #3d5d45 55%, #03120e 85%);
  box-shadow: 0 0 32px rgba(245, 213, 138, 0.5);
}

.logo-symbol svg {
  width: 52px;
  height: 52px;
}

.trisq-circle {
  fill: none;
  stroke: rgba(245, 213, 138, 0.55);
  stroke-width: 1.5;
}

.trisq-path {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 213, 138, 0.4);
  background: rgba(2, 18, 14, 0.7);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 14px;
  color: var(--gold);
}

.hero-lead {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.social {
  background: rgba(3, 27, 21, 0.8);
  border-color: rgba(245, 213, 138, 0.35);
  color: var(--gold-soft);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.btn.social:hover {
  background: rgba(5, 44, 34, 0.95);
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold) 0%, #f4e2b3 100%);
  color: #2a291f;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 6px;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
}

.hero-footnote {
  font-size: 11px;
  color: var(--text-muted);
}

/* Lado derecho hero */

.hero-side {
  position: relative;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 20% 0, #234f3a 0, #02130f 55%, #000 100%);
  border: 1px solid rgba(245, 213, 138, 0.2);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(245, 213, 138, 0.08),
    transparent 60%
  );
  opacity: 0.7;
}

/* círculo creciente */

.crescent-circle {
  position: absolute;
  top: 22%;
  right: 18%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px solid rgba(245, 213, 138, 0.55);
  box-shadow: 0 0 40px rgba(245, 213, 138, 0.55);
  clip-path: circle(50% at 65% 50%);
  opacity: 0.9;
}

/* halo bosque */

.forest-halo {
  position: absolute;
  inset: 40px 32px auto 32px;
  height: 60%;
  border-radius: 40% 60% 50% 50%;
  background:
    radial-gradient(circle at 50% 0, rgba(245, 213, 138, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(3, 46, 35, 0.1) 0, #02110e 75%);
  border: 1px solid rgba(245, 213, 138, 0.2);
  filter: blur(0.2px);
}

/* ==========
   SECCIONES
========== */

.section {
  margin-top: 42px;
}

.section-inner {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(245, 213, 138, 0.18);
  background: radial-gradient(circle at top left, #13392a 0, #021713 55%);
  box-shadow: var(--shadow-soft);
  padding: 26px 26px 24px;
  position: relative;
  overflow: hidden;
}

.section-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    );
  background-size: 120px 120px;
  opacity: 0.4;
  pointer-events: none;
}

.section-inner > * {
  position: relative;
  z-index: 1;
}

.section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--gold);
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* LIBRO */

.book-inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.book-image-wrapper {
  border-radius: 22px;
  padding: 10px;
  background: radial-gradient(circle at top, rgba(245, 213, 138, 0.18), #031713);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.75);
}

.book-cover {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
}

.book-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 10px;
}

.book-content .note {
  font-size: 11px;
  color: var(--text-muted);
}

/* BIORECONEXION */

.bioreconexion {
  margin-top: 36px;
}

.bioreconexion .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

/* figura árbol + mujer */

.bio-tree-figure {
  position: relative;
  min-height: 220px;
}

.tree-trunk {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 34px;
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(180deg, #203827 0, #0b140d 85%);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.7);
}

.tree-crown {
  position: absolute;
  bottom: 110px;
  left: 10%;
  width: 140px;
  height: 140px;
  border-radius: 70% 80% 65% 75%;
  background:
    radial-gradient(circle at 30% 0, rgba(245, 213, 138, 0.32), transparent 60%),
    radial-gradient(circle at 70% 60%, #1f7a5a, #041510 80%);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* mujer contemplando */

.figure-silhouette {
  position: absolute;
  bottom: 12px;
  left: 6%;
  width: 70px;
  height: 130px;
  border-radius: 45% 45% 35% 35%;
  background: linear-gradient(180deg, rgba(245, 213, 138, 0.8), #1c3a2f 70%);
  mask-image: radial-gradient(circle at 50% 0, black 0, transparent 68%);
  opacity: 0.92;
}

/* Bioreconexion texto */

.bioreconexion-content p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 213, 138, 0.38);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(2, 18, 14, 0.8);
}

/* QUIÉN SOY */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

.about-content p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 10px;
}

.about-visual {
  position: relative;
  min-height: 220px;
}

.tree-large {
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 46px;
  height: 180px;
  border-radius: 20px;
  background: linear-gradient(180deg, #284633 0, #050c08 85%);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.8);
}

.figure-conversing {
  position: absolute;
  bottom: 12px;
  right: 27%;
  width: 72px;
  height: 130px;
  border-radius: 45% 45% 35% 35%;
  background: linear-gradient(180deg, rgba(245, 213, 138, 0.9), #203e31 70%);
  mask-image: radial-gradient(circle at 50% 0, black 0, transparent 67%);
  opacity: 0.94;
}

.sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 16px rgba(245, 213, 138, 0.9);
  animation: pulse 4s ease-in-out infinite;
}

.sparkle-1 {
  top: 18%;
  right: 24%;
}

.sparkle-2 {
  top: 32%;
  right: 10%;
  animation-delay: 1.7s;
}

/* CONTACTO */

.contact-inner p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 10px;
}

.contact-email a {
  color: var(--gold);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* FOOTER */

.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-note {
  margin-top: 4px;
}

/* ==========
   ANIMACIONES
========== */

@keyframes float-orb {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(30px, -28px, 0);
  }
}

@keyframes butterfly-path {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(60px, -30px, 0) rotate(-10deg);
  }
  50% {
    transform: translate3d(120px, 10px, 0) rotate(6deg);
  }
  75% {
    transform: translate3d(80px, 40px, 0) rotate(-4deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========
   RESPONSIVE
========== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    min-height: 220px;
  }

  .book-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-image-wrapper {
    max-width: 260px;
    margin: 0 auto 14px;
  }

  .bioreconexion .section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page-wrapper {
    padding: 20px 14px 32px;
  }

  .hero-card,
  .section-inner {
    padding: 20px 18px 18px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .audio-toggle {
    right: 12px;
    bottom: 12px;
  }
}
