/* =============================================
   HARMONY - Estilos Principales
   ============================================= */

/* Variables */
:root {
  --verde: #22c55e;
  --verde-dark: #16a34a;
  --verde-light: #dcfce7;
  --verde-pale: #f0fdf4;
  --texto: #1a1a2e;
  --texto-muted: #6b7280;
  --blanco: #ffffff;
  --gris-claro: #f9fafb;
  --shadow: 0 4px 24px rgba(34, 197, 94, 0.12);
  --shadow-lg: 0 12px 48px rgba(34, 197, 94, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: 'Inter', sans-serif;
  --font-title: 'Playfair Display', serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilidades */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(26px, 5vw, 38px);
  color: var(--texto);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-title span {
  color: var(--verde);
}

.section-title.center {
  text-align: center;
}

.section-sub {
  color: var(--texto-muted);
  font-size: 16px;
  margin-bottom: 36px;
}

.section-sub.center {
  text-align: center;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--texto);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 22px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--verde);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-cta {
  background: var(--verde);
  color: var(--blanco);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--verde-dark);
}

.nav-link.nav-cta::after {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f4c2e 0%, #145a32 40%, #1e7a4c 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 40, 20, 0.85) 0%, rgba(10, 60, 30, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 680px;
  animation: fadeUp 0.9s ease both;
}

.hero-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(38px, 8vw, 64px);
  color: var(--blanco);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span {
  color: #4ade80;
  font-style: italic;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--blanco);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.btn-whatsapp i {
  font-size: 20px;
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: bounce 2s infinite;
}

/* =============================================
   SOBRE MÍ
   ============================================= */
.sobre-mi {
  padding: 96px 0;
  background: var(--blanco);
}

.sobre-mi .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.sobre-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--verde-light);
  box-shadow: 0 8px 40px rgba(34, 197, 94, 0.2);
}

.badge-cert {
  position: absolute;
  bottom: 8px;
  right: -12px;
  background: var(--verde);
  color: var(--blanco);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.4);
}

.sobre-desc {
  color: var(--texto-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
  margin-top: 12px;
}

.sobre-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--verde);
  font-family: var(--font-title);
}

.stat span {
  font-size: 12px;
  color: var(--texto-muted);
  font-weight: 500;
}

/* =============================================
   CLASES
   ============================================= */
.clases {
  padding: 96px 0;
  background: var(--verde-pale);
}

.clases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.clase-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  position: relative;
  cursor: default;
}

.clase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.clase-card.featured {
  border: 2px solid var(--verde);
}

.clase-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clase-icon i {
  font-size: 22px;
  color: var(--verde-dark);
}

.clase-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--texto);
}

.clase-info p {
  font-size: 13px;
  color: var(--texto-muted);
  line-height: 1.6;
}

.clase-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--verde);
  color: var(--blanco);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* =============================================
   SERVICIOS ESOTÉRICOS
   ============================================= */
.servicios-esoter {
  padding: 96px 0;
  background: linear-gradient(160deg, #1a0533 0%, #2d1250 50%, #1a0533 100%);
  position: relative;
  overflow: hidden;
}

.servicios-esoter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(167, 139, 250, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.servicios-esoter .section-tag {
  color: #c4b5fd;
}

.servicios-esoter .section-title {
  color: #f5f3ff;
}

.servicios-esoter .section-title span {
  color: #a78bfa;
}

.servicios-esoter .section-sub {
  color: rgba(245, 243, 255, 0.65);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servicio-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.servicio-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.25);
}

.servicio-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.servicio-svg {
  width: 34px;
  height: 34px;
}

.servicio-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f5f3ff;
  margin-bottom: 10px;
  font-family: var(--font-title);
}

.servicio-body p {
  font-size: 14px;
  color: rgba(245, 243, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 20px;
}

.servicio-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  width: fit-content;
}

.servicio-cta i {
  font-size: 16px;
}

