/* =============================================
   CSS VARIABLES
   ============================================= */
:root,
[data-theme="light"] {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f3f7fb;
  --surface-3: #ebf2f8;
  --border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --muted: #5f6f82;
  --accent: #0ea5a4;
  --accent-strong: #0b8b8b;
  --accent-soft: rgba(14, 165, 164, 0.10);
  --accent-energy: #ff7a18;
  --accent-lime: #9acd32;
  --danger: #e76f51;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 122, 24, 0.10), transparent 20%),
    radial-gradient(circle at 90% 18%, rgba(14, 165, 164, 0.10), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f6f8fb 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; height: auto; }

/* IMPORTANT: SVG must NOT get max-width:100% globally — it breaks logo sizing */
svg { display: block; }

button, input, textarea { font: inherit; }

/* =============================================
   SKIP LINK
   ============================================= */
.skip-link,
.xms-skip-link {
  position: absolute;
  left: 12px;
  top: -54px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1200;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.22s ease;
}
.skip-link:focus,
.xms-skip-link:focus { top: 12px; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
  margin-inline: auto;
}

/* =============================================
   BRAND MARK (shared — header + footer)
   ============================================= */
.xms-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}

.xms-brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  max-width: 46px;
  min-height: 46px;
  max-height: 46px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.xms-brand__icon svg {
  display: block;
  width: 46px;
  height: 46px;
  min-width: 46px;
  max-width: 46px;
  min-height: 46px;
  max-height: 46px;
}

.xms-brand__label {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}

.xms-brand__label strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.01em;
}

.xms-brand__label small {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =============================================
   HEADER
   ============================================= */
.xms-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0 0;
}

.xms-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  padding: 0 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(5, 12, 26, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
  overflow: visible;
}

.xms-header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 10% 50%, rgba(16, 211, 197, 0.12), transparent 26%),
    radial-gradient(circle at 90% 50%, rgba(255, 138, 36, 0.10), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

/* NAV LINKS */
.xms-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.xms-nav a {
  position: relative;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease;
}

.xms-nav a:hover,
.xms-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.09);
}

.xms-nav a.active::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10d3c5, #ff8a24);
}

/* HEADER CTA */
.xms-header__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #10d3c5, #ff8a24);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(255,138,36,0.22);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.xms-header__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* MOBILE TOGGLE */
.xms-nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.xms-nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

/* =============================================
   FOOTER
   ============================================= */
.xms-footer {
  margin-top: 80px;
  color: #fff;
}

/* CTA BAND */
.xms-footer__cta-band {
  position: relative;
  z-index: 2;
  margin-bottom: -44px;
}

.xms-footer__cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1e36, #132a47, #162f50);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 26px 60px rgba(0,0,0,0.22);
}

.xms-footer__cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(16, 211, 197, 0.18), transparent 30%),
    radial-gradient(circle at 88% 50%, rgba(255, 138, 36, 0.16), transparent 30%);
  pointer-events: none;
}

.xms-footer__kicker {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #10d3c5;
  margin-bottom: 10px;
}

.xms-footer__cta-copy h2 {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 700;
  color: #f8fafc;
  max-width: 22ch;
  line-height: 1.1;
  margin: 0;
}

.xms-footer__cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.xms-btn-solid,
.xms-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.xms-btn-solid {
  background: linear-gradient(90deg, #10d3c5, #ff8a24);
  color: #fff;
  box-shadow: 0 14px 30px rgba(255,138,36,0.22);
}

.xms-btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}

.xms-btn-solid:hover,
.xms-btn-ghost:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* FOOTER MAIN */
.xms-footer__main {
  background: linear-gradient(180deg, #08111f, #091524);
  padding: 88px 0 30px;
}

.xms-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 28px;
  align-items: start;
}

.xms-brand--footer {
  margin-bottom: 18px;
}

