/* ========================================= */
/* RESET */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
    color: #222;
}
/* ========================================= */
/* VARIABLES */
/* ========================================= */
:root {
  --morado: #7a3dc2;
  --violeta: #b673f2;
  --blanco: #ffffff;
  --negro: #222;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(100px);
  padding: 12px 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  border-bottom: 1px solid rgba(200, 200, 200, 0.3);
}

.nav-container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--morado);
  font-size: 22px;
  text-decoration: none;
  font-weight: 600;
}

.nav-logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--morado);
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--violeta);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--violeta);
}

.nav-links a:hover::after {
  width: 100%;
}


.nav-contact-btn {
  background: var(--morado);
  padding: 10px 20px;
  border-radius: 25px;
  color: var(--blanco) !important;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-contact-btn:hover {
  background: var(--violeta);
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: inline-block;
}

.nav-toggle {
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--morado);
  border-radius: 3px;
  transition: 0.3s;
}

@media (max-width: 850px) {

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 0;
    width: 100%;
    padding: 25px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    gap: 22px;
    text-align: center;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
  }

  .nav-links a {
    color: var(--morado);
    font-size: 18px;
  }

  .nav-links.open {
    display: flex;
    animation: fadeMenu 0.3s ease;
  }
}

@keyframes fadeMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(40, 0, 80, 0.25);
  backdrop-filter: blur(1px);
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: white;
  width: 90%;
  max-width: 900px;
}

.hero-logo {
  width: 130px;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 18px;
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 45px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #ffd6ff;
}

.stat-label {
  font-size: 16px;
  margin-top: 5px;
}

