/* ============================================
   OSPREY SPORTS — Sport-Tech Premium CSS
   Mockup Faithful Rebuild
   ============================================ */

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --near-black: #0A0A0A;
  --anthracite: #1A1A1A;
  --mid-grey: #2A2A2A;
  --border-grey: #333333;
  --text-grey: #A0A0A0;
  --light-grey: #8A8A8A;
  --white: #FFFFFF;
  --volt: #CEFF00;
  --volt-hover: #DFFF4D;
  --volt-dim: rgba(206, 255, 0, 0.15);

  /* --font-display: 'Barlow Condensed', 'Impact', sans-serif; */
  --font-display: 'Fredoka', 'Impact', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --max-width: 1320px;
  --header-height: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;

  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h1 { font-size: clamp(40px, 8vw, 80px); font-weight: 500; }
h2 { font-size: clamp(28px, 5vw, 52px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(16px, 2vw, 22px); }

p {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: var(--text-grey);
}

.text-volt { color: var(--volt); }
.text-white { color: var(--white); }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-grey);
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 60px; } }

section { padding: 96px 0; position: relative; }
@media (min-width: 768px) { section { padding: 128px 0; } }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header--center p {
  max-width: 520px;
  margin-top: 12px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 300ms var(--ease-out);
  position: relative;
  border-radius: 5px;
}

.btn-volt {
  background: var(--volt);
  color: var(--black);
}

.btn-volt:hover {
  background: var(--volt-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(206, 255, 0, 0.3);
}

.btn-outline-volt {
  background: transparent;
  color: var(--volt);
  border: 1px solid var(--volt);
}

.btn-outline-volt:hover {
  background: var(--volt);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--anthracite);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.3);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn--full { width: 100%; }

.link-ghost {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--volt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 300ms;
}

.link-ghost:hover { opacity: 0.7; }
.link-ghost .arrow { transition: transform 300ms var(--ease-out); }
.link-ghost:hover .arrow { transform: translateX(4px); display: inline-block; }

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 400ms var(--ease-smooth);
  background: rgb(0 0 0 / 35%);
  backdrop-filter: blur(7px);

}

.header.scrolled {
  background: rgb(37 41 44 / 19%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-grey);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-logo img { height: 50px; width: auto; }

.header-nav {
  display: none;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) { .header-nav { display: flex; } }

.header-nav a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  transition: color 300ms;
  position: relative;
}

.header-nav a:hover,
.header-nav a.active { color: var(--white); }

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--volt);
  transition: width 300ms var(--ease-out);
}

.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: flex; } }
.header-cta .btn { padding: 10px 24px; font-size: 12px; border-radius: 5px; }

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

@media (min-width: 1024px) { .menu-toggle { display: none; } }

