/* ============================================
   SHANTI NILAYA ESPIRITUAL — CSS PRINCIPAL
   Estética: cálida, luminosa, holística
   Inspiración: Mystik Treatment
   ============================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --cream:      #F3EEF9;
  --cream-dark: #E5D9F0;
  --cream-mid:  #EBE2F5;
  --sage:       #7B5EA7;
  --sage-dark:  #5B3F8A;
  --sage-light: #B39DD0;
  --terra:      #C47A9B;
  --terra-dark: #9A5578;
  --gold:       #C9A05A;
  --brown:      #4A3060;
  --text-dark:  #1E1030;
  --text-mid:   #4A3A68;
  --text-light: #8070A0;
  --white:      #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', sans-serif;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(60,30,90,.10);
  --shadow-lg:  0 12px 48px rgba(60,30,90,.18);
  --transition: 0.3s ease;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TIPOGRAFÍA ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: 1.5rem; font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 400; }
em { font-style: italic; color: var(--terra); }
p { color: var(--text-mid); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
  display: block;
}
.section-label.light { color: var(--sage-light); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-top: 8px; }

/* ── BOTONES ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline:hover { background: var(--sage); color: var(--white); transform: translateY(-2px); }
.btn-sm {
  padding: 9px 20px;
  font-size: 0.75rem;
}
.btn-full { width: 100%; text-align: center; }

/* ── WHATSAPP FLOTANTE ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.5s infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #f5f1fa;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123,94,167,.15);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow var(--transition);
}
#main-nav.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.10); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  height: 88px;
  padding: 0 32px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 80px;
  width: auto;
  mix-blend-mode: multiply;
  display: block;
  transition: transform 0.3s ease;
}
.nav-logo img:hover { transform: scale(1.05); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--sage-dark); background: rgba(123,94,167,.1); }
.nav-menu .arrow { font-size: 0.65rem; margin-left: 2px; opacity: .6; }

/* Submenú */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  border: 1px solid rgba(123,94,167,.12);
}
/* Puente invisible que cubre el hueco para que el mouse no salga del área hover */
.sub-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.has-sub:hover .sub-menu {
  opacity: 1;
  pointer-events: all;
}
.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
}
.sub-menu li a:hover { background: var(--cream); color: var(--sage-dark); }
.sub-divider { border-top: 1px solid var(--cream-dark); margin-top: 6px; padding-top: 6px; }
.sub-divider a { color: var(--terra) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #1E1030;
  padding-top: 88px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../fondoLanding.jpg') center center / cover no-repeat;
  opacity: 0.45;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(91,63,138,.55) 0%, rgba(30,16,48,.7) 100%);
  z-index: 1;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 2; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .2;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #B39DD0 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #C47A9B 0%, transparent 70%);
  bottom: -80px; left: -60px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px 32px;
  max-width: 760px;
}
.hero-pre {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.hero h1 {
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero h1 em { color: var(--sage-light); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

/* ── INTRO ── */
.intro-section {
  padding: 120px 0;
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-img { position: relative; }
.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  box-shadow: var(--shadow-lg);
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E8D9C8, #C8B89A);
  cursor: pointer;
  position: relative;
}
.img-placeholder span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-light);
  font-style: italic;
}
.intro-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--sage);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.intro-badge span { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.intro-badge p { font-size: 0.78rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.intro-text { padding-top: 20px; }
.intro-text h2 { margin-bottom: 20px; }
.intro-text p { margin-bottom: 16px; line-height: 1.8; }
.intro-text .btn-outline { margin-top: 12px; }

/* ── SERVICIOS ── */
.services-section {
  padding: 120px 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid rgba(122,140,110,.1);
  transition: all var(--transition);
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--gift { border-style: dashed; border-color: var(--terra); }
.service-card--gift::before { background: var(--terra); }
.service-card--gift .service-icon { color: var(--terra); }
.service-icon {
  font-size: 2rem;
  color: var(--sage);
  margin-bottom: 20px;
  display: block;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ── CURSOS BANNER ── */
.courses-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #3D2068 0%, #5B3F8A 60%, #7B5EA7 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.courses-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -150px; right: -100px;
}
.courses-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.courses-text h2 { color: var(--white); margin-bottom: 16px; }
.courses-text p { color: rgba(255,255,255,.8); margin-bottom: 32px; line-height: 1.8; }
.courses-cards { display: flex; flex-direction: column; gap: 16px; }
.mini-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition);
}
.mini-card:hover { background: rgba(255,255,255,.18); }
.mini-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  display: inline-block;
}
.mini-card h4 {
  color: white;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}
