/* Global Gas Logistics LLP - main stylesheet */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); }
/* Kazakh pages: Barlow Condensed and Manrope lack Kazakh Cyrillic letters, so the Fira Sans family stands in */
@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-cyrillic-ext-600-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-cyrillic-ext-400-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Fira Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fira Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Fira Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/fira-sans-cyrillic-ext-600-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  /* Primary - logo blue */
  --blue-50: #e8f7fd; --blue-100: #c4ecfa; --blue-300: #5fcdf4; --blue-400: #25b9ee; --blue-500: #00a8e6; --blue-600: #0089c2; --blue-700: #006b98; --blue-800: #0a4c6b;
  /* Accent - logo yellow */
  --yellow-200: #fff6a8; --yellow-400: #ffea3d; --yellow-500: #f6dc00; --yellow-700: #8a7a00;
  /* Secondary - steel */
  --steel-300: #b3c3cb; --steel-400: #8ea3ad; --steel-500: #6c838e; --steel-600: #4f6672; --steel-700: #33454f;
  /* Status */
  --green-300: #7fd8a8; --green-500: #2fb37a; --green-700: #1b7a51;
  --amber-300: #ffd28a; --amber-500: #f0a020; --amber-700: #a86a06;
  --red-300: #ff9ea1; --red-500: #e5484d; --red-700: #a8262b;
  /* Neutrals */
  --ink-950: #050c11; --ink-900: #071016; --ink-850: #0b161d; --ink-800: #0f1d26; --white: #ffffff;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 4px; --radius-lg: 8px;
  --header-h: 88px;
  --container: 1240px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
}

html[lang='kk'] {
  --font-display: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
/* Kazakh words run longer, so headings and nav are tightened to keep the same layout */
.main-nav a, .header-cta { white-space: nowrap; }
html[lang='kk'] .main-nav a { padding: 10px 9px; font-size: 13.5px; }
html[lang='kk'] .main-nav a::after { left: 9px; right: 9px; }
html[lang='kk'] .hero h1 { font-size: clamp(40px, 6.2vw, 84px); max-width: 17ch; }
html[lang='kk'] .page-hero h1 { font-size: clamp(36px, 5.4vw, 72px); max-width: 18ch; }
html[lang='kk'] .section-head h2 { font-size: clamp(32px, 4vw, 52px); }
html[lang='kk'] h1, html[lang='kk'] h2, html[lang='kk'] h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 1320px) { html[lang='kk'] .header-cta { display: none; } }