.menu-toggle span {
  display: block;
  width: 28px; height: 2px;
  background: var(--white);
  transition: all 300ms var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.mobile-menu.active { pointer-events: all; }

.menu-cut {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vmax;
  height: 100vmax;
  /* background: var(--anthracite); */
  background: #23a2e0;
  transform: translateX(-50%) translateY(-50%);
  clip-path: polygon(
    50.00306% 50.02837%,
    50.00271% 50.02855%,
    50.00207% 50.02845%,
    50.00126% 50.02802%,
    50.00042% 50.02747%,
    50% 50.02702%,
    50.00032% 50.02639%,
    50.00089% 50.02589%,
    50.00179% 50.0255%,
    50.00297% 50.02464%,
    50.00403% 50.02348%,
    50.00507% 50.02239%,
    50.00593% 50.02212%,
    50.00665% 50.0215%,
    50.007% 50.02106%,
    50.00723% 50.02039%,
    50.00633% 50.02028%,
    50.00511% 50.01999%,
    50.00383% 50.02094%,
    50.00266% 50.02187%,
    50.0023% 50.022%,
    50.00185% 50.02195%,
    50.00152% 50.02173%,
    50.00142% 50.02129%,
    50.00164% 50.02065%,
    50.00277% 50.0193%,
    50.00372% 50.01857%,
    50.00442% 50.01824%,
    50.00488% 50.01821%,
    50.00568% 50.01782%,
    50.00621% 50.01766%,
    50.0066% 50.01763%,
    50.00648% 50.01699%,
    50.00659% 50.01493%,
    50.00682% 50.01356%,
    50.00715% 50.01301%,
    50.00747% 50.0127%,
    50.00773% 50.01196%,
    50.00821% 50.01126%,
    50.00894% 50.01054%,
    50.00979% 50.00875%,
    50.01046% 50.00735%,
    50.00956% 50.00751%,
    50.00892% 50.00687%,
    50.0056% 50.00907%,
    50.00473% 50.00958%,
    50.0044% 50.00992%,
    50.00377% 50.00986%,
    50.00326% 50.01023%,
    50.00299% 50.0102%,
    50.0025% 50.00981%,
    50.00243% 50.00958%,
    50.00244% 50.00938%,
    50.00235% 50.00915%,
    50.00263% 50.00903%,
    50.00309% 50.00852%,
    50.00403% 50.00863%,
    50.00457% 50.00857%,
    50.00561% 50.00774%,
    50.00733% 50.00565%,
    50.00739% 50.00521%,
    50.01046% 50.00359%,
    50.01098% 50.00343%,
    50.011868% 50.00343%,
    50.01242% 50.00355%,
    50.013562% 50.00355%,
    50.01374% 50.00343%,
    50.01391% 50.00317%,
    50.01394% 50.00208%,
    50.01418% 50.00117%,
    50.0146% 50.00054%,
    50.01515% 50.00012%,
    50.01568% 50%,
    50.01646% 50.00007%,
    50.01708% 50.00034%,
    50.01767% 50.0009%,
    50.018% 50.00148%,
    50.01804% 50.00226%,
    50.01794% 50.00246%,
    50.0177% 50.00268%,
    50.01758% 50.00327%,
    50.01714% 50.00386%,
    50.01664% 50.0043%,
    50.01664% 50.004543%,
    50.01833% 50.00585%,
    50.01886% 50.00686%,
    50.0193% 50.00824%,
    50.01985% 50.01008%,
    50.02% 50.01066%,
    50.01999% 50.01133%,
    50.01961% 50.01202%,
    50.01887% 50.0132%,
    50.01863% 50.01378%,
    50.01851% 50.01426%,
    50.0177% 50.01519%,
    50.0175% 50.0153%,
    50.01737% 50.01517%,
    50.01737% 50.014906%,
    50.01707% 50.01496%,
    50.01684% 50.01476%,
    50.01664% 50.0147%,
    50.0166% 50.01446%,
    50.01671% 50.01427%,
    50.01663% 50.01382%,
    50.01653% 50.01374%,
    50.01655% 50.0136%,
    50.01684% 50.01327%,
    50.01691% 50.01294%,
    50.01753% 50.01261%,
    50.01781% 50.01251%,
    50.01819% 50.0118%,
    50.01821% 50.01163%,
    50.01796% 50.0116%,
    50.01739% 50.00996%,
    50.01716% 50.00987%,
    50.01675% 50.00999%,
    50.01657% 50.01007%,
    50.01526% 50.01255%,
    50.01513% 50.0132%,
    50.01508% 50.01406%,
    50.01491% 50.01427%,
    50.01436% 50.0147%,
    50.01436% 50.015148%,
    50.01374% 50.01581%,
    50.0136% 50.01675%,
    50.01317% 50.01796%,
    50.01234% 50.01926%,
    50.01116% 50.02061%,
    50.00925% 50.02191%,
    50.00888% 50.02237%,
    50.00863% 50.02274%,
    50.00833% 50.02285%,
    50.00793% 50.02294%,
    50.00761% 50.02335%,
    50.00606% 50.02453%,
    50.00441% 50.02566%,
    50.00331% 50.0262%,
    50.00241% 50.02669%,
    50.00242% 50.02716%,
    50.00276% 50.02788%,
    50.01155% 50.02566%,
    50.01157% 50.02524%,
    50.01167% 50.02485%,
    50.01184% 50.02453%,
    50.0121% 50.02421%,
    50.01244% 50.02394%,
    50.01283% 50.02374%,
    50.01327% 50.02362%,
    50.01372% 50.0236%,
    50.0142% 50.02369%,
    50.01461% 50.02385%,
    50.01492% 50.02407%,
    50.01517% 50.02434%,
    50.01539% 50.02464%,
    50.01555% 50.025%,
    50.01561% 50.0254%,
    50.01561% 50.025791%,
    50.01554% 50.02618%,
    50.01544% 50.02652%,
    50.01527% 50.02683%,
    50.01506% 50.02712%,
    50.01475% 50.02739%,
    50.01441% 50.02757%,
    50.01404% 50.02768%,
    50.01364% 50.02774%,
    50.01322% 50.02767%,
    50.01285% 50.02755%,
    50.01245% 50.02735%,
    50.01213% 50.02714%,
    50.01188% 50.02684%,
    50.01171% 50.0265%,
    50.01157% 50.02609%,
    50.01155% 50.02566%,
    50.00276% 50.02788%,
    50.00307% 50.02817%
  );
  transition: clip-path 800ms var(--ease-out);
}

.mobile-menu.active .menu-cut {
  clip-path: polygon(
    -170.92624% 457.93725%,
    -179.608% 462.30554%,
    -195.70492% 459.95335%,
    -215.80644% 449.20069%,
    -236.9758% 435.42381%,
    -247.39247% 423.99906%,
    -239.50725% 408.36844%,
    -225.11417% 395.8136%,
    -202.70161% 386.02865%,
    -173.13171% 364.52325%,
    -146.58602% 335.6254%,
    -120.71236% 308.40765%,
    -99.20699% 301.68725%,
    -81.06184% 286.23025%,
    -72.32527% 275.14156%,
    -66.6129% 258.34046%,
    -89.12635% 255.65231%,
    -119.7043% 248.25985%,
    -151.62634% 272.11735%,
    -180.86021% 295.30285%,
    -189.93279% 298.66306%,
    -201.0215% 297.31896%,
    -209.42203% 291.9426%,
    -211.77418% 280.8539%,
    -206.39785% 264.7249%,
    -178.17204% 231.12275%,
    -154.31451% 212.97756%,
    -136.8414% 204.57704%,
    -125.41666% 203.905%,
    -105.25537% 194.16038%,
    -92.15055% 190.12813%,
    -82.40591% 189.45608%,
    -85.43011% 173.32704%,
    -82.74194% 121.91575%,
    -77.02958% 87.64159%,
    -68.62904% 73.8647%,
    -60.56452% 66.1362%,
    -54.18011% 47.65501%,
    -42.08334% 30.18189%,
    -23.93818% 12.03674%,
    -2.76883% -32.65412%,
    14.03226% -67.60036%,
    -8.48119% -63.5681%,
    -24.27419% -79.69712%,
    -107.37763% -24.61605%,
    -129.21903% -11.84723%,
    -137.28355% -3.4467%,
    -153.07656% -4.79078%,
    -165.84537% 4.2818%,
    -172.56581% 3.60975%,
    -184.9986% -6.13486%,
    -186.67871% -11.84723%,
    -186.34268% -16.88756%,
    -188.69483% -22.59992%,
    -181.63838% -25.62412%,
    -170.21366% -38.39293%,
    -146.69215% -35.70476%,
    -133.25129% -37.04884%,
    -107.04161% -57.88218%,
    -64.26075% -110.27507%,
    -62.58065% -121.02777%,
    14.03226% -161.68637%,
    27.13707% -165.71863%,
    49.314517% -165.71863%,
    63.09138% -162.69443%,
    91.653227% -162.69443%,
    96.02152% -165.71863%,
    100.38977% -172.10303%,
    101.06182% -199.32078%,
    107.11019% -222.17023%,
    117.52688% -237.96324%,
    131.30377% -248.37991%,
    144.74459% -251.4041%,
    164.23388% -249.724%,
    179.69082% -243.00357%,
    194.47578% -228.89066%,
    202.5403% -214.44173%,
    203.54838% -194.95249%,
    201.19622% -189.91218%,
    195.14782% -184.53583%,
    192.12363% -169.75088%,
    181.03491% -154.96593%,
    168.60213% -143.87722%,
    168.60213% -137.82884%,
    210.9408% -105.23476%,
    224.04565% -80.03315%,
    235.13438% -45.42293%,
    248.91128% 0.61201%,
    252.60753% 15.06094%,
    252.27147% 31.86201%,
    242.86288% 48.99911%,
    224.38165% 78.56899%,
    218.3333% 93.01793%,
    215.30913% 105.1147%,
    195.14782% 128.30015%,
    190.10753% 130.98835%,
    186.74728% 127.96413%,
    186.74728% 121.24374%,
    179.35482% 122.58783%,
    173.64247% 117.54749%,
    168.60213% 116.20341%,
    167.59407% 110.15501%,
    170.28222% 105.4507%,
    168.26613% 94.02599%,
    165.91397% 92.00986%,
    166.24997% 88.64964%,
    173.64247% 80.24911%,
    175.32257% 72.18459%,
    190.77953% 63.78405%,
    197.83603% 61.43189%,
    207.24463% 43.62276%,
    207.91663% 39.25449%,
    201.53222% 38.58245%,
    187.41932% -2.41218%,
    181.70697% -4.76433%,
    171.29032% -1.74014%,
    166.92203% 0.27599%,
    133.99192% 62.43995%,
    130.96773% 78.56899%,
    129.62363% 100.07436%,
    125.25534% 105.4507%,
    111.47848% 116.20341%,
    111.47848% 127.2921%,
    96.02152% 143.75715%,
    92.66129% 167.27865%,
    81.90859% 197.5206%,
    61.07527% 230.11465%,
    31.50536% 263.71681%,
    -16.20969% 296.3109%,
    -25.28226% 307.73565%,
    -31.66667% 317.14425%,
    -39.05915% 319.8324%,
    -49.13979% 322.18456%,
    -57.2043% 332.26519%,
    -95.84677% 361.8351%,
    -137.17741% 390.0609%,
    -164.73118% 403.50175%,
    -187.14374% 415.95475%,
    -186.9086% 427.69531%,
    -178.26391% 445.50444%,
    41.26819% 390.019%,
    41.88904% 379.66285%,
    44.46107% 369.7945%,
    48.57967% 361.80315%,
    55.09111% 353.959%,
    63.48144% 347.11131%,
    73.38573% 342.1686%,
    84.30079% 339.16865%,
    95.70369% 338.60769%,
    107.57677% 340.73975%,
    117.98642% 344.82294%,
    125.59223% 350.42985%,
    131.73467% 357.01235%,
    137.24629% 364.5189%,
    141.29454% 373.4889%,
    142.75232% 383.67794%,
    142.74669% 393.37925%,
    141.10869% 403.19335%,
    138.49509% 411.5441%,
    134.29677% 419.3769%,
    129.12282% 426.72194%,
    121.25467% 433.24956%,
    112.89873% 437.82594%,
    103.53704% 440.69585%,
    93.68754% 442.10235%,
    83.08992% 440.4369%,
    73.95567% 437.30806%,
    63.96757% 432.3811%,
    55.93069% 426.96635%,
    49.68927% 419.4975%,
    45.39902% 411.05306%,
    41.87019% 400.7799%,
    41.26819% 390.019%,
    -178.26391% 445.50444%,
    -170.59022% 452.8969%
  );
  transition: clip-path 800ms var(--ease-in);
}

.menu-contents {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.menu-contents a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 400ms var(--ease-out);
}

.mobile-menu.active .menu-contents a { opacity: 1; transform: translateY(0); }
.mobile-menu.active .menu-contents a:nth-child(1) { transition-delay: 80ms; }
.mobile-menu.active .menu-contents a:nth-child(2) { transition-delay: 130ms; }
.mobile-menu.active .menu-contents a:nth-child(3) { transition-delay: 180ms; }
.mobile-menu.active .menu-contents a:nth-child(4) { transition-delay: 230ms; }
.mobile-menu.active .menu-contents a:nth-child(5) { transition-delay: 280ms; }
.mobile-menu.active .menu-contents a:nth-child(6) { transition-delay: 330ms; }
.menu-contents a:hover { color: var(--volt); }

/* ============================================
   MEGA MENU — Custom Gear Dropdown
   ============================================ */

/* --- Trigger active state --- */
.mega-trigger {
  cursor: pointer;
  user-select: none;
  transition: background 250ms var(--ease-out), color 250ms var(--ease-out);
  /*
  border-radius: 4px;
  padding: 6px 12px;
  margin: -6px -12px; /* absorb padding so layout doesn't shift */
  position: relative;
  z-index: 1;
}

.mega-trigger.mega-open {
  /* background: var(--volt); */
  color: black !important;
}

.mega-trigger.mega-open::after {
  width: 0 !important; /* hide the hover underline when active */
}

/* Light-theme override for trigger */
body.light .mega-trigger.mega-open {
  /* background: var(--volt); */
  color: #ffffff !important;
}
.mega-trigger.mega-open::before {
  content: ' ';
  position: absolute;
  left: -10px; top: -10px;
  right: -10px; bottom: -10px;
  background: var(--volt);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: -1;
}

/* --- Panel --- */
.mega-menu {
  position: fixed;
  top: calc(var(--header-height) - 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: 708px;
  max-width: 98vw;
  z-index: 10000;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.18);
  border-top: 5px solid var(--volt);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}

.mega-menu.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* --- Inner layout: 2 columns --- */
.mega-menu-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 10px;
}

