:root {
  --azul-principal: #3a7bd5;
  --azul-claro: #e8f1fb;
  --azul-oscuro: #245fa8;

  --gris-texto: #333;
  --gris-suave: #f8f9fa;

  --acento-rosa: #f3c1d9; /* solo detalles pequeños */
   --alto-navbar: 120px; /* aquí mandas tú */  
}

body {
  background-color: #fff;
  color: var(--gris-texto);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;  
}

.hero {
  min-height: 70vh; /* o 75vh si lo quieres un poco más alto */
  display: flex;
  align-items: center;      /* 🔹 centra vertical */
  justify-content: center;  /* 🔹 centra horizontal */
}


.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero h1, .hero p {
    color: #1f3c5a; /* azul oscuro */
}

.btn-agenda {
  background: #2fb3a6;
  color: #fff;
  border-radius: 30px;
  padding: 14px 30px;
}

.btn-agenda:hover {
  background: #239a8e;
}

.seccion {
  padding: 80px 0;
}

.agenda {
  padding: 90px 0;
  background: linear-gradient(
    135deg,
    #e8f1fb,
    #f4f9ff
  );
}
.agenda-form {
  max-width: 400px;
  margin: auto;
}
.agenda-form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cfddee;
  background-color: #fff;
}
.agenda-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #3a7bd5;  
  color: #fff;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.agenda-form button:hover {
  background: #245fa8;
}


.btn-whatsapp {
  background: #25d366;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-size: 30px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 999;
  text-decoration: none;
}

footer {
  background: #f8f8f8;
  padding: 20px;
  text-align: center;
}

.hero {
  min-height: 70vh; /* ya más estética */

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.88),
      rgba(232,241,251,0.88)
    ),
    url("../img/hero.jpg") center / cover no-repeat;
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
    max-height: none;
    background-position: center top;
  }
}



/* Ajuste en pantallas medianas */
@media (max-width: 992px) {
  .logo-nav {
    height: 56px;
  }
}

/* Ajuste en celular */
@media (max-width: 576px) {
  .logo-nav {
    height: 46px;
  }
}


/* Ubicación – estilo tarjeta */
.ubicacion-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  padding: 22px 28px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(255, 230, 240, 0.8),
    rgba(255, 255, 255, 0.9)
  );

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #333;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ubicación – estilo tarjeta */
.ubicacion-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  padding: 22px 28px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(255, 230, 240, 0.8),
    rgba(255, 255, 255, 0.9)
  );

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #333;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ubicacion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* Icono grande */
.icono-ubicacion {
  font-size: 3rem;   /* MÁS GRANDE */
  color: #e78fb3;    /* rosa del sitio */
}

/* Texto */
.ubicacion-texto strong {
  font-size: 1.1rem;
  display: block;
}

.ubicacion-texto span {
  font-size: 0.95rem;
  color: #666;
}
.ubicacion-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  font-size: 1.05rem;
  color: #333;
  text-decoration: none;
}

.icono-ubicacion {
  font-size: 2.8rem;
  color: #e78fb3;
  position: relative;
}


.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card h5 {
  color: var(--azul-oscuro);
}

.img-sobre {
  display: block;
  margin: 0 auto;          /* 🔹 centra horizontal */
  max-width: 70%;          /* 🔹 más pequeña en desktop */
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card-sobre {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  height: 100%;
}
.barra-top {
  height: 4px;
  width: 50px;
  background-color: #3a7bd5;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card-sobre h5 {
  color: #245fa8;
  margin-bottom: 8px;
}

.card-sobre p {
  font-size: 0.95rem;
  color: #555;
}

#sobre {
  padding: 100px 0;
}

#sobre .col-lg-10 {
  padding-left: 20px;
  padding-right: 20px;
}

.titulo-seccion {
  margin-bottom: 25px;
}
.texto-sobre {
  max-width: 720px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}
