/*
  Hoja de estilos para la web de Impressivo.
  Define las variables de color, tipografías y estilos de
  componentes básicos. Evita dependencias externas para
  asegurar que el sitio se visualice correctamente sin conexión.
*/

:root {
  --brand: #0D1B66;
  --accent: #22C3BC;
  --ink: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
}

/* Contenedor general con márgenes laterales */
.container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Encabezado */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}
.logo img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav a:hover {
  color: var(--brand);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-secondary {
  background-color: rgba(13, 27, 102, 0.1);
  color: var(--ink);
  border: 1px solid rgba(13, 27, 102, 0.2);
}
.btn-secondary:hover {
  background-color: rgba(13, 27, 102, 0.2);
}

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--brand);
    background-image: url("assets/hero-1.jpg");
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
    display: none;
}

      
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 102, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin-left: 2rem;
  max-width: 600px;
}
.hero-content h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}
.hero-content p {
  margin: 0.5rem 0;
  font-size: 1rem;
}
.hero-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-sub {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Secciones generales */
.section {
  padding: 3rem 0;
}
.bg-light {
  background-color: #f8fafc;
}
/* Encabezados de secciones */
.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
/* Grids */
.cards {
  display: grid;
  gap: 1rem;
}
.cards.two {
  grid-template-columns: 1fr;
}
.cards.three {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cards.two {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.grid-two {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .grid-two {
    grid-template-columns: 1fr 1fr;
  }
}
/* Tarjetas */
.card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
.card-content {
  padding: 1rem;
}
.card-content h3,
.card-content h4 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.card-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.card-logo {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* Imágenes redondeadas */
.img-rounded {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Bloques de texto */
.text-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.text-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Listas */
.list {
  list-style-type: disc;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}
.list li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

/* Redes sociales */
.social {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink);
}
.social a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.social a:hover {
  text-decoration: underline;
}

/* Botón Group */
.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Catálogo */
.catalog h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.catalog p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #475569;
}

/* Footer */
.footer {
  background-color: var(--brand);
  color: #ffffff;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 3rem;
}
.footer-content {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.footer-columns {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}
.footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.footer li {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer-copy {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-align: center;
  opacity: 0.8;
}
