:root{--gsgg-black:#0B0D0C;--gsgg-black-soft:#171A18;--gsgg-green:#0A8F4D;--gsgg-green-dark:#08633A;--gsgg-yellow:#F2D21B;--gsgg-cream:#F4F1E6;--gsgg-white:#fff;--gsgg-radius:22px}
html{scroll-behavior:smooth}body{margin:0;background:var(--gsgg-cream);color:var(--gsgg-black-soft)}
.gsgg-header{position:sticky;top:0;z-index:20;background:rgba(11,13,12,.96);border-bottom:4px solid var(--gsgg-yellow);box-shadow:0 8px 24px rgba(0,0,0,.14)}
.gsgg-header .wp-block-site-title a,.gsgg-header .wp-block-navigation a{color:#fff;text-decoration:none}.gsgg-header .wp-block-navigation a:hover{color:var(--gsgg-yellow)}
.gsgg-brand-mark{display:inline-flex;align-items:center;gap:.45rem}.gsgg-brand-mark:before{content:"";width:14px;height:14px;background:var(--gsgg-green);border:4px solid var(--gsgg-yellow);border-radius:50%;box-shadow:0 0 0 3px var(--gsgg-black)}
.gsgg-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#080a09 0%,#111512 55%,#0b3925 100%);color:#fff;min-height:560px;display:flex;align-items:center}
.gsgg-hero:before{content:"";position:absolute;inset:-20%;background:linear-gradient(125deg,transparent 30%,rgba(10,143,77,.35) 31%,rgba(10,143,77,.35) 43%,transparent 44%),linear-gradient(125deg,transparent 51%,rgba(242,210,27,.24) 52%,rgba(242,210,27,.24) 58%,transparent 59%);transform:rotate(-4deg)}
.gsgg-hero>*{position:relative;z-index:1}.gsgg-hero h1{color:#fff;max-width:900px}.gsgg-kicker{display:inline-block;background:var(--gsgg-yellow);color:var(--gsgg-black);font-weight:900;text-transform:uppercase;letter-spacing:.08em;padding:.45rem .8rem;border-radius:999px}
.gsgg-section{padding:clamp(3.5rem,7vw,6.5rem) 1.25rem}.gsgg-section-dark{background:var(--gsgg-black);color:#fff}.gsgg-section-dark h2,.gsgg-section-dark h3{color:#fff}.gsgg-section-green{background:var(--gsgg-green-dark);color:#fff}.gsgg-section-green h2,.gsgg-section-green h3{color:#fff}
.gsgg-section-title{max-width:780px;margin-bottom:2rem}.gsgg-section-title p{font-size:1.08rem;opacity:.84}
.gsgg-card{height:100%;background:#fff;border-radius:var(--gsgg-radius);padding:1.5rem;border:1px solid rgba(11,13,12,.1);box-shadow:0 10px 30px rgba(0,0,0,.08);transition:transform .2s ease,box-shadow .2s ease}.gsgg-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(0,0,0,.13)}
.gsgg-branch{position:relative;overflow:hidden;padding-top:1.8rem}.gsgg-branch:before{content:"";position:absolute;left:0;top:0;width:100%;height:8px;background:var(--gsgg-green)}.gsgg-branch:nth-child(even):before{background:var(--gsgg-yellow)}
.gsgg-number{font-size:3.4rem;font-weight:900;color:rgba(10,143,77,.16);line-height:1;margin-bottom:.5rem}.gsgg-card h3{margin-top:.25rem}
.gsgg-news .wp-block-post{background:#fff;border-radius:var(--gsgg-radius);padding:1.25rem;border:1px solid rgba(11,13,12,.08);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.gsgg-news .wp-block-post-title a{text-decoration:none}.gsgg-news .wp-block-post-date{font-size:.9rem;color:#5d655f}.gsgg-news .wp-block-post-excerpt__more-link{font-weight:800}
.gsgg-band{background:linear-gradient(90deg,var(--gsgg-yellow) 0 34%,var(--gsgg-green) 34% 67%,var(--gsgg-black) 67% 100%);height:12px}
.gsgg-footer{background:var(--gsgg-black);color:#dfe4e0;border-top:10px solid var(--gsgg-green)}.gsgg-footer a{color:#fff}.gsgg-footer strong{color:var(--gsgg-yellow)}
.wp-block-button.is-style-outline .wp-block-button__link{border-color:currentColor;background:transparent}
@media(max-width:782px){.gsgg-header{position:relative}.gsgg-hero{min-height:500px}.gsgg-section{padding-left:1rem;padding-right:1rem}}

/* Contrast fixes for cards placed over dark/green sections. */
.gsgg-section-dark .gsgg-card,
.gsgg-section-green .gsgg-card {
  color: var(--gsgg-black-soft);
}
.gsgg-section-dark .gsgg-card h1,
.gsgg-section-dark .gsgg-card h2,
.gsgg-section-dark .gsgg-card h3,
.gsgg-section-dark .gsgg-card h4,
.gsgg-section-green .gsgg-card h1,
.gsgg-section-green .gsgg-card h2,
.gsgg-section-green .gsgg-card h3,
.gsgg-section-green .gsgg-card h4 {
  color: var(--gsgg-black);
}
.gsgg-section-dark .gsgg-card p,
.gsgg-section-green .gsgg-card p {
  color: var(--gsgg-black-soft);
}
.gsgg-section-dark .gsgg-card .gsgg-number,
.gsgg-section-green .gsgg-card .gsgg-number {
  color: rgba(10,143,77,.16);
}

/* Distinct branch accents. Columns are siblings, so target the column index. */
#secciones .wp-block-column:nth-child(1) .gsgg-branch:before { background: var(--gsgg-yellow); }
#secciones .wp-block-column:nth-child(2) .gsgg-branch:before { background: var(--gsgg-green); }
#secciones .wp-block-column:nth-child(3) .gsgg-branch:before { background: var(--gsgg-yellow); }
#secciones .wp-block-column:nth-child(4) .gsgg-branch:before { background: var(--gsgg-green); }


/* Navigation contrast: keep menu readable on the dark header in front end and editor. */
.gsgg-header .wp-block-navigation,
.gsgg-header .wp-block-navigation__container,
.gsgg-header .wp-block-navigation-item,
.gsgg-header .wp-block-navigation-item__content,
.gsgg-header .wp-block-navigation-item__label,
.editor-styles-wrapper .gsgg-header .wp-block-navigation,
.editor-styles-wrapper .gsgg-header .wp-block-navigation__container,
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item,
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item__content,
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item__label {
  color: var(--gsgg-white) !important;
}

.gsgg-header .wp-block-navigation-item__content:hover,
.gsgg-header .wp-block-navigation-item__content:focus,
.gsgg-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.gsgg-header .wp-block-navigation-item__content[aria-current="page"],
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item__content:hover,
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item__content:focus,
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.editor-styles-wrapper .gsgg-header .wp-block-navigation-item__content[aria-current="page"] {
  color: var(--gsgg-yellow) !important;
}

/* Mobile navigation overlay inherits a dark surface as well. */
.gsgg-header .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--gsgg-black) !important;
  color: var(--gsgg-white) !important;
}
.gsgg-header .wp-block-navigation__responsive-container-open,
.gsgg-header .wp-block-navigation__responsive-container-close {
  color: var(--gsgg-white) !important;
}
