/*
Theme Name: GlobalComps
Theme URI: https://globalcomps.com
Author: GlobalComps
Description: Original B2B electronic components sourcing theme for GlobalComps.
Version: 0.2.1
Text Domain: globalcomps
*/

:root {
  --gc-ink: #071526;
  --gc-navy: #09233e;
  --gc-blue: #0d5bd7;
  --gc-cyan: #28d6cc;
  --gc-amber: #ffb547;
  --gc-paper: #f5f7fa;
  --gc-white: #ffffff;
  --gc-muted: #66758a;
  --gc-line: rgba(7, 21, 38, 0.13);
  --gc-width: 1180px;
  --gc-radius: 4px;
  --gc-shadow: 0 22px 60px rgba(2, 16, 34, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gc-ink);
  background: var(--gc-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; clip: auto; margin: 8px; padding: 10px 14px;
  z-index: 9999; background: #fff; color: var(--gc-ink);
}
.gc-shell { width: min(calc(100% - 40px), var(--gc-width)); margin: 0 auto; }
.gc-kicker {
  margin: 0 0 14px;
  color: var(--gc-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gc-section { padding: 104px 0; }
.gc-section--dark { color: #fff; background: var(--gc-ink); }
.gc-section-title { max-width: 760px; margin: 0 0 52px; }
.gc-section-title h2 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.gc-section-title p { max-width: 640px; margin: 22px 0 0; color: var(--gc-muted); font-size: 18px; }
.gc-section--dark .gc-section-title p { color: #aab7c7; }
.gc-button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px;
  padding: 0 22px; border: 1px solid var(--gc-blue); border-radius: var(--gc-radius);
  background: var(--gc-blue); color: #fff; font-weight: 750; transition: transform .2s, background .2s, border-color .2s;
}
.gc-button:hover, .gc-button:focus-visible { transform: translateY(-2px); background: #074dbd; border-color: #074dbd; }
.gc-button--light { background: #fff; color: var(--gc-ink); border-color: #fff; }
.gc-button--ghost { background: transparent; color: var(--gc-ink); border-color: var(--gc-line); }
.gc-button--ghost:hover { color: #fff; }

.gc-utility { background: var(--gc-ink); color: #bed0e4; font-size: 12px; letter-spacing: .04em; }
.gc-utility .gc-shell { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gc-utility strong { color: #fff; }
.gc-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--gc-line); backdrop-filter: blur(14px); }
.gc-header-row { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.gc-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.gc-brand-mark { width: 34px; height: 34px; position: relative; border: 3px solid var(--gc-ink); }
.gc-brand-mark::before, .gc-brand-mark::after { content: ""; position: absolute; background: var(--gc-cyan); }
.gc-brand-mark::before { width: 16px; height: 3px; left: 6px; top: 12px; }
.gc-brand-mark::after { width: 3px; height: 16px; left: 12px; top: 6px; }
.gc-brand-word { font-size: 21px; font-weight: 850; letter-spacing: -.04em; }
.gc-brand-word span { color: var(--gc-blue); }
.gc-nav { margin-left: auto; }
.gc-nav ul { display: flex; align-items: center; gap: 28px; padding: 0; margin: 0; list-style: none; }
.gc-nav a { position: relative; font-size: 14px; font-weight: 700; }
.gc-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gc-blue); transition: right .2s; }
.gc-nav a:hover::after, .gc-nav .current-menu-item a::after { right: 0; }
.gc-menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; padding: 8px; }
.gc-menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gc-ink); }

.gc-hero { position: relative; overflow: hidden; color: #fff; background: var(--gc-navy); }
.gc-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .27;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, black 46%, black);
}
.gc-hero-inner { position: relative; min-height: 680px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 56px; padding-top: 74px; padding-bottom: 74px; }
.gc-hero-copy h1 { max-width: 780px; margin: 0; font-size: clamp(50px, 7.4vw, 92px); line-height: .94; letter-spacing: -.06em; }
.gc-hero-copy h1 em { color: var(--gc-cyan); font-style: normal; }
.gc-hero-copy > p { max-width: 660px; margin: 28px 0 34px; color: #c2cfde; font-size: clamp(17px, 2vw, 21px); }
.gc-search { max-width: 720px; display: flex; padding: 7px; background: #fff; box-shadow: var(--gc-shadow); }
.gc-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 12px 15px; color: var(--gc-ink); }
.gc-search button { min-height: 50px; border: 0; padding: 0 21px; background: var(--gc-amber); color: var(--gc-ink); font-weight: 850; cursor: pointer; }
.gc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.gc-hero-actions a { color: #fff; font-size: 14px; font-weight: 700; }
.gc-hero-actions a + a::before { content: "·"; margin-right: 12px; color: #748aa4; }
.gc-component-visual { position: relative; width: min(100%, 430px); aspect-ratio: 1; margin-left: auto; }
.gc-chip { position: absolute; inset: 17%; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.6); transform: rotate(45deg); box-shadow: 0 0 0 34px rgba(40,214,204,.055), 0 0 80px rgba(40,214,204,.13); }
.gc-chip::before { content: "GLOBAL\A COMPS"; white-space: pre; text-align: center; transform: rotate(-45deg); font-size: 19px; line-height: 1.1; font-weight: 900; letter-spacing: .14em; }
.gc-pin { position: absolute; width: 12%; height: 2px; background: var(--gc-cyan); opacity: .75; transform-origin: center; }
.gc-pin:nth-child(2) { left: 0; top: 28%; transform: rotate(45deg); }
.gc-pin:nth-child(3) { right: 0; top: 28%; transform: rotate(-45deg); }
.gc-pin:nth-child(4) { left: 0; bottom: 28%; transform: rotate(-45deg); }
.gc-pin:nth-child(5) { right: 0; bottom: 28%; transform: rotate(45deg); }
.gc-orbit { position: absolute; inset: 2%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; animation: gc-spin 28s linear infinite; }
.gc-orbit::after { content: ""; position: absolute; width: 10px; height: 10px; top: 12%; left: 18%; border-radius: 50%; background: var(--gc-amber); box-shadow: 0 0 22px var(--gc-amber); }
@keyframes gc-spin { to { transform: rotate(360deg); } }

.gc-signal { background: var(--gc-paper); border-bottom: 1px solid var(--gc-line); }
.gc-signal-row { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.gc-signal-item { padding: 0 28px; border-left: 1px solid var(--gc-line); }
.gc-signal-item:first-child { padding-left: 0; border-left: 0; }
.gc-signal-item strong { display: block; font-size: 14px; }
.gc-signal-item span { color: var(--gc-muted); font-size: 13px; }

.gc-category-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gc-line); }
.gc-category { min-height: 112px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 20px; padding: 22px 20px; border-bottom: 1px solid var(--gc-line); transition: background .2s, padding-left .2s; }
.gc-category:nth-child(odd) { border-right: 1px solid var(--gc-line); }
.gc-category:hover { padding-left: 28px; background: var(--gc-paper); }
.gc-category-index { color: var(--gc-blue); font-size: 12px; font-weight: 850; }
.gc-category strong { display: block; font-size: 19px; }
.gc-category small { color: var(--gc-muted); }
.gc-category-arrow { font-size: 22px; }

.gc-process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: process; border-top: 1px solid rgba(255,255,255,.18); }
.gc-process-step { counter-increment: process; padding: 34px 28px 20px 0; border-right: 1px solid rgba(255,255,255,.18); }
.gc-process-step + .gc-process-step { padding-left: 28px; }
.gc-process-step::before { content: "0" counter(process); display: block; margin-bottom: 48px; color: var(--gc-cyan); font-size: 12px; font-weight: 850; }
.gc-process-step h3 { margin: 0 0 12px; font-size: 20px; }
.gc-process-step p { margin: 0; color: #9fb0c3; font-size: 14px; }

.gc-two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.gc-statement { position: sticky; top: 130px; }
.gc-statement h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.05em; }
.gc-statement p { max-width: 510px; color: var(--gc-muted); font-size: 18px; }
.gc-proof-list { border-top: 1px solid var(--gc-line); }
.gc-proof { padding: 28px 0; border-bottom: 1px solid var(--gc-line); }
.gc-proof h3 { margin: 0 0 8px; font-size: 19px; }
.gc-proof p { margin: 0; color: var(--gc-muted); }

.gc-cta { position: relative; overflow: hidden; padding: 82px 0; background: var(--gc-blue); color: #fff; }
.gc-cta::after { content: "RFQ"; position: absolute; right: -20px; bottom: -80px; color: rgba(255,255,255,.08); font-size: 280px; font-weight: 900; line-height: 1; }
.gc-cta-row { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.gc-cta h2 { max-width: 780px; margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.05em; }
.gc-cta p { max-width: 620px; margin: 20px 0 0; color: #dce9ff; }

.gc-page-hero { padding: 92px 0 70px; color: #fff; background: var(--gc-navy); }
.gc-page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(44px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.gc-content { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 72px 0 100px; }
.gc-content h2 { margin-top: 2em; font-size: 34px; line-height: 1.1; }
.gc-content h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.gc-content .gc-lead { margin: 0 0 62px; color: var(--gc-ink); font-size: clamp(23px, 3.2vw, 34px); line-height: 1.35; letter-spacing: -.025em; }
.gc-editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 42px 0 72px; border-top: 1px solid var(--gc-line); }
.gc-editorial-grid > div { padding: 28px 24px 28px 0; border-right: 1px solid var(--gc-line); }
.gc-editorial-grid > div + div { padding-left: 24px; }
.gc-editorial-grid > div:last-child { border-right: 0; }
.gc-editorial-grid strong, .gc-service-lines > section > span { display: block; margin-bottom: 34px; color: var(--gc-blue); font-size: 12px; letter-spacing: .12em; }
.gc-editorial-grid p, .gc-service-lines p { margin: 0; color: var(--gc-muted); font-size: 14px; }
.gc-service-lines { margin-top: 40px; border-top: 1px solid var(--gc-line); }
.gc-service-lines section { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 32px 0; border-bottom: 1px solid var(--gc-line); }
.gc-service-lines h2 { margin: 0 0 10px; font-size: 28px; }
.gc-note { margin: 58px 0 0; padding: 26px 30px; border-left: 4px solid var(--gc-amber); background: var(--gc-paper); }
.gc-note p { margin: 6px 0 0; color: var(--gc-muted); }
.gc-check-list { padding: 0; margin: 28px 0 42px; list-style: none; border-top: 1px solid var(--gc-line); }
.gc-check-list li { position: relative; padding: 18px 0 18px 34px; border-bottom: 1px solid var(--gc-line); }
.gc-check-list li::before { content: "—"; position: absolute; left: 0; color: var(--gc-blue); font-weight: 900; }
.gc-directory-list { padding: 0; margin: 34px 0 54px; list-style: none; border-top: 1px solid var(--gc-line); }
.gc-directory-list li { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 20px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--gc-line); }
.gc-directory-list span { color: var(--gc-blue); font-size: 12px; font-weight: 850; }
.gc-directory-list small { color: var(--gc-muted); }
.gc-faq { border-top: 1px solid var(--gc-line); }
.gc-faq details { padding: 22px 0; border-bottom: 1px solid var(--gc-line); }
.gc-faq summary { position: relative; padding-right: 42px; font-size: 19px; font-weight: 800; cursor: pointer; list-style: none; }
.gc-faq summary::-webkit-details-marker { display: none; }
.gc-faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--gc-blue); font-size: 25px; font-weight: 400; }
.gc-faq details[open] summary::after { content: "−"; }
.gc-faq p { max-width: 720px; margin: 14px 0 0; color: var(--gc-muted); }

.gc-footer { padding: 72px 0 26px; color: #c1cedc; background: #040d18; }
.gc-footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 70px; }
.gc-footer h2 { margin: 18px 0; color: #fff; font-size: 32px; letter-spacing: -.03em; }
.gc-footer h3 { margin: 0 0 18px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.gc-footer ul { padding: 0; margin: 0; list-style: none; }
.gc-footer li { margin: 9px 0; }
.gc-footer a:hover { color: var(--gc-cyan); }
.gc-footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 68px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

.gc-reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.gc-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .gc-header .gc-button { display: none; }
  .gc-menu-toggle { display: block; }
  .gc-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 18px 20px 28px; background: #fff; border-bottom: 1px solid var(--gc-line); }
  .gc-nav.is-open { display: block; }
  .gc-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .gc-nav a { display: block; padding: 12px 0; }
  .gc-hero-inner { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .gc-component-visual { width: 300px; margin: 0 auto; }
  .gc-process { grid-template-columns: repeat(2, 1fr); }
  .gc-process-step:nth-child(2) { border-right: 0; }
  .gc-two-col { grid-template-columns: 1fr; gap: 48px; }
  .gc-statement { position: static; }
  .gc-footer-grid { grid-template-columns: 1fr 1fr; }
  .gc-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .gc-shell { width: min(calc(100% - 28px), var(--gc-width)); }
  .gc-utility .gc-shell { justify-content: center; text-align: center; }
  .gc-utility span:last-child { display: none; }
  .gc-header-row { min-height: 68px; }
  .gc-nav { top: 68px; }
  .gc-section { padding: 76px 0; }
  .gc-hero-inner { gap: 34px; padding-top: 62px; padding-bottom: 54px; }
  .gc-hero-copy h1 { font-size: clamp(44px, 15vw, 66px); }
  .gc-search { flex-direction: column; }
  .gc-search button { width: 100%; }
  .gc-component-visual { width: 230px; }
  .gc-signal-row { grid-template-columns: 1fr; padding: 18px 0; }
  .gc-signal-item, .gc-signal-item:first-child { padding: 12px 0; border: 0; border-bottom: 1px solid var(--gc-line); }
  .gc-category-list { grid-template-columns: 1fr; }
  .gc-category:nth-child(odd) { border-right: 0; }
  .gc-process { grid-template-columns: 1fr; }
  .gc-process-step, .gc-process-step + .gc-process-step { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .gc-process-step::before { margin-bottom: 22px; }
  .gc-cta-row { align-items: flex-start; flex-direction: column; }
  .gc-footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .gc-footer-grid > :first-child { grid-column: auto; }
  .gc-footer-bottom { flex-direction: column; }
  .gc-editorial-grid { grid-template-columns: 1fr; }
  .gc-editorial-grid > div, .gc-editorial-grid > div + div { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--gc-line); }
  .gc-editorial-grid strong { margin-bottom: 18px; }
  .gc-directory-list li { grid-template-columns: 42px 1fr; }
  .gc-directory-list small { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gc-orbit { animation: none; }
  .gc-reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
