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

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  position: relative;
}

.logo img {
  height: 72px;
  width: auto;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

nav {
  flex-grow: 1.25;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px;
}

.arrow {
  font-size: 0.7em;
  margin-left: 5px;
  color: #555;
}

.submenu {
  display: none;
  position: absolute;
  top: 40px;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  min-width: 200px;
  z-index: 99;
}

.menu li:hover .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px;
  color: #444;
}

.cta {
  margin-left: auto;
}

.whatsapp-button {
  background-color: #5BB8B4;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: linear-gradient(rgba(100, 100, 100, 0.4), rgba(100, 100, 100, 0.4)), url('img/fondo-inicio.jpg') no-repeat center center/cover;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero-content {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 12px;
  max-width: 720px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #5BB8B4;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.servicios {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contenedor-servicios {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo-servicios {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.violeta {
  color: #a477a6;
}

.subtitulo-servicios {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  font-weight: 500;
}

.tarjetas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.tarjeta {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 30px;
  max-width: 350px;
  text-align: left;
  flex: 1;
}

.tarjeta .numero {
  font-size: 2rem;
  font-weight: 700;
  color: #a477a6;
  margin-bottom: 10px;
}

.tarjeta h3 {
  font-size: 1.2rem;
  color: #a477a6;
  font-weight: 600;
  margin-bottom: 15px;
}

.tarjeta p {
  font-size: 1rem;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.6;
}

.boton-mas {
  color: #0d9488;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
}

.boton-mas:hover {
  color: #0f766e;
}

footer {
  background-color: #ffffff;
  padding: 21px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  text-align: center;
  border-top: 2px solid #ddd;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-left img {
  height: 70px;
  object-fit: contain;
}

.footer-menu {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-menu li {
  list-style: none;
  position: relative;
}

.footer-menu a {
  text-decoration: none;
  color: #333;
  padding-left: 15px;
  position: relative;
}

.footer-menu a::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 50%; transform: translateY(-50%);
  color: #a477a6;
  font-size: 0.7em;
}

.footer-menu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  min-width: 200px;
  z-index: 99;
}

.footer-menu li:hover .submenu {
  display: block;
}

.footer-center {
  text-align: center;
  font-size: 0.85rem;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.footer-right img {
  height: 30px;
}

/* Header menu flecha alineada */
.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 10px 10px 20px;
  position: relative;
  display: inline-block;
}

.menu a::before {
  content: "➤";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #a477a6;
  font-size: 0.7em;
}


.submenu a::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #a477a6;
  font-size: 0.7em;
}


/* Sección historia */
.historia {
  background-color: #eef6f6;
  padding: 80px 40px;
}

.historia-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.historia-imagen {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 400px;
}