[data-theme='dark'] {
  --bg: var(--ink-900); --surface: #0c1820; --surface-2: #10202a; --surface-3: #152936;
  --text: #eef4f7; --text-muted: #a3b5be; --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .18);
  --accent: var(--blue-400); --accent-strong: var(--blue-300); --highlight: var(--yellow-400);
  --chip-bg: rgba(37, 185, 238, .12); --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
[data-theme='light'] {
  --bg: #f4f7f9; --surface: #ffffff; --surface-2: #e9f0f4; --surface-3: #dde8ee;
  --text: #0b1a22; --text-muted: #4a606b; --line: rgba(11, 26, 34, .1); --line-strong: rgba(11, 26, 34, .2);
  --accent: var(--blue-700); --accent-strong: var(--blue-700); --highlight: var(--yellow-700);
  --chip-bg: rgba(0, 137, 194, .1); --shadow: 0 24px 60px rgba(11, 40, 56, .12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.6; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; transition: background-color .4s var(--ease), color .4s var(--ease); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: .005em; margin: 0; text-transform: uppercase; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue-500); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; }
.skip-link { position: absolute; left: var(--s2); top: -60px; z-index: 200; background: var(--blue-500); color: var(--white); padding: var(--s1) var(--s2); border-radius: var(--radius); }
.skip-link:focus { top: var(--s2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s3); }
.text-accent { color: var(--accent); }
.hero .text-accent, .page-hero .text-accent, .section--dark .text-accent, .cta-band .text-accent { color: var(--blue-300); }
.icon { flex-shrink: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--yellow-500); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: var(--radius); font-weight: 600; font-size: 15px; letter-spacing: .02em; line-height: 1.2; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--primary { background: var(--blue-500); color: var(--white); box-shadow: 0 8px 24px rgba(0, 168, 230, .25); }
.btn--primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--blue-700); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { box-shadow: 0 12px 32px rgba(0, 168, 230, .35); }
.btn--outline { border: 1.5px solid var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: var(--white); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--ink-900); border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: height .4s var(--ease), background-color .4s, box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header-inner { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--s4); display: flex; align-items: center; gap: var(--s4); }
.brand { flex-shrink: 0; display: block; }
.brand img { height: 44px; width: auto; transition: height .4s var(--ease), filter .4s; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { position: relative; display: block; padding: 10px 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85); transition: color .3s; }
.main-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--yellow-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); display: grid; place-items: center; overflow: hidden; transition: border-color .3s, background-color .3s, color .3s; }
.theme-toggle:hover { background: rgba(255, 255, 255, .1); }
.theme-icon { position: absolute; display: grid; place-items: center; transition: transform .5s var(--ease), opacity .4s; }
[data-theme='dark'] .theme-icon--moon, [data-theme='light'] .theme-icon--sun { transform: translateY(150%) rotate(90deg); opacity: 0; }
.theme-icon--sun { color: var(--yellow-400); }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); transition: border-color .3s; }
.lang-switch a { display: grid; place-items: center; min-width: 40px; height: 36px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .75); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.lang-switch a:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.lang-switch a:active { transform: scale(.94); }
.lang-switch a.is-active { background: var(--blue-500); color: var(--white); box-shadow: inset 0 -2px 0 var(--yellow-500); }
.site-header.is-solid .lang-switch, .menu-open .site-header .lang-switch { border-color: var(--line-strong); }
.site-header.is-solid .lang-switch a:not(.is-active), .menu-open .site-header .lang-switch a:not(.is-active) { color: var(--text-muted); }
.site-header.is-solid .lang-switch a:not(.is-active):hover, .menu-open .site-header .lang-switch a:not(.is-active):hover { color: var(--text); background: var(--chip-bg); }
.mobile-menu .lang-switch { display: none; align-self: flex-start; margin-top: var(--s4); border-color: var(--line-strong); }
.mobile-menu .lang-switch a { display: grid; padding: 0 12px; min-width: 56px; height: 40px; font-family: var(--font-body); font-size: 13px; line-height: 1; text-transform: none; }
.mobile-menu .lang-switch a:not(.is-active) { color: var(--text-muted); }
.mobile-menu .lang-switch a:not(.is-active):hover { color: var(--text); background: var(--chip-bg); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .4s var(--ease), top .4s var(--ease), background-color .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.site-header.is-solid { --header-h: 72px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, .12); }
.site-header.is-solid .brand img { height: 38px; }
.site-header.is-solid .main-nav a { color: var(--text-muted); }
.site-header.is-solid .main-nav a:hover, .site-header.is-solid .main-nav a.is-active { color: var(--text); }
.site-header.is-solid .theme-toggle, .site-header.is-solid .menu-toggle { border-color: var(--line-strong); color: var(--text); }
.site-header.is-solid .menu-toggle span { background: var(--text); }
/* Logo stays in its original colours; a hairline dark edge keeps it legible on light backgrounds */
[data-theme='light'] .site-header.is-solid .brand img, [data-theme='light'] .menu-open .brand img { filter: drop-shadow(0 0 .5px rgba(5, 20, 28, .9)) drop-shadow(0 0 .5px rgba(5, 20, 28, .6)); }
.menu-open .site-header { background: var(--bg); border-color: var(--line); }
.menu-open .site-header .menu-toggle, .menu-open .site-header .theme-toggle { color: var(--text); border-color: var(--line-strong); }
.menu-open .site-header .menu-toggle span { background: var(--text); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--header-h) + var(--s4)) var(--s3) var(--s4); display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; overflow-y: auto; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease); }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
.menu-open .mobile-menu li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.mobile-menu a { display: flex; align-items: baseline; gap: var(--s2); padding: 14px 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(28px, 7vw, 40px); line-height: 1.1; color: var(--text); }
.mobile-menu a span { font-family: var(--font-body); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.mobile-menu a.is-active { color: var(--accent); }
.mobile-menu__foot { color: var(--text-muted); font-size: 14px; margin-top: var(--s4); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); padding: calc(var(--header-h) + var(--s8)) 0 var(--s6); overflow: hidden; background: var(--ink-950); }
.hero__media, .page-hero__media, .cta-band__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .page-hero__media img, .cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s var(--ease); }
.js .hero__video { opacity: 0; }
.js .hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 17, .92) 0%, rgba(5, 12, 17, .7) 45%, rgba(5, 12, 17, .25) 100%), linear-gradient(0deg, rgba(5, 12, 17, .95) 0%, transparent 45%); }
.hero__content { position: relative; z-index: 1; margin-bottom: var(--s10); }
.hero h1 { font-size: clamp(48px, 8vw, 104px); max-width: 15ch; line-height: .98; margin-bottom: var(--s3); }
.hero__text { font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; color: rgba(255, 255, 255, .82); margin-bottom: var(--s5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }
.hero__hubs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .15); }
.hub { display: flex; gap: 12px; align-items: flex-start; padding: var(--s3) var(--s3) 0 0; }
.hub + .hub { padding-left: var(--s3); border-left: 1px solid rgba(255, 255, 255, .12); }
.hub strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.hub small { color: rgba(255, 255, 255, .6); font-size: 13px; }
.hub__dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 0 rgba(255, 234, 61, .6); animation: pulse 2.4s infinite; flex-shrink: 0; }