/* --- Left column: sports list --- */
.mega-col-left {
  flex-shrink: 0;
  width: max-content;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  background: #ffffff;
}

.mega-sport-item {
  display: flex;
  align-items: center;
  padding: 5px 20px;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
  position: relative;
  justify-content: center;
}

.mega-sport-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--volt);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
  pointer-events: none;
}

.mega-sport-item:hover,
.mega-sport-item.mega-active {
  color: #000000;
  font-weight: 500;
}

.mega-sport-item:hover::before,
.mega-sport-item.mega-active::before {
  opacity: 0.8;
}

body.light .mega-sport-item:hover,
body.light .mega-sport-item.mega-active {
  color: #ffffff;
}

.mega-sport-title {
  position: relative;
  z-index: 1;
}

/* --- Right column: image area --- */
.mega-col-right {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0 0 12px 0;
}

.mega-img-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mega-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Current image — visible by default */
.mega-img-current {
  z-index: 1;
  transform: translateY(0);
}

/* Dynamic transition layers appended by JS */
.mega-img-layer {
  pointer-events: none;
  will-change: transform;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-img-layer.enter-from-bottom {
  transform: translateY(100%) scale(0.8);
}

.mega-img-layer.enter-from-top {
  transform: translateY(-100%) scale(0.8);
}

.mega-img-layer.in-place {
  transform: translateY(0) scale(1);
}

.mega-img-track.is-animating .mega-img-current {
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .mega-menu {
    top: var(--header-height);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0 0 12px 12px;
    left: 0;
    transform: translateY(-12px);
  }

  .mega-menu.active {
    transform: translateY(0);
  }

  .mega-menu-inner {
    flex-direction: column;
  }

  .mega-col-left {
    width: 100%;
    min-width: 0;
    flex-shrink: 1;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .mega-sport-item {
    flex: 1 1 auto;
    justify-content: center;
    padding: 12px 14px;
    font-size: 13px;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .mega-sport-item:hover,
  .mega-sport-item.mega-active {
    border-left-color: transparent;
    border-bottom-color: var(--volt);
  }

  .mega-col-right {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  overflow: clip;
  background: var(--black);
  padding: 0;
  height: 260vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-split-row {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100vw;
  height: 100%;
  margin: 0 auto;
  gap: 0;
  padding: 0;
}

.hero-side {
  position: relative;
  width: 0;
  opacity: 0;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  will-change: width, transform, opacity;
}

.hero-side--left {
  transform: translateX(-100%);
}

.hero-side--right {
  transform: translateX(100%);
}

.hero-side-img-wrap {
  position: relative;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.hero-side-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.1);
}

.hero-center {
  position: relative;
  width: 100vw;
  height: 100%;
  margin-top: 0;
  flex: 0 0 auto;
  align-self: flex-start;
  overflow: hidden;
  will-change: width, height, margin-top, border-radius;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img,
.hero-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.12);
  aspect-ratio: 4 / 3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.75) 35%,
      rgba(0,0,0,0.3) 65%,
      rgba(0,0,0,0.15) 100%
    );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: min(90vw, 800px);
  text-align: center;
  pointer-events: none;
}

.hero-title {
  line-height: 1.03;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.22em;
}

.hero-title br {
  flex-basis: 100%;
  height: 0;
  overflow: hidden;
}

.hero-word,
.hero-subword {
  font-family: 'Barlow', 'Impact', sans-serif;
  display: inline-block;
  transition: opacity 120ms linear, filter 120ms linear;
}

.outlineWhite {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.hero-subtitle {
  font-size: clamp(14px, 3vw, 28px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-subword {
  margin-right: 0.25em;
}

.hero-cta {
  pointer-events: all;
}

/* Scattered technical metadata */
.hero-meta {
  position: absolute;
  z-index: 5;
  display: none;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-meta { display: flex; }
}

.hero-meta--left {
  left: 26px;
  bottom: 84px;
}

.hero-meta--right {
  right: 26px;
  top: 98px;
  align-items: flex-end;
}

.hero-meta .mono-tag {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
}

.hero-stars {
  display: flex;
  gap: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: pulse 2.5s ease infinite;
}

.hero-scroll svg { width: 18px; height: 18px; }

@media (max-width: 1023px) {
  .hero {
    height: 190vh;
  }

  .hero-content {
    width: min(92vw, 700px);
  }

  .hero-subtitle,
  .underhero-sub-words {
    font-size: clamp(14px, 4vw, 24px);
  }
}

@media (max-width: 767px) {
  .hero {
    height: 160vh;
  }

  .hero-content {
    width: min(94vw, 560px);
  }

  .hero-title {
    gap: 0.17em;
  }

  .outlineWhite {
    -webkit-text-stroke: 1.5px white;
  }
}

.underhero-sub-words {
    text-align: center;
    font-size: clamp(14px, 3vw, 28px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-top: -15%;
    margin-bottom: 20%;
    z-index: 9999999999;
    position: relative;
}

/* ============================================
   SPORTS GRID (Mosaic)
   ============================================ */

.sports-section {
  overflow: hidden;
  background-image: url(../img/grid_top_right_alpha25.png);
  background-position: top right;
  background-repeat: no-repeat;
}

.sports-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1; /* Place l'image derrière le contenu */
  
  background: var(--black);
  background-image: url(../img/grid_top_right_alpha25_180.png);
  background-position: bottom left;
  background-repeat: no-repeat;
}

.dotted-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.sports-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  --mosaic-gap: 8px;
  gap: var(--mosaic-gap);
}

@media (min-width: 768px) {
  .sports-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
  }
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.mosaic-card--tall {
  aspect-ratio: 4/3;
}

@media (min-width: 768px) {
  .mosaic-card--tall {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    height: 100%;
  }

  .mosaic-card--top-mid {
    grid-column: 2;
    grid-row: 1;
  }

  .mosaic-card--top-right {
    grid-column: 3;
    grid-row: 1;
  }

  .mosaic-card--mid-mid {
    grid-column: 2;
    grid-row: 2;
  }

  .mosaic-card--mid-right {
    grid-column: 3;
    grid-row: 2;
  }
}

.mosaic-card--bottom-left img {
  object-position: center bottom;
}

@media (min-width: 768px) {
  .mosaic-card--bottom-left {
    grid-column: 1;
    grid-row: 3;
  }

  .mosaic-card--bottom-mid {
    grid-column: 2;
    grid-row: 3;
  }

  .mosaic-card--bottom-right {
    grid-column: 3;
    grid-row: 3;
  }
}

.mosaic-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.15);
  transition: transform 600ms var(--ease-out), filter 600ms;
}

.mosaic-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.7) contrast(1.2);
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.mosaic-card h3 {
  font-size: clamp(16px, 2.5vw, 24px);
}

