* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #2d2d2d;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-bottom: 2px solid #C5A100;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  max-width: 140px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #C5A100;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.cursos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 60px 20px;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.curso-box {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}

.curso-box h2 {
  color: #d4af37;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.curso-box p {
  color: #444;
  margin-bottom: 15px;
}

.curso-box .beneficios {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.curso-box .beneficios li {
  margin: 5px 0;
  color: #2e7d32;
  font-weight: 500;
}

.img-dorada {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  border: 3px solid #d4af37;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

.img-dorada:hover {
  transform: scale(1.02);
}

.cursos-grid {
  align-items: stretch;
}

.curso-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* TESTIMONIOS */
.testimonios {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.testimonios h2 {
  font-size: 2rem;
  color: #C5A100;
  margin-bottom: 40px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.testimonial {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  background-color: #fdfdfd;
}

.perfil {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial span {
  font-weight: bold;
  color: #C5A100;
}

/* SOBRE NOSOTROS */
.sobre-nosotros {
  text-align: center;
  padding: 60px 20px;
}

.sobre-nosotros h2 {
  font-size: 2rem;
  color: #C5A100;
  margin-bottom: 15px;
}

.sobre-nosotros p {
  max-width: 700px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 2px solid #C5A100;
  background-color: #fff;
}

footer h2 {
  font-size: 1.6rem;
  color: #C5A100;
  margin-bottom: 10px;
}

.redes a {
  margin: 0 10px;
  color: #C5A100;
  text-decoration: none;
  font-weight: bold;
}

footer p {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

/*-------------ACA TERMNA WEB PRINCIPAL-------------*/

/*-------------ACA EMPIEZA CURSOS DE MAQUILLAJE-------------*/

/* === CURSOS === */

.section-title {
  text-align: center;
  color: #b8860b; /* Dorado elegante */
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* GRILLA DE CURSOS: 2 columnas */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas sí o sí */
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  border: 1px solid #e5d7b8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
  min-height: 460px; /* asegura que todas tengan igual altura */
}

.course-card:hover {
  transform: scale(1.015);
}

.course-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  background-color: #f5f5f5;
}

.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 1.1rem;
  color: #7a5700;
  margin: 0 0 0.5rem;
  text-align: center;
}

.card-content p {
  font-size: 0.92rem;
  text-align: center;
  flex-grow: 1;
}

.card-content a {
  margin-top: 1rem;
  text-align: center;
  background-color: #c99a2e;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.card-content a:hover {
  background-color: #a17c25;
}

/* Responsive: 1 columna en celular */
@media (max-width: 768px) {
  .courses-grid-2cols {
    grid-template-columns: 1fr;
  }
}

/* ---------AQUI TERMINA CURSOS DE MAQUILLAJE-----------*/

/*---------- AQUI EMPIEZA CURSOS DE ESTETICA------------*/

.estetica-section {
  padding: 40px 20px;
}

.estetica-title {
  text-align: center;
  font-size: 2.2rem;
  color: #b9975b;
  margin-bottom: 10px;
}



.estetica-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}

.estetica-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.estetica-card {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
  
}





.estetica-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.estetica-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%; /* Imagen redonda */
  margin-bottom: 15px;
}

.estetica-info h3 {
  font-size: 1.2rem;
  color: #d4af37;
  margin-bottom: 8px;
}

.estetica-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.estetica-btn {
  display: inline-block;
  background-color: #b9975b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.estetica-btn:hover {
  background-color: #a8833c;
}

/*----------aqui termina cursos de estetica---------*/

/*---------- Aqui empieza Sobre Nosotros------------*/

.nosotros-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.nosotros-title {
  font-size: 2.5rem;
  color: #d4af37; /* dorado */
  margin-bottom: 1.5rem;
}

.nosotros-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2.5rem;
}

.nosotros-section {
  margin-bottom: 2.5rem;
}

.nosotros-section h2 {
  font-size: 1.8rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.nosotros-section h3 {
  font-size: 1.5rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.nosotros-section p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.nosotros-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.nosotros-list li {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 0.8rem;
}

.nosotros-cta {
  margin-top: 3rem;
}

.boton-dorado {
  background-color: #d4af37;
  color: white;
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.boton-dorado:hover {
  background-color: #b9975b;
}

/*------------- Aqui termina Sobre Nosotros-----------*/

/*------------- Aqui empieza Contactanos--------------*/

.contacto-section {
  padding: 4rem 1rem;
  text-align: center;
}

.titulo-contacto {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #d4af37;
  font-weight: bold;
  text-transform: uppercase;
}

.descripcion-contacto {
  color: #fff;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 1rem;
  border: 1px solid #d4af37;
  background-color: transparent;
  color: white;
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
  color: #ccc;
}

.formulario-contacto button {
  padding: 1rem;
  background-color: #d4af37;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.formulario-contacto button:hover {
  background-color: #b28e2c;
}

input,
textarea {
  color: #000 !important; /* Texto negro visible */
  background-color: #fff !important; /* Fondo blanco */
  border: 1px solid #d4af37;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
}