/* Page hero */
.page-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: var(--white); padding: calc(var(--header-h) + var(--s10)) 0 var(--s10); overflow: hidden; background: var(--ink-950); }
.page-hero__media img { animation: heroZoom 12s var(--ease) forwards; transform: scale(1.1); }
.page-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 17, .9), rgba(5, 12, 17, .55) 60%, rgba(5, 12, 17, .3)), linear-gradient(0deg, rgba(5, 12, 17, .8), transparent 60%); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(42px, 6.5vw, 84px); max-width: 16ch; line-height: 1; margin-bottom: var(--s3); }
.page-hero__text { max-width: 620px; font-size: clamp(16px, 1.5vw, 18px); color: rgba(255, 255, 255, .82); margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: var(--s3); letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 6px; }

/* Ticker */
.ticker { overflow: hidden; background: var(--blue-500); color: var(--white); padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 0 var(--s4); font-family: var(--font-display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.ticker span::after { content: ''; width: 6px; height: 6px; background: var(--yellow-400); transform: rotate(45deg); margin-left: var(--s4); }
.ticker em { font-style: normal; font-family: var(--font-body); font-size: 12px; opacity: .75; letter-spacing: .1em; }

/* Sections */
.section { padding: var(--s16) 0; position: relative; }
.section--tight { padding: var(--s12) 0 var(--s8); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--ink-850); color: #eef4f7; --text: #eef4f7; --text-muted: #a3b5be; --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .2); --accent: var(--blue-300); --chip-bg: rgba(37, 185, 238, .12); --surface: #10202a; }
.section-head { max-width: 720px; margin-bottom: var(--s8); }
.section-head h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: var(--s2); }
.section-head p:not(.eyebrow) { color: var(--text-muted); font-size: 17px; margin: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.split__content .section-head { margin-bottom: var(--s4); }
.section-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s8); }
.section-row .section-head { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__content p { color: var(--text-muted); font-size: 17px; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.split__media--tall { aspect-ratio: 4 / 4.6; }
.split__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover .split__img { transform: scale(1.05); }
.media-badge { position: absolute; left: var(--s3); bottom: var(--s3); background: rgba(7, 16, 22, .82); backdrop-filter: blur(10px); color: var(--white); padding: var(--s2) var(--s3); border-radius: var(--radius); border-left: 3px solid var(--yellow-400); max-width: 260px; }
.media-badge strong { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; text-transform: uppercase; color: var(--blue-300); }
.media-badge span { font-size: 13px; color: rgba(255, 255, 255, .8); }

.check-list { display: grid; gap: 12px; margin: var(--s3) 0 var(--s4); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 600; font-size: 15px; }
.check-list .icon { color: var(--blue-400); margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--chip-bg); width: 24px; height: 24px; }
.check-list--lg li { font-size: 17px; padding: var(--s2) 0; border-bottom: 1px solid var(--line); margin: 0; }
.check-list--lg { gap: 0; }

.icon-chip { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--chip-bg); color: var(--accent); margin-bottom: var(--s3); transition: transform .4s var(--ease), background-color .3s, color .3s; }

