/*
Theme Name: Golden Sulfur Group
Theme URI: https://goldensulfurgroup.com/
Author: Golden Sulfur Group
Description: English-language corporate and product catalogue child theme for Golden Sulfur Group.
Version: 1.0.5
Requires at least: 6.7
Requires PHP: 7.4
Template: twentytwentyfive
Text Domain: golden-sulfur-group
Tags: block-theme, full-site-editing, custom-colors, wide-blocks
*/

:root{--navy:#102a48;--navy-deep:#091c32;--gold:#c89424;--gold-light:#e6c36b;--ink:#17263a;--muted:#647187;--line:#e3e8ef;--pale:#f5f7fa;--white:#fff;--max:1200px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.gsg-container{width:min(calc(100% - 2.5rem),var(--max));margin-inline:auto}
.gsg-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;box-shadow:0 7px 25px rgba(7,27,49,.045)}
.gsg-header-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:91px}
.gsg-brand{display:flex;align-items:center;min-width:0}
.gsg-brand img{width:min(350px,36vw);height:auto;max-height:76px;object-fit:contain;object-position:left center}
.gsg-nav{display:flex;align-items:center;gap:2.1rem;font-size:.88rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.gsg-nav a{padding:.7rem 0;position:relative;white-space:nowrap}
.gsg-nav a::after{content:"";position:absolute;bottom:.35rem;left:0;width:0;height:2px;background:var(--gold);transition:width .2s}
.gsg-nav a:hover::after,.gsg-nav a[aria-current="page"]::after{width:100%}
.gsg-header-action,.gsg-button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;border:1px solid var(--gold);border-radius:4px;background:var(--gold);color:#14253a;font-weight:800;line-height:1.25;padding:.9rem 1.3rem;transition:background .2s,transform .2s,border-color .2s}
.gsg-header-action{font-size:.84rem;white-space:nowrap}
.gsg-header-action:hover,.gsg-button:hover{background:var(--gold-light);border-color:var(--gold-light);transform:translateY(-2px)}
.gsg-button-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.65)}
.gsg-button-secondary:hover{background:#fff;border-color:#fff;color:var(--navy)}
.gsg-hero{background:var(--navy-deep);color:#fff;overflow:hidden;position:relative}
.gsg-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(5,20,36,.9) 0%,rgba(7,26,47,.76) 43%,rgba(7,26,47,.28) 76%,rgba(7,26,47,.14) 100%);pointer-events:none}
.gsg-hero-background{position:absolute;z-index:0;left:0;right:0;top:-190px;width:100%;max-width:none;height:calc(100% + 190px);object-fit:cover;object-position:center bottom}
.gsg-hero-inner{min-height:650px;display:flex;align-items:center;padding-block:5rem;position:relative;z-index:2}
.gsg-hero-copy{max-width:720px;text-shadow:0 2px 18px rgba(0,0,0,.24)}
.gsg-overline{display:flex;align-items:center;gap:.75rem;color:var(--gold-light);font-size:.77rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
.gsg-overline::before{content:"";display:block;width:31px;height:2px;background:currentColor;flex:none}
.gsg-hero h1{font-size:clamp(2.7rem,5.3vw,5.3rem);line-height:1.08;letter-spacing:-.055em;max-width:720px;margin:1.3rem 0}
.gsg-hero h1 em{font-style:normal;color:var(--gold-light)}
.gsg-hero p{font-size:1.09rem;color:#d4deea;max-width:600px;margin:0 0 2rem}
.gsg-actions{display:flex;flex-wrap:wrap;gap:.85rem}
.gsg-hero-visual{position:relative;min-height:455px;display:grid;place-items:center}
.gsg-hero-visual::before{content:"";position:absolute;width:min(440px,90%);aspect-ratio:1;border:1px solid rgba(230,195,107,.3);border-radius:50%;box-shadow:0 0 0 28px rgba(230,195,107,.035),0 0 0 63px rgba(230,195,107,.025)}
.gsg-hero-visual img{position:relative;width:min(430px,95%);aspect-ratio:1;object-fit:cover;border-radius:50%;border:8px solid rgba(255,255,255,.08);box-shadow:0 28px 70px rgba(0,0,0,.24)}
.gsg-visual-label{position:absolute;bottom:7%;right:0;background:#fff;color:var(--navy);padding:1rem 1.3rem;border-left:4px solid var(--gold);box-shadow:0 16px 40px rgba(0,0,0,.16);font-size:.74rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.gsg-proof{background:#fff;border-bottom:1px solid var(--line)}
.gsg-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.gsg-proof-item{padding:1.65rem 1.8rem;border-right:1px solid var(--line);min-width:0}
.gsg-proof-item:first-child{padding-left:0}
.gsg-proof-item:last-child{border-right:0}
.gsg-proof-item strong{display:block;color:var(--navy);font-size:1rem}
.gsg-proof-item span{display:block;color:var(--muted);font-size:.85rem;margin-top:.2rem}
.gsg-section{padding-block:6rem}
.gsg-section-soft{background:var(--pale)}
.gsg-section-dark{background:var(--navy-deep);color:#fff}
.gsg-section-heading{max-width:780px;margin-bottom:2.5rem}
.gsg-section-heading h2,.gsg-page-intro h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.15;letter-spacing:-.045em;margin:.85rem 0 1rem;color:var(--navy)}
.gsg-section-dark .gsg-section-heading h2{color:#fff}
.gsg-section-heading p,.gsg-page-intro p{color:var(--muted);margin:0;font-size:1.06rem}
.gsg-section-dark .gsg-section-heading p{color:#c1cfdd}
.gsg-kicker{font-size:.74rem;letter-spacing:.17em;text-transform:uppercase;color:#a97712;font-weight:800}
.gsg-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.gsg-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);min-width:0;transition:transform .2s,box-shadow .2s}
.gsg-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(16,42,72,.11)}
.gsg-card img{width:100%;aspect-ratio:1.6;object-fit:cover;background:#eef1f4}
.gsg-card-art{aspect-ratio:1.6;background:radial-gradient(circle at 67% 40%,rgba(214,170,67,.28),transparent 24%),linear-gradient(135deg,#102a48,#254c73);display:grid;place-items:center;overflow:hidden;position:relative}
.gsg-card-art::before,.gsg-card-art::after{content:"";position:absolute;border:1px solid rgba(230,195,107,.42);border-radius:50%;width:160px;height:160px;transform:rotate(-28deg) scaleX(1.7)}
.gsg-card-art::after{transform:rotate(28deg) scaleX(1.7)}
.gsg-card-art span{position:relative;z-index:1;background:var(--gold);width:32px;height:32px;border-radius:50%;box-shadow:0 0 0 12px rgba(230,195,107,.13)}
.gsg-card-body{padding:1.5rem;flex:1}
.gsg-card small{color:#a97712;text-transform:uppercase;font-weight:800;letter-spacing:.13em}
.gsg-card h3{font-size:1.3rem;line-height:1.3;color:var(--navy);margin:.45rem 0 .6rem}
.gsg-card p{color:var(--muted);font-size:.92rem;margin:0}
.gsg-card-footer{display:block;margin-top:1rem;color:#a97712;font-size:.85rem;font-weight:800}
.gsg-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4.2rem;align-items:center}
.gsg-split-image{min-height:440px;background:linear-gradient(135deg,#e9edf2,#fff);display:grid;place-items:center;padding:2.5rem;border:1px solid var(--line)}
.gsg-split-image img{max-width:100%;max-height:420px;object-fit:contain}
.gsg-split h2{font-size:clamp(2rem,3.5vw,3rem);line-height:1.16;color:var(--navy);letter-spacing:-.04em;margin:.6rem 0 1.2rem}
.gsg-split p{color:var(--muted)}
.gsg-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.13)}
.gsg-service{background:var(--navy-deep);padding:2rem;min-width:0}
.gsg-service b{color:var(--gold-light);font-size:.82rem;letter-spacing:.1em}
.gsg-service h3{font-size:1.15rem;margin:.7rem 0 .3rem}
.gsg-service p{color:#bfccda;margin:0;font-size:.9rem}
.gsg-cta{background:linear-gradient(120deg,#d3a43d,#bd831a);color:var(--navy-deep);padding:3rem;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.gsg-cta h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.18;margin:0 0 .5rem}
.gsg-cta p{margin:0;max-width:690px}
.gsg-cta .gsg-button{background:var(--navy);border-color:var(--navy);color:#fff;flex:none}
.gsg-cta .gsg-button:hover{background:var(--navy-deep)}
.gsg-page-intro{padding-block:5rem 4.3rem;background:linear-gradient(120deg,#f6f8fa,#e9eef4)}
.gsg-page-intro .gsg-container{max-width:var(--max)}
.gsg-page-intro p{max-width:790px}
.gsg-products-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.gsg-product-search{width:min(100%,420px);padding:.9rem 1rem;border:1px solid #cbd5df;border-radius:3px;color:var(--ink);background:#fff}
.gsg-product-filters{display:flex;flex-wrap:wrap;gap:.55rem;margin-bottom:2rem}
.gsg-filter{padding:.55rem .9rem;border:1px solid #cdd6df;background:#fff;color:var(--navy);border-radius:3px;cursor:pointer;font-size:.82rem;font-weight:700}
.gsg-filter[aria-pressed="true"],.gsg-filter:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.gsg-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.gsg-product{border:1px solid var(--line);background:#fff;min-width:0;display:flex;flex-direction:column}
.gsg-product[hidden]{display:none}
.gsg-product-media{height:175px;display:grid;place-items:center;background:linear-gradient(135deg,#e8edf2,#f8fafb);overflow:hidden}
.gsg-product-media img{width:100%;height:100%;object-fit:cover}
.gsg-product-media span{font-size:2.6rem;color:rgba(16,42,72,.13);font-weight:900;letter-spacing:-.1em}
.gsg-product-body{padding:1rem 1.05rem 1.2rem;flex:1}
.gsg-product-body small{font-size:.66rem;color:#99701f;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
.gsg-product-body h3{font-size:.97rem;line-height:1.35;margin:.35rem 0 0;color:var(--navy);overflow-wrap:anywhere}
.gsg-no-results{display:none;padding:2rem;background:var(--pale);color:var(--muted)}
.gsg-note{color:var(--muted);font-size:.86rem;margin-top:2rem}
.gsg-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;max-width:900px}
.gsg-contact-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--gold);padding:2rem;min-width:0}
.gsg-contact-card small{display:block;color:#99701f;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.6rem}
.gsg-contact-card h2{color:var(--navy);font-size:1.2rem;margin:0 0 .5rem}
.gsg-contact-card a{color:var(--navy);font-size:clamp(1rem,2vw,1.35rem);font-weight:800;overflow-wrap:anywhere}
.gsg-contact-card a:hover{color:#a97712}
.gsg-contact-card p{color:var(--muted);margin:.7rem 0 0;font-size:.9rem}
.gsg-contact-address{margin-top:1.25rem;max-width:900px;background:var(--navy);color:#fff;padding:1.6rem 2rem}
.gsg-contact-address strong{display:block;color:var(--gold-light);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.3rem}
.gsg-contact-address p{margin:0}
.gsg-about-copy{font-size:1.05rem;color:#4f5f73}
.gsg-about-copy p{margin:0 0 1.2rem}
.gsg-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.gsg-value{border-top:3px solid var(--gold);background:#fff;padding:1.5rem}
.gsg-value h3{margin:0 0 .5rem;color:var(--navy);font-size:1.12rem}
.gsg-value p{color:var(--muted);margin:0;font-size:.9rem}
.gsg-footer{background:#07182c;color:#d0dbe6;padding-top:4rem}
.gsg-footer-grid{display:grid;grid-template-columns:1.4fr .65fr .8fr;gap:3rem;padding-bottom:3.4rem}
.gsg-footer-brand img{display:block;width:min(100%,300px);height:auto;aspect-ratio:1600/533;object-fit:contain;background:#fff;padding:.5rem;border-radius:2px}
.gsg-footer p{max-width:480px;font-size:.9rem;color:#aebdd0}
.gsg-footer h3{font-size:.8rem;color:#fff;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1rem}
.gsg-footer-nav{display:flex;flex-direction:column;gap:.55rem;font-size:.92rem}
.gsg-footer-nav a:hover{color:var(--gold-light)}
.gsg-footer-contact{display:flex;flex-direction:column;gap:.35rem;margin-top:.85rem}
.gsg-footer-contact a{color:#fff;font-size:.88rem;overflow-wrap:anywhere}
.gsg-footer-contact a:hover{color:var(--gold-light)}
.gsg-footer-bottom{border-top:1px solid rgba(255,255,255,.11);padding:1.1rem 0;font-size:.78rem;color:#91a6bc}
@media(max-width:1020px){.gsg-header-action{display:none}.gsg-brand img{width:min(330px,42vw)}.gsg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gsg-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gsg-hero-inner{min-height:590px}.gsg-hero-background{top:-165px;height:calc(100% + 165px)}}
@media(max-width:740px){.gsg-header-inner{min-height:unset;flex-wrap:wrap;padding-block:.8rem;gap:.5rem}.gsg-brand img{width:min(300px,80vw);max-height:65px}.gsg-nav{width:100%;justify-content:space-between;gap:.7rem;font-size:.75rem}.gsg-split{grid-template-columns:minmax(0,1fr)}.gsg-hero-inner{min-height:540px;padding-block:3.5rem 4rem}.gsg-hero-background{top:-135px;height:calc(100% + 135px)}.gsg-hero::before{background:linear-gradient(90deg,rgba(5,20,36,.9),rgba(7,26,47,.52))}.gsg-proof-grid{grid-template-columns:1fr}.gsg-proof-item,.gsg-proof-item:first-child{border-right:0;border-bottom:1px solid var(--line);padding:.9rem 0}.gsg-proof-item:last-child{border-bottom:0}.gsg-section{padding-block:4rem}.gsg-service-grid,.gsg-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gsg-cta{align-items:flex-start;flex-direction:column;padding:2rem}.gsg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gsg-values,.gsg-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.gsg-container{width:min(calc(100% - 2rem),var(--max))}.gsg-nav{gap:.4rem}.gsg-nav a{font-size:.63rem}.gsg-hero h1{font-size:clamp(2.5rem,12vw,3.4rem)}.gsg-hero-background{top:-115px;height:calc(100% + 115px);object-position:58% bottom}.gsg-actions{flex-direction:column;align-items:stretch}.gsg-card-grid,.gsg-service-grid,.gsg-product-grid,.gsg-values,.gsg-footer-grid,.gsg-contact-grid{grid-template-columns:minmax(0,1fr)}.gsg-product-grid{gap:.75rem}.gsg-product{flex-direction:row;min-height:110px}.gsg-product-media{width:110px;height:auto;min-height:110px;flex:none}.gsg-product-body{padding:.9rem}.gsg-product-body h3{font-size:.9rem}.gsg-page-intro{padding-block:3rem}.gsg-split-image{min-height:300px;padding:1.5rem}}
@keyframes gsg-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes gsg-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(prefers-reduced-motion:no-preference){
 .gsg-hero .gsg-overline,.gsg-hero h1,.gsg-hero p,.gsg-hero .gsg-actions,.gsg-page-intro .gsg-kicker,.gsg-page-intro h1,.gsg-page-intro p{animation:gsg-rise .7s ease-out both}
 .gsg-hero h1,.gsg-page-intro h1{animation-delay:.1s}
 .gsg-hero p,.gsg-page-intro p{animation-delay:.2s}
 .gsg-hero .gsg-actions{animation-delay:.3s}
 .gsg-hero-visual img{animation:gsg-float 6s ease-in-out infinite}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