.mosaic-card--accent {
  background: var(--anthracite);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Technical labels */
.tech-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(206,255,0,0.7);
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.tech-label--line::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 24px;
  height: 1px;
  background: var(--volt);
  opacity: 0.5;
}

.tech-label--floating {
  position: absolute;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(206,255,0,0.2);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-section {
  background: var(--anthracite);
}

.steps-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .steps-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.step-card {
  flex: 1;
  text-align: center;
  max-width: 320px;
  position: relative;
}

.step-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  /* border: 1px solid var(--border-grey); */
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--volt);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.6;
}

.step-connector {
  display: none;
  align-items: center;
  padding-top: 40px;
}

@media (min-width: 768px) {
  .step-connector { display: flex; }
}

/* ============================================
   SHOWCASE — Zoom Parallax
   ============================================ */

.showcase-section {
  background: var(--black);
  overflow: visible;
  /* Subtle fabric texture via gradient */
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.008) 2px,
      rgba(255,255,255,0.008) 4px
    );
}

/* The scroll driver — 300vh gives 2 full viewports of scroll beyond the sticky area */
.zoom-parallax {
  position: relative;
  height: 300vh;
}

/* Sticky wrapper — freezes at top of viewport, hides overflow so zooming images stay contained */
.zp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  /*
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  */
}