.card-tratamiento {
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.card-tratamiento:hover {
  transform: translateY(-6px);
}

.info-tratamiento {
  background: #f4f9ff;
  padding: 18px 20px;
  margin-top: 10px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #555;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
.tratamiento-card {
  cursor: pointer;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  transition: transform .3s;
}

.tratamiento-card:hover {
  transform: translateY(-6px);
}

.descripcion-tratamiento {
  display: none;
  max-width: 600px;
  margin: 25px auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}


.tratamiento-card-horizontal {
  max-width: 850px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px 10px;
}

/* Este es el que controla el card de la imagen de tratamientos en pc */
.tratamiento-card-horizontal img {
  width: 600px;
  max-width: 100%;
  border-radius: 22px;  
}

.tratamiento-card-horizontal .contenido h5 {
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f3c5a;
}

.tratamiento-card-horizontal .contenido p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Separador sutil para dar estructura */
.tratamiento-card-horizontal::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.15),
    transparent
  );
  margin-top: 30px;
}

/* Estos estilos se agregaron para que pueda verse la seccion de tratamientos en color verde aguq lo quitas y vuelte normal*/
/* Sección Tratamientos */
#tratamientos {
    background-color: #2fb3a6; /* verde agua */
    color: #fff;               /* texto blanco */
}

/* Sobrescribir si alguien dejó bg-light */
#tratamientos.bg-light {
    background-color: #2fb3a6 !important;
    color: #fff !important;
}

/* Títulos y párrafos dentro de los cards */
#tratamientos .tratamiento-card-horizontal .contenido h5,
#tratamientos .tratamiento-card-horizontal .contenido p {
    color: #fff !important;
}

/* Si quieres que los separadores no se vean feos sobre el fondo */
#tratamientos .tratamiento-card-horizontal::after {
    background: rgba(255,255,255,0.3); /* línea sutil blanca translúcida */
}

/* Flechas del carousel sobre fondo verde */
#tratamientos .carousel-control-prev-icon::after,
#tratamientos .carousel-control-next-icon::after {
    color: #fff;
}

/* Estos estilos se agregaron para que pueda verse la seccion de tratamientos en color verde aguq */

@media (max-width: 768px) {
  .tratamiento-card-horizontal {
    flex-direction: column;
    text-align: center;
    padding: 25px 15px;
  }

  .tratamiento-card-horizontal img {
    width: 300px;
    max-width: 100%;
    border-radius: 22px;
    object-fit: cover;
  }
}


/* Flechas del carrusel - estilo limpio */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;   /* ❌ quita icono default */
  font-size: 2.5rem;
  color: #1f3c5a;           /* azul clínico */
}

/* Flecha izquierda */
.carousel-control-prev-icon::after {
  content: "‹";
}

/* Flecha derecha */
.carousel-control-next-icon::after {
  content: "›";
}

/* Hover sutil */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.6;
}
/* CONTACTO */
.contacto {
  background: linear-gradient(
    135deg,
    var(--azul-claro),
    #ffffff
  );
}

.contacto-form {
  max-width: 420px;
  margin: auto;
}

.contacto-form input,
.contacto-form select {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cfddee;
  background-color: #fff;
}

.contacto-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: var(--azul-principal);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contacto-form button:hover {
  background: var(--azul-oscuro);
}

/* Calendario integrado */
.calendario-wrapper {
  margin-bottom: 15px;
}

.flatpickr-calendar {
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin: 10px auto;
}

.flatpickr-day.selected {
  background: var(--azul-principal);
  border-color: var(--azul-principal);
}

.flatpickr-day:hover {
  background: var(--azul-claro);
}

.agenda-grid {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr);
  gap: 10px;
  max-width: 1000px;
  margin: auto;
}

.agenda-header {
  font-weight: 600;
  text-align: center;
  color: var(--azul-oscuro);
}

.hora {
  font-weight: 500;
  text-align: right;
  padding-right: 10px;
  color: #555;
}