.historia-imagen img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.historia-texto {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.historia-texto .linea-decorativa {
  width: 40px;
  height: 3px;
  background-color: #009688;
  margin-bottom: 20px;
}

.historia-texto h2 {
  font-size: 1.9rem;
  color: #a477a6;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.historia-texto p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #000;
  font-weight: 500;
}

.historia-texto .boton-mas {
  border: 1px solid #000;
  padding: 10px 24px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.historia-texto .boton-mas:hover {
  background-color: #ddd;
}


/* Sección contador */
.contador {
  background-color: #fff;
  padding: 80px 40px;
  text-align: center;
}

.contenedor-contador {
  max-width: 1100px;
  margin: 0 auto;
}

.contador .linea-decorativa {
  width: 40px;
  height: 3px;
  background-color: #009688;
  margin: 0 auto 20px;
}

.contador h2 {
  font-size: 1.9rem;
  color: #a477a6;
  margin-bottom: 10px;
}

.contador .subtexto {
  font-weight: 500;
  margin-bottom: 50px;
}

.cuadricula-contador {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.item {
  flex: 1;
  min-width: 200px;
}

.item .numero {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
}

.item .simbolo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
}

.item p {
  margin-top: 10px;
  font-size: 1rem;
}


/* Sección diferenciales */
.diferenciales {
  background-color: #eef6f6;
  padding: 80px 40px;
}

.contenedor-diferenciales {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.texto-diferenciales {
  flex: 1;
  min-width: 300px;
}

.texto-diferenciales h2 {
  font-size: 1.8rem;
  color: #a477a6;
  margin-bottom: 30px;
}

.texto-diferenciales .titulo {
  font-weight: bold;
  color: #a477a6;
  margin-bottom: 5px;
}

.texto-diferenciales .descripcion {
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
}

.texto-diferenciales hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.check {
  color: #009688;
  margin-right: 5px;
}

.imagen-diferenciales {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-diferenciales img {
  width: 100%;
  max-width: 400px;
  border: 4px solid #00a2a2;
}


/* Testimonios */
.testimonios {
  padding: 80px 20px;
  background-color: #fff;
}

.contenedor-testimonios {
  max-width: 1100px;
  margin: 0 auto;
}

.encabezado-testimonios {
  text-align: center;
  margin-bottom: 40px;
}

.encabezado-testimonios h2 {
  font-size: 2rem;
  color: #a477a6;
}

.encabezado-testimonios .linea-decorativa {
  width: 40px;
  height: 3px;
  background-color: #009688;
  margin: 0 auto 10px;
}

.cards-testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  border: 1px solid #ccc;
  padding: 25px;
  border-radius: 8px;
  background: #fff;
}

.card .estrellas {
  color: #ffb400;
  font-size: 20px;
  margin-bottom: 10px;
}

.card .comentario {
  font-weight: 500;
  margin-bottom: 10px;
}

.card .autor {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.enlace-reseñas {
  text-align: center;
  margin-top: 30px;
}

.enlace-reseñas a {
  color: #009688;
  text-decoration: underline;
  font-weight: bold;
}

.enpausa-bienvenida {
  background-color: #f3fafa;
  padding: 4rem 0;
}
.contenido-bienvenida {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.contenido-bienvenida h2 {
  color: #a267b5;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.contenido-bienvenida p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.bienvenida-enpausa {
    padding: 50px 20px;
    text-align: center;
}

.titulo-bienvenida-img {
    max-width: 500px;
    width: 90%;
    height: auto;
    margin-bottom: 30px;
}

.contenedor-bienvenida p {
    max-width: 800px;
    margin: 15px auto;
    font-size: 1.1em;
    line-height: 1.6;
}

p {
  margin-bottom: 1.5em;
  line-height: 1.6;
}


/* --- Estilos integrados desde 'Comienza Ahora' --- */
* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #111;
}

.contact-header {
  background-color: #5BB8B4;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.contact-main {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro h2 {
  color: #5BB8B4;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1rem;
  color: #333;
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  padding: 20px;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  background-color: #f1f6f5;
  padding: 20px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  margin-top: 5px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #5BB8B4;
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  width: 120px;
  margin-top: 10px;
  cursor: pointer;
}

/* Estilos para botón de menú móvil */
.menu-toggle {
  display: none;
  background-color: #5cc6c0;
  color: white;
  font-size: 1rem;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  margin: 10px;
}

@media only screen and (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .menu-principal {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .menu-principal.visible {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  nav li {
    margin: 5px 0;
  }
}


/* === MENÚ MÓVIL EN FOOTER (agrupa y despliega submenús al pulsar) === */
@media (max-width: 768px) {
  footer .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ep-mobile-menu-btn {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid #2c7a52;
    background: #2c7a52;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
  }

  /* Ocultar menú por defecto en móvil */
  footer .footer-left .footer-menu {
    display: none;
    width: 100%;
    list-style: none;
    padding-left: 0;
  }
  /* Mostrar cuando está abierto */
  footer.ep-open .footer-left .footer-menu {
    display: block;
  }

  /* Estilo vertical */
  footer .footer-left .footer-menu > li {
    margin: 6px 0;
  }
  footer .footer-left .footer-menu a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
  }

  /* Submenús colapsados por defecto */
  footer .footer-left .submenu {
    display: none;
    padding-left: 14px;
  }
  footer .footer-left li.ep-submenu-open > .submenu {
    display: block;
  }

  /* Indicador visual simple para elementos con submenú */
  footer .footer-left li.has-submenu > a::after {
    content: " ▾";
    font-size: 0.85em;
  }
  footer .footer-left li.ep-submenu-open > a::after {
    content: " ▴";
  }
}



/* === MENÚ MÓVIL EN PAUSA (botón "MENÚ") === */
@media (max-width: 768px) {
  header {
    align-items: flex-start;
  }
  .hamburger {
    display: inline-block;
    background-color: #5BB8B4;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    margin-right: auto;
  }
  nav .menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }
  nav.open .menu {
    display: flex;
  }
  nav .menu > li > a {
    display: block;
    padding: 10px 6px;
    font-size: 16px;
  }
  nav .menu .submenu {
    display: none;
    position: static;
    box-shadow: none;
    background: transparent;
    margin-left: 14px;
    padding-left: 8px;
    border-left: 2px solid #E6F5F4;
  }
  nav .menu li.ep-submenu-open > .submenu {
    display: block;
  }
  nav .menu li.has-submenu > a::after {
    content: " ▾";
    font-size: 0.9em;
  }
  nav .menu li.ep-submenu-open > a::after {
    content: " ▴";
  }
  header .cta .whatsapp-button + .whatsapp-button {
    display: none;
  }
}
