:root {
  --primario: ;
  --sombra-card: rgba() 0px 2px 8px 8px;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f2f2f2;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

a {
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}

img {
  vertical-align: top;
}

/* TOP BAR */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: black;
  color: white;
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 30px 0;
  font-size: 18px;
}

/* HEADER PRINCIPAL */
.header-main {
  display: flex;
  align-items: center;
  justify-content: center; /* 🔥 CLAVE */
  gap: 40px; /* espacio entre menú y logo */
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 3px solid red;
}

/* MENÚ */
.menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* quitar puntitos (bullets) */
.menu {
  list-style: none;
}

/* links */
.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* LOGO */
.logo img {
  height: 75px;
}
/* --- SECTION 1 --- */
/* --- SECTION 1 --- */
/* --- SECTION 1 --- */
.hero {
  position: relative;
  height: 100vh; /* ocupa toda la pantalla */
  overflow: hidden;
}

/* imagen */
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 clave */
  z-index: 1;
}

/* overlay oscuro (OPCIONAL pero recomendado) */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* oscuridad */
  z-index: 2;
}

/* contenido */
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
}

/* título */
.hero h1 {
  font-size: 60px;
  letter-spacing: 8px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* botón */
.btn {
  background: red;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}

/* hover */
.btn:hover {
  background: darkred;
}

/* --- SECTION 2 --- */
/* --- SECTION 2 --- */
/* --- SECTION 2 --- */
.info {
  background: #f5f5f5; /* gris claro */
  padding: 100px 20px;
}

/* contenedor centrado */
.info-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/* título */
.info h2 {
  font-size: 32px;
  color: #000000;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 25px;
}

/* línea roja */
.line {
  width: 120px;
  height: 2px;
  background: rgb(236, 0, 0);
  margin: 20px auto 30px auto;
}

/* párrafo */
.info p {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
}

.info-description {
  font-size: 18px; /* El tamaño que gustes */
  color: #ffffff; /* Un gris oscuro como el de tu primera imagen */
  line-height: 1.6;
  margin-bottom: 30px;
}
/********/

.beneficios-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 280px;
  background-color: #000; /* Fondo negro como la imagen */
  padding: 30px;
}

.beneficio-item p {
  font-size: 14px;
  color: #ffffff; /* Texto blanco para el fondo negro */
}

.beneficio-item {
  flex: 1;
  text-align: left;
  color: #000000; /* Texto blanco */
  padding: 10px;
  border-right: 1px solid #ffffff; /* Línea divisoria opcional */
}

.beneficio-item:last-child {
  border-right: none;
}

.beneficio-item h3 {
  color: #e31e24; /* El rojo llamativo de los títulos */
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.beneficio-item p {
  font-size: 0.9rem;
  line-height: 2.5;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
  .beneficios-grid {
    flex-direction: column;
  }
  .beneficio-item {
    border-right: none;
    border-bottom: 1px solid #333;
  }
}

/* --- FOOTER --- */
/* --- FOOTER --- */

.footer {
  position: relative;
  padding: 100px 20px;
  color: white;
  text-align: center;
  overflow: hidden;
}

/* imagen como fondo */
.footer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.2); /* 🔥 oscurece la imagen */
}

/* contenido encima */
.footer-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

/* resto igual */
.footer h2 {
  font-size: 40px;
  margin-bottom: 30px;
}

.form input {
  width: 100%;
  max-width: 600px;
  padding: 12px;
  background: transparent;
  border: 1px solid white;
  color: white;
  margin-bottom: 20px;
}

.btn-footer {
  background: red;
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 40px;
}

.pagos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.copy {
  font-size: 14px;
  opacity: 0.7;
}
