/* NASAF MEGASTROY — brand colors from the 2024 brandbook */
:root {
  --black: #151414;
  --black-2: #1E1D1D;
  --graphite: #2D2D2D;
  --grey: #7F7F7F;
  --grey-2: #B1B1B1;
  --light: #E3E3E3;
  --paper: #F3F3F2;
  --white: #FFFFFF;
  --green: #34CB66;
  --green-light: #77DC98;
  --green-dark: #35A95A;
  --beige: #B6AE91;
  --olive: #394737;

  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(21, 20, 20, .12);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --container: 1360px;
  --gutter: 40px;
  --font-display: 'Archivo', 'Arial Black', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--green); color: var(--black); }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 150px 0; position: relative; }
.section-light { background: var(--paper); color: var(--black); }
.section-graphite { background: var(--black-2); }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--green); margin-bottom: 28px;
}
.label::before { content: ''; width: 28px; height: 2px; background: var(--green); }
.h2 { font-size: clamp(32px, 4.6vw, 68px); }
.h2 .muted { color: var(--grey); }
.section-light .h2 .muted { color: var(--grey-2); }
.lead { font-size: 18px; font-weight: 300; color: var(--grey-2); max-width: 560px; }
.section-light .lead { color: #555; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 72px; }
.sec-head .lead { max-width: 420px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px; border: none; cursor: pointer;
  background: var(--green); color: var(--black);
  font-family: var(--font-display); font-stretch: 125%; font-weight: 700;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--white); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn-ghost:hover { color: var(--black); }
.section-light .btn-ghost { color: var(--black); box-shadow: inset 0 0 0 1px var(--line-light); }
.section-light .btn-ghost::before { background: var(--black); }
.section-light .btn-ghost:hover { color: var(--white); }
.btn-sm { padding: 13px 20px; font-size: 11px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--green); }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; background: var(--black); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: transform 1s var(--ease) .15s; }
.preloader.done { transform: translateY(-100%); }
.preloader img { width: 90px; animation: preIn .9s var(--ease) both; }
.preloader-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--green); animation: preBar 1s var(--ease) forwards; }
@keyframes preIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes preBar { from { width: 0; } to { width: 100%; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 26px 0; transition: padding .4s, background .4s, box-shadow .4s; }
.header.scrolled { background: rgba(21, 20, 20, .9); backdrop-filter: blur(14px); padding: 14px 0; box-shadow: 0 1px 0 var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav-logo img { height: 46px; width: auto; transition: height .4s; }
.header.scrolled .nav-logo img { height: 38px; }
.menu { display: flex; gap: 34px; list-style: none; font-size: 14px; font-weight: 500; color: var(--white); }
.menu a { position: relative; padding: 6px 0; opacity: .85; transition: opacity .3s; }
.menu a:hover, .menu a.active { opacity: 1; }
.menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--white); white-space: nowrap; }
.burger { display: none; width: 34px; height: 22px; position: relative; background: none; border: none; cursor: pointer; z-index: 2; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--white); transition: transform .4s var(--ease), top .4s, bottom .4s; }
.burger span:nth-child(1) { top: 3px; } .burger span:nth-child(2) { bottom: 3px; }
.burger.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { bottom: 10px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { height: 100vh; min-height: 700px; position: relative; overflow: hidden; display: flex; align-items: flex-end; color: var(--white); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: -6% 0 0; opacity: 0; transition: opacity 1.6s ease; background: var(--graphite); }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero-slide.active { opacity: 1; }
.hero-slide.active img, .hero-slide.active video { transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,20,.7) 0%, rgba(21,20,20,.1) 38%, rgba(21,20,20,.92) 100%); }
.hero .container { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 26px; }
.hero-kicker::before { content: ''; width: 44px; height: 2px; background: var(--green); }
.hero h1 { font-size: clamp(44px, 8.6vw, 150px); line-height: .92; letter-spacing: -0.03em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.3s var(--ease); }
.loaded .hero h1 .line > span { transform: none; }
.loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-bottom p { max-width: 470px; font-size: 17px; font-weight: 300; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-caption { position: absolute; right: var(--gutter); top: 140px; z-index: 2; text-align: right; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-caption strong { display: block; font-family: var(--font-display); font-stretch: 125%; font-size: 15px; color: var(--white); letter-spacing: .04em; margin-bottom: 4px; }
.hero-dots { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.hero-dots button { width: 34px; height: 3px; border: none; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button.active::after { content: ''; position: absolute; inset: 0; background: var(--green); animation: dotFill 6s linear forwards; transform-origin: left; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) .65s, transform 1s var(--ease) .65s; }
.loaded .fade-up { opacity: 1; transform: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); padding-top: 140px; }
.page-hero-bg { position: absolute; inset: -8% 0 0; background: var(--graphite); }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.4s var(--ease); }
.loaded .page-hero-bg img { transform: none; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,20,.65), rgba(21,20,20,.35) 45%, rgba(21,20,20,.95)); }
.page-hero .container { position: relative; z-index: 2; width: 100%; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(38px, 6.4vw, 104px); }
.page-hero h1 .line { display: block; overflow: hidden; }
.page-hero h1 .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.loaded .page-hero h1 .line > span { transform: none; }
.page-hero p { margin-top: 24px; max-width: 620px; font-size: 18px; font-weight: 300; color: rgba(255,255,255,.82); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumbs a:hover { color: var(--green); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); background: var(--graphite); overflow: hidden; }
.reveal-img img { transform: scale(1.22); transition: transform 1.8s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }
.reveal-img.in img { transform: none; }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; } .d3 { transition-delay: .3s !important; } .d4 { transition-delay: .4s !important; }