/* Stats */
.stats { background: var(--surface); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: var(--s8) var(--s3); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(56px, 6vw, 80px); line-height: 1; color: var(--accent); margin-bottom: var(--s1); }
.stat span { color: var(--text-muted); font-size: 15px; display: block; max-width: 200px; }

/* Cards */
.card-grid { display: grid; gap: var(--s3); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.photo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.photo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.photo-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-card:hover .photo-card__media img { transform: scale(1.07); }
.photo-card__body { padding: var(--s4); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.photo-card__body .icon-chip { margin-top: calc(-1 * var(--s4) - 26px); background: var(--blue-500); color: var(--white); box-shadow: 0 10px 24px rgba(0, 168, 230, .3); }
.photo-card h3 { font-size: 28px; margin-bottom: var(--s1); }
.photo-card p { color: var(--text-muted); flex: 1; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.feature::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue-500), var(--yellow-400)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.feature:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.feature:hover::before { transform: scaleX(1); }
.feature:hover .icon-chip { transform: rotate(-6deg) scale(1.06); background: var(--blue-500); color: var(--white); }
.feature h3 { font-size: 26px; margin-bottom: var(--s1); }
.feature p { color: var(--text-muted); margin: 0; font-size: 15px; }
.feature__no { display: block; font-family: var(--font-display); font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: var(--s3); }
.feature--green .icon-chip { background: rgba(47, 179, 122, .12); color: var(--green-500); }
.feature--green:hover .icon-chip { background: var(--green-500); color: var(--white); }
.feature--green::before { background: linear-gradient(90deg, var(--green-500), var(--blue-400)); }

/* Region tiles (home) */
.region-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.region-tile { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); display: flex; align-items: flex-end; isolation: isolate; }
.region-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.region-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 12, 17, .95) 0%, rgba(5, 12, 17, .35) 55%, rgba(5, 12, 17, .1)); transition: background-color .4s; }
.region-tile:hover img { transform: scale(1.08); }
.region-tile:hover::before { background-color: rgba(0, 107, 152, .25); }
.region-tile__body { padding: var(--s4); width: 100%; }
.region-tile__no { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); font-weight: 600; }
.region-tile h3 { font-size: 34px; margin: var(--s1) 0; }
.region-tile p { color: rgba(255, 255, 255, .8); margin-bottom: var(--s2); font-size: 15px; }
.region-tile__count { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding-top: var(--s2); border-top: 1px solid rgba(255, 255, 255, .2); width: 100%; }
.region-tile__count .icon { margin-left: auto; transition: transform .4s var(--ease); }
.region-tile:hover .region-tile__count .icon { transform: translateX(6px); color: var(--yellow-400); }