.xms-footer__desc {
  max-width: 40ch;
  color: rgba(255,255,255,0.68);
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.xms-footer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xms-footer__pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16,211,197,0.12), rgba(255,138,36,0.12));
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.xms-footer__links-col h4,
.xms-footer__contact-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.xms-footer__links-col ul,
.xms-footer__contact-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xms-footer__links-col a,
.xms-footer__contact-col a,
.xms-footer__contact-col li {
  color: rgba(255,255,255,0.66);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
  display: inline-block;
}

.xms-footer__links-col a:hover,
.xms-footer__contact-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* FOOTER BOTTOM */
.xms-footer__bottom {
  background: #060e1c;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.xms-footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}

.xms-footer__bottom-row p {
  color: rgba(255,255,255,0.52);
  font-size: 0.9rem;
  margin: 0;
}

.xms-footer__bottom-row a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.22s ease;
}

.xms-footer__bottom-row a:hover {
  color: #fff;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

h1, h2 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--text);
}

h1 { font-size: clamp(2.8rem, 5vw, 5.2rem); max-width: 11ch; }
h2 { font-size: clamp(1.9rem, 3vw, 3.2rem); }

h3 {
  font-size: 1.18rem;
  margin: 0 0 10px;
  color: var(--text);
}

p {
  color: var(--muted);
  margin: 0 0 16px;
}

/* =============================================
   BUTTONS
   ============================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.button-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-energy));
  color: #fff;
  border-color: transparent;
}

.button-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(255, 122, 24, 0.18);
}

.button-secondary {
  background: white;
  color: var(--text);
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  padding: 90px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 60ch;
  font-size: 1.05rem;
}

.hero-actions,
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-metrics,
.org-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.hero-metrics article,
.org-summary article {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 20px;
}

.hero-metrics strong,
.org-summary strong {
  display: block;
  font-size: 1.7rem;
  color: var(--text);
}

.hero-panel { display: grid; gap: 18px; }

/* =============================================
   CARDS & SHARED COMPONENTS
   ============================================= */
.stat-card,
.service-card,
.service-detail,
.sports-grid article,
.trust-grid article,
.info-card,
.contact-panel,
.contact-side,
.org-card,
.featured-banner {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stat-card { padding: 24px; }

.stat-card span {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 700;
}

.stat-card strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
  color: var(--text);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.accent-card {
  background: linear-gradient(180deg, rgba(14,165,164,0.12), rgba(255,255,255,1));
}

/* Interactive card hover */
.service-card,
.info-card,
.org-card,
.timeline-card,
.stat-card,
.interactive-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover,
.info-card:hover,
.org-card:hover,
.timeline-card:hover,
.stat-card:hover,
.interactive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
  border-color: rgba(255, 122, 24, 0.24);
}

.card-index,
.org-badge,
.pill {
  background: linear-gradient(90deg, rgba(14,165,164,0.12), rgba(255,122,24,0.12));
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 32px 0 84px; }

.section-muted {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--border);
}

.split-section,
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
  align-items: end;
}

.cards-three,
.trust-grid,
.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.sports-grid article,
.trust-grid article { padding: 28px; }