/* Each item is a full-screen flex container, absolutely positioned.
   All items overlap; their scale animation creates depth. */
.zp-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* will-change: transform; */
  /* Default scale=1, updated by JS on scroll */
}

/* Inner image wrapper — default size: 25vh × 25vw, relative for positioning overrides */
.zp-img-wrap {
  position: relative;
  height: 25vh;
  width: 25vw;
  overflow: hidden;
}

.zp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* filter: saturate(0.5) contrast(1.15); */
}

/* ---- Image 0 (centre, data-scale=4) — high-quality rasterization fix ----
   The wrapper is sized at its FINAL zoomed size (100vw × 100vh = 4× the original 25vw × 25vh).
   A counter-transform scale(0.25) makes it appear small initially.
   Net visual at progress=0 : scale(1) × scale(0.25) × 100vw = 25vw  ← same as before ✓
   Net visual at progress=1 : scale(4) × scale(0.25) × 100vw = 100vw ← full screen ✓
   Because the wrapper is always sized at 100vw × 100vh the GPU compositor
   rasterises the image at full viewport resolution. Scaling UP a full-res
   raster is crisp; there is no pixelisation. */
.zp-item--0 .zp-img-wrap {
  width: 100vw;
  height: 100vh;
  transform: scale(0.25);
  transform-origin: center center;
}

