/* === Estilos globales === */
body {
  margin: 0;
  background-color: white;
  font-family: 'Manrope', sans-serif;
}

/* === Sección principal de cotización === */
.cotiza-section {
  display: flex;
  justify-content: center;
  padding: 40px;
}

/* Contenedor principal que agrupa imagen y contenido */
.cotiza-container {
  display: flex;
  align-items: center;
  gap: 40px; /* Espaciado entre imagen y contenido */
  width: 100%;
  max-width: 1275px;
  height: 394px;
}

/* === Imagen con overlay de degradado === */
.cotiza-img {
  position: relative;
  width: 613.5px;
  height: 394px;
  border-radius: 16px;
  overflow: hidden;
  background-image: url("multimedia/BancodeImagenesWeb/pexels-visual-tag-mx-1321732-2566581.jpg");
  background-size: cover;
  background-position: center;
}

.cotiza-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(151.35deg, rgba(36, 12, 128, 0.1) -19.4%, #082152 94.09%);
  pointer-events: none;
}

/* === Contenido textual al lado de la imagen === */
.cotiza-content {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Espaciado entre título, texto y botón */
  width: 613.5px;
  /* Altura dinámica según contenido */
}

/* Título */
.cotiza-title {
  font-size: 28px;
  color: #172F58;
  margin: 0;
  font-weight: 400;
  width: 100%;
}

/* Texto descriptivo */
.cotiza-text {
  font-size: 20px;
  line-height: 28px;
  color: #172F58;
  margin: 0;
  font-weight: 300;
  width: 100%;
}

.cotiza-btn {
  padding: 0.75rem 1rem; /* Equivale a 12px 24px */
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  transition: background-color 0.3s ease;

  background-color: #172F58; /* Color de fondo actual */
  color: #ffffff; /* Texto blanco */
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px; /* Ajustable según tu diseño */
}

.cotiza-btn:hover {
  background-color: #1f3a75; /* Color un poco más claro para el hover */
}

.cotiza-btn {
  width: 200px;
  height: 50px;
  padding: 0; /* Eliminamos el padding para que respete height fija */
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  transition: background-color 0.3s ease;

  background-color: #172F58; /* Azul oscuro */
  color: #ffffff; /* Texto blanco */
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px; /* Opcional */
}

.cotiza-btn:hover {
  background-color: #1f3a75; /* Hover con azul más claro */
}

/* === Responsive para pantallas pequeñas (menores a 768px) === */
@media (max-width: 768px) {
  .cotiza-section {
    padding: 24px;
  }

  .cotiza-container {
    flex-direction: column-reverse;
    width: 100%;
    height: auto;
    gap: 24px;
  }

  .cotiza-img {
    width: 100%;
    height: 250px;
    border-radius: 12px;
  }

  .cotiza-content {
    width: 100%;
    padding: 0 10px;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .cotiza-title {
    font-size: 22px;
    width: 100%;
  }

  .cotiza-text {
    font-size: 16px;
    line-height: 24px;
    width: 100%;
  }

  .cotiza-btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    margin-top: 16px;
  }
}


/* productos */
:root {
  --Colors-Whites-00: #FFFFFF;
  --Colors-Text-Darker: #24336F;
  --Colors-Text-Darkest: #172F58;
  --Colors-Background-Button-Primary-Default: #24336F;

  --font-header: 'Segoe UI', sans-serif;
  --font-body: 'Arial', sans-serif;
}

.productos-container {
  width: 1269px;
  min-height: 800px;
  margin: 50px auto;
  border-radius: 16px;
  background: var(--Colors-Whites-00);
  display: flex;
  align-items: center;
  justify-content: center;
}

.productos-wrapper {
  width: 1074px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 45px 0;
  box-sizing: border-box;
}

.productos-titulo {
  width: 100%;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  color: var(--Colors-Text-Darker);
}

.productos-lista {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.producto-item {
  width: 250px;
  height: 198px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0;
  text-align: center;
  color: var(--Colors-Text-Darkest);
  box-sizing: border-box;
}

.producto-icono {
  font-size: 54px;
  margin-bottom: 8px;
  color: var(--Colors-Text-Darkest);
}

.producto-nombre {
  display: block;
  width: 100%;
  height: 28px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 8px;
  color: var(--Colors-Text-Darkest);
  text-align: center;
}

.producto-descripcion {
  width: 100%;
  max-width: 250px;
  height: 60px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--Colors-Text-Darkest);
  text-align: center;
}

