:root {
  --blue-main: #1f78b4;
  --dark-bg: #0b1d2d;
  --light-bg: #f4f7fa;
  --text-soft: #4a5d73;
}

/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  color: #0a2540;
  margin: 0;
}

/* HERO */
.gi-hero {
  position: relative;
  height: 420px;
  background: url('/assets/productos-servicios/banner-ps.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gi-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,20,35,.75);
}

.gi-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
}

.gi-hero-content h1 {
  font-size: 42px;
  line-height: 1.3;
}

.gi-hero-content span {
  font-weight: 400;
  font-size: 28px;
}

/* SECCIONES */
.gi-section {
  padding: 100px 20px;
}

.gi-section.dark {
  background: var(--dark-bg);
  color: #fff;
}

.gi-section.light {
  background: var(--light-bg);
}

.gi-container {
  max-width: 900px;
  margin: auto;
  font-size: 18px;
  line-height: 1.9;
}

/* IMAGEN + TEXTO */
.gi-image-text {
  padding: 120px 20px;
  position: relative;
}

.gi-image-text.dark {
  background: var(--dark-bg);
  color: #fff;
}

.gi-image-text-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 80px;
  align-items: center;
}

.gi-image-text img {
  width: 380px;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

.gi-image-text h2 {
  font-size: 32px;
  margin-bottom: 18px;
}

.gi-image-text p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 520px;
}

/* CTA */
.gi-cta {
  background: #081623;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
}

.gi-cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.gi-cta p {
  font-size: 18px;
  margin-bottom: 30px;
}

.gi-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--blue-main);
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gi-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,.35);
}

/* ANIMACIONES */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .gi-image-text-content {
    flex-direction: column;
    text-align: center;
  }

  .gi-image-text img {
    width: 280px;
  }

  .gi-hero-content h1 {
    font-size: 30px;
  }

  .gi-hero-content span {
    font-size: 20px;
  }
}