/* ---- Position overrides per image ---- */
/* Image 1 : top-left, larger */
.zp-item--1 .zp-img-wrap {
  top: -30vh;
  left: 5vw;
  height: 30vh;
  width: 35vw;
}

/* Image 2 : far-left, tall */
.zp-item--2 .zp-img-wrap {
  top: -10vh;
  left: -25vw;
  height: 45vh;
  width: 20vw;
}

/* Image 3 : right-centre */
.zp-item--3 .zp-img-wrap {
  /* top stays 0 (default) */
  left: 27.5vw;
  height: 25vh;
  width: 25vw;
}

/* Image 4 : bottom-left */
.zp-item--4 .zp-img-wrap {
  top: 27.5vh;
  left: 5vw;
  height: 25vh;
  width: 20vw;
}

/* Image 5 : far-left bottom, wide */
.zp-item--5 .zp-img-wrap {
  top: 27.5vh;
  left: -22.5vw;
  height: 25vh;
  width: 30vw;
}

/* Image 6 : bottom-right, small accent */
.zp-item--6 .zp-img-wrap {
  top: 22.5vh;
  left: 25vw;
  height: 15vh;
  width: 15vw;
}

/* ---- Mobile adjustments ---- */
@media (max-width: 767px) {
  /* Hide desktop zoom parallax on mobile */
  #zoomParallax {
    display: none;
  }

  /* ===== Mobile Zoom Parallax ===== */
  .zoom-parallax-mobile {
    position: relative;
    height: 200vh;
  }

  .zp-mobile-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .zp-mobile-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Initial scale 0.3 — JS will animate to 1 */
    transform: scale(0.3);
  }

  .zp-mobile-img-wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  .zp-mobile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

#zoomParallaxMobile {
  padding: 0;
  margin: 96px 0;
}

/* ---- Desktop: hide mobile zoom parallax ---- */
@media (min-width: 768px) {
  #zoomParallaxMobile {
    display: none;
  }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .zp-item,
  .zp-mobile-item {
    transform: none !important;
  }
}

/* ---- Shared dot indicators (also used by testimonials) ---- */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mid-grey);
  border: none;
  cursor: pointer;
  transition: background 300ms;
}

.dot.active {
  background: var(--volt);
}

/* ============================================
   CLUB SHOPS
   ============================================ */

.clubshops-section {
  background: var(--anthracite);
}

.clubshops-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .clubshops-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.laptop-frame {
  position: relative;
  background: var(--black);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.laptop-frame img {
  width: 100%;
  border-radius: 4px;
}

.clubshops-content h2 {
  margin-bottom: 20px;
}

.clubshops-content > p {
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.check-list li svg { flex-shrink: 0; }

/* ============================================
   PACKAGES (Pricing)
   ============================================ */

.packages-section {
  background: var(--black);
}

.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .packages-grid { grid-template-columns: repeat(4, 1fr); } }

.package-card {
  background: var(--anthracite);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 400ms var(--ease-out);
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-top-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--volt);
}

.package-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.package-sub {
  margin-bottom: 20px;
}

.package-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 20px;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.package-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Performance bars */
.bar {
  display: flex;
  gap: 3px;
  height: 6px;
}

.bar::before,
.bar::after {
  content: '';
  width: 12px;
  height: 6px;
  background: var(--border-grey);
}

.bar::before { background: var(--volt); }

.bar--1::before { width: 12px; }
.bar--1::after { width: 48px; }

.bar--2 { --fill: 2; }
.bar--3 { --fill: 3; }
.bar--4 { --fill: 4; }
.bar--5 { --fill: 5; }

/* We'll use a simpler approach with background gradients */
.bar {
  width: 60px;
  height: 6px;
  background: var(--border-grey);
  position: relative;
}

.bar::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: var(--volt);
}

.bar::after { display: none; }

.bar--1::before { width: 20%; }
.bar--2::before { width: 40%; }
.bar--3::before { width: 60%; }
.bar--4::before { width: 80%; }
.bar--5::before { width: 100%; }

.package-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.package-price strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--volt);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
  background: var(--anthracite);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url(../img/bg_banner.jpg);
  background-size: cover;
}

.testimonials-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.fabric-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 1px,
      rgba(255,255,255,0.15) 1px,
      rgba(255,255,255,0.15) 2px
    );
  background-size: 6px 6px;
}

.testimonials-section h2 {
  margin-bottom: 48px;
  position: relative;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 500ms var(--ease-out);
}

.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 32px;
}

.testimonial cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--volt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}

.cta-shape .container {
  /*
  position: absolute;
  */
  inset: 0;
  background: var(--volt);
  /*
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
  */

  padding-top: 80px;
  padding-bottom: 80px;

  clip-path: polygon(
    50px 0%,           /* Haut-Gauche : commence à 30px du bord */
    100% 0%,           /* Haut-Droite : angle droit */
    100% calc(100% - 50px), /* Bas-Droite : remonte de 40px avant le bord */
    calc(100% - 50px) 100%, /* Bas-Droite : décale vers la gauche de 40px */
    0% 100%,           /* Bas-Gauche : angle droit */
    0% 50px            /* Haut-Gauche : descend de 30px avant le bord */
  );

}

