/*
Theme Name: XMasters GC Refresh
Theme URI: https://xmasters-gc.com/
Description: A polished, conversion-focused child theme for XMasters-GC.
Author: XMasters-GC
Template: astra
Version: 1.4.0
Text Domain: xmasters-gc-refresh
*/

:root {
  --xg-navy: #0d1b2a;
  --xg-navy-deep: #07121e;
  --xg-slate: #273647;
  --xg-steel: #607184;
  --xg-mist: #eef3f6;
  --xg-white: #ffffff;
  --xg-red: #e4392f;
  --xg-red-dark: #b9221a;
  --xg-gold: #efb34b;
  --xg-line: rgba(13, 27, 42, 0.12);
  --xg-shadow: 0 20px 60px rgba(7, 18, 30, 0.15);
  --xg-radius: 20px;
  --xg-content: 1180px;
}

.xg-site,
.xg-site * {
  box-sizing: border-box;
}

.xg-site {
  color: var(--xg-navy);
  background: var(--xg-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
}

.xg-site h1,
.xg-site h2,
.xg-site h3,
.xg-site h4,
.xg-site p,
.xg-site ul {
  margin-top: 0;
}

.xg-site h1,
.xg-site h2,
.xg-site h3,
.xg-site h4 {
  color: inherit;
  font-family: "Arial Narrow", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.xg-site h1 { font-size: clamp(2.65rem, 5vw, 5.05rem); }
.xg-site h2 { font-size: clamp(2rem, 3.4vw, 3.55rem); }
.xg-site h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.xg-site a {
  color: inherit;
  text-decoration: none;
}

.xg-container {
  width: min(var(--xg-content), calc(100% - 48px));
  margin: 0 auto;
}

.xg-section {
  padding: 104px 0;
}

.xg-section--mist { background: var(--xg-mist); }
.xg-section--dark { background: var(--xg-navy); color: var(--xg-white); }

.xg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--xg-red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.xg-eyebrow::before {
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

.xg-lead {
  max-width: 680px;
  color: var(--xg-slate);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.xg-section--dark .xg-lead { color: rgba(255, 255, 255, 0.75); }

.xg-skip-link {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: #fff;
  background: var(--xg-red);
  border-radius: 8px;
  transform: translateY(-140%);
}

.xg-skip-link:focus { transform: translateY(0); }

.xg-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: #fff;
  background: rgba(7, 18, 30, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(7, 18, 30, .16);
}

.xg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 22px;
}

.xg-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 235px;
}

.xg-brand__link { display: inline-flex; align-items: center; min-height: 45px; }
.xg-brand__link--header { padding: 7px 12px; background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.xg-brand__link--footer { padding: 10px 14px; background: #fff; border-radius: 10px; }
.xg-original-logo { display: block; width: auto; max-width: 215px; height: auto; max-height: 51px; object-fit: contain; object-position: left center; }
.xg-brand__fallback { gap: 9px; color: var(--xg-navy); font-size: 1.05rem; font-weight: 900; letter-spacing: -0.04em; white-space: nowrap; }

.xg-brand__mark {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: #fff;
  background: var(--xg-red);
  clip-path: polygon(0 0, 28% 0, 50% 30%, 72% 0, 100% 0, 66% 50%, 100% 100%, 72% 100%, 50% 70%, 28% 100%, 0 100%, 34% 50%);
}

.xg-brand__name { color: var(--xg-navy); }
.xg-brand__name small { display: block; color: var(--xg-steel); font-size: 0.51rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

.xg-header__phone {
  display: grid;
  gap: 1px;
  margin-left: auto;
  padding: 0 17px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, .18);
  font-size: .84rem;
  line-height: 1.18;
  text-align: right;
}
.xg-header__phone span { color: rgba(255, 255, 255, .56); font-size: .63rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.xg-header__phone strong { font-size: .9rem; letter-spacing: -.02em; }
.xg-header__phone:hover strong { color: var(--xg-red); }

.xg-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.xg-nav a {
  padding: 9px 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color .18s ease;
}

.xg-nav a:hover,
.xg-nav a:focus,
.xg-nav a.xg-active { color: var(--xg-red); }

.xg-menu-toggle {
  display: none;
  padding: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  cursor: pointer;
}

.xg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.xg-btn,
.xg-btn:visited,
.xg-btn:focus,
.xg-btn:active { text-decoration: none !important; }
.xg-btn:hover { transform: translateY(-2px); }
.xg-btn--red,
.xg-btn--red:visited,
.xg-btn--red:focus,
.xg-btn--red:active { color: #fff !important; background: var(--xg-red); box-shadow: 0 10px 28px rgba(228, 57, 47, .27); }
.xg-btn--red:hover { color: #fff !important; background: var(--xg-red-dark); }
.xg-btn--light,
.xg-btn--light:visited,
.xg-btn--light:focus,
.xg-btn--light:active { color: var(--xg-navy) !important; background: #fff; }
.xg-btn--light:hover { color: var(--xg-navy) !important; background: var(--xg-mist); }
.xg-btn--outline,
.xg-btn--outline:visited,
.xg-btn--outline:focus,
.xg-btn--outline:active { color: #fff !important; background: transparent; border-color: rgba(255, 255, 255, .65); }
.xg-btn--outline:hover { color: var(--xg-navy) !important; background: #fff; }
.xg-btn--dark,
.xg-btn--dark:visited,
.xg-btn--dark:focus,
.xg-btn--dark:active { color: #fff !important; background: var(--xg-navy); }
.xg-btn--dark:hover { color: #fff !important; background: var(--xg-slate); }

.xg-hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, calc(100vh - 82px));
  padding: 98px 0 74px;
  color: #fff;
  background: var(--xg-navy-deep);
}

.xg-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 30, .93) 0%, rgba(7, 18, 30, .78) 42%, rgba(7, 18, 30, .28) 100%), url("/wp-content/uploads/2025/12/200.jpg") center / cover;
  content: "";
}

.xg-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(7, 18, 30, .78));
  content: "";
}

.xg-hero__content { max-width: 755px; }
.xg-hero h1 { max-width: 720px; margin-bottom: 24px; }
.xg-hero p { max-width: 630px; margin-bottom: 32px; color: rgba(255, 255, 255, .81); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.xg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.xg-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  margin-top: 80px;
  color: rgba(255, 255, 255, .8);
  font-size: .89rem;
  font-weight: 700;
}

.xg-hero__proof span { display: inline-flex; align-items: center; gap: 9px; }
.xg-hero__proof i { width: 7px; height: 7px; background: var(--xg-gold); border-radius: 50%; }

.xg-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  align-items: end;
  gap: 38px;
  margin-bottom: 50px;
}

.xg-heading-row h2 { margin-bottom: 0; }
.xg-heading-row .xg-lead { margin: 0; }

.xg-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.xg-service-card {
  position: relative;
  display: grid;
  grid-template-rows: 190px auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  color: var(--xg-navy);
  border-radius: var(--xg-radius);
  border: 1px solid rgba(13, 27, 42, .08);
  box-shadow: 0 16px 38px rgba(7, 18, 30, .08);
  transition: transform .24s ease, box-shadow .24s ease;
}

.xg-service-card:hover { box-shadow: 0 21px 50px rgba(7, 18, 30, .14); transform: translateY(-5px); }
.xg-service-card--renovation { background: #ffe9e1; }
.xg-service-card--restoration { background: #e5f1fb; }
.xg-service-card--support { background: #e7f4e9; }

.xg-service-card__image { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.xg-service-card:hover .xg-service-card__image { transform: scale(1.06); }
.xg-service-card__body { position: relative; z-index: 1; padding: 25px 27px 29px; }
.xg-service-card h3 { margin-bottom: 11px; color: var(--xg-navy); }
.xg-service-card p { margin-bottom: 18px; color: var(--xg-slate); }
.xg-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--xg-red-dark); font-size: .88rem; font-weight: 800; }
.xg-text-link::after { content: "→"; font-size: 1.15em; transition: transform .2s ease; }
.xg-text-link:hover::after { transform: translateX(4px); }

.xg-service-offerings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.xg-service-offerings article { min-height: 255px; padding: 30px; background: #fff; border: 1px solid var(--xg-line); border-radius: 15px; box-shadow: 0 12px 34px rgba(7,18,30,.045); }
.xg-service-offerings span { display: block; margin-bottom: 34px; color: var(--xg-red); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.xg-service-offerings h3 { margin-bottom: 13px; }
.xg-service-offerings p { max-width: 580px; margin-bottom: 0; color: var(--xg-slate); }

.xg-service-delivery { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 68px; align-items: start; }
.xg-service-delivery h2 { margin-bottom: 20px; }
.xg-service-delivery .xg-lead { margin-bottom: 0; }
.xg-service-delivery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--xg-line); border-left: 1px solid var(--xg-line); }
.xg-service-delivery__grid article { min-height: 206px; padding: 26px; border-right: 1px solid var(--xg-line); border-bottom: 1px solid var(--xg-line); }
.xg-service-delivery__grid h3 { margin-bottom: 12px; }
.xg-service-delivery__grid p { margin-bottom: 0; color: var(--xg-slate); font-size: .93rem; }

.xg-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xg-article-card { display: flex; flex-direction: column; min-height: 260px; padding: 28px; background: #fff; border: 1px solid var(--xg-line); border-radius: 15px; }
.xg-article-card > span { margin-bottom: 28px; color: var(--xg-red); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.xg-article-card h3 { margin-bottom: 14px; font-size: 1.35rem; }
.xg-article-card p { margin-bottom: 24px; color: var(--xg-slate); font-size: .93rem; }
.xg-article-card .xg-text-link { margin-top: auto; }

.xg-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .98fr);
  gap: 64px;
  align-items: center;
}

.xg-image-stack { position: relative; min-height: 480px; }
.xg-image-stack__main { position: absolute; inset: 0 56px 0 0; width: calc(100% - 56px); height: 100%; object-fit: cover; border-radius: var(--xg-radius); }
.xg-image-stack__badge { position: absolute; right: 0; bottom: 34px; max-width: 230px; padding: 27px; color: #fff; background: var(--xg-red); border-radius: 14px; box-shadow: var(--xg-shadow); }
.xg-image-stack__badge strong { display: block; margin-bottom: 4px; font-size: 2.35rem; letter-spacing: -.06em; line-height: 1; }
.xg-image-stack__badge span { color: rgba(255,255,255,.82); font-size: .87rem; line-height: 1.3; }

.xg-check-list { display: grid; gap: 18px; padding: 0; margin: 32px 0 36px; list-style: none; }
.xg-check-list li { position: relative; padding-left: 38px; color: var(--xg-slate); }
.xg-check-list li::before { position: absolute; top: .22rem; left: 0; display: grid; width: 22px; height: 22px; place-items: center; color: #fff; background: var(--xg-red); border-radius: 50%; content: "✓"; font-size: .72rem; font-weight: 900; }

.xg-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.xg-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.xg-capability {
  min-height: 218px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 14px;
}

.xg-capability span { display: block; margin-bottom: 28px; color: var(--xg-red); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.xg-capability h3 { margin-bottom: 12px; }
.xg-capability p { margin-bottom: 0; color: var(--xg-slate); font-size: .93rem; }

.xg-client-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.xg-client-grid__intro h2 { margin-bottom: 20px; }
.xg-client-grid__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--xg-line); border-left: 1px solid var(--xg-line); }
.xg-client-grid__items article { min-height: 192px; padding: 25px; border-right: 1px solid var(--xg-line); border-bottom: 1px solid var(--xg-line); }
.xg-client-grid__items h3 { margin-bottom: 10px; }
.xg-client-grid__items p { margin-bottom: 0; color: var(--xg-slate); font-size: .92rem; }

.xg-about-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.xg-about-principles article { min-height: 280px; padding: 29px 25px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; }
.xg-about-principles span { display: block; margin-bottom: 40px; color: var(--xg-gold); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.xg-about-principles h3 { margin-bottom: 13px; color: #fff; font-size: 1.32rem; }
.xg-about-principles p { margin-bottom: 0; color: rgba(255,255,255,.72); font-size: .93rem; }

.xg-about-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xg-about-evidence article { min-height: 290px; padding: 31px; background: #fff; border: 1px solid var(--xg-line); border-radius: 15px; box-shadow: 0 12px 34px rgba(7,18,30,.045); }
.xg-about-evidence strong { display: block; margin-bottom: 29px; color: var(--xg-red); font-size: clamp(2rem, 3.1vw, 3.1rem); letter-spacing: -.065em; line-height: 1; }
.xg-about-evidence h3 { margin-bottom: 13px; font-size: 1.28rem; }
.xg-about-evidence p { margin-bottom: 0; color: var(--xg-slate); font-size: .93rem; }

.xg-about-audience { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 70px; align-items: start; }
.xg-about-audience h2 { margin-bottom: 20px; }
.xg-about-audience .xg-lead { margin-bottom: 30px; }
.xg-about-audience__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--xg-line); border-left: 1px solid var(--xg-line); }
.xg-about-audience__grid article { min-height: 200px; padding: 26px; border-right: 1px solid var(--xg-line); border-bottom: 1px solid var(--xg-line); }
.xg-about-audience__grid h3 { margin-bottom: 12px; font-size: 1.25rem; }
.xg-about-audience__grid p { margin-bottom: 0; color: var(--xg-slate); font-size: .92rem; }

.xg-insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xg-insight-grid article { min-height: 270px; padding: 29px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 15px; }
.xg-insight-grid span { display: block; margin-bottom: 30px; color: var(--xg-gold); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.xg-insight-grid h3 { margin-bottom: 14px; color: #fff; }
.xg-insight-grid p { margin-bottom: 0; color: rgba(255, 255, 255, .72); font-size: .93rem; }

.xg-faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 70px; align-items: start; }
.xg-faq-list { display: grid; gap: 12px; }
.xg-faq-list details { padding: 0 22px; border: 1px solid var(--xg-line); border-radius: 12px; background: #fff; }
.xg-faq-list summary { padding: 20px 26px 20px 0; color: var(--xg-navy); cursor: pointer; font-weight: 800; list-style: none; }
.xg-faq-list summary::-webkit-details-marker { display: none; }
.xg-faq-list summary::after { float: right; color: var(--xg-red); content: '+'; font-size: 1.4rem; line-height: .8; }
.xg-faq-list details[open] summary::after { content: '–'; }
.xg-faq-list p { margin: -2px 0 20px; color: var(--xg-slate); }

.xg-process-card { position: relative; padding: 26px 22px; border-top: 1px solid rgba(255,255,255,.32); }
.xg-process-card__num { display: block; margin-bottom: 40px; color: var(--xg-gold); font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.xg-process-card h3 { margin-bottom: 12px; color: #fff; }
.xg-process-card p { margin-bottom: 0; color: rgba(255,255,255,.68); font-size: .92rem; }

.xg-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid var(--xg-line);
  border-bottom: 1px solid var(--xg-line);
}

.xg-stat { padding: 27px 22px; border-right: 1px solid var(--xg-line); }
.xg-stat:last-child { border-right: 0; }
.xg-stat strong { display: block; margin-bottom: 7px; color: var(--xg-red); font-size: clamp(1.8rem, 3vw, 2.75rem); letter-spacing: -.065em; line-height: 1; }
.xg-stat span { color: var(--xg-slate); font-size: .86rem; font-weight: 700; }

.xg-project-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 18px; }
.xg-project { position: relative; overflow: hidden; color: #fff; background: var(--xg-navy); border-radius: 14px; }
.xg-project:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.xg-project:nth-child(2) { grid-column: span 5; }
.xg-project:nth-child(3) { grid-column: span 5; }
.xg-project:nth-child(4) { grid-column: span 4; }
.xg-project:nth-child(5) { grid-column: span 8; }
.xg-project img { width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: transform .55s ease; }
.xg-project:hover img { transform: scale(1.06); }
.xg-project__caption { position: absolute; inset: auto 0 0; padding: 24px; background: linear-gradient(transparent, rgba(7,18,30,.88)); }
.xg-project__caption span { display: block; margin-bottom: 5px; color: var(--xg-gold); font-size: .71rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.xg-case-study-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.xg-case-study { padding: 31px; background: #fff; border: 1px solid var(--xg-line); border-radius: 16px; box-shadow: 0 12px 34px rgba(7,18,30,.05); }
.xg-case-study__kicker { display: block; margin-bottom: 18px; color: var(--xg-red); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.xg-case-study h3 { max-width: 500px; margin-bottom: 13px; }
.xg-case-study > p { margin-bottom: 22px; color: var(--xg-slate); }
.xg-case-study__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.xg-case-study__facts span { padding: 6px 9px; color: var(--xg-navy); background: var(--xg-mist); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.xg-case-study h4 { margin: 0 0 10px; color: var(--xg-navy); font-size: .9rem; }
.xg-case-study ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.xg-case-study li { position: relative; padding-left: 18px; color: var(--xg-slate); font-size: .9rem; }
.xg-case-study li::before { position: absolute; top: .42rem; left: 0; width: 6px; height: 6px; background: var(--xg-red); border-radius: 50%; content: ""; }
.xg-project__caption strong { font-size: 1.05rem; }

.xg-cta {
  position: relative;
  overflow: hidden;
  padding: 66px;
  color: #fff;
  background: linear-gradient(100deg, rgba(7, 18, 30, .93), rgba(7, 18, 30, .68)), url("/wp-content/uploads/2025/12/1-1.jpg") center / cover;
  border-radius: var(--xg-radius);
}

.xg-cta h2 { max-width: 730px; margin-bottom: 18px; }
.xg-cta p { max-width: 650px; color: rgba(255,255,255,.78); font-size: 1.07rem; }
.xg-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.xg-page-hero {
  position: relative;
  color: #fff;
  background: var(--xg-navy);
  isolation: isolate;
}
.xg-page-hero--image { min-height: 420px; display: grid; align-items: end; padding: 86px 0; }
.xg-page-hero--image::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,18,30,.91), rgba(7,18,30,.46)), var(--xg-page-image) center / cover; content: ""; }
.xg-page-hero--plain { padding: 86px 0; }
.xg-page-hero h1 { max-width: 870px; margin: 0; }
.xg-page-hero p { max-width: 750px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: 1.16rem; }

.xg-service-intro {
  display: grid;
  grid-template-columns: .73fr 1.27fr;
  gap: 70px;
  align-items: start;
}
.xg-service-intro__aside { position: sticky; top: 105px; }
.xg-service-intro__aside p { color: var(--xg-slate); }
.xg-service-detail { padding: 28px 0; border-top: 1px solid var(--xg-line); }
.xg-service-detail:last-child { border-bottom: 1px solid var(--xg-line); }
.xg-service-detail h3 { margin-bottom: 11px; }
.xg-service-detail p { margin-bottom: 0; color: var(--xg-slate); }

.xg-two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.xg-panel { padding: 34px; background: #fff; border: 1px solid var(--xg-line); border-radius: 16px; }
.xg-panel h3 { margin-bottom: 14px; }
.xg-panel p { margin-bottom: 0; color: var(--xg-slate); }

.xg-form-shell {
  padding: 42px;
  background: #fff;
  border-radius: var(--xg-radius);
  box-shadow: var(--xg-shadow);
}
.xg-form-shell .gform_wrapper { margin: 0; }
.xg-form-shell .gform_title { color: var(--xg-navy); }
.xg-form-shell .gform_required_legend { color: var(--xg-steel); }
.xg-form-shell .gform_fields { gap: 18px; }
.xg-form-shell .gfield_label { color: var(--xg-navy); font-size: .88rem; font-weight: 800; }
.xg-form-shell input:not([type="submit"]),
.xg-form-shell textarea { border-color: var(--xg-line); border-radius: 8px; box-shadow: none; }
.xg-form-shell input:not([type="submit"]):focus,
.xg-form-shell textarea:focus { border-color: var(--xg-red); outline: 2px solid rgba(228,57,47,.12); }
.xg-form-shell .gform_button,
.xg-form-shell .gform_button:focus,
.xg-form-shell .gform_button:active { padding: 13px 21px; color: #fff !important; background: var(--xg-red) !important; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; }
.xg-form-shell .gform_button:hover { color: #fff !important; background: var(--xg-red-dark) !important; }

.xg-contact-details { display: grid; gap: 10px; margin: 28px 0 31px; }
.xg-contact-details > * { display: grid; gap: 2px; padding: 13px 15px; color: var(--xg-navy); background: #fff; border: 1px solid var(--xg-line); border-radius: 10px; }
.xg-contact-details a:hover { border-color: rgba(228,57,47,.45); transform: translateX(3px); }
.xg-contact-details span { color: var(--xg-red); font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.xg-contact-details strong { font-size: .92rem; }

.xg-fallback-form { display: grid; gap: 15px; }
.xg-fallback-form label { color: var(--xg-slate); font-size: .85rem; font-weight: 800; }
.xg-fallback-form input,
.xg-fallback-form textarea { width: 100%; margin-top: 6px; padding: 13px; color: var(--xg-navy); background: #fff; border: 1px solid var(--xg-line); border-radius: 8px; font: inherit; }
.xg-fallback-form textarea { min-height: 130px; resize: vertical; }

.xg-footer { color: rgba(255,255,255,.75); background: #07121e; }
.xg-footer__top { display: grid; grid-template-columns: 1.25fr .7fr .85fr 1fr; gap: 42px; padding: 67px 0 48px; }
.xg-footer h3 { margin: 0 0 15px; color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.xg-footer p { max-width: 350px; margin: 14px 0 0; font-size: .91rem; }
.xg-footer ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; font-size: .9rem; }
.xg-footer a:hover { color: #fff; }
.xg-footer__contact li { display: grid; gap: 2px; }
.xg-footer__contact span { color: rgba(255,255,255,.48); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.xg-footer__contact address { color: rgba(255,255,255,.78); font-size: .9rem; font-style: normal; line-height: 1.45; }
.xg-footer__bottom { display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; }

.xg-chat-launcher {
  position: fixed;
  z-index: 1002;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  color: #fff;
  background: var(--xg-red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(228,57,47,.36);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.xg-chat-launcher:hover { background: var(--xg-red-dark); transform: translateY(-3px); }
.xg-chat-launcher svg { width: 25px; height: 25px; }

.xg-chat-card {
  position: fixed;
  z-index: 1001;
  right: 22px;
  bottom: 91px;
  width: min(370px, calc(100% - 34px));
  padding: 23px;
  color: var(--xg-navy);
  background: #fff;
  border: 1px solid var(--xg-line);
  border-radius: 18px;
  box-shadow: var(--xg-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.97);
  transition: opacity .25s ease, transform .25s ease;
}
.xg-chat-card.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.xg-chat-card__close { position: absolute; top: 11px; right: 12px; width: 30px; height: 30px; color: var(--xg-slate); background: transparent; border: 0; cursor: pointer; font-size: 1.25rem; }
.xg-chat-card__intro { display: flex; align-items: center; gap: 13px; padding-right: 22px; }
.xg-chat-card__avatar { width: 68px; height: 68px; flex: 0 0 68px; object-fit: cover; object-position: center top; background: #edf2f6; border: 1px solid rgba(13, 27, 42, .08); border-radius: 50%; }
.xg-chat-card__label { display: block; margin-bottom: 5px; color: var(--xg-red); font-size: .64rem; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.xg-chat-card h3 { margin-bottom: 0; font-size: 1.23rem; }
.xg-chat-card p { margin-bottom: 20px; color: var(--xg-slate); font-size: .91rem; }
.xg-chat-card__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.xg-chat-card__actions .xg-btn { min-height: 43px; padding: 10px; font-size: .81rem; }

/* Dedicated project-experience landing page */
.xg-header--landing { background: rgba(7, 18, 30, .93); }
.xg-nav--landing { gap: 10px; }
.xg-nav--landing > a:not(.xg-btn) { padding-right: 6px; padding-left: 6px; }

.xg-landing { overflow: hidden; background: #fff; }
.xg-landing h1,
.xg-landing h2,
.xg-landing h3 { max-width: none; }
.xg-landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(800px, calc(100vh - 86px));
  padding: 88px 0 72px;
  color: #fff;
  background: #07121e;
}
.xg-landing-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(91deg, rgba(7,18,30,.98) 0%, rgba(7,18,30,.93) 43%, rgba(7,18,30,.66) 100%), var(--xg-landing-hero-image) center / cover;
  content: "";
}
.xg-landing-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000 10%, transparent 78%);
  content: "";
}
.xg-landing-hero__grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(420px, .82fr); gap: 32px; align-items: center; min-height: 640px; }
.xg-landing-hero__content { max-width: 735px; padding: 16px 0; }
.xg-landing-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 23px; color: rgba(255,255,255,.74); font-size: .73rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.xg-landing-kicker span { width: 31px; height: 2px; background: var(--xg-red); }
.xg-landing-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(3.35rem, 6.4vw, 6.75rem); letter-spacing: -.062em; line-height: .9; }
.xg-landing-hero__lead { max-width: 635px; margin: 29px 0 0; color: rgba(255,255,255,.79); font-size: clamp(1.05rem, 1.65vw, 1.28rem); line-height: 1.68; }
.xg-landing-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.xg-landing-hero__actions .xg-btn { min-height: 52px; padding: 14px 23px; }
.xg-landing-hero__proof { display: flex; flex-wrap: wrap; gap: 15px 28px; margin-top: 68px; }
.xg-landing-hero__proof span { display: grid; gap: 2px; color: rgba(255,255,255,.65); font-size: .78rem; line-height: 1.3; }
.xg-landing-hero__proof b { color: #fff; font-size: .92rem; letter-spacing: -.02em; }
.xg-landing-hero__visual { position: relative; min-height: 600px; }
.xg-landing-preview-label { position: absolute; z-index: 4; top: 3px; right: 14px; padding: 7px 10px; color: rgba(255,255,255,.74); background: rgba(7,18,30,.52); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; font-size: .58rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(8px); }
.xg-landing-hero__halo { position: absolute; border-radius: 50%; filter: blur(1px); }
.xg-landing-hero__halo--one { top: 28px; right: -63px; width: 384px; height: 384px; border: 1px solid rgba(239,179,75,.34); box-shadow: 0 0 0 55px rgba(239,179,75,.035), 0 0 0 110px rgba(228,57,47,.028); }
.xg-landing-hero__halo--two { bottom: 15px; left: 10px; width: 164px; height: 164px; background: rgba(228,57,47,.21); filter: blur(28px); }
.xg-phone { position: absolute; z-index: 2; overflow: hidden; width: 286px; padding: 9px; background: linear-gradient(145deg, #edf2f6, #9baab7 62%, #fff); border: 2px solid rgba(255,255,255,.65); border-radius: 39px; box-shadow: 0 35px 75px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.9); }
.xg-phone--hero { top: 38px; left: 50%; transform: translateX(-45%); }
.xg-phone__top { display: flex; align-items: center; justify-content: space-between; min-height: 31px; padding: 3px 12px 7px; color: #213244; font-size: .57rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.xg-phone__top i { width: 41px; height: 5px; background: #1a2a39; border-radius: 10px; }
.xg-phone__top b { color: var(--xg-red); font-size: .8rem; letter-spacing: 0; }
.xg-phone__screen { min-height: 499px; padding: 18px 15px 11px; color: var(--xg-navy); background: #f7fafc; border-radius: 28px; }
.xg-phone__label { margin-bottom: 7px; color: var(--xg-red); font-size: .58rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.xg-phone h2 { max-width: 220px; margin: 0 0 17px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.38rem; font-weight: 850; letter-spacing: -.06em; line-height: 1.03; }
.xg-phone__project-image { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 142px; padding: 15px; overflow: hidden; color: #fff; background: linear-gradient(0deg, rgba(7,18,30,.75), rgba(7,18,30,.08)), var(--xg-phone-image) center / cover; border-radius: 15px; }
.xg-phone__project-image span { margin-bottom: 4px; color: #f7c76e; font-size: .55rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.xg-phone__project-image strong { font-size: .82rem; line-height: 1.2; }
.xg-phone__progress-row { display: flex; justify-content: space-between; margin: 18px 0 7px; color: var(--xg-slate); font-size: .63rem; font-weight: 750; }
.xg-phone__progress-row strong { color: var(--xg-navy); }
.xg-phone__progress { height: 7px; overflow: hidden; background: #dfe7ed; border-radius: 99px; }
.xg-phone__progress i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--xg-red), #f27b4a); border-radius: inherit; }
.xg-phone__next { display: grid; gap: 5px; margin-top: 18px; padding: 12px 13px; background: #fff; border: 1px solid #e2eaf0; border-radius: 11px; }
.xg-phone__next span { color: #738394; font-size: .54rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.xg-phone__next strong { display: flex; justify-content: space-between; font-size: .66rem; line-height: 1.35; }
.xg-phone__next em { color: var(--xg-red); font-size: 1.1rem; font-style: normal; line-height: .65; }
.xg-phone__nav { display: flex; justify-content: space-between; margin-top: 19px; padding: 0 3px; color: #7a8998; font-size: .54rem; font-weight: 800; }
.xg-phone__nav .is-active { color: var(--xg-red); }
.xg-landing-float-card { position: absolute; z-index: 3; display: grid; gap: 7px; width: 205px; padding: 15px 16px; background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.85); border-radius: 14px; box-shadow: 0 22px 45px rgba(0,0,0,.23); }
.xg-landing-float-card span { color: var(--xg-red); font-size: .53rem; font-weight: 900; letter-spacing: .13em; }
.xg-landing-float-card strong { color: var(--xg-navy); font-size: .76rem; line-height: 1.25; }
.xg-landing-float-card i { color: #718193; font-size: .6rem; font-style: normal; line-height: 1.35; }
.xg-landing-float-card--update { top: 119px; right: -8px; }
.xg-landing-float-card--request { bottom: 79px; left: -4px; }

.xg-landing-trust { position: relative; z-index: 3; color: #fff; background: var(--xg-red); }
.xg-landing-trust__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); align-items: stretch; }
.xg-landing-trust p { align-self: center; max-width: 320px; margin: 0; padding: 30px 26px 30px 0; color: rgba(255,255,255,.86); font-size: .86rem; font-weight: 650; line-height: 1.5; }
.xg-landing-trust__grid > div { display: grid; align-content: center; gap: 4px; min-height: 106px; padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.23); }
.xg-landing-trust strong { color: #fff; font-size: .91rem; }
.xg-landing-trust span { color: rgba(255,255,255,.72); font-size: .67rem; line-height: 1.35; }

.xg-landing-section { padding: 118px 0; }
.xg-landing-intro { display: grid; grid-template-columns: minmax(0,.92fr) minmax(360px, .88fr); gap: 90px; align-items: end; }
.xg-landing-intro h2 { max-width: 670px; margin: 0; font-size: clamp(2.65rem, 5vw, 5.2rem); letter-spacing: -.06em; line-height: .94; }
.xg-landing-intro__copy p:last-child { margin: 23px 0 0; color: var(--xg-slate); font-size: .95rem; line-height: 1.72; }
.xg-landing-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 74px; }
.xg-landing-promises article { min-height: 270px; padding: 31px 29px; border-top: 3px solid var(--xg-navy); background: #f6f9fb; }
.xg-landing-promises article:nth-child(2) { color: #fff; background: var(--xg-navy); border-top-color: var(--xg-red); }
.xg-landing-promises article:nth-child(3) { background: #f4ebe3; border-top-color: var(--xg-gold); }
.xg-landing-promises span { display: block; margin-bottom: 56px; color: var(--xg-red); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.xg-landing-promises h3 { margin: 0 0 13px; font-size: 1.38rem; }
.xg-landing-promises p { margin: 0; color: var(--xg-slate); font-size: .91rem; line-height: 1.6; }
.xg-landing-promises article:nth-child(2) h3 { color: #fff; }
.xg-landing-promises article:nth-child(2) p { color: rgba(255,255,255,.7); }

.xg-landing-section--services { position: relative; overflow: hidden; color: #fff; background: #0c1b2a; }
.xg-landing-section--services::after { position: absolute; right: -150px; bottom: -200px; width: 600px; height: 600px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); content: ""; }
.xg-landing-section--services .xg-container { position: relative; z-index: 1; }
.xg-landing-section__heading { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(300px,.65fr); gap: 55px; align-items: end; margin-bottom: 52px; }
.xg-landing-section__heading h2 { max-width: 770px; margin: 0; }
.xg-landing-section__heading > p { max-width: 420px; margin: 0 0 3px; color: rgba(255,255,255,.67); font-size: 1rem; line-height: 1.7; }
.xg-landing-section--services .xg-eyebrow { color: var(--xg-gold); }
.xg-landing-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.xg-landing-service-card { position: relative; display: flex; flex-direction: column; min-height: 358px; padding: 29px; overflow: hidden; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; transition: transform .25s ease, background .25s ease; }
.xg-landing-service-card:hover { background: rgba(255,255,255,.095); transform: translateY(-6px); }
.xg-landing-service-card::after { position: absolute; right: -52px; bottom: -52px; width: 155px; height: 155px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.xg-landing-service-card--restoration { background: rgba(239,179,75,.10); }
.xg-landing-service-card--support { background: rgba(228,57,47,.12); }
.xg-landing-service-card > span { display: block; margin-bottom: 65px; color: var(--xg-gold); font-size: .71rem; font-weight: 900; letter-spacing: .13em; }
.xg-landing-service-card--support > span { color: #ff938d; }
.xg-landing-service-card h3 { position: relative; z-index: 1; margin: 0 0 15px; color: #fff; font-size: 1.58rem; }
.xg-landing-service-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.64; }
.xg-landing-service-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: #fff; font-size: .78rem; font-weight: 850; }
.xg-landing-service-card a b { color: var(--xg-gold); font-size: 1rem; }

.xg-landing-app { position: relative; overflow: hidden; padding: 124px 0; color: #fff; background: linear-gradient(135deg, #060f18, #102a42); }
.xg-landing-app::before { position: absolute; top: -330px; right: -160px; width: 800px; height: 800px; border: 1px solid rgba(239,179,75,.23); border-radius: 50%; box-shadow: 0 0 0 72px rgba(239,179,75,.035), 0 0 0 144px rgba(228,57,47,.023); content: ""; }
.xg-landing-app::after { position: absolute; bottom: -180px; left: -135px; width: 480px; height: 480px; background: rgba(228,57,47,.12); border-radius: 50%; filter: blur(38px); content: ""; }
.xg-landing-app__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.06fr) minmax(420px,.74fr); gap: 84px; align-items: center; }
.xg-landing-app .xg-eyebrow { color: var(--xg-gold); }
.xg-landing-app h2 { max-width: 680px; margin: 0; color: #fff; font-size: clamp(3rem, 5.4vw, 5.9rem); letter-spacing: -.065em; line-height: .9; }
.xg-landing-app__lead { max-width: 680px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: 1.08rem; line-height: 1.72; }
.xg-landing-app__note { max-width: 665px; margin: 17px 0 0; padding-left: 15px; color: rgba(255,255,255,.63); border-left: 2px solid var(--xg-gold); font-size: .86rem; line-height: 1.65; }
.xg-landing-app__feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; margin-top: 45px; }
.xg-landing-app__feature-grid article { min-height: 185px; padding: 21px 20px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.xg-landing-app__feature-grid i { display: block; margin-bottom: 26px; color: var(--xg-gold); font-size: .64rem; font-style: normal; font-weight: 900; letter-spacing: .11em; }
.xg-landing-app__feature-grid h3 { margin: 0 0 8px; color: #fff; font-size: 1rem; }
.xg-landing-app__feature-grid p { margin: 0; color: rgba(255,255,255,.63); font-size: .81rem; line-height: 1.55; }
.xg-landing-app__device { position: relative; min-height: 640px; }
.xg-app-device { position: absolute; z-index: 2; top: 17px; left: 50%; width: 316px; padding: 10px; overflow: hidden; background: linear-gradient(140deg, #e8eef2, #526371); border: 2px solid rgba(255,255,255,.72); border-radius: 43px; box-shadow: 0 34px 80px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.85); transform: translateX(-50%) rotate(4deg); }
.xg-app-device__speaker { width: 50px; height: 6px; margin: 2px auto 8px; background: #1c2c3a; border-radius: 10px; }
.xg-app-device__screen { min-height: 535px; padding: 21px 15px 14px; color: var(--xg-navy); background: #f7fafc; border-radius: 30px; }
.xg-app-device__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; color: #738291; font-size: .7rem; }
.xg-app-device__top span { color: var(--xg-red); font-size: 1.35rem; line-height: .5; }
.xg-app-device__top strong { color: var(--xg-navy); font-size: .74rem; }
.xg-app-device__top i { font-size: .85rem; font-style: normal; letter-spacing: 0; }
.xg-app-device__project { margin-bottom: 18px; }
.xg-app-device__project span,
.xg-app-device__request > span { color: var(--xg-red); font-size: .56rem; font-weight: 900; letter-spacing: .12em; }
.xg-app-device__project h3 { margin: 6px 0 5px; color: var(--xg-navy); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.46rem; letter-spacing: -.06em; }
.xg-app-device__project p { margin: 0; color: #7b8996; font-size: .64rem; }
.xg-app-device__photo { min-height: 162px; margin-bottom: 16px; background: var(--xg-app-photo) center / cover; border-radius: 15px; }
.xg-app-device__request { padding: 15px; background: #fff; border: 1px solid #e3eaef; border-radius: 13px; box-shadow: 0 8px 20px rgba(10,27,43,.04); }
.xg-app-device__request p { margin: 7px 0 13px; color: #334458; font-size: .78rem; font-weight: 650; line-height: 1.45; }
.xg-app-device__request div { display: grid; gap: 3px; padding-top: 11px; border-top: 1px solid #e7edf1; }
.xg-app-device__request b { color: #c53a32; font-size: .65rem; }
.xg-app-device__request i { color: #7b8996; font-size: .59rem; font-style: normal; }
.xg-app-device__button { display: block; width: 100%; margin-top: 15px; padding: 12px; color: #fff; background: var(--xg-navy); border-radius: 10px; font-size: .7rem; font-weight: 800; text-align: center; }
.xg-app-device__orbit { position: absolute; border: 1px solid rgba(239,179,75,.3); border-radius: 50%; }
.xg-app-device__orbit--one { top: 0; right: 0; width: 305px; height: 305px; }
.xg-app-device__orbit--two { bottom: 8px; left: -22px; width: 190px; height: 190px; border-color: rgba(255,255,255,.13); }
.xg-app-device__note { position: absolute; z-index: 3; display: grid; gap: 4px; padding: 13px 15px; background: #fff; border-radius: 11px; box-shadow: 0 17px 34px rgba(0,0,0,.2); }
.xg-app-device__note span { color: var(--xg-red); font-size: .53rem; font-weight: 900; letter-spacing: .1em; }
.xg-app-device__note strong { color: var(--xg-navy); font-size: .72rem; }
.xg-app-device__note--one { top: 88px; right: -18px; }
.xg-app-device__note--two { bottom: 78px; left: -18px; }

.xg-landing-section--process { background: #f3f7f9; }
.xg-landing-section--process .xg-landing-section__heading > p { color: var(--xg-slate); }
.xg-landing-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 54px; border-top: 1px solid rgba(13,27,42,.18); border-bottom: 1px solid rgba(13,27,42,.18); }
.xg-landing-flow article { min-height: 276px; padding: 30px 26px 26px; border-right: 1px solid rgba(13,27,42,.16); }
.xg-landing-flow article:last-child { border-right: 0; }
.xg-landing-flow span { display: block; margin-bottom: 54px; color: var(--xg-red); font-size: .73rem; font-weight: 900; letter-spacing: .12em; }
.xg-landing-flow h3 { margin: 0 0 12px; font-size: 1.27rem; }
.xg-landing-flow p { margin: 0; color: var(--xg-slate); font-size: .89rem; line-height: 1.6; }

.xg-landing-work { padding: 118px 0; }
.xg-landing-work__heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 47px; }
.xg-landing-work__heading h2 { max-width: 750px; margin: 0; }
.xg-landing-work__heading > a { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 6px; color: var(--xg-navy); font-size: .82rem; font-weight: 900; white-space: nowrap; }
.xg-landing-work__heading > a b { color: var(--xg-red); font-size: 1.05rem; }
.xg-landing-work__grid { display: grid; grid-template-columns: 1.22fr .89fr .89fr; gap: 16px; }
.xg-landing-work-card { position: relative; display: flex; align-items: end; min-height: 365px; overflow: hidden; color: #fff; background: #0a1826; border-radius: 15px; }
.xg-landing-work-card::before { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,18,30,.88), rgba(7,18,30,.03) 67%), var(--xg-work-image) center / cover; transition: transform .5s ease; content: ""; }
.xg-landing-work-card:hover::before { transform: scale(1.055); }
.xg-landing-work-card > div { position: relative; z-index: 1; padding: 27px; }
.xg-landing-work-card span { display: block; margin-bottom: 8px; color: #f4c66b; font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.xg-landing-work-card h3 { margin: 0 0 9px; color: #fff; font-size: 1.4rem; }
.xg-landing-work-card p { max-width: 300px; margin: 0; color: rgba(255,255,255,.7); font-size: .79rem; line-height: 1.45; }
.xg-landing-work-card--wide { min-height: 465px; }
.xg-landing-work-card--wide h3 { font-size: 2.1rem; }

.xg-landing-final { position: relative; overflow: hidden; padding: 108px 0; color: #fff; background: linear-gradient(118deg, rgba(7,18,30,.97), rgba(7,18,30,.79)), url("/wp-content/uploads/2025/12/1-1.jpg") center / cover; }
.xg-landing-final::after { position: absolute; right: -130px; bottom: -170px; width: 530px; height: 530px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025); content: ""; }
.xg-landing-final__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.92fr) minmax(390px,.78fr); gap: 75px; align-items: center; }
.xg-landing-final .xg-eyebrow { color: var(--xg-gold); }
.xg-landing-final h2 { max-width: 620px; margin: 0; color: #fff; font-size: clamp(2.65rem, 4.8vw, 5rem); letter-spacing: -.06em; line-height: .94; }
.xg-landing-final__copy > p { max-width: 535px; margin: 24px 0 0; color: rgba(255,255,255,.73); font-size: 1.05rem; line-height: 1.7; }
.xg-landing-final__details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 29px; }
.xg-landing-final__details span { padding: 7px 10px; color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.xg-landing-call { display: grid; gap: 3px; width: max-content; margin-top: 34px; }
.xg-landing-call i { color: rgba(255,255,255,.6); font-size: .67rem; font-style: normal; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.xg-landing-call strong { color: #fff; font-size: 1.35rem; letter-spacing: -.04em; }
.xg-landing-final__form { position: relative; z-index: 1; padding: 37px; color: var(--xg-navy); box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.xg-landing-final__form h3 { margin: 0 0 8px; font-size: 1.7rem; }
.xg-landing-final__form > p { margin: 0 0 25px; color: var(--xg-slate); font-size: .91rem; }

@media (max-width: 980px) {
  .xg-nav { position: absolute; top: 86px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 14px 24px 22px; background: var(--xg-navy-deep); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 35px rgba(7,18,30,.28); }
  .xg-nav.is-open { display: flex; }
  .xg-nav a { padding: 11px 0; }
  .xg-menu-toggle { display: inline-flex; }
  .xg-heading-row,
  .xg-value-grid,
  .xg-service-intro,
  .xg-service-delivery,
  .xg-about-audience { grid-template-columns: 1fr; }
  .xg-service-intro__aside { position: static; }
  .xg-services { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .xg-service-card { min-height: 380px; }
  .xg-process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .xg-capability-grid,
  .xg-insight-grid,
  .xg-case-study-grid,
  .xg-service-offerings,
  .xg-article-grid,
  .xg-about-evidence { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .xg-about-principles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .xg-client-grid,
  .xg-faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .xg-footer__top { grid-template-columns: 1fr 1fr; }
  .xg-footer__top > :first-child { grid-column: 1 / -1; }
  .xg-landing-hero { min-height: auto; padding: 72px 0 58px; }
  .xg-landing-hero__grid,
  .xg-landing-app__layout,
  .xg-landing-final__layout { grid-template-columns: 1fr; }
  .xg-landing-hero__grid { min-height: 0; }
  .xg-landing-hero__content { max-width: 760px; }
  .xg-landing-hero__visual { min-height: 590px; max-width: 620px; margin: 0 auto; width: 100%; }
  .xg-landing-trust__grid { grid-template-columns: repeat(3, 1fr); }
  .xg-landing-trust p { grid-column: 1 / -1; max-width: none; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .xg-landing-trust__grid > div:first-of-type { border-left: 0; }
  .xg-landing-intro,
  .xg-landing-section__heading { grid-template-columns: 1fr; gap: 24px; }
  .xg-landing-promises,
  .xg-landing-service-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .xg-landing-promises { margin-top: 45px; }
  .xg-landing-promises article { min-height: 245px; padding: 25px 21px; }
  .xg-landing-promises span { margin-bottom: 39px; }
  .xg-landing-service-card { min-height: 330px; padding: 24px 21px; }
  .xg-landing-service-card > span { margin-bottom: 45px; }
  .xg-landing-app__layout { gap: 38px; }
  .xg-landing-app__device { max-width: 580px; margin: 0 auto; width: 100%; }
  .xg-landing-flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .xg-landing-flow article:nth-child(2) { border-right: 0; }
  .xg-landing-flow article:nth-child(-n+2) { border-bottom: 1px solid rgba(13,27,42,.16); }
  .xg-landing-work__grid { grid-template-columns: 1.12fr 1fr; }
  .xg-landing-work-card--wide { grid-column: 1 / -1; min-height: 420px; }
}

@media (max-width: 700px) {
  .xg-container { width: min(100% - 34px, var(--xg-content)); }
  .xg-section { padding: 72px 0; }
  .xg-header__inner { min-height: 76px; }
  .xg-nav { top: 76px; }
  .xg-header__phone { display: none; }
  .xg-original-logo { max-width: 180px; max-height: 43px; }
  .xg-hero { min-height: 690px; padding: 75px 0 45px; }
  .xg-hero::before { background: linear-gradient(90deg, rgba(7,18,30,.92), rgba(7,18,30,.64)), url("/wp-content/uploads/2025/12/200.jpg") 62% center / cover; }
  .xg-hero__proof { margin-top: 55px; gap: 13px 23px; }
  .xg-heading-row { gap: 16px; margin-bottom: 32px; }
  .xg-services { margin-right: -17px; }
  .xg-service-card { min-width: 282px; min-height: 0; }
  .xg-image-stack { min-height: 360px; }
  .xg-image-stack__main { right: 24px; width: calc(100% - 24px); }
  .xg-image-stack__badge { right: 0; bottom: 18px; max-width: 195px; padding: 20px; }
  .xg-process,
  .xg-stats,
  .xg-two-col,
  .xg-capability-grid,
  .xg-insight-grid,
  .xg-case-study-grid,
  .xg-service-offerings,
  .xg-service-delivery__grid,
  .xg-article-grid,
  .xg-about-principles,
  .xg-about-evidence,
  .xg-about-audience__grid { grid-template-columns: 1fr; }
  .xg-case-study { padding: 25px 21px; }
  .xg-service-offerings article,
  .xg-article-card,
  .xg-about-evidence article { min-height: 0; padding: 25px 21px; }
  .xg-service-delivery__grid article,
  .xg-about-audience__grid article { min-height: 0; padding: 23px 21px; }
  .xg-client-grid__items { grid-template-columns: 1fr; }
  .xg-stat { border-right: 0; border-bottom: 1px solid var(--xg-line); }
  .xg-stat:last-child { border-bottom: 0; }
  .xg-project-grid { grid-template-columns: 1fr; grid-auto-rows: 245px; }
  .xg-project:nth-child(n) { grid-column: auto; grid-row: auto; }
  .xg-cta { padding: 40px 25px; }
  .xg-page-hero--image,
  .xg-page-hero--plain { min-height: 345px; padding: 66px 0; }
  .xg-form-shell { padding: 25px 18px; }
  .xg-footer__top { grid-template-columns: 1fr; gap: 32px; padding: 50px 0 38px; }
  .xg-footer__top > :first-child { grid-column: auto; }
  .xg-footer__bottom { flex-direction: column; }
  .xg-chat-card { right: 16px; bottom: 84px; }
  .xg-nav--landing > a:not(.xg-btn) { padding-right: 0; padding-left: 0; }
  .xg-landing-hero { padding: 55px 0 0; }
  .xg-landing-hero::before { background: linear-gradient(180deg, rgba(7,18,30,.97), rgba(7,18,30,.83)), var(--xg-landing-hero-image) center / cover; }
  .xg-landing-hero__content { padding: 0; }
  .xg-landing-kicker { margin-bottom: 18px; font-size: .64rem; }
  .xg-landing-hero h1 { font-size: clamp(3.1rem, 15vw, 4.55rem); }
  .xg-landing-hero__lead { margin-top: 23px; font-size: 1rem; }
  .xg-landing-hero__actions { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .xg-landing-hero__actions .xg-btn { width: 100%; }
  .xg-landing-hero__proof { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; margin-top: 35px; }
  .xg-landing-hero__proof span:last-child { grid-column: 1 / -1; }
  .xg-landing-hero__visual { min-height: 534px; margin-top: 8px; }
  .xg-landing-preview-label { top: 0; right: 0; font-size: .53rem; }
  .xg-phone { width: 255px; padding: 8px; border-radius: 35px; }
  .xg-phone--hero { top: 38px; transform: translateX(-48%); }
  .xg-phone__screen { min-height: 450px; padding: 15px 12px 10px; border-radius: 24px; }
  .xg-phone h2 { margin-bottom: 13px; font-size: 1.18rem; }
  .xg-phone__project-image { min-height: 128px; }
  .xg-phone__next { margin-top: 14px; }
  .xg-phone__nav { margin-top: 15px; }
  .xg-landing-float-card { width: 170px; padding: 12px; }
  .xg-landing-float-card--update { top: 100px; right: -7px; }
  .xg-landing-float-card--request { bottom: 30px; left: -2px; }
  .xg-landing-trust__grid { grid-template-columns: 1fr; }
  .xg-landing-trust p { padding: 23px 0; }
  .xg-landing-trust__grid > div { min-height: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .xg-landing-trust__grid > div:last-child { border-bottom: 0; }
  .xg-landing-section,
  .xg-landing-work { padding: 76px 0; }
  .xg-landing-intro { gap: 24px; }
  .xg-landing-intro h2 { font-size: clamp(2.55rem, 12vw, 3.85rem); }
  .xg-landing-promises,
  .xg-landing-service-grid,
  .xg-landing-app__feature-grid,
  .xg-landing-flow,
  .xg-landing-work__grid { grid-template-columns: 1fr; }
  .xg-landing-promises article,
  .xg-landing-service-card { min-height: 0; }
  .xg-landing-promises article { padding: 28px 23px; }
  .xg-landing-promises span,
  .xg-landing-service-card > span { margin-bottom: 32px; }
  .xg-landing-section__heading { margin-bottom: 33px; }
  .xg-landing-section__heading h2 { font-size: clamp(2.3rem, 11vw, 3.65rem); }
  .xg-landing-service-card { min-height: 275px; padding: 25px 22px; }
  .xg-landing-app { padding: 78px 0; }
  .xg-landing-app h2 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .xg-landing-app__lead { font-size: .98rem; }
  .xg-landing-app__note { font-size: .8rem; }
  .xg-landing-app__feature-grid { margin-top: 33px; }
  .xg-landing-app__feature-grid article { min-height: 0; padding: 20px 18px; }
  .xg-landing-app__feature-grid i { margin-bottom: 20px; }
  .xg-landing-app__device { min-height: 574px; }
  .xg-app-device { width: 277px; top: 20px; transform: translateX(-50%) rotate(3deg); }
  .xg-app-device__screen { min-height: 475px; padding: 18px 13px 12px; border-radius: 25px; }
  .xg-app-device__top { margin-bottom: 19px; }
  .xg-app-device__project h3 { font-size: 1.28rem; }
  .xg-app-device__photo { min-height: 135px; }
  .xg-app-device__note { padding: 11px 12px; }
  .xg-app-device__note--one { top: 72px; right: -8px; }
  .xg-app-device__note--two { bottom: 50px; left: -8px; }
  .xg-landing-flow { margin-top: 33px; }
  .xg-landing-flow article,
  .xg-landing-flow article:nth-child(2) { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid rgba(13,27,42,.16); }
  .xg-landing-flow article:last-child { border-bottom: 0; }
  .xg-landing-flow span { margin-bottom: 26px; }
  .xg-landing-work__heading { display: grid; gap: 20px; margin-bottom: 32px; }
  .xg-landing-work-card,
  .xg-landing-work-card--wide { min-height: 310px; }
  .xg-landing-work-card--wide h3 { font-size: 1.7rem; }
  .xg-landing-final { padding: 75px 0; }
  .xg-landing-final__layout { gap: 43px; }
  .xg-landing-final h2 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .xg-landing-final__form { padding: 25px 18px; }
}
