/* ============================================================
   VOYRA — Styles
   ============================================================ */

/* ---- Variables ---- */
:root {
  --purple:       #6B3FA0;
  --purple-light: #9B6DD6;
  --purple-pale:  #EDE5F8;
  --green:        #4A7C5E;
  --green-pale:   #E4EFE8;
  --cream:        #FAF8F3;
  --sand:         #F0EBE1;
  --text:         #1C1A20;
  --text-muted:   #6B6575;
  --border:       rgba(107,63,160,0.12);
  --white:        #FFFFFF;

  --font-serif:   'Lora', Georgia, serif;
  --font-sans:    'Montserrat', system-ui, sans-serif;

  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(107,63,160,0.10);
  --shadow-lg:    0 12px 48px rgba(107,63,160,0.16);

  --nav-h:        68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 500; }

p { font-size: 1rem; color: var(--text-muted); }

em { font-style: italic; color: var(--purple-light); }

/* ---- Container ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ---- Labels ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-pale);
  padding: 0.35em 0.85em;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-label.light {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
}

/* ---- Section headers ---- */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250,248,243,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#nav.scrolled {
  box-shadow: 0 2px 20px rgba(107,63,160,0.08);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--purple); }

.btn-nav {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.btn-nav:hover {
  background: var(--purple-light) !important;
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) clamp(1.25rem, 5vw, 3rem) 5rem;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-botanical {
  width: min(600px, 90vw);
  height: auto;
  opacity: 0.9;
  animation: slow-rotate 60s linear infinite;
}
@keyframes slow-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  margin-bottom: 1.25rem;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--purple);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(107,63,160,0.25);
}
.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107,63,160,0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--purple);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: var(--purple);
  background: var(--purple-pale);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  margin: 0 auto;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============================================================
   HISTORIA
   ============================================================ */
#historia {
  padding: 7rem 0;
  background: var(--white);
}
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}
.historia-deco svg {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}
.historia-text .section-label {
  margin-bottom: 1.25rem;
}
.historia-text h2 {
  margin-bottom: 1.25rem;
}
.historia-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 520px;
}
.historia-text p:last-child { margin-bottom: 0; }

/* ============================================================
   REMEDIOS
   ============================================================ */
#remedios {
  padding: 7rem 0;
  background: var(--cream);
}

.remedios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.remedio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.remedio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107,63,160,0.25);
}

.remedio-icon svg {
  width: 72px;
  height: 72px;
}

.remedio-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.remedio-body h3 {
  color: var(--text);
  font-size: 1.15rem;
}
.remedio-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
}

.ingredientes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin-top: 0.25rem;
}
.ingredientes li {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: 0.3em 0.75em;
  border-radius: 100px;
}

.btn-remedio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  align-self: flex-start;
}
.btn-remedio:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
#testimonios {
  padding: 7rem 0;
  background: var(--sand);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonio-quote {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--purple-pale);
  font-weight: 600;
  height: 2rem;
  overflow: visible;
  user-select: none;
}

.testimonio-card p {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  color: #3A3545;
  flex: 1;
}

.testimonio-author {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.author-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.author-age {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   COMPRAR
   ============================================================ */
#comprar {
  padding: 7rem 0;
  background: linear-gradient(135deg, #4A2A7A 0%, #6B3FA0 50%, #7A5AB5 100%);
  position: relative;
  overflow: hidden;
}

.comprar-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.comprar-inner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.comprar-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.comprar-deco {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  opacity: 0.6;
  pointer-events: none;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--purple);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-cta:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.55);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-logo {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-disclaimer { font-style: italic; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .historia-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .historia-deco { display: none; }

  .remedios-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .embajador-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .comprar-deco { display: none; }

  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-nav { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  .nav-links a:not(.btn-nav) { display: none; }

  #historia, #remedios, #testimonios, #comprar { padding: 5rem 0; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; max-width: 280px; }

  .comprar-inner h2 { font-size: 1.8rem; }
}

/* ============================================================
   ANIMATIONS (scroll-triggered via JS)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  overflow: hidden;
  background: var(--purple);
  padding: 0.9rem 0;
  white-space: nowrap;
}
.ticker {
  display: inline-flex;
  gap: 2rem;
  animation: ticker-scroll 35s linear infinite;
}
.ticker span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.ticker .ticker-dot {
  color: rgba(255,255,255,0.35);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TESTIMONIOS CTA
   ============================================================ */
.testimonios-cta {
  text-align: center;
  margin-top: 3.5rem;
}
.testimonios-cta > p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover {
  background: #1EBE5B;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
}
.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   EMBAJADORES
   ============================================================ */
#embajadores {
  padding: 7rem 0;
  background: var(--cream);
}
.embajador-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.embajador-text .section-label {
  margin-bottom: 1.25rem;
}
.embajador-text h2 {
  margin-bottom: 1.25rem;
}
.embajador-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 520px;
}
.embajador-text .btn-primary {
  margin-top: 0.75rem;
}
.embajador-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.embajador-feature {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.embajador-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(107,63,160,0.25);
}
.embajador-feature h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.embajador-feature p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   FOOTER REF
   ============================================================ */
.footer-ref {
  color: rgba(255,255,255,0.3);
  font-style: normal;
  transition: color 0.2s;
}
.footer-ref:hover { color: rgba(255,255,255,0.55); }