.card-index {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.featured-banner {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.service-list { display: grid; gap: 18px; }

.service-detail {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: start;
}

.pill {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
}

.featured-service {
  border-color: rgba(14, 165, 164, 0.26);
  background: linear-gradient(180deg, rgba(14,165,164,0.08), #ffffff);
}

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero { padding: 72px 0 24px; }

.page-hero .narrow {
  max-width: 760px;
  margin-inline: 0;
  padding-top: 0;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  max-width: 12ch;
  margin-bottom: 14px;
}

.page-hero p:not(.eyebrow) {
  max-width: 58ch;
  font-size: 1rem;
}

.page-hero-visual {
  position: relative;
  overflow: hidden;
  padding: 78px 0 36px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.page-hero-copy { max-width: 720px; }
.page-hero-copy h1 { max-width: 10ch; }

.page-hero-visual-box {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(244,249,252,0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: 28px;
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(14, 165, 164, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.10), transparent 30%),
    linear-gradient(rgba(14,165,164,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,164,0.05) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  animation: gridFloat 14s linear infinite;
}

/* =============================================
   FLOATING CARDS
   ============================================= */
.hero-floating-card {
  position: absolute;
  width: 240px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  z-index: 2;
}

.hero-floating-card span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

.hero-floating-card strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.card-one { top: 48px; left: 34px; animation: floatCard 5.5s ease-in-out infinite; }
.card-two { right: 34px; top: 160px; animation: floatCard 6.5s ease-in-out infinite; }

.hero-mini-stats {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  z-index: 2;
}

.hero-mini-stats div {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-mini-stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-mini-stats span { color: var(--muted); font-size: 0.9rem; }
.hero-mini-stats div:nth-child(2) { border-color: rgba(255, 122, 24, 0.22); }

/* =============================================
   PREMIUM HERO PANEL
   ============================================= */
.hero-section-premium,
.page-hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-section-premium::before,
.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(14,165,164,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,122,24,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: energeticGrid 18s linear infinite;
  pointer-events: none;
}

.hero-panel-premium {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(244,249,252,0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.hero-panel-premium::after,
.page-hero-visual-box::after,
.featured-banner-premium::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-panel-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(14, 165, 164, 0.16), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(59, 130, 246, 0.10), transparent 26%),
    linear-gradient(rgba(14,165,164,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,164,0.04) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  animation: heroGridMove 16s ease-in-out infinite;
}

.panel-grid-premium {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.floating-card { position: relative; z-index: 2; }
.card-primary { max-width: 320px; margin-top: 22px; animation: floatSoft 6s ease-in-out infinite; }
.card-secondary { animation: floatSoft 7s ease-in-out infinite; }
.card-tertiary { animation: floatSoft 8s ease-in-out infinite; }

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 164, 0.12);
  z-index: 1;
}

.hero-orbit-one { width: 360px; height: 360px; right: -40px; top: 20px; animation: orbitPulse 10s ease-in-out infinite; }
.hero-orbit-two { width: 220px; height: 220px; left: 90px; bottom: 110px; animation: orbitPulse 7s ease-in-out infinite; }

/* =============================================
   ENERGY BADGE
   ============================================= */
.energy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14,165,164,0.12), rgba(255,122,24,0.12));
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* =============================================
   IMAGE FEATURE
   ============================================= */
.image-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sports-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 320px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.sports-image-card img { width: 100%; height: 100%; object-fit: cover; }

.sports-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.58) 100%);
}

.sports-image-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: white;
}

.sports-image-content h3,
.sports-image-content p { color: white; }

/* =============================================
   TIMELINE
   ============================================= */
.timeline { display: grid; gap: 18px; }

.timeline article {
  padding: 28px;
  border-left: 3px solid rgba(14,165,164,0.45);
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.timeline span {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.timeline-premium { position: relative; display: grid; gap: 22px; }

.timeline-card {
  position: relative;
  padding: 28px 28px 28px 34px;
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 4px solid rgba(14, 165, 164, 0.42);
  border-radius: 0 20px 20px 0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-panel,
.contact-side { padding: 28px; }

.contact-side { display: grid; gap: 16px; }

.contact-form { display: grid; gap: 16px; }

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 164, 0.45);
  box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.10);
}

.contact-form .button { margin-top: 6px; }

.contact-panel > p { margin-bottom: 18px; max-width: 56ch; }

.info-card { padding: 22px; }

/* =============================================
   ORG CHART
   ============================================= */
.org-chart-wrap { overflow-x: auto; padding-bottom: 10px; }

.org-chart { min-width: 1080px; display: grid; gap: 22px; }