/* ---------- Intro + stats ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: start; }
.intro-text p { margin-top: 28px; font-size: 18px; font-weight: 300; color: #4a4a4a; max-width: 560px; }
.intro-text .btn { margin-top: 40px; }
.intro-media { position: relative; height: 620px; }
.intro-media .m1 { position: absolute; right: 0; top: 0; width: 80%; height: 76%; }
.intro-media .m2 { position: absolute; left: 0; bottom: 0; width: 48%; height: 46%; border: 10px solid var(--paper); z-index: 2; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-badge { position: absolute; left: 0; top: 36px; z-index: 3; background: var(--green); color: var(--black); padding: 26px 30px; }
.intro-badge strong { font-family: var(--font-display); font-stretch: 125%; font-size: 52px; display: block; line-height: 1; }
.intro-badge span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.stats { background: var(--black); padding: 110px 0; border-bottom: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 10px 32px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: clamp(40px, 4.6vw, 76px); line-height: 1; color: var(--white); letter-spacing: -0.03em; white-space: nowrap; }
.stat-num small { font-size: .42em; color: var(--green); margin-left: 6px; letter-spacing: 0; }
.stat p { margin-top: 16px; font-size: 14px; color: var(--grey-2); max-width: 230px; }

/* ---------- Sport feature ---------- */
.sport { background: var(--black); }
.sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.sport-card { grid-column: span 2; }
.sport-card:nth-child(5), .sport-card:nth-child(6) { grid-column: span 3; aspect-ratio: 16 / 10 !important; }
.sport-card { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; color: var(--white); }
.sport-card:nth-child(1) { grid-column: span 6; aspect-ratio: 21 / 9; }
.sport-card:nth-child(n+2) { aspect-ratio: 4 / 5; }
.sport-card:nth-child(n+2) .sport-info { padding: 26px; }
.sport-card:nth-child(n+2) .sport-info h3 { font-size: clamp(18px, 1.6vw, 24px); }
.sport-card:nth-child(n+2) .round-arrow { width: 48px; height: 48px; }
.sport-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease) !important; }
.sport-card:hover img { transform: scale(1.06) !important; }
.sport-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,20,0) 40%, rgba(21,20,20,.9)); }
.sport-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.sport-info h3 { font-size: clamp(22px, 2.4vw, 36px); }
.sport-info p { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 8px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(255,255,255,.3); white-space: nowrap; }
.tag-green { background: var(--green); color: var(--black); border-color: var(--green); }
.round-arrow { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background .4s, border-color .4s, transform .5s var(--ease), color .4s; }
.sport-card:hover .round-arrow, .proj-card:hover .round-arrow { background: var(--green); border-color: var(--green); color: var(--black); transform: rotate(-45deg); }

