/* =================================================================== */
/* === SERVICIOS.CSS - ESTILOS EXCLUSIVOS DE servicios.html ========== */
/* Proyecto: Aizen Mystic                                              */
/* Página: servicios.html                                              */
/* Fecha: 10 de septiembre de 2025                                     */
/* Versión: Modular, limpia, sin dependencias                          */
/* =================================================================== */

/* === 1. VARIABLES Y TIPOGRAFÍA ====================================== */
:root {
  --blanco: #ffffff;
  --morado: #903AA8;
  --beige: #F8F5F2;
  --negro: #643a0e;
  --gris-oscuro: #5D4037;
  --gris-medio: #E6D5C3;
  --footer-bg: #b877c9;
  --font-devanagari: 'Adobe Devanagari', serif;
  --font-sybilla: 'SybillaPro-Book', 'Playfair Display', serif;
}

@font-face {
  font-family: 'Adobe Devanagari';
  src: url('fonts/AdobeDevanagari-Regular.woff2') format('woff2'),
       url('fonts/AdobeDevanagari-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SybillaPro-Book';
  src: url('fonts/SybillaPro-Book.woff2') format('woff2'),
       url('fonts/SybillaPro-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-sybilla);
  color: #1A1A1A;
  background: var(--beige);
  line-height: 1.7;
}

h1, h2, h3, .highlight {
  font-family: var(--font-devanagari);
}

/* === 2. HEADER ===================================================== */
.header {
  background-color: var(--beige);
  background-image: url('../img/fondo-sakura-header.jpg');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 80%;
  border-bottom: 1px solid var(--gris-medio);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--beige);
  opacity: 0.75;
  z-index: -1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto; /* ← Esto mantiene la proporción */
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.5em;
  color: var(--negro);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.logo:hover .logo-text {
  color: var(--morado);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 1.05em;
  color: var(--negro);
  text-decoration: none;
  padding: 5px 0;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--morado);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cart-icon,
.lang-icon {
  font-size: 1.3em;
  color: var(--morado);
}

.nav-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--morado);
  color: white;
  font-size: 0.7em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.mobile-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
  color: var(--negro);
}

/* === 3. HERO DE SERVICIOS ========================================== */
.hero-services {
  position: relative;
  height: 80vh;
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(144, 58, 168, 0.3), rgba(0,0,0,0.6));
  z-index: -1;
}

.hero-logo-center-coords {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 25%;
  transform: translateX(-50%);
  pointer-events: none;
}

.logoux-img {
  width: 40px;
  height: auto;
  border-radius: 8px;
  opacity: 1 !important;
  filter: brightness(1) contrast(1.1);
}

.hero-title-coords {
  position: absolute;
  color: white;
  font-size: 3em;
  font-family: 'Adobe Devanagari', serif;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  z-index: 2;
  max-width: 900px;
  text-align: center;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-subtitle-coords {
  position: absolute;
  color: var(--gris-medio);
  font-size: 1.2em;
  text-shadow: 0 1px 5px rgba(0,0,0,0.7);
  z-index: 2;
  max-width: 900px;
  text-align: center;
  left: 50%;
  top: 52%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-btn-coords {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 62%;
  transform: translateX(-50%);
}

/* === 4. ANIMACIONES DE ENTRADA ===================================== */
.anim-element {
  position: fixed;
  top: 30%;
  left: -150px;
  transform: translateY(-50%) rotate(0deg);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
}

.anim-img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 0 15px rgba(144, 58, 168, 0.8));
}

@keyframes slideToCenter {
  0% { left: -150px; transform: translateY(-50%) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { left: 54%; margin-left: -60px; transform: translateX(-50%) translateY(-50%) rotate(360deg); opacity: 1; }
}

@keyframes slideToRight {
  0% { left: 54%; margin-left: -60px; transform: translateX(-50%) translateY(-50%) rotate(360deg); opacity: 1; }
  100% { left: calc(100% - 130px); transform: translateX(-100%) translateY(-50%) rotate(720deg); opacity: 0; }
}

.anim-element.slide-center {
  animation: slideToCenter 1.8s ease-out forwards;
}

.anim-element.slide-right {
  animation: slideToRight 1.5s ease-out forwards;
}

/* === SERVICIOS: TARJETAS CON IMAGEN CUADRADA 1:1 Y ALINEACIÓN SUPERIOR === */
.service-card-full {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin-bottom: 50px;
  padding: 30px;
  box-sizing: border-box;
  
}

.service-card-full .service-image {
  width: 280px;
  height: 280px;
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.service-card-full .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.service-card-full .service-content {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--morado);
  font-size: 1.5em;
}

.service-content p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--gris-oscuro);
}

