body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #eef7ff;
  color: #023e73;
}

.header {
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: white;
  text-align: center;
  padding: 20px;
}

.logo {
  width: 70px;
  margin-bottom: 10px;
}

.hero img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-text {
  background: white;
  padding: 15px;
  text-align: center;
}

.promos {
  padding: 20px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
  margin-bottom: 20px;
  text-align: center;
}

.card img {
  width: 100%;
}

.price {
  display: block;
  background: #0077b6;
  color: white;
  padding: 12px;
  font-size: 20px;
  font-weight: bold;
}

.video {
  padding: 20px;
  text-align: center;
}

video {
  width: 100%;
  border-radius: 12px;
}

.calculator {
  text-align: center;
  margin: 30px 0;
}

.btn-calculadora {
  background: #00b4d8;
  color: white;
  padding: 15px 30px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  display: inline-flex;
  gap: 10px;
}

.footer {
  background: #0077b6;
  color: white;
  text-align: left;     /* 👈 alineado a la izquierda */
  padding: 15px 20px;   /* un poco más de aire */
  font-size: 14px;
}

.footer p {
  margin: 6px 0;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.footer i {
  margin-right: 6px;
}

/* WHATSAPP SOLO CELULAR */
.whatsapp-float {
  display: none;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: #25D366;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    gap: 8px;
    z-index: 999;
  }
}

/* ===== CONTENEDOR GENERAL PARA DESKTOP ===== */
@media (min-width: 769px) {
  body {
    background: #dbeeff;
  }

  body > * {
    max-width: 420px;        /* ancho tipo celular */
    margin-left: auto;
    margin-right: auto;
  }

  header,
  footer {
    border-radius: 12px;
  }
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* HERO */
.hero img {
  max-height: 240px;
  object-fit: cover;
}

/* VIDEO */
video {
  max-height: 260px;
}

/* SLIDER */
.slider {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 240px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

@media (min-width: 769px) {
  video {
    max-width: 380px;
    margin: auto;
    display: block;
  }
}