@media (min-width: 768px) {
  .cta-shape .container {
    clip-path: polygon(
      80px 0%,           /* Haut-Gauche : commence à 30px du bord */
      100% 0%,           /* Haut-Droite : angle droit */
      100% calc(100% - 80px), /* Bas-Droite : remonte de 40px avant le bord */
      calc(100% - 80px) 100%, /* Bas-Droite : décale vers la gauche de 40px */
      0% 100%,           /* Bas-Gauche : angle droit */
      0% 80px            /* Haut-Gauche : descend de 30px avant le bord */
    );
  }
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--black);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(0,0,0,0.6);
  max-width: 500px;
  margin: 0 auto 32px;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  border-top: 1px solid var(--border-grey);
  padding: 80px 0 48px;
  position: relative;
}
img.footer-back-logo {
  position: absolute;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(10px);
}
body.light img.footer-back-logo {
  filter: blur(3px) drop-shadow(2px 4px 30px #00000060);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand img { margin-bottom: 20px; }
.footer-brand p { font-size: 13px; max-width: 260px; margin-bottom: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-grey);
  transition: all 300ms;
}

.footer-social a:hover {
  background: var(--volt);
  border-color: var(--volt);
  color: var(--black);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--light-grey);
  padding: 3px 0;
  transition: color 300ms;
}

.footer-col a:hover { color: var(--volt); }

.footer-bottom {
  border-top: 1px solid var(--border-grey);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 12px; color: var(--light-grey); }
.footer-bottom a { font-size: 12px; color: var(--light-grey); transition: color 300ms; }
.footer-bottom a:hover { color: var(--volt); }

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(8px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title, .hero-subtitle, .hero-content .btn {
    opacity: 1; animation: none;
  }
}


/* ============================================
   LIGHT THEME — body.light overrides
   Add class="light" to <body> for light pages.
   Controlled via $bodyClass = 'light' in PHP.
   ============================================ */

body.light {
  /* background: #f5f5f5; */
  background: #ffffff;
  color: #1a1a1a;

  /* Accent override: cyan for light theme (volt = #CEFF00 only for dark) */
  --volt: #00CBFF;
  --volt-hover: #33D5FF;
  --volt-dim: rgba(0, 203, 255, 0.15);
}

/* --- Header (light) --- */
body.light .header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: -1px 0px 30px #00000026;
}

body.light .header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light .header-nav a {
  color: rgba(0, 0, 0, 0.55);
}

body.light .header-nav a:hover,
body.light .header-nav a.active {
  color: #0a0a0a;
}

/* Invert the white logo on light backgrounds */
body.light .header-logo img {
  filter: invert(1);
}

body.light .header-cta .btn-outline-volt {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

body.light .header-cta .btn-outline-volt:hover {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #1a1a1a;
}

/* --- Mobile menu toggle (light) --- */
body.light .menu-toggle span {
  background: #1a1a1a;
}

/* When menu is open (active), keep bars visible against the light menu-cut */
body.light .menu-toggle.active span {
  background: #1a1a1a;
}

/* --- Mobile menu panel (light) --- */
body.light .mobile-menu .menu-cut {
  background: #f0f0f0;
}

body.light .mobile-menu .menu-contents a {
  color: #1a1a1a;
}

body.light .mobile-menu .menu-contents a:hover {
  color: #000000;
}

/* --- Footer (light) --- */
body.light .footer {
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
}

body.light .footer-brand p {
  color: #666666;
}

body.light .footer-col h4 {
  color: #1a1a1a;
}

body.light .footer-col a {
  color: #555555;
}

body.light .footer-col a:hover {
  color: #000000;
}

body.light .footer-social a {
  border-color: #cccccc;
  color: #555555;
}

body.light .footer-social a:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}

body.light .footer-bottom {
  border-top-color: #e0e0e0;
}

body.light .footer-bottom p,
body.light .footer-bottom a {
  color: #777777;
}

body.light .footer-bottom a:hover {
  color: #1a1a1a;
}

/* Invert the white footer logo on light backgrounds */
body.light .footer-brand img {
  filter: invert(1);
}

/* --- Buttons (light) --- */
body.light .btn-volt:hover {
  box-shadow: 0 8px 30px rgba(0, 203, 255, 0.3);
}


/* ============================================
   CONTACT WIZARD — Multi-Step Form
   ============================================ */

/* --- Section --- */
.contact-wizard-section {
  padding: 120px 0 80px;
  /* background: #f5f5f5; */
  /* min-height: 100vh; */
}

@media (min-width: 768px) {
  .contact-wizard-section {
    padding: 140px 0 100px;
  }
}

/* --- Grid: 2-col on desktop, stacked on mobile --- */
.cw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .cw-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
  }
}

/* ============================================
   LEFT — STATIC INFO PANEL
   ============================================ */

.cw-info {
  position: relative;
}

.cw-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #777;
}

.cw-info-title {
  font-size: clamp(26px, 4vw, 44px);
  color: #1a1a1a;
  margin-bottom: 16px;
  text-transform: none;
  line-height: 1.15;
}

.cw-info-text {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 36px;
}

.cw-info-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-info-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #444;
}

.cw-info-details li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #1a1a1a;
}

