/* ===== Reset básico ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Variables ===== */
:root {
  --color-primario: #3b2aa0; 
  --color-secundario: #3b2aa0; 
  --color-fondo: #ffffff;
  --color-texto: #3b2aa0;
  --fuente-principal: 'Segoe UI', sans-serif;
}

body.modo-oscuro {
  --color-fondo: #2c2c2c;
  --color-texto: #3b2aa0;
}

body {
  font-family: var(--fuente-principal);
  background-color: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.6;
}

/* ===== Utilidades ===== */
.u-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.u-mb-2 {
  margin-bottom: 2rem;
}

/* ===== Componentes BEM ===== */
.boton {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.boton--primario {
  background-color: var(--color-primario);
  color: #fff;
}

.boton--secundario {
  background-color: var(--color-secundario);
  color: #fff;
}

.header {
  padding: 1rem 2rem;
  background: var(--color-primario);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.header__menu {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.header__menu a {
  color: #fff;
  text-decoration: none;
}

.header__toggle {
  background: none;
  color: #fff;
  font-size: 1.2rem;
  border: none;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
}

.hero__titulo {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero__descripcion {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.testimonios {
  padding: 3rem 2rem;
  background-color: var(--color-fondo);
}

.testimonios__titulo {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 600px;
  margin: auto;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 1rem;
}

#test1:checked ~ .testimonial--1,
#test2:checked ~ .testimonial--2,
#test3:checked ~ .testimonial--3 {
  display: block;
}

.testimonial__controles {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

.testimonial__controles label {
  width: 10px;
  height: 10px;
  background: var(--color-secundario);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.formulario {
  padding: 3rem 2rem;
}

.formulario__titulo {
  text-align: center;
  margin-bottom: 2rem;
}

.formulario__form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formulario__input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.formulario__input:focus {
  border-color: var(--color-secundario);
  outline: none;
}

.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.footer__redes a {
  margin: 0 0.5rem;
  color: #fff;
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header__menu {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero__titulo {
    font-size: 2rem;
  }
  .formulario__form {
    width: 90%;
  }
}

/*Menu de navegacion*/
.nav-inferior {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--color-primario);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.nav-inferior__menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-inferior__menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-inferior__modo-toggle {
  background: none;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}

body {
  padding-bottom: 70px;
}