/* Steps */
.steps { display: grid; gap: 0; }
.steps li { display: flex; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps__no { font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--yellow-400); min-width: 48px; }
.steps h3 { font-size: 24px; margin-bottom: 4px; }
.steps p { color: var(--text-muted); margin: 0; font-size: 15px; }

/* About */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.mv-card { background: var(--surface); border-radius: var(--radius-lg); padding: var(--s6); border: 1px solid var(--line); }
.mv-card h3 { font-size: clamp(24px, 2.6vw, 34px); text-transform: none; line-height: 1.2; }
.detail-list { display: grid; gap: var(--s3); }
.detail-list li { padding-left: var(--s3); border-left: 2px solid var(--blue-500); }
.detail-list h3 { font-size: 24px; margin-bottom: 4px; }
.detail-list p { color: var(--text-muted); margin: 0; font-size: 15px; }
.footprint { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.footprint__item { position: relative; padding: var(--s5) var(--s4); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .4s; }
.footprint__item:hover { background: var(--surface); }
.footprint__no { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .1em; }
.footprint__item h3 { font-size: 30px; margin: var(--s1) 0; }
.footprint__item p { color: var(--text-muted); margin: 0; font-size: 15px; }
.footprint__item > .icon { position: absolute; top: var(--s5); right: var(--s4); color: var(--accent); transition: transform .4s var(--ease); }
.footprint__item:hover > .icon { transform: translateX(6px) rotate(-45deg); }

/* Services */
.pill-nav { display: flex; flex-wrap: wrap; gap: var(--s1); justify-content: center; margin-bottom: var(--s10); }
.pill-nav a { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.pill-nav a:hover { background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }
.service-list { display: grid; gap: var(--s12); }
.service-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s10); align-items: center; scroll-margin-top: 120px; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.05); }
.service-row__no { position: absolute; top: var(--s3); left: var(--s3); font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--white); text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.service-row h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: var(--s2); }
.service-row__body > p { color: var(--text-muted); font-size: 17px; }
.product-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.product-cloud li { padding: 14px 24px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.product-cloud li:hover { background: var(--yellow-400); color: var(--ink-900); border-color: var(--yellow-400); transform: translateY(-3px); }

/* Terminals */
.region-nav { position: sticky; top: 72px; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.region-nav nav { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.region-nav nav::-webkit-scrollbar { display: none; }
.region-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--text-muted); transition: background-color .3s, color .3s; }
.region-nav a span { font-size: 11px; color: var(--accent); }
.region-nav a:hover { color: var(--text); background: var(--surface-2); }
.region-nav a.is-current { background: var(--blue-500); color: var(--white); }
.region-nav a.is-current span { color: var(--yellow-200); }
.overview-table { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.overview-table__row { display: grid; grid-template-columns: 1.2fr 1.4fr 120px; gap: var(--s2); padding: 18px var(--s4); border-top: 1px solid var(--line); align-items: center; transition: background-color .3s; }
a.overview-table__row:hover { background: var(--surface-2); }
.overview-table__row--head { border-top: 0; background: var(--surface-2); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.overview-table__row span:first-child { font-weight: 600; display: flex; gap: 12px; }
.overview-table__row em { font-style: normal; color: var(--accent); font-size: 13px; }
.overview-table__row i { color: var(--text-muted); }
.overview-table__row span:last-child { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--accent); font-weight: 600; }
.region { padding: var(--s12) 0; scroll-margin-top: 140px; }
.region--alt { background: var(--surface-2); }
.region__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s8); align-items: center; margin-bottom: var(--s6); }
.region__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.region__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.region__media:hover img { transform: scale(1.05); }
.region__code { position: absolute; right: var(--s3); bottom: var(--s2); font-family: var(--font-display); font-size: 88px; line-height: 1; color: rgba(255, 255, 255, .9); text-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.region__intro h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: var(--s2); }
.region__lead { font-size: 19px; color: var(--text) !important; font-weight: 600; line-height: 1.5; }
.region__intro p { color: var(--text-muted); }
.region__meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent) !important; margin: 0; }
.main-port { position: relative; background: linear-gradient(120deg, var(--blue-700), var(--blue-500)); color: var(--white); border-radius: var(--radius-lg); padding: var(--s5) var(--s6); margin-bottom: var(--s3); overflow: hidden; }
.main-port::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.main-port__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow-400); color: var(--ink-900); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: var(--s2); }
.main-port h3 { font-size: clamp(32px, 4vw, 48px); margin-bottom: var(--s1); }
.main-port p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 640px; }
.port-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s2); }
.port { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.port:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.port__no { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .1em; }
.port h4 { font-size: 22px; margin: 6px 0; }
.port p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: var(--s10); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside nav { display: grid; margin-bottom: var(--s4); border-left: 1px solid var(--line); }
.faq-aside nav a { padding: 10px var(--s2); color: var(--text-muted); font-weight: 600; font-size: 15px; border-left: 2px solid transparent; margin-left: -1px; transition: color .3s, border-color .3s; }
.faq-aside nav a:hover { color: var(--text); border-color: var(--blue-500); }
.faq-aside__card { background: var(--surface-2); border-radius: var(--radius-lg); padding: var(--s4); }
.faq-aside__card h3 { font-size: 24px; margin-bottom: var(--s1); }
.faq-aside__card p { color: var(--text-muted); font-size: 15px; }
.faq-groups { display: grid; gap: var(--s8); }
.faq-group { scroll-margin-top: 110px; }
.faq-group h2 { font-size: 36px; margin-bottom: var(--s3); }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); flex-shrink: 0; transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s; }
.faq[open] summary i { transform: rotate(45deg); background: var(--blue-500); color: var(--white); border-color: var(--blue-500); }
.faq__answer { overflow: hidden; }
.faq__answer p { color: var(--text-muted); padding-bottom: var(--s3); margin: 0; max-width: 720px; }