/* === 6. BOTONES ==================================================== */
.btn-primary {
  background: var(--morado);
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 30px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #7a2f8d;
  transform: translateY(-2px);
}

.btn-small {
  display: block;
  margin: 0 auto 15px;
  padding: 10px 20px;
  background: var(--morado);
  color: white;
  text-decoration: none;
  font-size: 0.95em;
  border-radius: 25px;
  transition: background 0.3s, transform 0.2s;
  width: fit-content;
  font-weight: 600;
}

.btn-small:hover {
  background: #7a2f8d;
  transform: translateY(-2px);
}

/* === 7. CTA FINAL ================================================== */
.cta-full {
  background: var(--beige);
  color: var(--negro);
  text-align: center;
  padding: 80px 0;
}

.cta-full h2 {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: var(--negro);
}

.cta-full p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--gris-oscuro);
  font-size: 1.1em;
}

/* === 8. FOOTER ===================================================== */
.footer {
  background: var(--footer-bg);
  color: var(--beige);
  padding: 30px 0 15px;
  font-size: 0.85em;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 2fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-img {
  height: 60px;
  width: auto; /* ← Esto mantiene la proporción */
  transition: transform 0.3s ease;
}

.footer-contact a,
.social-links a,
.footer-legal a {
  color: var(--blanco);
  text-decoration: none;
}

/* === 9. WHATSAPP Y OTROS =========================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* === 10. RESPONSIVE (móviles) ====================================== */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .service-card-full {
    flex-direction: column;
    align-items: center;
  }
  .service-card-full .service-image {
    width: 280px;
  }
  .service-content {
    width: 100%;
    align-self: stretch;
    padding: 20px 30px;
  }
  .hero-services h1 { font-size: 2.2em; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-contact, .footer-social { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  .hero-title-coords {
    font-size: 2.2em;
    white-space: normal;
    max-width: 90%;
  }

  .hero-subtitle-coords {
    font-size: 1em;
    white-space: normal;
    max-width: 90%;
  }
}

/* === HERO GENÉRICO REUTILIZABLE === */
.hero-section {
  position: relative;
  height: 80vh;
  overflow: hidden;
  margin-top: 60px;
}

.hero-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-section .hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(144, 58, 168, 0.2), rgba(0,0,0,0.6));
  z-index: -1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: white;
}

.hero-section .hero-title {
  font-size: 3.5em;
  font-family: var(--font-devanagari);
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  margin: 0;
  max-width: 90%;
}

.hero-section .hero-subtitle {
  font-size: 1.4em;
  margin: 20px 0;
  max-width: 700px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.7);
}

.hero-section .hero-cta {
  margin-top: 20px;
}