.org-level.center { display: flex; justify-content: center; }
.org-level.five-col,
.org-level.grid-team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.org-card { padding: 18px; text-align: center; }
.org-card.primary { background: linear-gradient(180deg, rgba(14,165,164,0.15), #ffffff); }

.org-chart-premium { min-width: 1120px; gap: 22px; }

.org-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 164, 0.10);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lead-card {
  min-width: 320px;
  background: linear-gradient(180deg, rgba(14,165,164,0.16), #ffffff);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes gridFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(12px); }
  100% { transform: translateY(0px); }
}

@keyframes energeticGrid {
  0% { transform: translateY(0px); }
  50% { transform: translateY(16px); }
  100% { transform: translateY(0px); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

@keyframes heroGridMove {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(14px); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .xms-header__cta { display: none; }

  .xms-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .xms-footer__brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-section,
  .section-heading,
  .featured-banner,
  .contact-grid,
  .cards-three,
  .trust-grid,
  .sports-grid,
  .page-hero-grid,
  .image-feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .org-summary {
    grid-template-columns: 1fr;
  }

  .page-hero { padding: 56px 0 18px; }
  .page-hero .narrow { max-width: 100%; }
  .page-hero h1 { max-width: 100%; font-size: clamp(2rem, 8vw, 3rem); }
  .page-hero-visual-box { min-height: 380px; }
  .hero-panel-premium { min-height: 460px; }
  .card-primary { max-width: 100%; }
}

@media (max-width: 860px) {
  /* Collapse header nav on mobile */
  .xms-header__bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .xms-nav-toggle { display: inline-flex; }

  .xms-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(5, 12, 26, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  }

  .xms-nav.open { display: flex; }

  .xms-nav a { width: 100%; }

  /* Footer CTA */
  .xms-footer__cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .xms-footer__cta-copy h2 {
    max-width: 100%;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .xms-header { padding-top: 10px; }

  .xms-header__bar {
    padding: 0 14px;
    min-height: 68px;
    border-radius: 16px;
  }

  h1 { max-width: 100%; }

  .service-detail { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }

  .page-hero { padding: 46px 0 12px; }
  .page-hero p:not(.eyebrow) { max-width: 100%; }

  .hero-panel-premium { min-height: auto; padding: 20px; }

  .panel-grid-premium {
    position: relative;
    left: auto; right: auto; bottom: auto;
    margin-top: 18px;
  }

  .hero-orbit { display: none; }

  .hero-floating-card {
    position: relative;
    width: 100%;
    top: auto; left: auto; right: auto;
    margin-bottom: 14px;
    animation: none;
  }

  .hero-mini-stats {
    position: relative;
    left: auto; right: auto; bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .page-hero-visual-box { padding: 20px; min-height: auto; }

  .xms-footer__grid { grid-template-columns: 1fr; }

  .xms-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================
   PAGE-LEVEL ADDITIONS — append to style.css
   ============================================= */

.xms-section { padding: 64px 0; }

.xms-section--dark {
  background: linear-gradient(180deg, #f3f7fb 0%, #ebf2f8 100%);
  border-block: 1px solid var(--border);
}

.xms-section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 40px;
}

.xms-section__header h2 { margin-bottom: 0; }

/* HOME HERO */
.xms-hero { padding: 90px 0 56px; }
.xms-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.xms-hero__copy { max-width: 60ch; }

/* PAGE HERO */
.xms-page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 36px;
}
.xms-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(14,165,164,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,122,24,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: energeticGrid 18s linear infinite;
  pointer-events: none;
}
.xms-page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.xms-page-hero__copy h1 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  max-width: 12ch;
  margin-bottom: 14px;
}
.xms-page-hero__copy p:not(.eyebrow) { max-width: 58ch; font-size: 1rem; }
.xms-page-hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(244,249,252,0.97));
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 20px 60px rgba(15,23,42,0.08);
  overflow: hidden;
  padding: 28px;
}

/* CARDS */
.xms-card {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.xms-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px rgba(15,23,42,0.12);
  border-color: rgba(255,122,24,0.24);
}
.xms-card__icon { font-size: 2rem; margin-bottom: 14px; }

.cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.xms-sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* TIMELINE */
.xms-timeline { display: grid; gap: 0; position: relative; }
.xms-timeline::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(255,122,24,0.4));
}
.xms-timeline__step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 0 0 32px;
  position: relative;
}
.xms-timeline__step:last-child { padding-bottom: 0; }
.xms-timeline__step-num {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-energy));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(14,165,164,0.25);
  margin-top: 4px;
}
.xms-timeline__step-body {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(14,165,164,0.42);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow);
  padding: 22px 26px;
}
.xms-timeline__step-body h3 { margin-bottom: 8px; font-size: 1.12rem; }