.servicio-cta:hover {
  background: #25d366;
  border-color: #25d366;
  color: var(--blanco);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* =============================================
   CLASES ONLINE (simple)
   ============================================= */
.online-simple {
  padding: 80px 0;
  background: var(--blanco);
}

.online-simple-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid var(--verde-light);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: var(--shadow);
}

.online-simple-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.35);
}

.online-simple-icon i {
  font-size: 40px;
  color: var(--blanco);
}

.online-simple-desc {
  color: var(--texto-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 12px;
  margin-bottom: 28px;
  max-width: 540px;
}

@media (max-width: 768px) {
  .online-simple-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
    gap: 24px;
  }

  .online-simple-icon {
    margin: 0 auto;
  }

  .btn-whatsapp {
    margin: 0 auto !important;
  }
}

/* =============================================
   HORARIOS
   ============================================= */
.horarios {
  padding: 96px 0;
  background: var(--blanco);
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.horario-card {
  background: var(--verde-pale);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--verde-light);
}

.horario-day {
  background: var(--verde);
  color: var(--blanco);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.horario-clases {
  padding: 16px 20px;
}

.horario-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--verde-light);
}

.horario-item:last-child {
  border-bottom: none;
}

.horario-hora {
  font-weight: 700;
  color: var(--verde);
  font-size: 13px;
  min-width: 44px;
}

/* =============================================
   TESTIMONIOS
   ============================================= */
.testimonios {
  padding: 96px 0;
  background: var(--verde-pale);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonio-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.estrellas {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonio-card>p {
  font-size: 14px;
  color: var(--texto-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.autor-avatar {
  width: 36px;
  height: 36px;
  background: var(--verde-light);
  color: var(--verde-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonio-autor strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.testimonio-autor span {
  font-size: 11px;
  color: var(--texto-muted);
}

/* =============================================
   REDES SOCIALES
   ============================================= */
.redes {
  padding: 96px 0;
  background: var(--blanco);
}

.redes-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.red-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--verde-pale);
  border: 1px solid var(--verde-light);
  transition: var(--transition);
  min-width: 100px;
}

.red-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: var(--verde-light);
}

.red-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blanco);
  transition: var(--transition);
}

.red-icon.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.red-icon.facebook {
  background: #1877f2;
}

.red-icon.youtube {
  background: #ff0000;
}

.red-icon.whatsapp {
  background: #25d366;
}

.red-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--texto-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--texto);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer p {
  font-size: 13px;
  margin-bottom: 16px;
}

.footer-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--verde);
  text-transform: uppercase;
}

/* =============================================
   FAB WHATSAPP
   ============================================= */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: #25d366;
  color: var(--blanco);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  white-space: nowrap;
}

.fab-whatsapp i {
  font-size: 20px;
}

.fab-whatsapp:hover {
  background: #22c55e;
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* =============================================
   ANIMACIONES
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {

  /* Navbar móvil */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blanco);
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-menu.open {
    max-height: 400px;
    padding: 16px 0;
  }

  .nav-link {
    padding: 14px 24px;
    display: block;
    border-bottom: 1px solid var(--gris-claro);
  }

  .nav-link.nav-cta {
    margin: 16px 24px 0;
    text-align: center;
    border-bottom: none;
    border-radius: var(--radius-sm);
  }

  .nav-link::after {
    display: none;
  }

  /* Sobre mí */
  .sobre-mi .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .sobre-img-wrap {
    margin: 0 auto;
  }

  .sobre-stats {
    justify-content: center;
  }

  /* Clases y horarios */
  .clases-grid,
  .horarios-grid,
  .testimonios-grid,
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  /* Redes */
  .redes-grid {
    gap: 16px;
  }

  .red-card {
    padding: 20px 24px;
  }

  /* FAB */
  .fab-whatsapp {
    bottom: 16px;
    font-size: 13px;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .btn-whatsapp {
    font-size: 14px;
    padding: 14px 24px;
  }

  .section-title {
    font-size: 24px;
  }
}