.slot {
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slot.disponible {
  background: #e8f1fb;
}

.slot.disponible:hover {
  background: var(--azul-principal);
}

.slot.reservado {
  background: #ddd;
  cursor: not-allowed;
}

/* Leyenda */
.leyenda {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.leyenda.disponible {
  background: #2fb3a6;
}

.leyenda.reservado {
  background: #999;
}

.agenda-grid {
  display: grid;
  grid-template-columns: 80px repeat(5, 1fr); /* primera columna para hora, luego 5 días */
  gap: 5px;
}

.agenda-header {
  font-weight: bold;
  background-color: #f1f1f1;
  padding: 10px 0;
  text-align: center;
  border-radius: 5px;
}

.hora {
  background-color: #e0e0e0;
  text-align: center;
  padding: 10px 0;
  border-radius: 5px;
}

.slot {
  height: 40px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot.disponible {
  background-color: #4caf50;
}

.slot.reservado {
  background-color: #f44336;
  cursor: not-allowed;
}

.slot.no_disponible {
  background-color: #ccc;
  cursor: not-allowed;
}

.slot:hover.disponible {
  opacity: 0.8;
}

.leyenda {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
  border-radius: 3px;
}

.leyenda.disponible { background-color: #2fb3a6; }
.leyenda.reservado { background-color: #f44336; }

/* Formulario predefinido, un campo por renglón */
#slot-form {
    display: block;              /* no flex, cada campo en su renglón */
    padding: 15px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    max-width: 400px;            /* tamaño cómodo */
    position: absolute;
    z-index: 1000;
}

/* Inputs y botón normales */
#slot-form input,
#slot-form button {
    display: block;              /* cada elemento en renglón */
    width: 100%;
    padding: 10px 12px;          /* altura cómoda */
    margin-bottom: 12px;         /* separación entre campos */
    font-size: 0.95rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    line-height: 1.2;
}

/* Botón */
#slot-form button {
    background: #3a7bd5;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

#slot-form button:hover {
    background: #245fa8;
}

/* Móvil: sigue igual, ancho completo */
@media(max-width:768px){
    #slot-form {
        max-width: 95%;
        left: auto;
        right: auto;
    }
}
/* HERO CARRUSEL */
.hero-carousel {
  margin-top: 70px; /* respeta navbar fija */
}

.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(42, 122, 193, 0.75),
    rgba(47, 179, 166, 0.55)
  );
}

.slide-1 {
  background-image: url("../img/hero1.jpg");
}

.slide-2 {
  background-image: url("../img/hero2.jpg");
}

.slide-3 {
  background-image: url("../img/hero33.jpg");
}

.slide-4 {
  background-image: url("../img/hero4.jpg");
}

