/* ============================================
   AmbArt Candles — Estilos compartidos
   ============================================ */

:root {
  --pink: #F4A7B5;
  --pink-soft: #F9C8D1;
  --pink-pale: #FDE8EE;
  --pink-hero: #F8D4DC;
  --cream: #FFFBFC;
  --rose: #C06478;
  --rose-dark: #A84F64;
  --rose-light: #E8909F;
  --rose-pale: #F9E0E5;
  --gold: #C9975A;
  --gold-light: #E8C48A;
  --gold-pale: #F5E6C8;
  --text: #2A1520;
  --text-soft: #6B4555;
  --text-mute: #9A7585;
  --shadow-sm: 0 4px 14px rgba(192, 100, 120, 0.08);
  --shadow-md: 0 10px 30px rgba(192, 100, 120, 0.10);
  --shadow-lg: 0 20px 50px rgba(192, 100, 120, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-brand: "Cormorant Garamond", Georgia, serif;
  --font-functional: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--pink-pale);
  color: var(--text);
  font-family: var(--font-functional);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Tipografía
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-functional);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

/* ============================================
   Logo imagen
   ============================================ */

/* ============================================
   NAVBAR
   ============================================ */

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--rose-dark);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-brand:hover {
  color: var(--rose);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-functional);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--rose);
  transition: width 0.3s cubic-bezier(.2,.8,.2,1);
}

.nav-links a:hover {
  color: var(--rose);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile hamburger */

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Barra de confianza
   ============================================ */

/* ============================================
   Hero
   ============================================ */

/* ============================================
   Botones
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-functional);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
}

/* ============================================
   Secciones
   ============================================ */

section {
  padding: 100px 24px;
  position: relative;
}

/* ============================================
   ¿Para quién es?
   ============================================ */

/* ============================================
   Cursos — Tarjetas
   ============================================ */

.courses {
  background: linear-gradient(180deg, white 0%, var(--pink-pale) 100%);
}

.price {
  font-family: var(--font-brand);
  font-size: 3rem;
  font-weight: 500;
  color: var(--rose);
  line-height: 1;
}

/* Collapsible list */

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card .btn {
  width: 100%;
}

/* ============================================
   Galería de velas
   ============================================ */

.gallery {
  background: var(--pink-pale);
}

/* ============================================
   Testimonios
   ============================================ */

/* ============================================
   Sobre mí
   ============================================ */

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin: 14px 0 24px;
}

.about-content h2 em {
  font-style: italic;
  color: var(--rose);
}

.about-content p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-content .signature {
  font-family: var(--font-brand);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rose);
  margin: 24px 0 32px;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(192, 100, 120, 0.12);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--cream);
  transition: all 0.35s;
}

.faq-item:hover {
  border-color: var(--pink);
}

.faq-item[open] {
  border-color: var(--rose-light);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 22px 28px;
  font-family: var(--font-functional);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-brand);
  font-size: 1.6rem;
  color: var(--rose);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.35s;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--rose);
}

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  animation: fadeSlideIn 0.35s ease both;
}

/* ============================================
   Calendario / Reserva
   ============================================ */

/* Vista previa bloqueada del calendario en la página principal */

/* Variantes de grid (galería y testimonios reducidos) */

/* ============================================
   Garantía
   ============================================ */

/* ============================================
   Footer
   ============================================ */

footer {
  background: var(--rose-dark);
  color: #FFE4EC;
  text-align: center;
  padding: 56px 24px 40px;
  font-size: 14px;
}

footer a {
  color: var(--pink-soft);
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

footer .copy {
  color: rgba(255, 228, 236, 0.40);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255, 228, 236, 0.10);
  padding-top: 20px;
  margin-top: 8px;
}

/* ============================================
   WhatsApp flotante
   ============================================ */

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================
   Animaciones al hacer scroll
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Páginas de confirmación
   ============================================ */

/* Logo en páginas de confirmación */

@keyframes pop-in {
  0%   { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes ring-pulse {
  0%   { transform: scale(1);   opacity: 0.45; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  section { padding: 72px 20px; }

  /* Navbar mobile */

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 251, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    align-items: flex-start;
    transition: right 0.4s cubic-bezier(.2,.8,.2,1);
    box-shadow: -10px 0 40px rgba(42, 21, 32, 0.10);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 15px;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 600px) {
  .hero-ctas .btn { width: 100%; }

  section { padding: 64px 18px; }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
  }
}

/* Tipografia funcional: importes y metricas deben distinguir 1, I y l. */
button, input, select, textarea, .nav-links a, .nav-wa, .eyebrow { font-family: var(--font-functional); }
.price, .price-old, .price-currency, .tiktok-stats .stat strong { font-family: var(--font-functional); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: 'lnum' 1, 'tnum' 1; letter-spacing: 0; }

/* WEB PERF SEO V1: with reduced motion, revealed content is shown at once (no fade or slide). */
@media (prefers-reduced-motion: reduce) {
  :root .reveal { opacity: 1; transform: none; transition: none; }
}
