* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #2e2e2e;
  background: #ffffff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #54aaa3;
  text-decoration: none;
}

.logo img {
  height: 65px; /* 🔥 controla tamaño */
  width: auto;
}

.logo span {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* CONTENEDOR */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.narrow {
  max-width: 700px;
  margin: auto;
}

#contacto form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

#contacto input,
#contacto textarea {
  width: 100%;
  display: block;
}

/* HEADER */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #2e2e2e;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  color: #54aaa3;
}

.logo {
  color: #54aaa3;
  font-weight: 600;
}

/* HERO */
.hero {
  position: relative;
  background: url("../img/hero.jpg") center/cover no-repeat;

  min-height: 100vh; /* 🔥 mejor que height */

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px 20px; /* 🔥 evita desbordes */
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin: auto;
  opacity: 0.9;
}

/* BOTONES */
.btn {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  margin: 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

.primary {
  background: #dd5276;
  color: white;
}

.primary:hover {
  background: #c74466;
  transform: translateY(-2px);
}

.secondary {
  background: white;
  color: #54aaa3;
}

.secondary:hover {
  transform: translateY(-2px);
}

/* SECCIONES */
.section {
  padding: 80px 0;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  color: #54aaa3;
  font-size: 2rem;
}

.alt {
  background: #f5f7f7;
}

/* VALORES */
.values {
  margin-top: 20px;
}

.value {
  margin: 10px 0;
}

/* CARDS */
.cards {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  width: 280px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CARRUSEL */
.carousel {
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  margin: 40px auto;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 100%; /* 🔥 clave */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial span {
  font-size: 0.9rem;
  color: #777;
}

/* BASE (ya lo tienes) */
.testimonial {
  min-width: 100%;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* VARIACIONES PASTEL */
.testimonial:nth-child(1) {
  background: #fdecef; /* rosa muy suave */
}

.testimonial:nth-child(2) {
  background: #e8f6f5; /* verde pastel (tu branding) */
}

.testimonial:nth-child(3) {
  background: #f3f0ff; /* lavanda suave */
}

/* BOTONES */
.carousel-buttons button {
  width: 45px;
  height: 45px;

  background: #54aaa3;
  color: white;

  border: none;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  cursor: pointer;

  transition: all 0.3s ease;
}

.carousel-buttons button:hover {
  background: #dd5276;
  transform: scale(1.1);
}

input,
textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #54aaa3;
}

/* FOOTER */
.footer {
  background: #dd5276;
  color: white;
  padding: 25px;
  text-align: center;
  margin-top: 40px;
}

/* ANIMACIONES */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  background: url("../img/hero_cons.JPG") center/cover no-repeat;
  min-height: 100vh;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0; /* 🔥 mejor que width/height */
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  color: white;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #2e2e2e;
  margin: 4px 0;
}

/* MOBILE */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .menu-toggle {
    display: flex;
  }
}

.icon {
  font-size: 40px;
  color: #54aaa3;
  margin-bottom: 15px;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 60px;
  height: 60px;

  background: #25d366;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;

  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

  text-decoration: none;

  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
  text-decoration: none; /* 👈 refuerzo */
}

.whatsapp {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 100px 20px 60px 20px;
  }

  .hero h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .buttons {
    display: flex;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    margin: 5px auto;
  }
}

.promo-bar {
  background: linear-gradient(to right, #f7a1b5, #ffd1dc);
  color: #2e2e2e;

  text-align: center;
  padding: 14px 15px;
  color: blueviolet;

  font-size: 0.95rem;
  font-weight: 500;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.promo-bar a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .promo-bar {
    font-size: 0.8rem;
    padding: 10px;
  }

  .promo-bar span {
    display: block;
    margin-top: 3px;
  }
}

.precio {
  font-weight: 600;
  color: #dd5276;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0% {
    opacity: 1;
    text-shadow: 0 0 0px rgba(221, 82, 118, 0.3);
  }
  50% {
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(221, 82, 118, 0.6);
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 0px rgba(221, 82, 118, 0.3);
  }
}

/* INPUT ERROR */
input.error,
textarea.error {
  border: 2px solid #dd5276;
}

/* TEXTO DE ESTADO */
.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #54aaa3;
  text-align: center;
  min-height: 20px;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.55);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;

  padding: 20px;
}

.modal-formulario {
  width: 100%;
  max-width: 500px;

  max-height: 85vh;

  overflow-y: auto;

  background: #fff;

  padding: 25px;

  border-radius: 20px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* móvil */

@media (max-width: 768px) {
  .modal-formulario {
    width: 95%;

    max-height: 80vh;

    padding: 20px;

    border-radius: 15px;
  }
}

.modal-formulario::-webkit-scrollbar {
  width: 8px;
}

.modal-formulario::-webkit-scrollbar-thumb {
  background: #54aaa3;

  border-radius: 10px;
}

.modal-formulario h2 {
  margin-bottom: 20px;
  color: #54aaa3;
}

.modal-formulario input {
  width: 100%;
  padding: 12px;

  margin-bottom: 15px;

  border: 1px solid #ddd;

  border-radius: 10px;
}

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .modal-formulario {
    padding: 20px;
  }
}

.modal-formulario textarea{

width:100%;

padding:12px;

border:1px solid #ddd;

border-radius:10px;

resize:none;

font-family:'Poppins',sans-serif;

margin-bottom:15px;

}

.grid-horarios {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));

  gap: 10px;

  margin-top: 15px;
}

.hora-card {
  padding: 12px;

  border-radius: 10px;

  background: #54aaa3;

  color: white;

  cursor: pointer;

  text-align: center;

  transition: 0.3s;
}

.hora-card:hover {
  transform: scale(1.05);
}

.hora-card.activa {
  background: #dd5276;
}

.calendario-grid {
  display: grid;

  grid-template-columns: repeat(7, 1fr);

  gap: 8px;

  margin-top: 20px;
}

.dia-card {
  padding: 12px;

  border-radius: 10px;

  text-align: center;

  cursor: pointer;

  font-size: 0.9rem;

  transition: 0.3s;
}

.disponible {
  background: #54aaa3;
  color: white;
}

.bloqueado {
  background: #dd5276;
  color: white;
  cursor: not-allowed;

  opacity: 0.6;
}

.seleccionado {
  outline: 3px solid #333;
}
