/*
Theme Name: Primegate Global
Theme URI: https://primegatelegal.com/
Author: Primegate Global Legal Partners
Description: SEO-ready, accessible WordPress theme for international legal, banking, crypto and relocation services.
Version: 6.4.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: primegate
*/

:root {
  --pg-navy: #0f1f3d;
  --pg-navy-2: #1a3a6b;
  --pg-ink: #0f1f3d;
  --pg-mint: #2ecc9a;
  --pg-mint-dark: #27b589;
  --pg-blue: #1e4fa0;
  --pg-paper: #f9fafb;
  --pg-white: #fff;
  --pg-muted: #6b7280;
  --pg-line: #e5e7eb;
  --pg-warn: #fff6de;
  --pg-shadow: 0 14px 34px -14px rgba(15,31,61,.14);
  --pg-radius: 16px;
  --pg-max: 1360px;
  --pg-serif: "Playfair Display", Georgia, serif;
  --pg-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--pg-ink); background: var(--pg-white); font-family: var(--pg-sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pg-mint); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: #fff; z-index: 9999; }
.pg-container { width: min(calc(100% - 40px), var(--pg-max)); margin-inline: auto; }
.pg-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.pg-section { padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: clip; }
.pg-section--soft { background: var(--pg-paper); }
.pg-section--dark { color: #fff; background: linear-gradient(135deg, var(--pg-navy), #0e274d 70%, #0b3c42); }
.pg-section--dark .pg-lead, .pg-section--dark .pg-muted { color: #c2ccdc; }
.pg-section--tight { padding-block: clamp(52px, 6vw, 82px); }
.pg-grid { display: grid; gap: 24px; }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--pg-mint-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pg-eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--pg-mint); }
.pg-section--dark .pg-eyebrow { color: var(--pg-mint); }
.pg-title { max-width: 900px; margin: 0 0 24px; font-family: var(--pg-serif); font-size: clamp(38px, 4.4vw, 56px); font-weight: 700; line-height: 1.06; letter-spacing: -.5px; }
.pg-title--small { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; }
.pg-lead { max-width: 760px; margin: 0 0 36px; color: #46536a; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.pg-muted { color: var(--pg-muted); }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.pg-button, .wp-element-button, input[type="submit"] { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border: 1px solid var(--pg-mint); border-radius: 6px; color: var(--pg-navy); background: var(--pg-mint); box-shadow: 0 4px 14px rgba(46,204,154,.3); font-size: 14px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.pg-button:hover, .wp-element-button:hover, input[type="submit"]:hover { transform: translateY(-2px); background: #48d8aa; box-shadow: 0 14px 32px rgba(46, 204, 154, .28); }
.pg-button--ghost { color: var(--pg-ink); background: transparent; border-color: #aeb9c7; box-shadow: none; }
.pg-section--dark .pg-button--ghost { color: #fff; border-color: rgba(255,255,255,.46); }
.pg-card { position: relative; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--pg-line); border-radius: var(--pg-radius); background: #fff; box-shadow: 0 12px 40px rgba(8, 27, 54, .07); }
.pg-card h2, .pg-card h3 { margin-top: 0; line-height: 1.2; }
.pg-card h3 { font-family: var(--pg-serif); font-size: clamp(23px, 2.3vw, 31px); }
.pg-card p:last-child, .pg-card ul:last-child { margin-bottom: 0; }
.pg-card--dark { color: #fff; background: var(--pg-navy-2); border-color: rgba(255,255,255,.12); }
.pg-card--accent { overflow: hidden; }
.pg-card--accent::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--pg-mint); }
.pg-link { color: #087455; font-weight: 800; text-decoration: none; }
.pg-link:hover { text-decoration: underline; }
.pg-kicker { color: var(--pg-mint-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pg-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.pg-list li { position: relative; padding-left: 28px; }
.pg-list li::before { content: "✓"; position: absolute; left: 0; top: .05em; color: var(--pg-mint-dark); font-weight: 900; }
.pg-number { display: inline-grid; width: 48px; height: 48px; place-items: center; margin-bottom: 20px; border-radius: 50%; color: #072b21; background: var(--pg-mint); font-weight: 900; }
.pg-tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #0b654d; background: #dff9ef; font-size: 12px; font-weight: 800; }

.site-header { position: relative; z-index: 1000; color: #fff; background: linear-gradient(160deg,#13294f 0%,#0f1f3d 45%,#0a1730 100%); border-bottom: 1px solid rgba(255,255,255,.13); }
.site-header__bar { border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.site-header__bar-inner { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: rgba(255,255,255,.6); }
.site-header__bar a { text-decoration: none; }
.site-header__main { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.site-logo { display: block; width: 160px; max-width: 43vw; flex: 0 0 auto; }
.site-logo img { width: 100%; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; display: block; padding: 12px 0; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 400; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; background: var(--pg-mint); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.site-header__cta { white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.pg-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 18%, rgba(46,204,154,.18), transparent 28%), linear-gradient(135deg, #0b1933, #0d2345 65%, #093640); }
.pg-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -260px; bottom: -360px; border: 1px solid rgba(46,204,154,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(46,204,154,.04), 0 0 0 140px rgba(46,204,154,.03); }
.pg-hero__inner { min-height: min(800px, calc(100vh - 112px)); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr); align-items: center; gap: clamp(42px, 8vw, 110px); padding-block: clamp(70px, 9vw, 128px); }
.pg-hero .pg-title { max-width: 760px; }
.pg-hero .pg-lead { color: #c5d0df; }
.pg-hero .pg-button--ghost { color: #fff; border-color: rgba(255,255,255,.46); }
.pg-hero__panel { z-index: 1; padding: 34px; border-radius: var(--pg-radius); color: var(--pg-ink); background: #fff; box-shadow: var(--pg-shadow); }
.pg-hero__panel-title { margin-bottom: 20px; color: var(--pg-muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pg-price-list { margin: 0; padding: 0; list-style: none; }
.pg-price-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--pg-line); }
.pg-price-list strong { white-space: nowrap; }
.pg-note { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--pg-blue); border-radius: 0 8px 8px 0; color: #536074; background: #f0f4fa; font-size: 13px; }
.pg-trust-row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -64px; padding-bottom: 46px; }
.pg-stat { min-height: 142px; padding: 26px; border-radius: 14px; background: #fff; box-shadow: 0 15px 38px rgba(6, 23, 50, .1); }
.pg-stat__value { display: block; margin-bottom: 8px; color: var(--pg-ink); font-family: var(--pg-serif); font-size: 43px; font-weight: 700; line-height: 1; }
.pg-stat__label { color: var(--pg-muted); font-size: 14px; }

.pg-carousel { position: relative; }
.pg-carousel__viewport { overflow: hidden; }
.pg-carousel__track { display: flex; transition: transform .55s cubic-bezier(.22,.8,.3,1); }
.pg-slide { min-width: 100%; padding: clamp(28px, 5vw, 58px); border-radius: var(--pg-radius); color: #fff; background: linear-gradient(135deg, #112a50, #0b1933); }
.pg-slide h3 { max-width: 780px; margin: 12px 0 20px; font-family: var(--pg-serif); font-size: clamp(31px, 4vw, 55px); line-height: 1.08; }
.pg-slide p { max-width: 760px; color: #c6d0de; font-size: 18px; }
.pg-carousel__nav { display: flex; gap: 10px; margin-top: 18px; }
.pg-icon-button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--pg-line); border-radius: 50%; color: var(--pg-ink); background: #fff; cursor: pointer; transition: transform .2s, border-color .2s; }
.pg-icon-button:hover { transform: translateY(-2px); border-color: var(--pg-mint); }
.pg-jurisdictions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.pg-jurisdiction { display: flex; justify-content: space-between; gap: 12px; padding: 18px; border: 1px solid var(--pg-line); border-radius: 12px; background: #fff; }
.pg-jurisdiction strong { color: var(--pg-mint-dark); white-space: nowrap; }
.pg-map { margin-top: 36px; padding: 24px; border-radius: var(--pg-radius); background: var(--pg-navy); box-shadow: var(--pg-shadow); }
.pg-map img { width: 100%; }
.pg-timeline { position: relative; counter-reset: step; }
.pg-timeline::before { content: ""; position: absolute; top: 25px; bottom: 25px; left: 23px; width: 2px; background: #bcefdc; }
.pg-step { position: relative; padding: 0 0 42px 84px; }
.pg-step:last-child { padding-bottom: 0; }
.pg-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; width: 48px; height: 48px; place-items: center; border: 4px solid #e4faf3; border-radius: 50%; color: #07372a; background: var(--pg-mint); font-size: 12px; font-weight: 900; }
.pg-step h3 { margin: 0 0 8px; font-family: var(--pg-serif); font-size: 29px; }
.pg-team-card { overflow: hidden; padding: 0; }
.pg-team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: none; }
.pg-team-card__body { padding: 26px; }
.pg-team-card__role { color: var(--pg-mint-dark); font-size: 13px; font-weight: 800; }
.pg-team-card h3 { margin: 6px 0 12px; }
.pg-faq { border-top: 1px solid var(--pg-line); }
.pg-faq details { border-bottom: 1px solid var(--pg-line); }
.pg-faq summary { position: relative; padding: 23px 54px 23px 0; font-size: 18px; font-weight: 750; cursor: pointer; list-style: none; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; top: 20px; right: 10px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #062a20; background: #dff9ef; font-size: 23px; font-weight: 400; transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq details > div { max-width: 800px; padding: 0 50px 24px 0; color: var(--pg-muted); }
.pg-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.pg-form { display: grid; gap: 14px; padding: clamp(25px, 4vw, 40px); border-radius: var(--pg-radius); color: var(--pg-ink); background: #fff; box-shadow: var(--pg-shadow); }
.pg-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.pg-form input:not([type="checkbox"]), .pg-form textarea, .pg-form select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #bbc6d3; border-radius: 8px; color: var(--pg-ink); background: #fff; }
.pg-form textarea { min-height: 120px; resize: vertical; }
.pg-form__consent { grid-template-columns: 20px 1fr !important; align-items: start; font-weight: 500 !important; }
.pg-form__status { min-height: 24px; font-size: 13px; }
.pg-breadcrumbs { padding: 16px 0; color: var(--pg-muted); font-size: 13px; }
.pg-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pg-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #aab3c0; }
.pg-page-hero { padding: clamp(64px, 8vw, 110px) 0; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(46,204,154,.16), transparent 30%), linear-gradient(160deg,#13294f 0%,#0f1f3d 45%,#0a1730 100%); }
.pg-page-hero .pg-lead { color: #c6d0de; }
.pg-article { font-size: 18px; }
.pg-article h2 { margin: 2.2em 0 .7em; font-family: var(--pg-serif); font-size: clamp(30px, 3.5vw, 46px); line-height: 1.15; }
.pg-article h3 { margin-top: 1.8em; font-size: 24px; }
.pg-article a { color: #087455; }
.pg-article table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px; }
.pg-article th, .pg-article td { padding: 14px; border: 1px solid var(--pg-line); text-align: left; vertical-align: top; }
.pg-article th { background: var(--pg-paper); }

.site-footer { color: #d0d9e6; background: #071327; }
.site-footer__main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 44px; padding-block: 70px; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #d0d9e6; text-decoration: none; }
.site-footer a:hover { color: var(--pg-mint); }
.site-footer__brand img { width: 240px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 360px; color: #9eabbf; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 25px; padding: 22px 0 32px; border-top: 1px solid rgba(255,255,255,.1); color: #8f9db1; font-size: 12px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.cookie-banner { position: fixed; z-index: 1500; right: 20px; bottom: 20px; display: none; width: min(430px, calc(100% - 40px)); padding: 22px; border: 1px solid var(--pg-line); border-radius: 14px; background: #fff; box-shadow: var(--pg-shadow); }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin-top: 0; color: var(--pg-muted); font-size: 14px; }
.cookie-banner__actions { display: flex; gap: 9px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
.pg-orbit { position: absolute; pointer-events: none; border: 1px solid rgba(46,204,154,.16); border-radius: 50%; animation: pg-orbit 18s linear infinite; }
@keyframes pg-orbit { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 1060px) {
  .site-header__cta { display: none; }
  .primary-nav ul { gap: 16px; }
  .pg-grid--4, .pg-jurisdictions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-footer__main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .site-header__bar { display: block; }
  .site-header__bar-inner { min-height: 44px; justify-content: center; }
  .site-header__bar-inner > :first-child { display: none; }
  .site-header__main { min-height: 82px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { position: fixed; inset: 126px 0 0; display: none; padding: 28px 20px; background: rgba(7,19,39,.98); overflow-y: auto; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 4px; }
  .primary-nav a { padding: 15px 8px; font-size: 18px; }
  .pg-hero__inner, .pg-cta { grid-template-columns: 1fr; min-height: 0; }
  .pg-hero__panel { max-width: 620px; }
  .pg-trust-row { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .pg-grid--3 { grid-template-columns: 1fr; }
  .pg-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .pg-container, .pg-narrow { width: min(calc(100% - 28px), var(--pg-max)); }
  .pg-section { padding-block: 66px; }
  .pg-title { font-size: clamp(36px, 10.5vw, 48px); overflow-wrap: anywhere; hyphens: auto; }
  .pg-lead { font-size: 17px; }
  .pg-grid--4, .pg-jurisdictions, .pg-trust-row { grid-template-columns: 1fr; }
  .pg-actions { align-items: stretch; flex-direction: column; }
  .pg-button { width: 100%; }
  .pg-hero__panel { padding: 24px; }
  .pg-trust-row { margin-top: 0; padding-top: 20px; }
  .pg-jurisdiction { padding: 15px; }
  .pg-step { padding-left: 68px; }
  .site-footer__main { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__bottom { flex-direction: column; }
}