.productos-boton {
  display: block;
  width: 381px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  border-radius: 4px;
  background: var(--Colors-Background-Button-Primary-Default);
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.producto-imagen {
  width: 80px;
  height: 60px;
  position: relative;
  top: 9px;
  left: 4.5px;
  margin-bottom: 8px; /* Para que haya separación con el nombre */
  object-fit: contain;
}


/* Responsive - Pantallas menores a 768px */
@media screen and (max-width: 768px) {
  .productos-container {
    width: 100%;
    margin: 30px 16px;
    border-radius: 12px;
  }

  .productos-wrapper {
    width: 100%;
    padding: 32px 16px;
    gap: 32px;
  }

  .productos-titulo {
    font-size: 32px;
    line-height: 40px;
  }

  .productos-lista {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .producto-item {
    width: 100%;
    max-width: 300px;
    height: auto;
    padding: 16px 0;
  }

  .producto-nombre {
    font-size: 18px;
    line-height: 24px;
  }

  .producto-descripcion {
    font-size: 14px;
    line-height: 20px;
    height: auto;
    padding: 0 8px;
  }

  .productos-boton {
    width: 100%;
    max-width: 300px;
    height: 56px;
    line-height: 56px;
    font-size: 18px;
  }
}


@media (max-width: 1300px) and (min-width: 740px) {
  .productos-container {
    width: 95%;
    margin: 40px auto;
    border-radius: 12px;
    padding: 24px;
  }

  .productos-wrapper {
    width: 100%;
    padding: 24px 0;
    gap: 32px;
  }

  .productos-titulo {
    font-size: 38px;
    line-height: 46px;
  }

  .productos-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centrado */
    gap: 32px;
  }

  .producto-item {
    width: calc(50% - 24px); /* 2 columnas, considerando el gap */
    max-width: 320px;
    height: auto;
    padding: 16px 8px;
    box-sizing: border-box;
  }

  .producto-nombre {
    font-size: 18px;
    line-height: 24px;
  }

  .producto-descripcion {
    font-size: 12px;
    line-height: 16px;
    height: auto;
  }

  .producto-imagen {
    width: 60px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
  }

  .productos-boton {
    width: 240px;
    height: 48px;
    font-size: 16px;
    line-height: 48px;
    margin: 0 auto;
  }
}


/* Fondo azul de la sección */
.propuesta-valor {
  background: linear-gradient(180deg, #08398E 0%, #24336F 100%);
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Tarjeta blanca con bordes redondeados */
.tarjeta-valor {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 1100px;
  width: 90%;
  height: auto; /* ← Elimina altura fija */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  display: flex;               /* ← Añadido para centrar verticalmente */
  flex-direction: column;     /* ← Asegura que los elementos fluyan verticalmente */
  justify-content: center;    /* ← Centra verticalmente el contenido */
  align-items: center;        /* ← Centra horizontalmente */
}

/* Título azul */
.titulo-valor {
  font-family: 'Fustat', sans-serif;
  font-size: 50px; /* ← Más grande */
  font-weight: 100;
  color: #172F58;
  margin-bottom: 2rem;
}

/* Descripción azul más suave */
.descripcion-valor {
  font-family: 'Fustat', sans-serif;
  font-size: 20px; /* ← Más grande */
  color: #1b2d5a;
  max-width: 800px; /* ← Opcional: evita que el texto se extienda mucho */
  margin-top: 0;
}

/* Botón azul con efecto hover */
.btn-valor {
  font-family: 'Fustat', sans-serif;
  background-color: #24336F;
  color: white;
  padding: 15px ; /* ← Más grande */
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.2rem; /* ← Más grande */
  transition: background-color 0.3s ease;
  display: inline-block;
   margin-top: 2rem; /* ↑ Empuja el botón hacia abajo */
}

.btn-valor:hover {
  background-color: #14244a;
  cursor: pointer;
}




/* Responsive - Sección Propuesta de Valor */
@media screen and (max-width: 768px) {
  .propuesta-valor {
    padding: 3rem 1rem;
  }

  .tarjeta-valor {
    padding: 2rem 1rem;
    width: 100%;
  }

  .titulo-valor {
    font-size: 32px;
    margin-bottom: 1.5rem;
  }

  .descripcion-valor {
    font-size: 16px;
    padding: 0 1rem;
    max-width: 100%;
  }

  .btn-valor {
    font-size: 1rem;
    padding: 12px 20px;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 280px;
  }
}
