/*
 * GlobalCom PR Network — Global CSS
 * Extracted from all page HTML files
 * Version: 1.0 — May 2026
 * 
 * This file contains ALL shared CSS used across every page.
 * Page-specific CSS remains in the individual HTML files.
 * In WordPress: enqueue this via functions.php as a child theme stylesheet.
 *
 * Google Fonts must be loaded in <head> before this file:
 * https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700
 *   &family=Noto+Sans+Display:wght@200;300;400;500;600;700
 *   &family=Noto+Sans+Mono:wght@400;500;600&display=swap
 */

/* ===== CSS CUSTOM PROPERTIES (DESIGN TOKENS) ===== */
:root {
  --orange:      #f68d33;
  --orange-dark: #d97312;
  --orange-deep: #b85a0a;
  --ink:         #141416;
  --ink-soft:    #2a2a2e;
  --text:        #3a3a3f;
  --muted:       #6b6b72;
  --rule:        #e5e3df;
  --paper:       #fafaf7;
  --paper-warm:  #f4f1ea;
  --white:       #ffffff;
  --max:         1320px;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== BODY ===== */
body {
  font-family: 'Noto Sans', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: 'Noto Sans Display', 'Noto Sans', -apple-system, sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ink);
}

/* ===== LINKS ===== */
a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .container { padding: 0 24px; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Brand lockup: wordmark LEFT, globe RIGHT */
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand-text {
  display: flex; flex-direction: column;
  font-family: 'Noto Sans', -apple-system, sans-serif;
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--orange);
  font-size: 17px; line-height: 1.05;
  text-transform: none;
}
.brand-text .wm-top {
  color: var(--orange); font-weight: 700;
  letter-spacing: 0.035em;
}
.brand-text .wm-bot {
  color: var(--orange); font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text .wm-top .com { color: var(--orange); font-weight: 400; }
.brand-globe {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.brand-globe img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

/* Nav links — direct <a> children (fallback nav) and <li><a> (wp_nav_menu) */
.nav-links {
  display: flex; gap: 36px; align-items: center;
  list-style: none;
}
.nav-links > li { list-style: none; }

.nav-links a,
.nav-links a:link,
.nav-links a:visited {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 450;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--orange-dark);
  text-decoration: none;
}

/* Active / current — fallback class (.current on <a>) and wp_nav_menu classes (on <li>) */
.nav-links a.current,
.nav-links li.current-menu-item > a,
.nav-links li.current-menu-ancestor > a,
.nav-links li.current-page-ancestor > a {
  color: var(--orange-dark);
  text-decoration: none;
}

/* Nav CTA pill */
.nav-cta,
.nav-links li:last-child > a.nav-cta {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 9px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-cta:hover,
.nav-links li:last-child > a.nav-cta:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  text-decoration: none;
}

/* Burger button */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
  padding: 0;
}
.burger:hover { border-color: var(--ink); }
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links > li { display: none; }
  .nav-links .nav-cta { display: none; }
  .burger { display: inline-flex; }
}

/* ===== MOBILE DRAWER ===== */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,20,22,0.4);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  z-index: 60;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0;
  width: min(360px, 86vw); height: 100vh;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 61;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(20,20,22,0.12);
}
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
  border-bottom: 1px solid var(--rule);
}
.drawer-head .label {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.drawer-close {
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  color: var(--ink);
  padding: 0;
}
.drawer-close:hover { border-color: var(--ink); }
.drawer-close svg { width: 14px; height: 14px; }

.drawer-body {
  flex: 1;
  padding: 32px 24px 24px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer-link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.drawer-link:hover { color: var(--orange-dark); }
.drawer-link .arrow {
  font-size: 14px;
  color: var(--muted);
  font-family: 'Noto Sans', sans-serif;
  transition: transform 0.25s, color 0.2s;
}
.drawer-link:hover .arrow { transform: translateX(4px); color: var(--orange-dark); }
.drawer-cta {
  display: block;
  margin-top: 32px;
  padding: 14px 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: background 0.2s;
}
.drawer-cta:hover { background: var(--orange-dark); }
.drawer-meta {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.drawer-meta a { color: var(--muted); }
.drawer-meta a:hover { color: var(--orange-dark); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1.6fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
.footer-col-title {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange); font-weight: 600;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { width: 220px; max-width: 100%; height: auto; }
.footer-tagline {
  font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.7); line-height: 1.4;
}
.footer-tagline .accent { color: var(--orange); }
.footer-tagline-sub { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 4px; }
.footer-contact-line {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 10px;
}
.footer-contact-line .label {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--orange);
  font-weight: 600; flex-shrink: 0; width: 16px;
}
.footer-contact-line a {
  font-size: 14px; color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-contact-line a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap; gap: 16px;
}
.footer-icco {
  display: flex; align-items: center; gap: 16px;
}
.footer-icco img { height: 36px; width: auto; opacity: 0.8; }
.footer-icco-text { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.4; }
.footer-icco-text strong { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-legal {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.35);
}
.footer-legal a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.footer-legal .sep { opacity: 0.4; }
.footer-social {
  display: flex; gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.footer-social svg { width: 14px; height: 14px; }
.footer-copyright {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--ink-soft); font-weight: 500; }

/* ===== SECTION CTA ===== */
.section-cta {
  text-align: center;
  padding: 100px 0 80px;
}
.section-cta h2 {
  font-family: 'Noto Sans Display', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.1;
}
.section-cta p {
  font-size: 17px; color: var(--muted);
  max-width: 520px; margin: 0 auto 40px;
  line-height: 1.6;
}
.ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CLIENT LOGOS STRIP ===== */
.logos {
  margin-top: 80px; padding: 56px 0;
  border-top: 1px solid var(--rule);
}
.logos-label {
  text-align: center; font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 44px;
  font-weight: 500;
}
.logo-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 48px; align-items: center; justify-items: center;
}
@media (max-width: 960px) { .logo-row { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; } }
@media (max-width: 520px) { .logo-row { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }
.logo-row img {
  max-height: 48px; max-width: 100%;
  object-fit: contain;
  opacity: 0.55; filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s;
}
.logo-row img:hover { opacity: 1; filter: grayscale(0%); }
.logo-row img.tall { max-height: 56px; }