/* ---------- Services list ---------- */
.services { border-top: 1px solid var(--line-light); }
.service { display: grid; grid-template-columns: 70px 1fr 1fr 58px; gap: 36px; align-items: center; padding: 36px 24px; border-bottom: 1px solid var(--line-light); position: relative; isolation: isolate; cursor: default; }
.service::before { content: ''; position: absolute; inset: 0; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.service:hover::before { transform: scaleY(1); }
.service > * { transition: color .45s var(--ease), transform .6s var(--ease), background .4s, border-color .4s; }
.service:hover > * { color: var(--white); }
.service:hover .s-title { transform: translateX(18px); }
.s-num { font-size: 13px; font-weight: 600; color: var(--grey); }
.s-title { font-size: clamp(18px, 1.8vw, 26px); }
.s-desc { font-size: 15px; color: #555; font-weight: 300; }
.service .round-arrow { border-color: var(--line-light); color: var(--black); }
.service:hover .round-arrow { background: var(--green); border-color: var(--green); color: var(--black); transform: rotate(-45deg); }

/* ---------- Project cards ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { padding: 11px 20px; background: transparent; border: 1px solid var(--line-dark); color: var(--light); cursor: pointer; font-size: 13px; font-weight: 500; transition: .3s; }
.filter:hover, .filter.active { background: var(--green); border-color: var(--green); color: var(--black); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.proj-card { display: block; }
.proj-card.hide { display: none; }
.proj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease) !important; }
.proj-card:hover .proj-img img { transform: scale(1.07) !important; }
.proj-img .tag { position: absolute; left: 18px; top: 18px; z-index: 2; background: rgba(21,20,20,.65); backdrop-filter: blur(6px); color: var(--white); }
.proj-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-top: 22px; }
.proj-meta h3 { font-size: 19px; line-height: 1.2; }
.proj-meta p { font-size: 14px; color: var(--grey-2); margin-top: 8px; }
.proj-meta .round-arrow { width: 48px; height: 48px; font-size: 17px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-light); }
.process-line span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--green); transition: width 2.4s var(--ease); }
.process-line.in span { width: 100%; }
.step { padding-right: 22px; position: relative; }
.step-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1px solid var(--black); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: 14px; position: relative; z-index: 1; transition: .4s; }
.step:hover .step-dot { background: var(--green); border-color: var(--green); }
.step h4 { font-size: 15px; margin: 28px 0 10px; line-height: 1.2; }
.step p { font-size: 14px; color: #555; font-weight: 300; }

/* ---------- Base / tech ---------- */
.base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.base-img { aspect-ratio: 4 / 3; }
.base-img img { width: 100%; height: 100%; object-fit: cover; }
.base-list { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.base-item { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.base-item span { color: var(--grey-2); font-size: 15px; }
.base-item strong { font-family: var(--font-display); font-stretch: 125%; font-size: 20px; color: var(--white); white-space: nowrap; }

.base-grid > *, .contact-grid > *, .intro-grid > *, .geo > *, .scope > *, .mission > * { min-width: 0; }
.table-wrap { overflow-x: auto; margin-top: 36px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 600; padding: 0 16px 16px 0; border-bottom: 1px solid var(--line-dark); }
.table td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-dark); color: var(--grey-2); vertical-align: top; }
.table td:first-child { color: var(--white); font-weight: 500; }

/* ---------- Quality / certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.cert { background: var(--paper); padding: 40px 30px; transition: background .4s; }
.cert:hover { background: var(--white); }
.cert .iso { font-family: var(--font-display); font-stretch: 125%; font-size: 26px; font-weight: 700; }
.cert .iso small { display: block; font-size: 12px; color: var(--green-dark); letter-spacing: .1em; margin-top: 6px; }
.cert p { margin-top: 18px; font-size: 14px; color: #555; }
.cert code { display: block; margin-top: 14px; font-size: 12px; color: var(--grey); font-family: var(--font-body); }

/* ---------- Partners ---------- */
.partners { padding: 90px 0; background: var(--black); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.partners .label { margin-bottom: 44px; }
.marquee { display: flex; align-items: center; gap: 110px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee img { height: 64px; width: auto; filter: grayscale(1) brightness(1.7) contrast(.9); opacity: .65; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Big band ---------- */
.band { position: relative; height: 86vh; min-height: 560px; overflow: hidden; display: flex; align-items: center; color: var(--white); }
.band-bg { position: absolute; inset: -18% 0; background: var(--graphite); }
.band-bg img, .band-bg video { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(21,20,20,.5); }
.band .container { position: relative; z-index: 2; text-align: center; }
.band h2 { font-size: clamp(38px, 6.6vw, 112px); line-height: .95; }
.band h2 em { font-style: normal; color: var(--green); }
.band p { max-width: 560px; margin: 26px auto 40px; font-size: 17px; font-weight: 300; color: rgba(255,255,255,.82); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-list { margin-top: 44px; display: grid; gap: 26px; }
.contact-list div { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.contact-list small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.contact-list a, .contact-list p { font-size: 19px; font-weight: 500; color: var(--white); display: block; }
.contact-list a:hover { color: var(--green); }
.contact-list p.small { font-size: 16px; font-weight: 400; color: var(--grey-2); }
.form-box { background: var(--white); color: var(--black); padding: 56px; }
.form-box h3 { font-size: 26px; }
.form-box > form > p { color: #555; margin: 10px 0 34px; font-size: 15px; }
.field { position: relative; margin-bottom: 26px; }
.field input, .field select, .field textarea { width: 100%; border: none; border-bottom: 1px solid var(--line-light); background: transparent; padding: 18px 0 10px; font: inherit; font-size: 16px; color: var(--black); outline: none; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: none; height: 86px; }
.field select { appearance: none; cursor: pointer; }
.field label { position: absolute; left: 0; top: 18px; color: var(--grey); font-size: 15px; pointer-events: none; transition: .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:valid + label { top: -4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.form-box .btn { width: 100%; justify-content: center; margin-top: 10px; }
.form-box .btn::before { background: var(--black); }
.form-box .btn:hover { color: var(--white); }
.form-ok { display: none; text-align: center; padding: 70px 0; }
.form-ok .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 24px; }
.form-ok p { color: #555; margin-top: 10px; }
.form-box.sent form { display: none; } .form-box.sent .form-ok { display: block; }
.map { margin-top: 90px; height: 440px; filter: grayscale(1) invert(.92) contrast(.9); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- About page ---------- */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.mission blockquote { font-family: var(--font-display); font-stretch: 125%; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25; text-transform: none; font-weight: 600; }
.mission blockquote em { font-style: normal; color: var(--green-dark); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.value { background: var(--paper); padding: 34px 30px; }
.value b { font-family: var(--font-display); font-stretch: 125%; color: var(--green-dark); font-size: 14px; }
.value p { margin-top: 12px; font-size: 16px; }
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 50px; }
.leader { border: 1px solid var(--line-dark); padding: 36px; }
.leader small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.leader h3 { font-size: 22px; margin-top: 14px; line-height: 1.2; }
.brand-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-top: 60px; }
.brand-gallery .reveal-img { aspect-ratio: 4 / 5; }
.brand-gallery .reveal-img:first-child { aspect-ratio: auto; }
.brand-gallery img { width: 100%; height: 100%; object-fit: cover; }
.geo { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.countries span { padding: 10px 16px; border: 1px solid var(--line-dark); font-size: 14px; }
.countries span.main { background: var(--green); color: var(--black); border-color: var(--green); font-weight: 600; }

/* ---------- Services page ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc { position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 38px; color: var(--white); }
.svc-bg { position: absolute; inset: 0; z-index: 0; }
.svc-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease) !important; }
.svc:hover .svc-bg img { transform: scale(1.06) !important; }
.svc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,20,.15), rgba(21,20,20,.92)); z-index: 1; }
.svc > *:not(.svc-bg) { position: relative; z-index: 2; }
.svc .s-num { color: var(--green); }
.svc h3 { font-size: clamp(20px, 2vw, 28px); margin: 12px 0; line-height: 1.15; }
.svc p { color: rgba(255,255,255,.8); max-width: 480px; font-size: 15px; }

/* ---------- Project detail ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.fact { padding: 30px 26px 30px 0; }
.fact + .fact { border-left: 1px solid var(--line-dark); padding-left: 26px; }
.fact small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.fact strong { font-size: 17px; font-weight: 600; color: var(--white); }
.scope { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; margin-top: 90px; }
.scope ul { list-style: none; border-top: 1px solid var(--line-dark); }
.scope li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); color: var(--light); }
.scope li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 90px; }
.gallery a { position: relative; overflow: hidden; display: block; cursor: zoom-in; aspect-ratio: 3 / 2; }
.gallery.odd a:first-child { grid-column: span 2; aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease) !important; }
.gallery a:hover img { transform: scale(1.05) !important; }
.next-proj { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 60px 0; border-top: 1px solid var(--line-dark); margin-top: 110px; }
.next-proj small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.next-proj h3 { font-size: clamp(22px, 3vw, 44px); margin-top: 10px; transition: color .3s; }
.next-proj:hover h3 { color: var(--green); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10,10,10,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-btn { position: absolute; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); width: 54px; height: 54px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: .3s; }
.lb-btn:hover { background: var(--green); border-color: var(--green); color: var(--black); }
.lb-close { top: 24px; right: 24px; } .lb-prev { left: 24px; top: 50%; } .lb-next { right: 24px; top: 50%; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--grey-2); letter-spacing: .1em; }

/* ---------- CTA strip ---------- */
.cta { padding: 120px 0; background: var(--green); color: var(--black); }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 66px); }
.cta .btn { background: var(--black); color: var(--white); }
.cta .btn::before { background: var(--white); }
.cta .btn:hover { color: var(--black); }

/* ---------- Footer ---------- */
.footer { background: var(--black); padding: 110px 0 36px; position: relative; overflow: hidden; border-top: 1px solid var(--line-dark); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 56px; padding-bottom: 80px; }
.foot-top img { height: 52px; width: auto; margin-bottom: 24px; }
.foot-top p { color: var(--grey-2); font-size: 15px; max-width: 320px; }
.foot-top h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; color: var(--grey); margin-bottom: 22px; font-weight: 600; }
.foot-top ul { list-style: none; display: grid; gap: 11px; font-size: 15px; }
.foot-top ul a { color: var(--light); opacity: .85; transition: .3s; }
.foot-top ul a:hover { color: var(--green); opacity: 1; }
.foot-big { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(64px, 15.5vw, 250px); line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); white-space: nowrap; margin-bottom: 34px; user-select: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--grey); }

/* ---------- Floating buttons ---------- */
.float { position: fixed; right: 26px; bottom: 26px; z-index: 90; display: grid; gap: 12px; }
.float a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.float a:hover { transform: scale(1.1); }
.float svg { width: 24px; height: 24px; }
.float .call { background: var(--green); animation: pulse 2.4s infinite; }
.float .call svg { fill: var(--black); }
.float .mail { background: var(--white); }
.float .mail svg { fill: var(--black); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,203,102,.55); } 70% { box-shadow: 0 0 0 18px rgba(52,203,102,0); } 100% { box-shadow: 0 0 0 0 rgba(52,203,102,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu, .nav-phone, .nav-right .btn { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; position: fixed; inset: 0; background: var(--black); flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 0 var(--gutter); font-family: var(--font-display); font-stretch: 125%; font-size: clamp(18px, 4.8vw, 26px); text-transform: uppercase; }
  .menu.open a { opacity: 1; }
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 50px 0; }
  .process-line { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .section { padding: 110px 0; }
  .intro-grid, .contact-grid, .base-grid, .mission, .geo, .scope { grid-template-columns: 1fr; gap: 56px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 52px; }
  .svc-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .foot-top { grid-template-columns: 1fr 1fr; }

  .hero-caption { display: none; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .brand-gallery { grid-template-columns: 1fr 1fr; }
  .brand-gallery .reveal-img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  .section { padding: 84px 0; }
  .nav-logo img { height: 38px; }
  .hero { min-height: 620px; }
  .hero .container { padding-bottom: 40px; }
  .hero h1 { font-size: 10.6vw; }
  .h2, .band h2, .cta h2 { font-size: 7.4vw; overflow-wrap: break-word; }
  .sport-info h3, .proj-meta h3, .svc h3, .next-proj h3 { overflow-wrap: break-word; }
  .page-hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-actions .btn { padding: 16px 20px; }
  .intro-media { height: 420px; }
  .stats { padding: 80px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child, .stat:nth-child(3) { border-left: none; padding: 26px 0 0; border-top: 1px solid var(--line-dark); }
  .sport-grid { grid-template-columns: 1fr; gap: 18px; }
  .sport-card, .sport-card:nth-child(1), .sport-card:nth-child(5), .sport-card:nth-child(6) { grid-column: auto; aspect-ratio: 4 / 5 !important; }
  .sport-info { padding: 22px; }
  .service { grid-template-columns: 34px 1fr 44px; gap: 14px; padding: 24px 8px; }
  .s-desc { display: none; }
  .service .round-arrow { width: 44px; height: 44px; }
  .proj-grid { grid-template-columns: 1fr; gap: 42px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .cert-grid, .values, .leaders { grid-template-columns: 1fr; }
  .form-box { padding: 32px 22px; }
  .map { height: 320px; margin-top: 60px; }
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .gallery a, .gallery.odd a:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: none; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-bottom { flex-direction: column; }
  .float { right: 16px; bottom: 16px; }
  .float a { width: 50px; height: 50px; }
  .svc { min-height: 360px; padding: 26px; }
  .band { height: 74vh; }
  .next-proj { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
}

/* ---------- Additions: 4-up grid, text-only objects, plain service card ---------- */
.proj-grid.four { grid-template-columns: repeat(4, 1fr); }
.other-objects { margin-top: 130px; }
.other-objects ul { list-style: none; margin-top: 50px; border-top: 1px solid var(--line-dark); }
.other-objects li { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.other-objects li span { font-size: 18px; color: var(--white); font-weight: 500; }
.other-objects li small { font-size: 14px; color: var(--grey-2); white-space: nowrap; }
.svc-mark { background: var(--graphite); display: flex; align-items: center; justify-content: flex-end; padding: 40px; }
.svc-mark img { width: 42%; max-width: 220px; height: auto; opacity: .16; }
@media (max-width: 1180px) { .proj-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .proj-grid.four { grid-template-columns: 1fr; }
  .other-objects { margin-top: 90px; }
  .other-objects li { flex-direction: column; gap: 6px; }
  .other-objects li small { white-space: normal; }
}

/* Inner-page hero without a photo (for projects whose photos are too low-res for a full-width banner) */
.page-hero.plain { min-height: 52vh; background: radial-gradient(ellipse at 85% 20%, rgba(52,203,102,.16), transparent 55%), var(--black); }
.page-hero.plain::after { display: none; }
.page-hero-mark { position: absolute; right: 6%; bottom: -12%; width: min(38vw, 520px); opacity: .07; }
.page-hero-mark img { width: 100%; height: auto; }
@media (max-width: 960px) and (min-width: 681px) { .sport-grid { grid-template-columns: 1fr 1fr; } .sport-card, .sport-card:nth-child(5), .sport-card:nth-child(6) { grid-column: auto; aspect-ratio: 4 / 5 !important; } .sport-card:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 9 !important; } }

/* ---------- Brandbook photo treatment: monochrome + grain, colour on hover ---------- */
.mono .proj-img img, .mono .sport-card img, .mono .svc-bg img, .mono .gallery img,
.mono .page-hero-bg img, .mono .band-bg img, .mono .hero-slide img, .mono .intro-media .m1 img, .mono .base-img img {
  filter: grayscale(1) contrast(1.12) brightness(.95);
  transition: filter .8s var(--ease), transform 1.3s var(--ease) !important;
}
.mono .proj-card:hover .proj-img img, .mono .sport-card:hover img, .mono .svc:hover .svc-bg img, .mono .gallery a:hover img { filter: none; }
.mono .proj-img::after, .mono .sport-card .reveal-img::after, .mono .gallery a::after, .mono .hero-slides::after, .mono .page-hero-bg::after, .mono .band-bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.mono .hero-slides::after { z-index: 1; }

/* Demo: brand-artwork hero */
.hero-brand { background: #2D2D2D; }
.hero-brand::after { background: linear-gradient(90deg, #2D2D2D 28%, rgba(45,45,45,.6) 48%, rgba(45,45,45,0) 70%), linear-gradient(180deg, rgba(21,20,20,0) 60%, rgba(21,20,20,.7)); }
.hero-art { position: absolute; right: 0; top: 0; bottom: 0; width: 58%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transform: scale(1.08); transition: transform 2.6s var(--ease); }
.loaded .hero-art img { transform: none; }
@media (max-width: 680px) { .hero-art { width: 100%; opacity: .45; } }
.hero-brand .hero-dots, .hero-brand .hero-caption { display: none; }

/* Language switcher */
.lang-sw { display: flex; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lang-sw a { padding: 6px 8px; color: var(--grey-2); transition: color .3s; }
.lang-sw a:hover { color: var(--white); }
.lang-sw a.active { color: var(--green); }
.menu-lang { display: none; }
@media (max-width: 1180px) {
  .nav-right > .lang-sw { display: none; }
  .menu.open .menu-lang { display: block; margin-top: 18px; }
  .menu.open .menu-lang .lang-sw { font-size: 14px; gap: 8px; }
}

/* Videos: show at native framing, no parallax enlargement, lighter overlay */
.band { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 100vh; }
@media (max-width: 960px) { .band { aspect-ratio: auto; height: 78vh; min-height: 520px; } }
.band-bg { inset: 0; }
.band::after { background: linear-gradient(180deg, rgba(21,20,20,.15), rgba(21,20,20,.45)); }
.band h2, .band p { text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.hero-slide { inset: 0; }
.hero-slide video { transform: none !important; }
.hero::after { background: linear-gradient(180deg, rgba(21,20,20,.45) 0%, rgba(21,20,20,0) 30%, rgba(21,20,20,0) 55%, rgba(21,20,20,.85) 100%); }

/* Long words (ru/en) must never push the layout wider than the screen */
h1, h2, h3, .h2 { overflow-wrap: break-word; }
@media (max-width: 680px) {
  .page-hero h1 { font-size: clamp(26px, 7.6vw, 40px); }
  .sport-info h3 { font-size: 20px; }
  .proj-meta h3 { font-size: 17px; }
  .cta h2 { font-size: 8vw; }
}
/* Grid tracks must not grow past their share because of a long word */
.process-grid > *, .stats-grid > *, .proj-grid > *, .sport-grid > *, .svc-grid > *, .cert-grid > *, .values > *, .facts > *, .foot-top > * { min-width: 0; }
@media (max-width: 680px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding-right: 14px; }
  .step h4 { font-size: 14px; }
}
@media (max-width: 420px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .btn { padding: 15px 18px; font-size: 12px; letter-spacing: .05em; }
}
.sport-info > div, .proj-meta > div, .next-proj > div { min-width: 0; }
@media (max-width: 420px) {
  .base-item { flex-direction: column; gap: 6px; }
  .base-item strong { white-space: normal; }
}
@media (max-width: 680px) {
  .hero::after { background: linear-gradient(180deg, rgba(21,20,20,.55) 0%, rgba(21,20,20,.35) 35%, rgba(21,20,20,.7) 60%, rgba(21,20,20,.92) 100%); }
}
.gallery-video { grid-column: 1 / -1; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.gallery-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Stats: unit may wrap under the number; digits keep a fixed width while counting */
.stat-num { white-space: normal; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 4px; font-variant-numeric: tabular-nums; }
.stat-num small { margin-left: 0; white-space: nowrap; }
.stat-num .count { display: inline-block; text-align: left; }

/* Unit sits on its own line under the number: digits can change width without moving anything else */
.stat-num { display: block; }
.stat-num small { display: block; margin: 10px 0 0; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.2; }

/* Headings in half-width columns: smaller so long Uzbek words (materiallarimiz) fit on one line */
.base-grid .h2, .geo .h2, .contact-grid .h2, .intro-grid .h2 { font-size: clamp(28px, 3.4vw, 54px); }

.sport-video { width: min(100%, 400px); aspect-ratio: 816 / 1286; margin: 56px auto 0; overflow: hidden; background: var(--graphite); }
.sport-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-box { margin-top: 48px; aspect-ratio: 16 / 9; background: var(--graphite); overflow: hidden; }
.video-box video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* backdrop-filter makes the header the containing block of the fixed full-screen menu — drop it while the menu is open */
body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
