/* Lenguaje visual tomado de la presentación corporativa de Cynersis (Inter, azul #1E85C7, celeste #69C5FF, navy #0A1E38) */
.section--alt { --g-bg: var(--bg); }
.g-hl { color: var(--teal); }
.section--dark .g-hl { color: #69C5FF; }
.section-hd .eyebrow::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--teal); margin: 8px auto 0; }
.eyebrow--light::after { background: #69C5FF !important; }
.ctc__copy .eyebrow::after, .g-split .eyebrow::after, .g-pres__copy .eyebrow::after, .g-page-hero .eyebrow::after { margin-left: 0; }

/* KPIs oscuros */
.g-kpis-wrap { position: relative; z-index: 5; margin-top: -72px; padding-bottom: 8px; }
.g-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.g-kpi, .g-stat {
  position: relative; overflow: hidden; border-radius: 18px; color: #fff;
  background: linear-gradient(160deg, #10294A 0%, #0A1E38 100%);
  border: none; border-top: 4px solid var(--teal); box-shadow: 0 10px 28px rgba(10,30,56,.2);
}
.g-kpi::after, .g-stat::after { content: ""; position: absolute; right: -34px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%; background: rgba(105,197,255,.12); }
.g-kpi { padding: 22px; }
.g-kpi__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); color: #69C5FF; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.g-kpi__val { display: block; font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -1.5px; }
.g-kpi__val small { font-size: 17px; font-weight: 800; letter-spacing: 0; color: #69C5FF; margin-left: 6px; }
.g-kpi__lbl { display: block; margin-top: 6px; font-size: 14px; color: #D2DEEA; line-height: 1.4; }
.g-stat { padding: 22px 18px; }
.g-stat b { color: #fff; position: relative; z-index: 1; }
.g-stat span { color: #D2DEEA; position: relative; z-index: 1; }

/* Pasos y línea de tiempo con nodos */
.g-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 48px; }
.g-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 34px; height: 3px; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 3px; }
.g-step { position: relative; }
.g-step__head { display: flex; justify-content: center; align-items: center; height: 68px; position: relative; z-index: 1; }
.g-step__node { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); color: var(--teal); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(30,133,199,.12); }
.g-step:last-child .g-step__node { background: var(--navy); border-color: var(--navy); color: #69C5FF; box-shadow: 0 0 0 8px rgba(10,30,56,.12); }
.g-step__card { margin-top: 22px; background: #fff; border-radius: 16px; border-top: 4px solid var(--teal); padding: 22px 24px 26px; box-shadow: 0 8px 22px rgba(10,30,56,.07); min-height: 150px; }
.g-step:last-child .g-step__card { background: linear-gradient(160deg, #10294A, #0A1E38); border-top-color: #69C5FF; color: #fff; }
.g-step__n { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.g-step:last-child .g-step__n { color: #69C5FF; }
.g-step__card h3 { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; margin-bottom: 6px; }
.g-step:last-child .g-step__card h3 { color: #fff; }
.g-step__card p { font-size: 14.5px; color: var(--text-60); line-height: 1.6; }
.g-step:last-child .g-step__card p { color: #D2DEEA; }
.g-steps--time .g-step__head { gap: 12px; justify-content: flex-start; padding-left: 4px; }
.g-steps--time .g-step__node { width: 56px; height: 56px; flex: none; }
.g-steps--time .g-step__year { font-size: 40px; font-weight: 900; letter-spacing: -1.5px; color: var(--navy); background: var(--g-bg, #fff); padding: 0 12px 0 4px; position: relative; z-index: 1; }
.g-steps--time .g-step:last-child .g-step__year { color: var(--teal); }
.g-steps--time::before { left: 28px; right: 0; top: 34px; }

/* Presencia */
.g-pres { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.g-pres__copy h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 900; letter-spacing: -1.5px; color: var(--navy); line-height: 1.1; margin: 10px 0 14px; }
.g-pres__copy > p { font-size: 17px; color: var(--text-60); max-width: 560px; }
.g-countries { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.g-country-row { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 16px; border-left: 4px solid var(--teal); padding: 18px 22px; box-shadow: 0 8px 22px rgba(10,30,56,.07); }
.g-country-row svg { width: 52px; height: 35px; flex: none; border-radius: 4px; box-shadow: 0 2px 6px rgba(10,30,56,.2); }
.g-country-row h3 { font-size: 22px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.g-country-row p { font-size: 14.5px; color: var(--text-60); margin-top: 2px; }
.g-country-row.is-main { background: linear-gradient(160deg, #10294A, #0A1E38); }
.g-country-row.is-main h3 { color: #fff; }
.g-country-row.is-main p { color: #D2DEEA; }
.g-pill { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #69C5FF; color: var(--navy); padding: 4px 10px; border-radius: 100px; }
.g-map { display: flex; justify-content: center; }
.g-map img { width: 100%; max-width: 440px; max-height: 560px; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(30,133,199,.25)); }
.g-pres-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }

/* Resultados oscuros */
.g-darkband { margin-top: 56px; border-radius: 26px; padding: 44px 40px 40px; color: #fff; background: radial-gradient(1200px 400px at 10% -20%, rgba(30,133,199,.35), transparent), linear-gradient(160deg, #10294A 0%, #0A1E38 100%); }
.g-darkband .g-sub { color: #fff; margin-top: 0; }
.g-darkband .g-note { color: #A9C6E2; }
.g-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.g-result { position: relative; overflow: hidden; border-radius: 18px; padding: 26px 22px 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-top: 3px solid #69C5FF; }
.g-result::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: rgba(105,197,255,.12); }
.g-result__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(105,197,255,.16); color: #69C5FF; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.g-result__pre { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #69C5FF; }
.g-result__val { font-size: 58px; font-weight: 900; letter-spacing: -2px; line-height: 1.05; }
.g-result__val small { font-size: 36px; color: #69C5FF; letter-spacing: -1px; }
.g-result__dash { display: block; width: 40px; height: 3px; border-radius: 3px; background: #69C5FF; margin: 12px 0; }
.g-result h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.g-result p { font-size: 14px; color: #C5D6E8; line-height: 1.55; }
.g-result__tag { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #A9C6E2; }

/* Tarjetas de soluciones con ícono */
.g-ico-tag { display: flex; align-items: center; gap: 10px; }
.g-ico-tag .g-ico { margin: 0; width: 36px; height: 36px; border-radius: 10px; }
.g-link { border-radius: 16px; box-shadow: 0 8px 22px rgba(10,30,56,.07); }

@media (max-width: 1000px) {
  .g-kpis { grid-template-columns: repeat(3, 1fr); }
  .g-steps { grid-template-columns: repeat(2, 1fr); }
  .g-steps::before { display: none; }
  .g-pres { grid-template-columns: 1fr; }
  .g-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .g-kpis { grid-template-columns: repeat(2, 1fr); }
  .g-steps { grid-template-columns: 1fr; }
  .g-pres-stats { grid-template-columns: 1fr; }
  .g-results { grid-template-columns: 1fr; }
  .g-darkband { padding: 30px 20px; }
}

.g-left .eyebrow::after { margin-left: 0; }
.section-hd .eyebrow { display: inline-block; }
.g-left { max-width: none; margin: 0 0 8px; }

.g-hero__phrase { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; line-height: 1.2; letter-spacing: -1px; color: #fff; max-width: 820px; margin-top: 20px; }
.g-hero__phrase span { color: #7DB7DB; }
/* Carrusel de partners */
.g-carousel { position: relative; overflow: hidden; margin-top: 32px; padding: 8px 0; }
.g-carousel::before, .g-carousel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.g-carousel::before { left: 0; background: linear-gradient(to right, var(--g-bg, #fff), transparent); }
.g-carousel::after { right: 0; background: linear-gradient(to left, var(--g-bg, #fff), transparent); }
.g-carousel__track { display: flex; gap: 48px; align-items: center; width: max-content; animation: g-scroll-logos 60s linear infinite; }
.g-carousel:hover .g-carousel__track { animation-play-state: paused; }
@keyframes g-scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.g-carousel__track img { height: 84px; width: auto; max-width: 180px; object-fit: contain; flex-shrink: 0; filter: grayscale(1) opacity(.65); transition: filter .25s; }
.g-carousel__track img:hover { filter: none; }
@media (prefers-reduced-motion: reduce) { .g-carousel__track { animation: none; } .g-carousel { overflow-x: auto; } }
.g-hero__phrase { margin-left: auto; margin-right: auto; text-align: center; }
.g-hero .hero__inner { text-align: center; }
.g-hero .hero__ctas { justify-content: center; }
.g-hero .hero__sub { margin-left: auto; margin-right: auto; }

/* Fotos de la presentación */
.g-link { overflow: hidden; }
.g-link .g-thumb { width: calc(100% + 52px); max-width: none; height: 160px; object-fit: cover; margin: -28px -26px 10px; display: block; }
.g-banner { margin: 28px 0 8px; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(10,30,56,.2); }
.g-banner img { width: 100%; height: clamp(180px, 26vw, 320px); object-fit: cover; display: block; }
.g-page-hero .breadcrumb { margin-bottom: 14px; }

/* Anclas del submenú de Grupo Cynersis */
section[id] { scroll-margin-top: 76px; }

/* Portada interior centrada, igual a las subpáginas de Tecnología */
.g-page-hero { text-align: center; padding: calc(var(--nav-h) + 78px) 0 108px; overflow: hidden; }
.g-page-hero .container { display: flex; flex-direction: column; align-items: center; }
.g-page-hero .breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; }
.g-page-hero .breadcrumb span:last-child { color: rgba(255,255,255,.62); }
.g-page-hero .hero__kicker { margin: 0 auto 18px; }
.g-page-hero h1 { margin: 6px 0 14px; }
.g-page-hero p { margin: 0 auto; }
.g-page-hero::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 42px; background: #fff; clip-path: ellipse(58% 100% at 50% 100%); }
.g-page-hero.g-wave-alt::after { background: var(--bg); }

.g-page-hero h1 span { color: #69C5FF; }
.g-page-hero .g-hero-brand { margin-top: 12px; font-size: 16px; color: #C5D6E8; max-width: 620px; }
.g-page-hero .e-chips { justify-content: center; margin-top: 30px; max-width: 980px; }

.g-hero-cert { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 16px; border-radius: 100px; background: rgba(105,197,255,.16); border: 1px solid rgba(105,197,255,.45); color: #fff; font-size: 14px; font-weight: 700; }
.g-hero-cert svg { color: #69C5FF; }
