/* =========================================================
   landing.css — Estilos exclusivos del landing / index.php
   Depende de css.css (variables, reset, tipografía base)
   ========================================================= */

/* ---------- HERO / BANNER ---------- */
#banner {
  margin-top: 55px; /* espacio para header fijo */
  background: linear-gradient(135deg, var(--color-primary) 0%, #055a81 100%);
  color: #fff;
  text-align: center;
  padding: 70px 20px 60px;
}

#banner img {
  width: 180px;
  margin-bottom: 25px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

#banner p {
  font-size: 1.15rem;
  margin: 15px auto 30px;
  max-width: 620px;
  opacity: 0.95;
  line-height: 1.5;
}

.actions {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 0;
}

.actions li { display: inline-block; }

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  font-size: 11pt;
  border-radius: var(--radius);
  font-family: var(--font-main);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.actions a.primary {
  background: var(--color-accent);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(12, 198, 7, 0.35);
  border: none;
}

.actions a.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(12, 198, 7, 0.45);
  background: #0aad05;
}

.actions a:not(.primary) {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.actions a:not(.primary):hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ---------- MAIN / CONTENIDO ---------- */
#main {
  background: #dbdee1;
  padding: 50px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.box {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.box header.major {
  text-align: center;
  margin-bottom: 35px;
}

.box header.major h2 {
  font-size: 1.7rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0.5px;
}

.box header.major p {
  color: #555;
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- LISTA DE CARACTERÍSTICAS ---------- */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  text-align: left;
  margin-top: 25px;
  padding: 0;
}

.features-list li {
  background: #f8f9fa;
  padding: 14px 18px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.features-list li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- IMAGEN DESTACADA ---------- */
.image.featured {
  display: block;
  margin-top: 35px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.image.featured img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- FOOTER LANDING ---------- */
#footer.landing-footer {
  background: #2e363f;
  color: #aaa;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.85rem;
}

#footer.landing-footer .icons {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 0;
}

#footer.landing-footer .icons li a {
  color: #aaa;
  font-size: 1.3rem;
  transition: color 0.3s;
}

#footer.landing-footer .icons li a:hover {
  color: var(--color-accent);
}

#footer.landing-footer .copyright {
  list-style: none;
  color: #777;
  padding: 0;
}

#footer.landing-footer .copyright a {
  color: #bbb;
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  #banner {
    padding: 50px 15px 40px;
  }
  .box {
    padding: 22px;
  }
  .actions a {
    padding: 9px 18px;
    font-size: 10pt;
  }
}
