/* =========================================================
   Estilos adicionales - INFOSOFT GOBIERNOS
   ========================================================= */

.gob-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.gob-section:nth-child(even) {
  flex-direction: row-reverse;
  background: var(--background-light);
}

.gob-text {
  flex: 1;
}

.gob-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gob-text h2 span {
  color: var(--primary-color);
  display: block;
}

.gob-text p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 90%;
}

.gob-text .btn-primary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.gob-text .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gob-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* CTA FINAL */
.gob-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0f0f0f, #3b3b3b);
  color: #fff;
}

.gob-cta h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.gob-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.gob-cta .btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: none;
  font-weight: 600;
}

.gob-cta .btn-secondary:hover {
  background: var(--background-light);
}

/* Responsivo */
@media (max-width: 992px) {
  .gob-section {
    flex-direction: column;
    text-align: center;
  }

  .gob-section:nth-child(even) {
    flex-direction: column;
  }

  .gob-text p {
    max-width: 100%;
  }

  .gob-image img {
    max-width: 90%;
  }
}

/* =========================================================
   INFOSOFT - Página GOBIERNOS
   ========================================================= */

/* === HERO PRINCIPAL === */
.gob-hero {
  background: linear-gradient(135deg, #979797 0%, #000 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gob-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.gob-hero-content {
  max-width: 650px;
  z-index: 2;
}

.gob-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gob-hero h1 span {
  color: var(--primary-color);
}

.gob-hero p {
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.gob-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gob-hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.gob-hero-stats div h3 {
  font-size: 2rem;
  font-weight: 700;
}

.gob-hero-stats div p {
  font-size: 0.9rem;
  color: #9ca3af;
}

.gob-hero-image {
  position: absolute;
  right: 0;
  top: 3rem;
  max-width: 600px;
  width: 50%;
  z-index: 1;
}

.gob-hero-image img {
  width: 100%;
  border-radius: 1rem;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

/* === SECCIÓN SERVICIOS === */
.gob-servicios {
  background: #fff;
  padding: 6rem 2rem;
}

.gob-servicios .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.gob-servicios .section-title span {
  color: var(--primary-color);
}

.gob-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gob-card {
  background: var(--white);
  border: 1px solid var(--border-lighter);
  border-top: 4px solid var(--primary-color);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: all 0.3s ease;
}

.gob-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gob-card .service-icon {
  margin-bottom: 1.25rem;
}

.gob-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.gob-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gob-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.gob-card ul li::before {
  content: "✔";
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* CTA dentro de tarjeta */
.gob-card .btn-primary {
  display: inline-block;
}

/* ==== Ajuste visual final para las 3 columnas === */
.gob-section .gob-cards-inline {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: stretch;
}

/* Tarjetas */
/* ==== Versión más compacta tipo ítem ==== */
.gob-section .gob-cards-inline {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* Ítems (antes feature-card) */
.feature-card {
  background: none;                /* sin fondo blanco sólido */
  border: none;                    /* sin borde grande */
  box-shadow: none;                /* sin sombra */
  padding: 1rem;                   /* más compacto */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
}

/* Ícono más chico */
.feature-card .feature-icon {
  margin-bottom: 0.5rem;
}

.feature-card .feature-icon img {
  width: 40px;
  height: 40px;
}

/* Texto del ítem */
.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 90%;
}


.notebook-video {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  margin-top: 2rem;
}

.notebook-frame {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
}

.notebook-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Pantalla dentro de la notebook */
.notebook-frame .screen {
  position: absolute; 

  width: 86%;
  height: 80%;
  overflow: hidden;
  border-radius: 8px;
  z-index: 1;
  background: #000;
}

.notebook-frame .screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}


/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .gob-hero .container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 5rem;
  }

  .gob-hero-image {
    position: relative;
    width: 100%;
    margin-top: 3rem;
  }

  .gob-hero-content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .gob-hero h1 {
    font-size: 2.25rem;
  }

  .gob-hero p {
    font-size: 1rem;
  }

  .gob-hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .gob-cards {
    grid-template-columns: 1fr;
  }
  .gob-section .gob-cards-inline {
    grid-template-columns: 1fr;
  }
  .notebook-frame {
    max-width: 100%;
  }
}

