/* =====================================================
   GONET · SECCIÓN — "Por qué elegirnos" (2 Columnas)
   ===================================================== */

.GO3-wrapper {
  --GO3-img-atencion:  url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=1000&auto=format&fit=crop');
  --GO3-img-monitoreo: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=800&auto=format&fit=crop');
  --GO3-img-respaldo:  url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=800&auto=format&fit=crop');
  --GO3-img-arquitec:  url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?q=80&w=800&auto=format&fit=crop');
  --GO3-img-costos:    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=800&auto=format&fit=crop');
  --GO3-radius: 16px;

  width: 100%;
  height: auto;
  min-height: 90vh;
  margin: 0 auto;
  padding: 100px 0;
  background-color: #e2e2e2; /* Color gris de fondo de la imagen */
  color: var(--go-ink);
  overflow: hidden; /* Evita scroll horizontal */
}

.GO3-wrapper *, .GO3-wrapper *::before, .GO3-wrapper *::after { box-sizing: border-box; }

/* --- LAYOUT DE 2 COLUMNAS --- */
.GO3_layout {
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 40px;
  gap: 40px;
}

/* --- COLUMNA IZQUIERDA (Texto) --- */
.GO3_left {
  padding-right: 20px;
  align-self: start;
}

.GO3_head { margin: 0; }

/* Tokens aplicados al encabezado */
.GO3_eyebrow {
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: 500;
  margin: 0 0 16px 0;
  color: #a0a0a0; /* Tono gris claro */
  letter-spacing: var(--tracking-small);
  text-transform: uppercase;
}

.GO3_h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  margin: 0;
  height: 200px;
  line-height: var(--lh-h2);
  letter-spacing: var(--tracking-h2);
  /* Gradiente de tokens */
  background: var(--grad-h2);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.GO3_eyebrow, .GO3_h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-smooth);
}

.GO3_head.GO3_in .GO3_eyebrow,
.GO3_head.GO3_in .GO3_h2 {
  opacity: 1;
  transform: translateY(0);
}

/* --- COLUMNA DERECHA (Carrusel) --- */
.GO3_right {
  position: relative;
  width: 100%;
}

.GO3_stage {
  position: relative;
  overflow: visible; /* Permite que el grid se desborde */
  transition: height 1.15s var(--ease-smooth);
}

.GO3_grid {
  display: grid;
  grid-template-columns: repeat(5, var(--GO3-S, 177px));
  grid-template-rows: repeat(2, var(--GO3-S, 177px));
  gap: 8px;
  width: max-content;
  font-size: calc(var(--GO3-S, 177px) * 0.07);
  transition: transform 1.15s var(--ease-smooth);
  will-change: transform;
}

/* Posición de las tarjetas en el Grid */
.GO3_c1 { grid-column: 1;     grid-row: 1; }
.GO3_c2 { grid-column: 2 / 4; grid-row: 1; }
.GO3_c4 { grid-column: 4;     grid-row: 1 / 3; }
.GO3_c5 { grid-column: 5;     grid-row: 1; }
.GO3_c6 { grid-column: 1;     grid-row: 2; }
.GO3_c7 { grid-column: 2;     grid-row: 2; }
.GO3_c8 { grid-column: 3;     grid-row: 2; }
.GO3_c9 { grid-column: 5;     grid-row: 2; }

/* Tarjetas base */
.GO3_card {
  position: relative;
  overflow: hidden;
  border-radius: var(--GO3-radius);
  min-width: 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease var(--GO3-delay, 0s), transform 0.7s var(--ease-smooth) var(--GO3-delay, 0s);
}
.GO3_grid.GO3_in .GO3_card { opacity: 1; transform: translateY(0); }

/* Tarjetas Blancas */
.GO3_white {
  background: #fff;
  border: 1px solid #cfcfd2;
  display: flex;
  align-items: start;
  padding: 25% 11% 0 20%;
}
.GO3_white p {
  margin: 0;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.2;
  font-weight: 100;
  color: var(--go-ink);
}

/* Tarjetas Foto */
.GO3_photo {
  background-color: #222;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  color: #fff;
}
.GO3_photo .GO3_bg { position: absolute; inset: 0; background-image: var(--GO3-img); background-size: cover; background-position: center; transition: transform 0.9s var(--ease-smooth); }
.GO3_photo:hover .GO3_bg { transform: scale(1.07); }
.GO3_photo .GO3_tint { position: absolute; inset: 0; pointer-events: none; }