/* MOBILE */
@media (max-width: 850px) {
  .hero {
    padding-top: 30px;
  }

  .hero-logo {
    width: 110px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .hero-subtext {
    font-size: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 350px;
    margin: 0 auto;
  }

  .hero-stats .stat-box:nth-child(3) {
    grid-column: span 2;
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-label {
    font-size: 14px;
  }
}

/* SERVICIOS */
.servicios {
  padding: 100px 0;
  background: #f7f3fb;
}

.servicios-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.servicios h2 {
  font-size: 38px;
  font-weight: 700;
  color: #6b3fa0;
  margin-bottom: 10px;
}

.servicios-intro {
  font-size: 18px;
  color: #555;
  max-width: 650px;
  margin: 0 auto 50px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 50px;
}

.servicio-card {
  background: white;
  border-radius: 18px;
  border: 1px solid #e6d8f7;
  overflow: hidden;
  padding-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.servicio-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicio-card h3 {
  color: #6b3fa0;
  font-size: 22px;
  margin-top: 18px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.servicio-card p {
  font-size: 15px;
  color: #444;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* BOTONES */
.servicio-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-explorar {
  background: #6b3fa0;
  color: white;
  padding: 10px 18px;
  border-radius: 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Botón Agendar con icono */
.btn-agendar {
  background: #27c281;
  color: white;
  padding: 10px 18px;
  border-radius: 22px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-agendar::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
}

.btn-explorar:hover {
  background: #a87bdb;
}

.btn-agendar:hover {
  background: #1ea46c;
}

/* BOTÓN FINAL */
.servicios-btn {
  background: #6b3fa0;
  padding: 12px 28px;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.servicios-btn:hover {
  background: #a87bdb;
}

/* MOBILE */
@media (max-width: 850px) {

  .servicios h2 {
    font-size: 28px;
  }

  .servicios-intro {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .servicio-img {
    height: 170px;
  }

  .servicio-card h3 {
    font-size: 20px;
  }

  .servicio-card p {
    font-size: 14px;
  }

  .servicio-actions {
    flex-direction: column;
    gap: 12px;
    padding: 0 40px;
  }

  .btn-explorar,
  .btn-agendar {
    width: 100%;
    padding: 10px 0;
    border-radius: 25px;
    justify-content: center;
    text-align: center;
  }
}

/* TERAPEUTAS */
.terapeutas {
  padding: 100px 0;
  background: #ffffff;
}

.terapeutas-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.terapeutas h2 {
  font-size: 38px;
  font-weight: 700;
  color: #6b3fa0;
  margin-bottom: 40px;
}

/* Wrapper que contiene flechas + carrusel */
.terapeutas-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* FLECHAS */
.terapeutas-arrow {
  background: white;
  border: 1px solid #d8c8f3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b3fa0;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  z-index: 20;
}

.terapeutas-arrow:hover {
  background: #f4eaff;
}

.terapeutas-arrow.left {
  position: absolute;
  left: -25px;
}

.terapeutas-arrow.right {
  position: absolute;
  right: -25px;
}

/* CARRUSEL */
.terapeutas-carousel {
  display: flex;
  gap: 35px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none;
}

.terapeutas-carousel::-webkit-scrollbar {
  display: none;
}

/* TARJETAS */
.terapeuta-card {
  min-width: 200px;
  scroll-snap-align: center;
  text-align: center;
}

.terapeuta-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #e8d7ff;
  margin-bottom: 15px;
}

.terapeuta-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

/* ENLACE DE EXPLORAR */
.link-explorar {
  font-size: 15px;
  color: #6b3fa0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.link-explorar:hover {
  color: #9a6fe2;
}

.terapeutas-carousel.loop {
  scroll-behavior: smooth;
}

/* MOBILE */
@media (max-width: 850px) {
  .terapeutas h2 {
    font-size: 28px;
  }

  .terapeutas-arrow {
    display: none;
  }

  .terapeuta-card img {
    width: 130px;
    height: 130px;
  }
}

/* CTA */
.cta-whatsapp {
  position: relative;
  padding: 120px 0;
  text-align: center;
  background: url("media/cta.jpg") center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(80, 0, 120, 0.25);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.cta-whatsapp h2 {
  font-size: 36px;
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-whatsapp p {
  font-size: 18px;
  color: #f1e8ff;
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #27c281;
  color: white;
  padding: 16px 35px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: 0.3s ease;
}

.cta-btn i {
  font-size: 24px;
}

.cta-btn:hover {
  background: #1ca36a;
}

/* Mobile */
@media (max-width: 850px) {
  .cta-whatsapp h2 {
    font-size: 28px;
  }
  .cta-whatsapp p {
    font-size: 16px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 14px 30px;
  }
}

/* CONTACTO */
.contacto {
  padding: 100px 0;
  background: #faf5ff;
}

.contacto-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IZQUIERDA */
.contacto-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: #6b3fa0;
  margin-bottom: 10px;
}

.contacto-text {
  font-size: 18px;
  color: #444;
  margin-bottom: 25px;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #333;
  margin-bottom: 18px;
}

.contacto-item i {
  font-size: 20px;
  color: #6b3fa0;
}

/* BOTÓN WHATSAPP */
.contacto-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: #27c281;
  color: white;
  padding: 14px 28px;
  border-radius: 35px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: 0.3s ease;
}

.contacto-btn i {
  font-size: 22px;
}

.contacto-btn:hover {
  background: #1ea46c;
}

/* MAPA */
.contacto-mapa {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* MOBILE */
@media (max-width: 850px) {

  .contacto-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .contacto-info h2 {
    font-size: 28px;
  }

  .contacto-text {
    font-size: 16px;
  }

  .contacto-item {
    justify-content: center;
  }

  .contacto-mapa {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  }

  .contacto-mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }


  .contacto-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}

/* FOOTER */
.footer {
  background: #f4edf9;
  padding: 60px 0 20px;
  color: #333;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IZQUIERDA */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 140px;
}

.footer-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  max-width: 400px;
}

/* DERECHA */
.footer-right h3 {
  color: #6b3fa0;
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 12px;
  transition: 0.3s ease;
}

.footer-item i {
  color: #6b3fa0;
  font-size: 18px;
}

.footer-item:hover {
  color: #6b3fa0;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #d8c8f3;
  text-align: center;
}

.footer-bottom p {
  font-size: 15px;
  color: #555;
}

.footer-bottom a {
  color: #6b3fa0;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #9a6fe2;
}

/* MOBILE */
@media (max-width: 850px) {

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-row {
    flex-direction: column;
    gap: 15px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-desc {
    margin: 0 auto;
  }

  .footer-right {
    margin-top: 30px;
  }
}