.hero-content {
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .hero-slide {
    height: 75vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
/* NAVBAR ajustada al tamaño real del logo */
.navbar {
  padding: 0 !important;
  height: var(--alto-navbar);  
}

.navbar > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: unset !important;
  align-items: center;
}

.logo-nav {
  height: 70px;       /* PC */
  width: auto;
}

/* MENÚ COLAPSADO (MÓVIL) – fondo oscuro */
@media (max-width: 991px) {

  .navbar-collapse {
    background-color: #ffffff;   /* fondo negro */
    padding: 15px 20px;
    border-radius: 0 0 12px 12px;
  }

  .navbar-nav .nav-link {
    color: #000 !important;
    font-weight: 500;
    padding: 10px 0;
  }

  .navbar-nav .nav-link:hover {
    color: #2fb3a6 !important; /* aqua del sitio */
  }

  /* Botón Agendar dentro del menú */
  .navbar-nav .btn-agenda {
    background: #2fb3a6;
    color: #fff !important;
    margin-top: 10px;
    display: inline-block;
    padding: 10px 22px;   /* 🔹 aquí está la solución */  
  }
}


@media (max-width: 768px) {
  .logo-nav {
    height: 60px;     /* móvil */
  }
}

/* MENÚ MÓVIL SIN EMPUJAR LA NAVBAR */
@media (max-width: 991px) {
  .navbar-collapse {
    position: absolute;
    top: var(--alto-navbar); /* justo debajo del navbar */
    left: 0;
    width: 100%;
    background: #fff;        /* o #000 si lo quieres negro */
    padding: 15px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 999;
  }
}


/* TÉCNICAS – VERSIÓN ANIMADA */
.tecnicas-vivas {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff, #f2f9f8);
}

.intro-tecnicas {
  max-width: 720px;
  margin: auto;
  color: #555;
}

.tecnica-viva {
  position: relative;
  background: #ffffff;
  padding: 38px 28px;
  border-radius: 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* línea animada */
.tecnica-viva .linea {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #3a7bd5, #2fb3a6);
  transition: width 0.4s ease;
}

.tecnica-viva:hover .linea {
  width: 100%;
}

.tecnica-viva .icono {
  font-size: 3rem;
  margin-bottom: 14px;
  transition: transform 0.4s ease;
}

.tecnica-viva h5 {
  color: #1f3c5a;
  margin-bottom: 10px;
  font-weight: 600;
}

.tecnica-viva p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.tecnica-viva:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.15);
}

.tecnica-viva:hover .icono {
  transform: scale(1.15) rotate(-3deg);
}

/* móvil */
@media (max-width: 768px) {
  .tecnica-viva {
    padding: 32px 22px;
  }
}

/* efectos de seccion tecnicas en celular  */

/* Impacto visual automático en móvil */
@media (max-width: 768px) {
  .tecnica-viva {
    animation: entradaMovil 0.9s ease forwards;
  }

  .tecnica-viva:nth-child(1) {
    animation-delay: 0.2s;
  }
  .tecnica-viva:nth-child(2) {
    animation-delay: 0.4s;
  }
  .tecnica-viva:nth-child(3) {
    animation-delay: 0.6s;
  }
}

@keyframes entradaMovil {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* fin efectos de seccion tecnicas en celular  */

/* Sección Sobre mí - Amarillo suave fefcf5  Rosa suave fff1f4  */
#sobre {
    background-color: #d1d5db; /* amarillo pastel */
    padding: 80px 0;
}

/* Animacion de la ubiccion */
.ubicacion-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: inherit;
}

/* ICONO MAPA */
.icono-ubicacion {
  font-size: 2.2rem;
  color: #2fb3a6;
}

/* TEXTO AYUDA */
.texto-mapa {
  font-size: .8rem;
  color: #777;
}

/* FLECHAS */
.flechas-animadas {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: .3rem;
}

.flechas-animadas i {
  font-size: 1.2rem;
  color: #2fb3a6;
  animation: flecha 1.6s infinite;
  opacity: 0;
}

.flechas-animadas i:nth-child(1) { animation-delay: 0s; }
.flechas-animadas i:nth-child(2) { animation-delay: .2s; }
.flechas-animadas i:nth-child(3) { animation-delay: .4s; }

@keyframes flecha {
  0%   { transform: translateY(-5px); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(5px); opacity: 0; }
}

/* EFECTO HOVER */
.ubicacion-link:hover .icono-ubicacion {
  transform: scale(1.1);
  transition: .3s;
}
/* TErmina animacion ubicacion */


/* Estilos de seccion de sesion  */
.login-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #3a7bd5, #2fb3a6);
  padding: 20px;
}

.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 28px;
  width: 100%;
  max-width: 380px;
}

.login-title {
  color: #245fa8;
  font-weight: 700;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
}

.login-card .form-control {
  border-radius: 10px;
  padding: 10px 12px;
}

.btn-login {
  background-color: #2fb3a6;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: #249e92;
  color: #fff;
}
/* Termina Estilos de sesion */