/* Responsive móvil para hero genérico */
@media (max-width: 768px) {
  .hero-section {
    height: 90vh;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
  }

  .hero-section .hero-bg,
  .hero-section .hero-bg::before {
    position: absolute;
  }

  .hero-section .hero-content {
    width: 100%;
    max-width: 600px;
    padding: 0;
  }

  .hero-section .hero-title {
    font-size: 2.2em;
    line-height: 1.2;
    white-space: normal;
  }

  .hero-section .hero-subtitle {
    font-size: 1.1em;
    white-space: normal;
  }

  .hero-section .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
  }

  .hero-section .hero-cta a {
    width: 100%;
    text-align: center;
  }
}
/* === Menú móvil accesible === */
.nav.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--beige);
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  gap: 15px;
  z-index: 999;
}
/* === CORRECCIONES MÓVIL - SERVICIOS.HTML (NO TOCA ESCRITORIO) === */
@media (max-width: 768px) {
  /* Menú hamburguesa funcional */
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--beige);
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 15px;
    z-index: 999;
  }

  .nav.mobile-open {
    display: flex !important;
  }

  .mobile-toggle {
    display: block;
  }

  /* Hero: convertir a layout centrado en móvil */
  .hero-title-coords,
  .hero-subtitle-coords,
  .hero-btn-coords,
  .hero-logo-center-coords {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    text-align: center !important;
    white-space: normal !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-logo-center-coords {
    margin-top: 30vh;
    margin-bottom: 20px;
  }

  .hero-title-coords {
    font-size: 2em;
    margin: 20px auto;
  }

  .hero-subtitle-coords {
    font-size: 1.1em;
    margin: 10px auto 25px;
  }

  .hero-btn-coords {
    margin-top: 20px;
  }

  .hero-btn-coords .btn-primary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 12px;
    font-size: 1em;
  }

  /* Tarjetas de servicio: apilar en móvil */
  .service-card-full {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .service-card-full .service-image {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .service-card-full .service-image img {
    position: static;
    height: auto;
    width: 100%;
    object-fit: cover;
  }

  /* Footer: apilar columnas */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact,
  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
/* === 9. WHATSAPP Y OTROS =========================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-btn img {
  width: 32px;
  height: auto;
  display: block;
}
/* AGREGAR ESTOS ESTILOS AL FINAL DE TU CSS ACTUAL */

/* Mejora para la sección de coaching transpersonal - Manteniendo coherencia */
.service-highlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.service-highlight-content {
    padding-right: 20px;
}

.service-highlight-image {
  width: 100%;
  max-width: 400px; /* ← Ajusta este valor para controlar el tamaño máximo */
  aspect-ratio: 1 / 1; /* ← Esto fuerza el cuadrado */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← Recorta la imagen manteniendo proporción */
  transition: transform 0.5s ease;
}

.service-highlight-card:hover .service-highlight-image img {
  transform: scale(1.03);
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-highlight-features {
    margin: 25px 0;
    display: grid;
    gap: 12px;
}

.service-highlight-features div {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-highlight-features div:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

/* Hacer que el botón sea consistente con otros servicios */
.service-highlight-content .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-highlight-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .service-highlight-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 25px;
        margin: 40px 0;
    }
    
    .service-highlight-content {
        padding-right: 0;
    }
    
    .service-highlight-image {
        order: -1;
    }
}

/* Asegurar coherencia con las otras secciones de servicios */
.services-grid-container {
    margin: 40px 0;
}

.service-card-full {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.service-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
/* CAMBIO COMPLETO DE LA PALETA EN COACHING TRANSPERSONAL */
.service-highlight-card .service-badge {
    background: #903AA8 !important;
    background: linear-gradient(135deg, #903AA8 0%, #7a2d8f 100%) !important;
}

.service-highlight-card .service-highlight-features div {
    border-left: 4px solid #903AA8;
}

.service-highlight-card .btn-primary {
    background: #903AA8 !important;
    background: linear-gradient(135deg, #903AA8 0%, #7a2d8f 100%) !important;
    box-shadow: 0 4px 15px rgba(144, 58, 168, 0.3);
}

.service-highlight-card .btn-primary:hover {
    background: #7a2d8f !important;
    background: linear-gradient(135deg, #7a2d8f 0%, #652277 100%) !important;
    box-shadow: 0 8px 25px rgba(144, 58, 168, 0.4);
}
/* Asegura que la imagen cuadrada se centre en todos los tamaños */
.service-highlight-image {
  width: 100%;
  max-width: 500px; /* o el tamaño que definas */
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin: 0 auto; /* ← Centra horizontalmente */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* En móviles, cuando la imagen va arriba del texto */
@media (max-width: 768px) {
  .service-highlight-card {
    text-align: center;
  }

  .service-highlight-content {
    padding-right: 0;
  }

  .service-highlight-image {
    max-width: 280px;
    margin: 0 auto 30px auto; /* margen inferior para separar del texto */
  }

  .service-highlight-features {
    text-align: left; /* o 'center' si prefieres */
  }
}