/* FEATURED BAND */
.xms-featured-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 28px;
  border: 1px solid rgba(14,165,164,0.2);
  background: linear-gradient(135deg, rgba(14,165,164,0.07), rgba(255,122,24,0.05), #ffffff);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.xms-featured-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  background: radial-gradient(circle, rgba(255,122,24,0.10), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.xms-featured-band__copy h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  max-width: 22ch;
  margin-bottom: 12px;
}
.xms-featured-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* TEAM STATS */
.xms-team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.xms-team-stats__card {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 30px;
  text-align: center;
}
.xms-team-stats__card strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.xms-team-stats__card span { color: var(--muted); font-size: 0.95rem; }

/* ORG CHART */
.xms-org-wrap { overflow-x: auto; padding-bottom: 10px; }
.xms-org { min-width: 1100px; display: grid; gap: 24px; }
.xms-org__level { display: flex; gap: 14px; }
.xms-org__level--center { justify-content: center; }
.xms-org__level--five { display: grid; grid-template-columns: repeat(5, 1fr); }
.xms-org__level--grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.xms-org__card {
  background: linear-gradient(180deg, #ffffff, #f5f9fd);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15,23,42,0.07);
  padding: 16px 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.xms-org__card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15,23,42,0.12); }
.xms-org__card h2 { font-size: 1.05rem; margin: 8px 0 4px; font-family: var(--font-body); letter-spacing: 0; }
.xms-org__card h3 { font-size: 0.9rem; margin: 8px 0 4px; }
.xms-org__card p { font-size: 0.84rem; color: var(--muted); margin: 0; }
.xms-org__card--lead {
  min-width: 280px;
  background: linear-gradient(180deg, rgba(14,165,164,0.13), #ffffff);
  border-color: rgba(14,165,164,0.22);
  padding: 24px 32px;
}
.xms-org__card--lead h2 { font-size: 1.2rem; font-family: var(--font-display); }

/* CONTACT */
.xms-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.xms-contact-form-panel {
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 34px;
}
.xms-contact-form-panel h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 2vw, 2rem); }
.xms-contact-form-panel > p { margin-bottom: 24px; max-width: 54ch; }
.xms-contact-side { display: grid; gap: 14px; }
.xms-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(15,23,42,0.07);
  padding: 18px 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.xms-info-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,0.10); }
.xms-info-card__icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.xms-info-card h3 { font-size: 0.9rem; margin: 0 0 4px; }
.xms-info-card p { margin: 0; font-size: 0.95rem; }
.xms-info-card a { color: var(--accent); }
.xms-info-card a:hover { color: var(--accent-strong); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .xms-section__header,
  .xms-hero__grid,
  .xms-page-hero__grid,
  .xms-featured-band,
  .xms-contact-grid,
  .cards-three,
  .xms-sports-grid,
  .xms-team-stats { grid-template-columns: 1fr; }
  .xms-page-hero { padding: 56px 0 24px; }
  .xms-page-hero__copy h1 { max-width: 100%; }
  .xms-page-hero__visual { min-height: 380px; }
  .xms-featured-band { padding: 26px 24px; }
  .xms-featured-band__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .xms-section { padding: 48px 0; }
  .xms-hero { padding: 64px 0 40px; }
  .xms-page-hero { padding: 48px 0 18px; }
  .xms-page-hero__visual { min-height: auto; padding: 20px; }
  .xms-timeline::before { display: none; }
  .xms-timeline__step { grid-template-columns: 1fr; gap: 10px; }
  .xms-timeline__step-num { width: 42px; height: 42px; min-width: 42px; font-size: 0.9rem; }
  .xms-contact-form-panel { padding: 22px; }
  .xms-featured-band { padding: 22px 20px; }
  .xms-org { min-width: 760px; }
  .xms-org__level--five,
  .xms-org__level--grid { grid-template-columns: repeat(3, 1fr); }
}