.mini-card .btn-sm {
  background: white;
  color: var(--sage-dark);
  border-color: white;
  white-space: nowrap;
  flex-shrink: 0;
}
.mini-card .btn-sm:hover { background: var(--cream); }

/* ── TESTIMONIOS ── */
.testimonios-section {
  padding: 120px 0;
  background: var(--white);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonio-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--cream-dark);
}
.stars { color: var(--gold); margin-bottom: 16px; font-size: 1rem; letter-spacing: 2px; }
.testimonio-card > p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.test-author strong { font-size: 0.9rem; color: var(--text-dark); }
.test-author small { font-size: 0.78rem; color: var(--text-light); }

/* ── CONTACTO ── */
.contacto-section {
  padding: 120px 0;
  background: var(--cream-mid);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contacto-info h2 { margin-bottom: 16px; }
.contacto-info > p { line-height: 1.8; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
}
.contact-item:hover { border-color: var(--sage); color: var(--sage-dark); transform: translateX(4px); }
.contact-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}

/* Formulario */
.contacto-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--sage); background: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }

.file-upload {
  border: 2px dashed var(--cream-dark);
  border-radius: 8px;
  position: relative;
  transition: border-color var(--transition);
  cursor: pointer;
}
.file-upload:hover { border-color: var(--sage); }
.file-upload input[type="file"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none; background: none; padding: 0;
}
.file-ui {
  padding: 24px;
  text-align: center;
}
.file-icon { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.file-ui p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 4px; }
.file-ui small { font-size: 0.75rem; color: var(--text-light); }
.file-link { color: var(--sage); font-weight: 500; cursor: pointer; }
.file-selected {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--sage-dark);
  background: rgba(122,140,110,.08);
  border-radius: 6px;
  margin: 8px;
}
.form-alt {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.form-alt a { color: var(--sage); font-weight: 500; }

/* ── FOOTER ── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-tagline { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--sage-light); }
.footer-social h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.social-icons { display: flex; flex-direction: column; gap: 10px; }
.social-btn {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
  text-align: center;
}
.social-btn:hover { border-color: var(--sage-light); color: var(--sage-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
}
.admin-link {
  font-size: 0.75rem;
  color: rgba(255,255,255,.25);
  transition: color var(--transition);
  display: none;
}
.admin-link:hover { color: var(--sage-light); }

/* ── PÁGINAS INTERNAS: hero compacto ── */
.page-hero {
  padding: 176px 0 80px;
  background: linear-gradient(160deg, #EDE4F8 0%, #DDD0F0 100%);
  text-align: center;
}
.page-hero .section-label { margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--brown); }

/* ── SESIONES ── */
.sesion-section { padding: 100px 0; }
.sesion-section:nth-child(even) { background: var(--cream-mid); }
.sesion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sesion-grid.reverse { direction: rtl; }
.sesion-grid.reverse > * { direction: ltr; }
.sesion-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
}
.sesion-canva-embed {
  width: 100%; height: 100%;
  border: none;
}
.sesion-content h2 { margin-bottom: 12px; }
.sesion-content .section-label { margin-bottom: 8px; }
.sesion-content > p { margin-bottom: 28px; line-height: 1.8; }
.precio-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.precio-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--terra);
  display: block;
}
.precio-label { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .1em; }
.precio-loading { font-style: italic; color: var(--text-light); font-size: 0.9rem; }