/* Sustainability */
.statement { max-width: 960px; margin: 0 auto; text-align: center; }
.statement p { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; text-transform: uppercase; margin-bottom: var(--s3); }
.statement cite { font-style: normal; color: var(--accent); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }

/* Contact */
.contact-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); }
.contact-card--address { background: linear-gradient(140deg, var(--ink-850), var(--blue-800)); color: var(--white); border: 0; }
.contact-card--address .icon-chip { background: rgba(255, 255, 255, .1); color: var(--blue-300); }
.contact-card--address .eyebrow { color: var(--blue-300); }
.contact-card h2 { font-size: 36px; margin-bottom: var(--s2); }
.contact-card address { font-style: normal; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.phone-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.phone-list li:last-child { border-bottom: 0; }
.phone-list strong { display: block; font-weight: 600; }
.phone-list small { color: var(--text-muted); font-size: 13px; }
.phone-list a { font-weight: 600; color: var(--accent); white-space: nowrap; }
.desk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.desk { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.desk:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.desk__media { height: 140px; overflow: hidden; }
.desk__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.desk:hover .desk__media img { transform: scale(1.08); }
.desk__body { padding: var(--s4); position: relative; }
.desk__icon { position: absolute; top: -24px; right: var(--s4); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-400); color: var(--ink-900); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.desk h3 { font-size: 28px; margin-bottom: 4px; }
.desk p { color: var(--text-muted); font-size: 14px; min-height: 44px; }
.split--form { align-items: start; }
.enquiry-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); display: grid; gap: var(--s3); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { display: grid; gap: var(--s1); }
.field span { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(0, 168, 230, .15); }
.field .is-invalid { border-color: var(--red-500); }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form { position: relative; }
.enquiry-form .btn:disabled { opacity: .7; cursor: wait; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; min-height: 22px; }
.form-status.is-error { color: var(--red-500); }
.form-status.is-success { color: var(--green-500); }
.enquiry-form .btn { justify-self: start; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--s3); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 8, 12, .7); backdrop-filter: blur(6px); animation: fadeIn .3s var(--ease); }
.modal__panel { position: relative; width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6) var(--s5) var(--s5); box-shadow: var(--shadow); animation: modalIn .45s var(--ease); }
.modal__close { position: absolute; top: var(--s2); right: var(--s2); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.modal__close:hover { background: var(--surface-2); color: var(--text); transform: rotate(90deg); }
.modal h2 { font-size: 36px; margin-bottom: var(--s1); }
.modal__text { color: var(--text-muted); }
.modal__email { padding: var(--s2) var(--s3); border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg); font-weight: 600; font-size: 17px; word-break: break-all; margin-bottom: var(--s3); color: var(--accent); }
.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal__actions .btn.is-copied { border-color: var(--green-500); color: var(--green-500); }

