body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.contenido {
  background-color: #f8f7f4;
}

.center {
  text-align: center;
}

/* HERO */
.hero {
  background: url('https://www.soyidem.com/cursos/Gerenciales/images/idem_bannerfp.jpg') center/cover;
  height: 80vh;
  color: white;
}

.overlay {
  background: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  align-items: center;
}

h1 { font-size: 48px; font-family: 'Times New Roman', Times, serif; margin: 0; line-height: 1; }
h2 { font-size: 32px; }
.subtitle { max-width: 600px; }

.top {
  font-size: 12px;
  letter-spacing: 2px;
}

span {
  color: #d4af37;
}

.buttons {
  margin-top: 20px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}

.primary {
  background: #d4af37;
  color: black;
}

.ghost {
  border: 1px solid white;
  color: white;
}

/* SECCIONES */
section {
  padding: 80px 0;
}

.mini {
  font-size: 20px;
  letter-spacing: 2px;
  color: #999;
}

.cards {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 10px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media(max-width: 768px) {
  .experto .grid {
    grid-template-columns: 1fr;
  }
}

.grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.grid img:hover {
  transform: scale(1.03);
  transition: 0.3s;
}

.experto {
  padding: 80px 0;
  background-color: #f8f7f4;
}

.bio {
  margin: 20px 0;
  color: #555;
  line-height: 1.6;
}

.img-experto {
  width: 80%;
  border-radius: 14px;
  object-fit: cover;
}

img {
  width: 100%;
  border-radius: 10px;
}

/* LISTA */
.lista {
  list-style: none;
  padding: 0;
}

.lista li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* PRECIO */
.price {
  font-size: 48px;
  color: #d4af37;
  font-family: 'Times New Roman', Times, serif;
}

/* CTA */
.cta {
  background: url('https://www.soyidem.com/cursos/Gerenciales/images/idem_bannerfp2.jpg') center/cover;
  min-height: 60vh;
  color: white;
  align-items: center;
}

.cta .container {
  width: 100%;
  max-width: 100%;
  padding: 60px 20px;
  background: linear-gradient(
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.15)
  );
}


/* ACORDEON */

.accordion {
  margin-top: 30px;
}

details {
  background: white;
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
  border: 1px solid #eee;
  transition: 0.3s;
}

summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

/* Quitar flecha default */
summary::-webkit-details-marker {
  display: none;
}

/* Agregar icono personalizado */
summary::after {
  content: "+";
  float: right;
  font-size: 18px;
}

/* Cuando está abierto */
details[open] summary::after {
  content: "-";
}

details p {
  margin-top: 10px;
  color: #555;
  font-size: 14px;
}

/* ---------- F O O T E R ---------------------- */

.footer {
  background: #e4e4e4;
  padding: 60px 0 20px;
  font-size: 14px;
  color: #555;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 14px;
  color: #000;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #666;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #d4af37;
}

.footer-logo {
  width: 120px;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 10px;
  transition: 0.3s;
}

.social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #999;
}

@media(max-width:768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social {
    justify-content: center;
  }
}

/* RESPONSIVE */
@media(max-width:768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .cards {
    flex-direction: column;
  }

  h1 {
    font-size: 30px;
  }
}

