/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f8ff;
  color: #222;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color: #002f6c;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 60px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

nav a:hover {
  color: #00c2ff;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #005aa7, #00c6ff);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero .boton {
  background-color: #ffffff;
  color: #005aa7;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 20px;
  display: inline-block;
}

.hero .boton:hover {
  background-color: #00c6ff;
  color: white;
}

/* Oferta */
.oferta {
  background-color: #e7f3ff;
  text-align: center;
  padding: 30px;
}

.oferta h2 {
  color: #005aa7;
}

/* Galería slider */
.galeria {
  padding: 40px 20px;
  text-align: center;
}

.slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slides img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 2em;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

/* Planes */
.planes {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.plan-card {
  background-color: #f0f7ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card h3 {
  color: #005aa7;
  margin-bottom: 10px;
}

/* Mapa */
.mapa {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
}

.mapa-contenedor iframe {
  border-radius: 10px;
}

/* Footer */
footer {
  background-color: #002f6c;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: #fff;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  font-family: 'Poppins', sans-serif;
}

.popup-content h3 {
  margin-top: 0;
  color: #0073e6;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.popup-content button:hover {
  background-color: #005bb5;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 10000;
  transition: background 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
}

.whatsapp-widget img.whatsapp-icon {
  width: 36px;
  height: 36px;
  filter: invert(1); /* Para que se vea blanco sobre fondo verde */
}
.descripcion-plan {
  background-color: #f0f8ff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 128, 255, 0.1);
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.descripcion-plan:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 128, 255, 0.15);
}

.descripcion-plan ul {
  padding-left: 1.2rem;
  margin-top: 10px;
  margin-bottom: 10px;
}

.descripcion-plan ul li {
  margin-bottom: 8px;
  list-style: none;
}

.llamada-accion {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a84ff;
  margin-top: 15px;
}