/* CTA band */
.cta-band { position: relative; padding: var(--s16) 0; color: var(--white); overflow: hidden; background: var(--ink-950); }
.cta-band__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 17, .94), rgba(0, 76, 110, .7)); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); }
.cta-band .eyebrow { color: var(--blue-300); }
.cta-band h2 { font-size: clamp(36px, 5vw, 64px); max-width: 15ch; margin-bottom: var(--s2); }
.cta-band p:not(.eyebrow) { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0; font-size: 17px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s2); flex-shrink: 0; }

/* Footer - always dark so the logo keeps full contrast */
.site-footer { background: var(--ink-950); color: #c8d5dc; padding: var(--s12) 0 var(--s4); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s6); padding-bottom: var(--s8); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 48px; width: auto; margin-bottom: var(--s3); }
.footer-brand p { color: #93a7b1; font-size: 15px; max-width: 320px; }
.footer-col h3 { font-size: 18px; color: var(--white); margin-bottom: var(--s2); letter-spacing: .06em; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #93a7b1; font-size: 15px; transition: color .3s, padding-left .3s var(--ease); }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-col p { color: #93a7b1; font-size: 15px; }
.footer-col .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.footer-col .btn--outline:hover { border-color: var(--blue-400); color: var(--blue-300); padding-left: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding-top: var(--s4); font-size: 14px; color: #7f939d; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.to-top-link { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.to-top-link:hover { color: var(--white); }

/* Back to top */
.back-to-top { position: fixed; right: var(--s3); bottom: var(--s3); z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .4s var(--ease), visibility .4s, background-color .3s, color .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue-500); color: var(--white); }
.back-to-top:hover > .icon { animation: nudgeUp .6s var(--ease); }
.progress-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke: var(--yellow-500); stroke-width: 2; stroke-dasharray: 138.2; stroke-dashoffset: var(--progress, 138.2); transition: stroke-dashoffset .1s linear; }

/* 404 */
.not-found { min-height: 80vh; display: flex; align-items: center; padding: calc(var(--header-h) + var(--s8)) 0 var(--s10); }
.not-found h1 { font-size: clamp(48px, 8vw, 104px); margin-bottom: var(--s3); max-width: 14ch; }
.not-found p:not(.eyebrow) { color: var(--text-muted); font-size: 18px; margin-bottom: var(--s4); }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--ink-900); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.preloader__inner { width: min(360px, 72vw); }
.preloader img { width: 100%; height: auto; margin-bottom: var(--s4); animation: fadeIn .8s var(--ease); }
.preloader__bar { height: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--yellow-400)); transition: width .15s linear; }
.preloader__meta { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8ea3ad; }
.preloader__count { color: var(--yellow-400); font-weight: 600; font-variant-numeric: tabular-nums; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.no-preload .preloader, html:not(.js) .preloader { display: none; }

/* Custom cursor - mouse/trackpad only */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .has-cursor, .has-cursor * { cursor: none; }
  .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; z-index: 1000; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
  .cursor.is-active .cursor__dot, .cursor.is-active .cursor__ring { opacity: 1; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--yellow-400); }
  .cursor__ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid var(--blue-400); transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s; }
  .cursor.is-hover .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(37, 185, 238, .12); border-color: var(--yellow-400); }
  .cursor.is-down .cursor__ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
}