/* ── CURSOS ── */
.curso-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  border: 1px solid var(--cream-dark);
}
.curso-card-header {
  padding: 40px;
  background: linear-gradient(135deg, #7B5EA7, #5B3F8A);
  color: white;
}
.curso-card-header h2 { color: white; margin-bottom: 8px; }
.curso-card-header p { color: rgba(255,255,255,.8); }
.curso-card-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
.curso-canva-preview {
  border-right: 1px solid var(--cream-dark);
  min-height: 360px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.curso-canva-preview a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 40px;
  text-align: center;
  transition: color var(--transition);
}
.curso-canva-preview a:hover { color: var(--sage); }
.curso-reserva { padding: 40px; }
.curso-reserva h3 { margin-bottom: 20px; font-size: 1.2rem; }

/* Formulario de reserva */
.reserva-form .pago-opciones {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pago-option {
  flex: 1;
  min-width: 120px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}
.pago-option input { display: none; }
.pago-option:has(input:checked),
.pago-option.selected { border-color: var(--sage); background: rgba(122,140,110,.06); }
.pago-option .opt-icon { font-size: 1.4rem; margin-bottom: 6px; }
.pago-option .opt-label { font-size: 0.78rem; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: .06em; }
.pago-option .opt-value { font-family: var(--font-serif); font-size: 1.2rem; color: var(--terra); margin-top: 4px; }
.pago-note {
  font-size: 0.82rem;
  color: var(--text-light);
  background: rgba(201,160,90,.1);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── GIFTCARD ── */
.giftcard-section { padding: 80px 0; }
.giftcard-visual {
  background: linear-gradient(135deg, #7B5EA7, #C47A9B);
  border-radius: 20px;
  padding: 60px;
  color: white;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
  overflow: hidden;
}
.giftcard-visual::before {
  content: '✦';
  position: absolute;
  font-size: 10rem;
  opacity: .06;
  top: -20px; right: -10px;
  line-height: 1;
}
.giftcard-visual h2 { color: white; margin-bottom: 8px; }
.giftcard-visual p { color: rgba(255,255,255,.8); }

/* ── FAQ ── */
.faq-section { padding: 80px 0 120px; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
  gap: 20px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--sage-dark); }
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--sage);
  transition: all var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--sage); color: white; border-color: var(--sage); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 0 24px; }
.faq-answer-inner p { line-height: 1.8; }

/* ── COMO AGENDAR ── */
.agendar-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.step-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h4 { margin-bottom: 10px; }
.step-card p { font-size: 0.88rem; line-height: 1.7; }

/* ── PANEL ADMIN EDITOR ── */
.admin-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: rgba(30,26,20,.96);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--sage);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.admin-bar.visible { transform: translateY(0); }
.admin-bar-label {
  font-size: 0.75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 600;
}
.admin-actions { display: flex; gap: 10px; margin-left: auto; }
.admin-btn {
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.admin-btn-save { background: var(--sage); color: white; }
.admin-btn-save:hover { background: var(--sage-dark); }
.admin-btn-cancel { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.admin-btn-cancel:hover { background: rgba(255,255,255,.14); color: white; }
.edit-highlight { outline: 2px dashed var(--sage) !important; outline-offset: 4px; cursor: text !important; border-radius: 4px; }

/* ── MENSAJE ÉXITO / ERROR ── */
.toast {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 4000;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(-20px);
  opacity: 0;
  transition: all .4s ease;
  pointer-events: none;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: #4CAF50; color: white; }
.toast-error { background: #E57373; color: white; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; justify-content: space-between; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: auto;
    max-height: calc(100vh - 88px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 20px;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 14px 12px; border-radius: 8px; }
  .sub-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    background: var(--cream);
    border-radius: 8px;
    margin: 4px 0;
    display: none;
  }
  .has-sub.open .sub-menu { display: block; }

  .hero h1 { font-size: 2.6rem; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .intro-grid { grid-template-columns: 1fr; gap: 60px; }
  .intro-badge { bottom: -16px; right: -8px; }

  .services-grid { grid-template-columns: 1fr; }

  .courses-inner { grid-template-columns: 1fr; gap: 40px; }

  .testimonios-grid { grid-template-columns: 1fr; }

  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .sesion-grid { grid-template-columns: 1fr; }
  .sesion-grid.reverse { direction: ltr; }

  .curso-card-body { grid-template-columns: 1fr; }
  .curso-canva-preview { border-right: none; border-bottom: 1px solid var(--cream-dark); }

  .agendar-steps { grid-template-columns: 1fr 1fr; }

  .wa-float { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .agendar-steps { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
