/* ========================================= */
/* 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 SERVICIOS */
.hero-servicios {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 450px;
  background: url("../media/hero_secciones.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-servicios-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(80, 0, 120, 0.25);
  z-index: 1;
}

.hero-servicios-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  color: white;
}

.hero-servicios h1 {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-servicios p {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #f4e8ff;
}

/* Botón CTA */
.hero-servicios-btn {
  display: inline-block;
  background: #6b3fa0;
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.hero-servicios-btn:hover {
  background: #8d5cd1;
}

/* MOBILE */
@media (max-width: 850px) {
  .hero-servicios {
    height: 55vh;
    min-height: 380px;
    margin-top: 50px;
  }

  .hero-servicios h1 {
    font-size: 34px;
  }

  .hero-servicios p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-servicios-btn {
    font-size: 16px;
    padding: 12px 25px;
  }
}


/* TERAPEUTAS LISTA */
.terapeutas-lista {
  padding: 100px 0;
  background: #faf6ff;
}

.terapeutas-container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
  text-align: center;
}

.terapeutas-container h2 {
  font-size: 38px;
  font-weight: 700;
  color: #6b3fa0;
  margin-bottom: 50px;
}

.terapeutas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.terapeuta-card {
  background: white;
  border-radius: 18px;
  padding: 35px 25px;
  border: 1px solid #e6d8f7;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.terapeuta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.terapeuta-img {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.terapeuta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terapeuta-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #6b3fa0;
  margin-bottom: 10px;
}

.terapeuta-link {
  font-size: 15px;
  color: #6b3fa0;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.terapeuta-link span {
  margin-left: 5px;
}

.terapeuta-link:hover {
  color: #8d5cd1;
}

/* MOBILE */
@media (max-width: 850px) {
  .terapeutas-container h2 {
    font-size: 28px;
  }

  .terapeutas-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .terapeuta-card {
    padding: 30px 20px;
  }

  .terapeuta-img {
    width: 120px;
    height: 120px;
  }
}

/* CTA SERVICIOS */
.cta-servicios {
  position: relative;
  width: 100%;
  padding: 120px 0;
  background: url("../media/cta.jpg") center/cover no-repeat fixed;
  text-align: center;
  overflow: hidden;
}

.cta-servicios-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background: rgba(80, 0, 120, 0.28);
  z-index: 1;
}

.cta-servicios-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 700px;
  margin: auto;
  color: white;
}

.cta-servicios h2 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-servicios p {
  font-size: 18px;
  color: #f4e8ff;
  margin-bottom: 35px;
}

/* BOTÓN */
.cta-servicios-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 35px;
  background: #27c281;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: 0.3s ease;
}

.cta-servicios-btn:hover {
  background: #1ea46c;
}

.cta-servicios-btn i {
  font-size: 22px;
}

/* MOBILE */
@media (max-width: 850px) {
  .cta-servicios {
    padding: 100px 0;
    background-attachment: scroll;
  }

  .cta-servicios h2 {
    font-size: 28px;
  }

  .cta-servicios p {
    font-size: 16px;
  }

  .cta-servicios-btn {
    font-size: 16px;
    padding: 12px 26px;
  }
}





/* 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;
}

.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;
}

.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;
}

.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;
  }
}
