/*
 * GlobalCom PR Network - pages.css
 * Shared inner-page template CSS.
 * Enqueued on all pages except front-page (is_front_page()).
 * Source: extracted from inner HTML page style blocks.
 */

/* === BREADCRUMB (overrides global.css breadcrumb for inner pages) === */
.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb .sep { color: var(--rule); }
.breadcrumb .current { color: var(--ink); }

/* === PAGE HERO === */
.page-hero { padding: 100px 0 90px; border-bottom: 1px solid var(--rule); }
.page-hero-inner { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .page-hero-inner { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
}
.page-hero h1 {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.page-hero h1 .accent {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 300;
  color: var(--orange);
}
.page-hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
}
.page-hero-meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.page-hero-stat .num {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
}
.page-hero-stat .lbl { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* Hero stats variant (markets page) */
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.hero-stat .num {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.hero-stat .num .unit { font-size: 0.65em; color: var(--orange); }
.hero-stat .lbl { font-size: 12px; color: var(--muted); margin-top: 5px; }

/* === INTRO SECTION === */
.intro-section { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.intro-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .intro-grid { grid-template-columns: 260px 1fr; gap: 80px; } }
.intro-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
  line-height: 1.6;
}
.intro h2 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.intro h2 .accent { font-style: normal; font-weight: 300; color: var(--orange); }
.intro p { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 680px; margin-bottom: 22px; }
.intro p strong { color: var(--ink); font-weight: 500; }

/* Intro pillars variant (markets page) */
.intro-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 48px;
}
@media (min-width: 640px) { .intro-pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar-item { background: var(--paper); padding: 28px 28px 32px; }
.pillar-num {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pillar-item h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.3; }
.pillar-item p { font-size: 14px; color: var(--text); line-height: 1.55; }

/* === DISCIPLINES === */
.disciplines { padding: 100px 0; background: var(--white); border-bottom: 1px solid var(--rule); }
.disciplines .head { margin-bottom: 64px; }
.disciplines .section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.disciplines h2 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 680px;
}
.disciplines h2 .accent { font-style: normal; font-weight: 300; color: var(--orange); }
.disc-grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .disc-grid { grid-template-columns: repeat(3, 1fr); } }
.disc-card {
  background: var(--paper);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.disc-card:hover { background: var(--paper-warm); }
.disc-num {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.disc-card h3 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
}
.disc-card p { font-size: 15px; line-height: 1.65; color: var(--text); flex: 1; }
.disc-card .disc-list { list-style: none; padding: 0; margin-top: 24px; border-top: 1px solid var(--rule); }
.disc-card .disc-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.disc-card .disc-list li::before { content: "—"; color: var(--orange); font-size: 11px; flex-shrink: 0; }

/* === HOW SECTION (inner pages version) === */
.how-section { padding: 100px 0; border-bottom: 1px solid var(--rule); background: var(--paper); }
.how-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .how-grid { grid-template-columns: 260px 1fr; gap: 80px; } }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.how-step:first-child { border-top: 1px solid var(--rule); }
.how-step-num {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  padding-top: 3px;
}
.how-step-body h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.how-step-body p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* === SERVICE PAGES: INDUSTRIES GRID === */
.industries-section { padding: 100px 0; background: var(--paper-warm); border-bottom: 1px solid var(--rule); }
.industries-section .head { margin-bottom: 52px; }
.industries-section .section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.industries-section h2 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.industries-section h2 .accent { font-style: normal; font-weight: 300; color: var(--orange); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 760px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .ind-grid { grid-template-columns: repeat(6, 1fr); } }
.ind-item {
  background: var(--paper-warm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
}
.ind-item:hover { background: #ede9e1; }
.ind-num { font-family: 'Noto Sans Mono', monospace; font-size: 10px; letter-spacing: 0.16em; color: var(--orange); font-weight: 600; }
.ind-name { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.ind-note { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* === MODEL SECTION === */
.model-section {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.model-section::before {
  content: "";
  position: absolute;
  top: -280px; right: -280px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(246,141,51,0.12), transparent 65%);
  pointer-events: none;
}
.model-grid { display: grid; gap: 48px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 880px) { .model-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }
.model-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
}
.model-section h2 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.model-section h2 .accent { font-style: normal; font-weight: 300; color: var(--orange); }
.model-section p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.72); margin-bottom: 18px; }
.model-points { list-style: none; padding: 0; margin-top: 32px; }
.model-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  align-items: start;
}
.model-points li:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.model-points li .check { color: var(--orange); font-size: 13px; padding-top: 2px; }
.model-stat-stack { display: flex; flex-direction: column; gap: 1px; }
.model-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 28px 32px; }
.model-stat .big {
  font-family: 'Noto Sans Display', sans-serif;
  font-weight: 200;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}
.model-stat .big .unit { font-size: 0.5em; vertical-align: super; color: var(--orange); font-weight: 400; }
.model-stat .desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.4; }