/* Scroll reveal - content stays visible if scripts are off */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 234, 61, .55); } 70% { box-shadow: 0 0 0 12px rgba(255, 234, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 234, 61, 0); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes nudgeUp { 50% { transform: translateY(-4px); } }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav a { padding: 10px 8px; font-size: 13px; }
  .main-nav a::after { left: 8px; right: 8px; }
  .header-cta { display: none; }
  html[lang='kk'] .main-nav a { padding: 10px 6px; }
  html[lang='kk'] .main-nav a::after { left: 6px; right: 6px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-cta { display: inline-flex; }
  .hero__hubs { grid-template-columns: repeat(2, 1fr); }
  .hub:nth-child(3) { padding-left: 0; border-left: 0; }
  .split, .service-row, .region__head { grid-template-columns: 1fr; gap: var(--s6); }
  .split--reverse .split__media, .service-row--flip .service-row__media { order: 0; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3, .region-tiles, .desk-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .faq-aside { position: static; }
  .faq-aside nav { display: flex; flex-wrap: wrap; border: 0; gap: var(--s1); }
  .faq-aside nav a { border: 1px solid var(--line-strong); border-radius: 999px; margin: 0; }
  .faq-aside__card { display: none; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .section { padding: var(--s12) 0; }
}
@media (max-width: 720px) {
  .header-inner { padding: 0 var(--s2); gap: var(--s2); }
  .brand img { height: 34px; }
  .site-header.is-solid .brand img { height: 32px; }
  .header-cta { display: none; }
  .header-actions > .lang-switch { display: none; }
  .mobile-menu .lang-switch { display: inline-flex; }
  .container { padding: 0 var(--s2); }
  .hero { padding-bottom: var(--s4); }
  .hero__content { margin-bottom: var(--s6); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hub { padding: var(--s2) var(--s1) 0 0; }
  .hub + .hub { padding-left: var(--s2); }
  .hub:nth-child(3) { padding-left: 0; }
  .hub strong { font-size: 14px; }
  .page-hero { min-height: 480px; padding-bottom: var(--s8); }
  .section { padding: var(--s10) 0; }
  .section-head { margin-bottom: var(--s5); }
  .section-row { flex-direction: column; align-items: flex-start; margin-bottom: var(--s5); }
  .card-grid--3, .card-grid--4, .region-tiles, .desk-grid, .mv-grid, .contact-top, .field-row { grid-template-columns: 1fr; }
  .footprint { grid-template-columns: 1fr; }
  .region-tile { aspect-ratio: 4 / 3.6; }
  .stat { padding: var(--s4) var(--s2); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mv-card, .contact-card { padding: var(--s4); }
  .enquiry-form { padding: var(--s3); }
  .overview-table__row { grid-template-columns: 1fr auto; padding: var(--s2); }
  .overview-table__row span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--text-muted); font-size: 14px; }
  .overview-table__row--head span:nth-child(2) { display: none; }
  .region { padding: var(--s10) 0; }
  .region__code { font-size: 60px; }
  .main-port { padding: var(--s4) var(--s3); }
  .service-list { gap: var(--s10); }
  .footer-top { grid-template-columns: 1fr; gap: var(--s5); }
  .modal__panel { padding: var(--s5) var(--s3) var(--s3); }
  .modal__actions { grid-template-columns: 1fr; }
  .back-to-top { right: var(--s2); bottom: var(--s2); width: 46px; height: 46px; }
  .cta-band { padding: var(--s12) 0; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
