/* ========================================= */
/* 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 TERAPEUTA */
.hero-terapeuta {
  position: relative;
  width: 100%;
  height: 70vh;
  background: linear-gradient(to bottom right, #d8c4ff, #f2eaff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.hero-terapeuta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-terapeuta-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 2;
}

.hero-terapeuta-img img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hero-terapeuta-text h1 {
  font-size: 45px;
  font-weight: 700;
  color: var(--morado);
}

.hero-terapeuta-text p {
  font-size: 18px;
  margin: 12px 0 25px;
  color: #444;
  max-width: 500px;
}

.hero-terapeuta-btn {
  background: var(--morado);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}

.hero-terapeuta-btn:hover {
  background: var(--violeta);
}


/* DESCRIPCIÓN TERAPEUTA */
.terapeuta-descripcion {
  padding: 60px 0;
  width: 90%;
  margin: auto;
  max-width: 900px;
}

.terapeuta-descripcion-content h2 {
  color: var(--morado);
  font-size: 32px;
  margin-bottom: 20px;
}

.terapeuta-descripcion-content p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #444;
}

.terapeuta-info-extra p {
  margin-top: 10px;
  font-weight: 600;
}

@media (max-width: 850px) {

  .hero-terapeuta {
    height: 100vh;
    padding: 60px 0 40px;
  }

  .hero-terapeuta-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .hero-terapeuta-img img {
    margin-top: 50px;
    width: 180px;
    height: 180px;
  }

  .hero-terapeuta-text h1 {
    font-size: 32px;
    line-height: 1.2;
    max-width: 90%;
    margin: auto;
  }

  .hero-terapeuta-text p {
    font-size: 16px;
    max-width: 95%;
    margin: 12px auto 20px;
  }

  .hero-terapeuta-btn {
    display: inline-block;
    margin: auto;
    padding: 12px 26px;
    font-size: 16px;
    margin-bottom: 30px;
  }
}



/* SERVICIOS DEL TERAPEUTA */
.terapeuta-servicios {
  padding: 60px 0;
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

.terapeuta-servicios h2 {
  color: var(--morado);
  font-size: 32px;
  margin-bottom: 25px;
  text-align: center;
}

.terapeuta-servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.servicio-card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: center;
}

.servicio-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
}

.servicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicio-card h3 {
  margin: 12px 0 8px;
  color: var(--morado);
  font-size: 20px;
}

.servicio-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.btn-agendar {
  background: var(--morado);
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

@media (max-width: 850px) {
  .servicio-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
  }

  .servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* 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;
  }
}