.GO3_title {
  position: absolute;
  top: 14%;
  left: 12%;
  right: 14%;
  margin: 0;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

/* Tintes de color */
.GO3_c2 { --GO3-img: var(--GO3-img-atencion); }
.GO3_c2 .GO3_tint { background: linear-gradient(90deg, rgba(18,18,20,0.95) 0%, rgba(18,18,20,0.78) 30%, rgba(18,18,20,0.12) 72%, transparent 100%); }

.GO3_c4 { --GO3-img: var(--GO3-img-monitoreo); }
.GO3_c4 .GO3_tint { background: linear-gradient(150deg, rgba(0,10,255,0.96) 0%, rgba(0,25,255,0.82) 45%, rgba(20,60,255,0.28) 100%); }

.GO3_c6 { --GO3-img: var(--GO3-img-respaldo); }
.GO3_c6 .GO3_tint { background: linear-gradient(110deg, rgba(196,30,48,0.97) 0%, rgba(196,30,48,0.78) 50%, rgba(196,30,48,0.12) 100%); }

.GO3_c8 { --GO3-img: var(--GO3-img-arquitec); }
.GO3_c8 .GO3_tint { background: linear-gradient(135deg, rgba(122,60,226,0.95) 0%, rgba(80,80,205,0.6) 55%, rgba(60,100,200,0.05) 100%); }

.GO3_c9 { --GO3-img: var(--GO3-img-costos); }
.GO3_c9 .GO3_tint { background: linear-gradient(90deg, #34b34a 0%, #34b34a 44%, transparent 44.2%); }
.GO3_c9 .GO3_title { right: 50%; }

/* Botón "+" */
.GO3_plus {
  position: absolute;
  right: 5.5%; bottom: 7%;
  width: 14%; max-width: 44px; min-width: 22px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  background: rgba(150, 150, 152, 0.92);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.35s var(--ease-smooth);
}
.GO3_plus svg { width: 55%; height: 55%; }
.GO3_photo:hover .GO3_plus, .GO3_plus:hover { background: var(--go-blue); transform: scale(1.12); }
.GO3_photo:hover .GO3_plus svg { transform: rotate(90deg); }

/* Controles Nav */
.GO3_nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-right: 10%;
}
.GO3_nav button {
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: #9b9b9d;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.GO3_nav button:hover:not([aria-disabled="true"]) { background: #6e6e73; transform: scale(1.08); }
.GO3_nav button[aria-disabled="true"] { opacity: 0.4; cursor: default; }

/* --- MÓVIL / TABLET --- */
@media (max-width: 1024px) {
  .GO3_layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .GO3_left {
    text-align: center;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .GO3_stage { overflow: hidden; }
  .GO3_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    width: 100%;
    transform: none !important;
  }
  .GO3_card {
    grid-column: auto !important;
    grid-row: auto !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .GO3_c2 { grid-column: span 2 !important; }
  .GO3_c4 { grid-row: span 2 !important; }
  .GO3_nav { display: none; }
}

/* POPUP (Se mantiene igual) */
.GO3_overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(8, 14, 24, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
.GO3_overlay.GO3_open { opacity: 1; visibility: visible; }
.GO3_modal {
  position: relative; display: flex; width: 100%; max-width: 760px; max-height: 90vh;
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(24px) scale(0.96); transition: transform 0.45s var(--ease-smooth);
}
.GO3_overlay.GO3_open .GO3_modal { transform: translateY(0) scale(1); }
.GO3_modal_media { position: relative; flex: 0 0 42%; background-size: cover; background-position: center; min-height: 320px; }
.GO3_modal_media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, var(--GO3-accent, var(--go-blue)) 0%, transparent 85%); opacity: 0.85; }
.GO3_modal_body { flex: 1; padding: 38px 34px 32px; overflow-y: auto; color: var(--go-ink); }
.GO3_modal_body h3 { margin: 0 0 14px; font-size: 24px; font-weight: 700; }
.GO3_modal_body p, .GO3_modal_body ul { font-size: 15px; line-height: 1.6; color: #48484d; }
.GO3_modal_cta { display: inline-block; background: var(--go-blue); color: #fff; text-decoration: none; padding: 13px 30px; border-radius: 980px; font-size: 15px; font-weight: 500; margin-top: 15px; }
.GO3_close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--go-ink); cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; }