
/* ======= HERO ======= */
.hero {
  margin-top: 70px;
  min-height: 480px;
  height: auto;
  background:
    linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.35)),
    url('../img/banner/banner.jpg') center/cover no-repeat;
  text-align: center;
  padding: 110px 20px 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
  color: #023e8a;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-content p {
  color: #263238;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* ======= BOTONES ======= */
.btn-pedir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #08b83e;
  padding: 14px 28px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(8, 184, 62, .22);
  transition: background .25s ease, transform .25s ease,
              box-shadow .25s ease;
}

.btn-pedir:hover {
  background: #079c35;
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(8, 184, 62, .3);
}

/* ======= PRODUCTOS DESTACADOS ======= */
.productos {
  text-align: center;
  padding: 75px 20px;
  background: #f7fbfe;
}

.productos h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 40px;
  color: #023e8a;
  font-weight: 800;
}

.tarjetas {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.tarjeta {
  min-width: 0;
  background: #fff;
  border: 1px solid #e6eef4;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(2, 62, 138, .07);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(2, 62, 138, .13);
}

.tarjeta img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: 175px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 18px;
}

.tarjeta h3 {
  color: #023e8a;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.tarjeta p {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0077b6;
}

.tarjeta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: #08b83e;
  color: white;
  padding: 11px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease;
}

.tarjeta .btn:hover {
  background: #079c35;
  transform: translateY(-2px);
}

/* ======= MARCAS ======= */
.marcas {
  text-align: center;
  padding: 75px 20px;
  background: linear-gradient(180deg, #eaf8ff, #f7fcff);
}

.marcas h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 40px;
  color: #023e8a;
  font-weight: 800;
}

.logos-marcas {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.logos-marcas img {
  display: block;
  width: 115px;
  height: 90px;
  padding: 10px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e8f0f5;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 68, 120, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.logos-marcas img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 68, 120, .13);
}

/* ======= COMBOS PROMOCIONALES ======= */
.combos {
  text-align: center;
  padding: 75px 20px;
  background: #f5faff;
}

.combos h2 {
  color: #023e8a;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 40px;
}

.combo-empresa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(2, 62, 138, .08);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  transition: transform .25s ease, box-shadow .25s ease;
}

.combo-empresa:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(2, 62, 138, .13);
}

.combo-info {
  flex: 1 1 55%;
  padding: 40px;
  text-align: left;
}

.combo-info h3 {
  color: #023e8a;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.3;
  margin-bottom: 18px;
}

.combo-info p {
  color: #46545e;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1rem;
}

.btn-combo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #08b83e;
  color: #fff;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 30px;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease;
}

.btn-combo:hover {
  background: #079c35;
  transform: translateY(-2px);
}

.combo-img {
  flex: 1 1 45%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.combo-img img {
  display: block;
  width: 100%;
  max-width: 400px;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

/* Para combos que utilizan tarjetas */
.combos .tarjetas {
  align-items: stretch;
}

.combos .tarjeta {
  height: 100%;
}

.combos .tarjeta h3 {
  color: #023e8a;
}

/* ======= CONSEJOS ======= */
.consejos {
  background: #f0faff;
  padding: 75px 20px;
  text-align: center;
}

.consejos .container {
  max-width: 1150px;
  margin: 0 auto;
}

.consejos h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #023e8a;
  margin-bottom: 15px;
  font-weight: 800;
}

.consejos .intro {
  max-width: 750px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: #46545e;
  line-height: 1.7;
}

.consejos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.consejos .card {
  height: 100%;
  background: #fff;
  padding: 28px 23px;
  border: 1px solid #e4eef5;
  border-radius: 18px;
  box-shadow: 0 5px 16px rgba(2, 62, 138, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.consejos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(2, 62, 138, .12);
}

.consejos .card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 18px;
}

.consejos .card h3 {
  color: #0077b6;
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.consejos .card p {
  color: #52616b;
  font-size: .96rem;
  line-height: 1.75;
}

/* ======= SOBRE NOSOTROS ======= */
.sobre-nosotros {
  background: #fff;
  padding: 75px 20px;
}

.sobre-nosotros .container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.sobre-nosotros .sobre-img {
  flex: 1 1 40%;
  text-align: center;
}

.sobre-nosotros .sobre-img img {
  display: block;
  width: 100%;
  max-width: 450px;
  max-height: 420px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.sobre-nosotros .sobre-texto {
  flex: 1 1 55%;
}

.sobre-nosotros h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #023e8a;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.sobre-nosotros p {
  font-size: 1rem;
  color: #46545e;
  margin-bottom: 16px;
  line-height: 1.8;
}

.sobre-nosotros .slogan {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #0077b6;
  margin-top: 15px;
}

/* ======= FOOTER ======= */
.footer {
  background: #023e8a;
  color: #fff;
  text-align: center;
  padding: 45px 20px;
}

.footer .info {
  margin-bottom: 20px;
}

.footer p {
  margin: 8px 0;
  line-height: 1.6;
}

.footer .redes {
  margin: 22px 0;
}

.footer .redes img {
  display: inline-block;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 8px;
  transition: transform .25s ease, filter .25s ease;
}

.footer .redes img:hover {
  transform: scale(1.12);
  filter: brightness(1.1);
}

.footer .copy {
  margin-top: 18px;
  font-size: .9rem;
  opacity: .85;
}

/* ======= BOTÓN FLOTANTE WHATSAPP ======= */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
  animation: float 2.5s ease-in-out infinite;
}

.whatsapp-float img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* ======= ANIMACIONES ======= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ======= RESPONSIVE: TABLETS ======= */
@media (max-width: 900px) {
  .combo-empresa {
    flex-direction: column;
    gap: 0;
  }

  .combo-info {
    width: 100%;
    padding: 32px 25px;
    text-align: center;
  }

  .combo-img {
    width: 100%;
    padding: 10px 20px 30px;
  }

  .combo-img img {
    max-height: 320px;
  }

  .sobre-nosotros .container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-nosotros .sobre-texto,
  .sobre-nosotros .sobre-img {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ======= RESPONSIVE: CELULARES ======= */
@media (max-width: 600px) {
  .hero {
    min-height: 400px;
    padding: 90px 18px 70px;
    background-position: center;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-content p {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .productos,
  .marcas,
  .combos,
  .consejos,
  .sobre-nosotros {
    padding: 55px 16px;
  }

  .tarjetas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .tarjeta {
    padding: 17px 12px;
    border-radius: 14px;
  }

  .tarjeta img {
    height: 125px;
    margin-bottom: 12px;
  }

  .tarjeta h3 {
    font-size: .93rem;
  }

  .tarjeta p {
    font-size: 1rem;
  }

  .tarjeta .btn {
    width: 100%;
    padding: 10px 8px;
    font-size: .88rem;
  }

  .logos-marcas {
    gap: 14px;
  }

  .logos-marcas img {
    width: 95px;
    height: 78px;
    border-radius: 12px;
  }

  .combo-info {
    padding: 28px 18px;
  }

  .combo-img img {
    max-height: 260px;
  }

  .consejos-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .consejos .card {
    padding: 24px 20px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
  }

  .whatsapp-float img {
    width: 52px;
    height: 52px;
  }

  .sobre-nosotros .slogan {
    font-size: 1.3rem;
  }
}

/* ======= CELULARES PEQUEÑOS ======= */
@media (max-width: 380px) {
  .tarjetas {
    grid-template-columns: 1fr;
  }

  .tarjeta img {
    height: 160px;
  }
}

/* ======= ACCESIBILIDAD ======= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
