:root {
  --primary: #005b81;
  --primary-claro: rgba(0, 91, 129, 0.1);
  --secondary: #eb7615;
  --secondary-claro: rgba(235, 118, 21, 0.5);
  --light: #f5f7fa;
  --dark: #1c1c1c;
  --dark-blue: #0e3b5f;
  --bg-orange-claro: rgba(255, 165, 102, 0.1);
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: #ffffff;
}

h1,
h2,
h3 {
  color: var(--primary);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

section {
  padding: 80px 10%;
}

/* HERO */

.hero {
  /*    
            background: var(--light);
        */
  background-image: url(../img/banner-index.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--primary);
  text-align: center;
  padding: 120px 10%;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 20px auto 0;
}

.hero img {
  margin-top: 40px;
  max-width: 700px;
  width: 100%;
  border-radius: 12px;
}

.highlight {
  color: var(--secondary);
  font-weight: 600;
}

.light-bg {
  background-color: var(--light);
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.card img {
  width: 100%;
  max-width: 220px;
  margin-bottom: 20px;
}

/* IMAGEN TEXTO */
.image-text {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  align-items: center;
}

.image-text img {
  width: 100%;
  border-radius: 12px;
}

.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

footer {
  background-color: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 30px 10%;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}

/* Banner */
.banner {
  height: 60vh;
  background-image: url("../img/banner-index.png");
  background-size: cover;
  background-position: center;
  color: var(--primary);
  position: relative;
}
.text-warning {
  color: var(--secondary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.banner-content {
  height: 3130 0px;
}

h1 {
  font-weight: bold;
  color: var(--primary) !important;
}

/* Overlay opcional 
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
*/
/* Navbar */
.navbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #eb7615;
}

/* Botón */
.btn {
  padding: 10px 20px;
  background: #eb7615;
  color: #fff;
  text-decoration: none;
  font-weight: regular;
  border-radius: 5px;
  transition: background 0.3s;
  border: none;
}

.btn:hover {
  background: #eb8f44;
}

/* Contenido del banner */
.banner-content {
  position: relative;
  z-index: 1;
  height: calc(70vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.banner-content p {
  font-size: 20px;
}

body {
  background-color: #f8f9fa;
}

.benefits-section {
  padding: 80px 0;
  background-color: rgb(231, 241, 244);
}

.benefit-item {
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon {
  font-size: 2rem;
  color: #0d6efd;
}

.benefit-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--secondary);
}

.benefit-text {
  color: #6c757d;
}

.bi {
  color: var(--primary);
}

/* beneficios clave */

.beneficios-clave {
  padding: 80px 20px;
  background-color: var(--primary-claro);

  /*
  background: linear-gradient(180deg, var(--primary-claro), var(--primary));
  */
}

.beneficios-container {
  max-width: 1100px;
  margin: auto;
}

.beneficios-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary);
}

.beneficios-title span {
  color: var(--secondary);
}

.beneficios-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
}

.beneficios-list li {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beneficios-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.beneficios-list .icon {
  font-size: 1.8rem;
  background: #e0e7ff;
  color: #2563eb;
  padding: 12px;
  border-radius: 14px;
  line-height: 1;
}

.beneficios-list h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.beneficios-list p {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

.shadow {
  box-shadow: 0 8px 20px var(--secondary-claro) !important;
}

/* Botón WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.bg-azul-secundario {
  background-color: var(--dark-blue);
}

.bg-light {
  background-color: var(--bg-orange-claro) !important;
}

.nav-link {
  color: var(--primary);
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.btn-warning {
  color: var(--light) !important;
}

/* ================= BANNER NOSOTROS ================= */
.banner-nos {
  display: flex;
  align-items: center;
  background-image: linear-gradient(
      rgba(235, 118, 21, 0.25),
      rgba(255, 255, 255, 0.85)
    ),
    url("../img/banner-nosotros.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 0.5rem;
}

/* Texto principal */
.banner-nos__lead {
  font-size: 1.25rem;
  line-height: 1.7;
}

/* Texto secundario */
.banner-nos__text {
  font-size: 1rem;
  line-height: 1.8;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {
  .banner-nos {
    min-height: 90vh;
  }

  .banner-nos__lead {
    font-size: 1.4rem;
  }

  .banner-nos__text {
    font-size: 1.1rem;
  }
}

@media (min-width: 1200px) {
  .banner-nos__lead {
    font-size: 1.6rem;
  }

  .banner-nos__text {
    font-size: 1.15rem;
  }
}