/* === END CTA (inner pages) === */
.end-cta { padding: 130px 0 120px; background: var(--paper-warm); text-align: center; }
.end-cta h2 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto;
}
.end-cta h2 .accent { font-style: normal; font-weight: 300; color: var(--orange); }
.end-cta p {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.end-cta .ctas { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === MARKETS PAGE === */
.markets-section { padding: 96px 0; background: var(--white); border-bottom: 1px solid var(--rule); }
.markets-head { margin-bottom: 56px; }
.markets-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.markets-head h2 {
  font-family: 'Noto Sans Display', sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.markets-head h2 .accent { font-style: normal; font-weight: 300; color: var(--orange); }
.markets-head p { font-size: 16px; color: var(--muted); margin-top: 16px; max-width: 560px; line-height: 1.6; }
.markets-grid { columns: 2; column-gap: 0; border: 1px solid var(--rule); }
@media (min-width: 640px) { .markets-grid { columns: 3; } }
@media (min-width: 900px) { .markets-grid { columns: 4; } }
@media (min-width: 1100px) { .markets-grid { columns: 5; } }
.market-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.market-item:hover { background: var(--paper-warm); color: var(--ink); }
.markets-count {
  margin-top: 32px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* === 404 PAGE === */
body.error404 { min-height: 100vh; display: flex; flex-direction: column; }
.page-404 { flex: 1; display: flex; align-items: center; padding: 80px 0 100px; }
.page-404 .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 860px) {
  .page-404 .container { grid-template-columns: 1fr; gap: 48px; }
  .page-404-visual { order: -1; }
}
.page-404-text .kicker {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
}
.page-404-text h1 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}
.page-404-text h1 em { font-style: normal; color: var(--orange); }
.page-404-text p { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 420px; margin-bottom: 40px; }
.page-404-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-bottom: 40px;
}
.page-404-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 450;
  transition: color 0.2s;
}
.page-404-link:hover { color: var(--orange-dark); }
.page-404-link .link-arrow { font-size: 13px; color: var(--muted); transition: transform 0.2s, color 0.2s; }
.page-404-link:hover .link-arrow { transform: translateX(4px); color: var(--orange-dark); }
.page-404-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.page-404-cta:hover { background: var(--orange-dark); color: var(--white); }
.page-404-visual { display: flex; align-items: center; justify-content: center; }
.visual-inner { position: relative; width: 320px; height: 320px; }
@media (max-width: 860px) { .visual-inner { width: 200px; height: 200px; } }
.visual-globe { width: 100%; height: 100%; object-fit: contain; opacity: 0.15; }
.visual-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans Display', sans-serif;
  font-weight: 200;
  font-size: clamp(96px, 14vw, 160px);
  letter-spacing: -0.06em;
  color: var(--ink);
  line-height: 1;
  user-select: none;
}

/* === NEW FOOTER (all inner pages) === */
footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 80px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 880px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1.1fr; gap: 48px; }
}
.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; 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-posts .post { display: block; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-posts .post:first-of-type { border-top: none; padding-top: 0; }
.footer-posts .post-meta {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  font-weight: 600;
  margin-bottom: 5px;
}
.footer-posts .post-title {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.footer-posts .post:hover .post-title { color: var(--orange); }
.footer-offices { padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-offices-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.footer-offices-title {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.footer-offices-title .accent { color: var(--orange); font-style: normal; font-weight: 300; }
.footer-offices-meta {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  font-weight: 600;
}
.offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 560px) { .offices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .offices-grid { grid-template-columns: repeat(4, 1fr); } }
.office { background: var(--ink); padding: 22px 22px 24px; display: flex; flex-direction: column; transition: background 0.25s; }
.office:hover { background: #1a1a1d; }
.office-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.office-city {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.office-country {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  font-weight: 600;
  margin-bottom: 10px;
}
.office-addr { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,0.7); }
.office-partner {
  font-size: 12.5px;
  color: rgba(255,255,255,0.62);
  font-family: inherit;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
  display: block;
}
a.office-partner:hover { color: var(--orange); }
.hq-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2px 6px;
  border-radius: 2px;
}
.footer-bottom {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 880px) {
  .footer-bottom { grid-template-columns: auto 1fr auto; gap: 40px; }
}
.footer-icco { display: flex; align-items: center; gap: 14px; justify-content: center; }
@media (min-width: 880px) { .footer-icco { justify-content: flex-start; } }
.footer-icco img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; padding: 5px; flex-shrink: 0; }
.footer-icco-text {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  line-height: 1.45;
}
.footer-icco-text strong { color: rgba(255,255,255,0.88); font-weight: 700; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-legal a:hover { color: var(--orange); }
.footer-legal .sep { color: rgba(255,255,255,0.18); }
.footer-social { display: flex; gap: 10px; justify-content: center; }
@media (min-width: 880px) { .footer-social { justify-content: flex-end; } }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-social svg { width: 14px; height: 14px; }
.footer-copyright {
  text-align: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
}
