/* Grupo Cynersis — extensiones sobre ../css/style.css (misma identidad V6) */

.g-hero { padding-bottom: 120px; }
.g-hero__areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.g-hero__areas a {
  padding: 10px 20px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 600; font-size: 14px;
  transition: background .2s, border-color .2s;
}
.g-hero__areas a:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.g-hero__big { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; color: #fff; }
.g-hero__big strong { font-size: clamp(72px, 12vw, 140px); font-weight: 900; line-height: 1; letter-spacing: -4px; color: #7DB7DB; }
.g-hero__big span { font-size: 22px; font-weight: 700; }

.g-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.g-split--rev { grid-template-columns: 1fr 1.05fr; }
.g-split img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.g-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.g-values li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--teal-10); color: var(--navy); font-weight: 700; font-size: 14px; border: 1px solid var(--teal-20); }
.g-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.g-stat { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; text-align: center; }
.g-stat b { display: block; font-size: 44px; font-weight: 900; color: var(--teal); line-height: 1; letter-spacing: -1px; }
.g-stat span { font-size: 13px; color: var(--text-60); font-weight: 600; }

.g-grid { display: grid; gap: 24px; margin-top: 40px; }
.g-grid--2 { grid-template-columns: repeat(2, 1fr); }
.g-grid--3 { grid-template-columns: repeat(3, 1fr); }
.g-grid--4 { grid-template-columns: repeat(4, 1fr); }

.g-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 28px 26px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 8px;
}
.g-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.g-card p { font-size: 14.5px; color: var(--text-60); line-height: 1.65; }
.g-card__tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.g-card__num { font-size: 40px; font-weight: 900; color: var(--teal); line-height: 1; letter-spacing: -1px; }
.section--dark .g-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); box-shadow: none; }
.section--dark .g-card h3 { color: #fff; }
.section--dark .g-card p { color: rgba(255,255,255,.72); }
.section--dark .g-card__tag, .section--dark .g-card__num { color: #7DB7DB; }

.g-area {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background: var(--navy) center / cover no-repeat; box-shadow: var(--sh-md);
  transition: transform .2s, box-shadow .2s;
}
.g-area::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,37,89,.15) 0%, rgba(22,37,89,.92) 70%); }
.g-area:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }
.g-area__body { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.g-area__n { font-size: 44px; font-weight: 900; color: #8FBCE2; line-height: 1; }
.g-area h3 { font-size: 24px; font-weight: 800; }
.g-area__org { font-size: 15px; font-weight: 800; color: #7DB7DB; }
.g-area p { font-size: 14px; color: #D2DEEA; line-height: 1.55; }

.g-band { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.g-band h3 { font-size: 24px; font-weight: 800; line-height: 1.3; max-width: 640px; }
.g-band p { color: #D2DEEA; margin-top: 6px; font-size: 15px; }
.g-band__big { font-size: 40px; font-weight: 900; color: #7DB7DB; line-height: 1.1; text-align: right; }
.g-band__big small { display: block; font-size: 14px; font-weight: 600; color: #D2DEEA; }

.g-sub { font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 56px; letter-spacing: -.3px; }
.section--dark .g-sub { color: #fff; }

.g-big { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.g-big strong { font-size: clamp(54px, 8vw, 96px); font-weight: 900; color: var(--teal); letter-spacing: -3px; line-height: 1; }
.g-big span { font-size: 18px; font-weight: 700; color: var(--navy); max-width: 380px; }

.g-prod { padding: 0; overflow: hidden; }
.g-prod img { width: 100%; height: 200px; object-fit: cover; }
.g-prod__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }

.g-metric { text-align: center; align-items: center; }
.g-metric__pre { font-size: 13px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; }
.g-metric__val { font-size: 56px; font-weight: 900; color: var(--teal); line-height: 1; letter-spacing: -2px; }
.g-metric__lbl { font-size: 14px; font-weight: 800; color: var(--navy); }

.g-note { font-size: 13px; color: var(--text-40); margin-top: 20px; line-height: 1.6; }
.g-country { text-align: center; }
.g-country h3 { font-size: 26px; }
.g-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px 28px; align-items: center; margin-top: 36px; }
.g-logos img { width: 100%; height: 70px; object-fit: contain; filter: grayscale(1) opacity(.6); transition: filter .2s; }
.g-logos img:hover { filter: none; }
.g-partners-line { margin-top: 28px; font-size: 16px; font-weight: 700; color: var(--navy); text-align: center; }

.g-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-10); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }

@media (max-width: 1000px) {
  .g-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .g-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .g-split, .g-split--rev { grid-template-columns: 1fr; gap: 32px; }
  .g-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .g-grid--2, .g-grid--3, .g-grid--4 { grid-template-columns: 1fr; }
  .g-stats { grid-template-columns: 1fr; }
  .g-band { padding: 28px 22px; }
  .g-band__big { text-align: left; }
  .g-logos { grid-template-columns: repeat(3, 1fr); }
}

/* Páginas interiores */
.g-page-hero {
  background: var(--navy) url('../img/img008-1.webp') center / cover no-repeat; position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px; color: #fff;
}
.g-page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22,37,89,.9) 0%, rgba(22,37,89,.72) 100%); }
.g-page-hero .container { position: relative; }
.g-page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin: 10px 0 12px; }
.g-page-hero p { font-size: 20px; color: #D2DEEA; max-width: 720px; }

.g-link { position: relative; transition: transform .2s, box-shadow .2s; }
.g-link:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.g-link h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-md); }
.g-link h3 a:hover { color: var(--teal); }
.g-sublinks { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.g-sublinks a { font-size: 13px; font-weight: 700; color: var(--teal); padding: 5px 12px; border-radius: var(--r-pill); background: var(--teal-10); border: 1px solid var(--teal-20); }
.g-sublinks a:hover { background: var(--teal-20); }

/* Galería de obras */
.g-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.g-shot { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--navy); box-shadow: var(--sh-sm); }
.g-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.g-shot:hover img { transform: scale(1.05); }
.g-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(180deg, transparent, rgba(22,37,89,.9)); }
@media (max-width: 1000px) { .g-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .g-gallery { grid-template-columns: 1fr; } }