.cw-info-details li strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cw-info-details li span {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ============================================
   RIGHT — WIZARD PANEL
   ============================================ */

.cw-wizard {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 40px rgba(0,0,0,0.06);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cw-wizard {
    padding: 40px 36px;
  }
}

/* --- Header Image (page-level, above wizard) --- */
.headerImage {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.headerImage img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Progress Bar --- */
.cw-progress {
  margin-bottom: 36px;
}

.cw-progress-bars {
  display: flex;
  gap: 5px;
  height: 4px;
}

.cw-progress-bar {
  flex: 1;
  height: 100%;
  background: #e8e8e8;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

/* ============================================
   STEPS CONTAINER & ANIMATIONS
   ============================================ */

.cw-steps-wrapper {
  position: relative;
  min-height: 380px;
  /* overflow: hidden; */
}

.cw-step {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(80px);
  pointer-events: none;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  background: white;
}

.cw-step.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* Slide-out classes (applied during transition) */
.cw-step.slide-out-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 300ms var(--ease-in), transform 300ms var(--ease-in);
}

.cw-step.slide-out-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 300ms var(--ease-in), transform 300ms var(--ease-in);
}

/* Slide-in classes (starting state, then removed to animate in) */
.cw-step.slide-in-from-right {
  opacity: 0;
  transform: translateX(100%);
  transition: none;
}

.cw-step.slide-in-from-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: none;
}

/* --- Step Title --- */
.cw-step-title {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 24px;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* ============================================
   OPTION CARDS (Steps 1 & 2)
   ============================================ */

.cw-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 480px) {
  .cw-options {
    grid-template-columns: 1fr;
  }
}

.cw-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 10px 16px 10px;
  background: #fafafa;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 250ms var(--ease-out);
  position: relative;
  text-align: center;
}

.cw-option-card:hover {
  border-color: #ccc;
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.cw-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.cw-option-card:has(input:checked) {
  border-color: var(--volt);
  background: rgba(0, 203, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 203, 255, 0.08);
}

.cw-option-card:has(input:checked) .cw-option-label {
  color: #1a1a1a;
  font-weight: 700;
}

.cw-option-icon {
  width: 70px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 250ms;
}

.cw-option-card:has(input:checked) .cw-option-icon {
  color: #1a1a1a;
}

.cw-option-icon img {
  width: 150px;
  /* height: 40px; */
  object-fit: contain;
}

.cw-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  transition: color 250ms;
  margin-top: 10px;
}

.cw-option-desc {
  font-size: 11px;
  color: #757575;
  /*
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  */
}

/* ============================================
   BUTTON ROW
   ============================================ */

.cw-btn-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.cw-btn-row .btn {
  min-width: 120px;
}

.cw-btn-next,
.cw-btn-submit {
  margin-left: auto;
}

.cw-btn-back {
  margin-right: auto;
}

/* Single next button (Step 1) */
.cw-step > .cw-btn-next {
  display: block;
  margin-left: auto;
}

.cw-btn-next:disabled,
.cw-btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   FORM FIELDS (Step 3)
   ============================================ */

.cw-form {
  margin-bottom: 24px;
}

.cw-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .cw-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.cw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-field--full {
  grid-column: 1 / -1;
}

.cw-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
}

.cw-required {
  color: #e74c3c;
}

.cw-optional {
  font-weight: 400;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.cw-field input:not(.iti__search-input),
.cw-field select,
.cw-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  background: #fafafa;
  color: #1a1a1a;
  transition: all 250ms var(--ease-out);
  outline: none;
  width: 100%;
}

.cw-field input:focus,
.cw-field select:focus,
.cw-field textarea:focus {
  border-color: var(--volt);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 203, 255, 0.08);
}

.cw-field input.error,
.cw-field select.error,
.cw-field textarea.error {
  border-color: #e74c3c;
  background: #fff5f5;
}

.cw-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.cw-field textarea {
  resize: vertical;
  min-height: 100px;
}

.cw-field-error {
  font-size: 11px;
  color: #e74c3c;
  min-height: 16px;
  opacity: 0;
  transition: opacity 250ms;
}

.cw-field-error.visible {
  opacity: 1;
}

/* --- Submit button spinner --- */
.cw-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: cw-spin 600ms linear infinite;
}

@keyframes cw-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   SUCCESS SCREEN (Step 4)
   ============================================ */

.cw-step--success {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.cw-success-check {
  margin-bottom: 24px;
  animation: cw-checkPop 500ms var(--ease-out);
}

@keyframes cw-checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.cw-step--success .cw-step-title {
  margin-bottom: 12px;
}

.cw-success-text {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1023px) {
  .cw-wizard {
    border-radius: 10px;
    padding: 28px 20px;
  }

  .cw-steps-wrapper {
    min-height: 420px;
  }

  .cw-info-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  .cw-info-details li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .cw-info-details {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cw-info-details li {
    flex-direction: row;
    align-items: flex-start;
  }

  .cw-steps-wrapper {
    min-height: 460px;
  }

  .cw-btn-row {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .cw-btn-row .btn {
    width: 100%;
    justify-content: center;
  }

  .cw-btn-next,
  .cw-btn-submit,
  .cw-btn-back {
    margin: 0;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .cw-step,
  .cw-step.slide-out-left,
  .cw-step.slide-out-right {
    transition: opacity 200ms ease !important;
    transform: none !important;
  }
}
