/* ═══════════════════════════════════════════
   POZIOM™ — style.css
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,800;1,900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --acc:    #38b6ff;
  --acc2:   #1a9ae0;
  --acclt:  #d0eeff;
  --black:  #111111;
  --white:  #ffffff;
  --gray:   #777777;
  --lt:     #f3f3f3;
  --border: #e0e0e0;
  --font:   'Montserrat', sans-serif;
}

html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: #fff; color: #111; overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; display: block; }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s .1s, visibility .5s .1s;
}
#loader.out { opacity: 0; visibility: hidden; }
.ld-pct {
  font-size: 120px; font-weight: 900; line-height: 1;
  letter-spacing: -6px; color: #111;
  display: block; text-align: center;
}
.ld-pct span { color: var(--acc); }
.ld-bar  { width: 260px; height: 2px; background: #eee; margin: 18px auto 0; }
.ld-fill { height: 100%; background: var(--acc); width: 0; transition: width .06s linear; }
.ld-sub  {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: #bbb; text-align: center; margin-top: 12px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 52px;
  transition: background .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-size: 20px; font-weight: 900; letter-spacing: -0.5px; color: #111;
}
.nav-logo .z { color: var(--acc); }
.nav-logo sup { font-size: 10px; font-weight: 700; margin-left: 1px; }

.nav-right {
  display: flex; align-items: center; gap: 36px;
}
.nav-menu {
  display: flex; gap: 32px; list-style: none;
}
.nav-menu a {
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  color: #111; transition: color .2s;
}
.nav-menu a:hover { color: var(--acc); }
.nav-cta-btn {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 10px 24px;
  background: var(--acc); color: #fff;
  transition: background .2s;
}
.nav-cta-btn:hover { background: var(--acc2); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: #111; transition: all .3s; }

/* ── BUTTONS ── */
.btn-acc {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 32px; background: var(--acc); color: #fff;
  border: 2px solid var(--acc); transition: all .2s;
}
.btn-acc:hover { background: var(--acc2); border-color: var(--acc2); }
.btn-dark {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 32px; background: transparent; color: #111;
  border: 2px solid #111; transition: all .2s;
}
.btn-dark:hover { background: #111; color: #fff; }
.btn-white {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 36px; background: #fff; color: #111;
  border: 2px solid #fff; transition: all .2s;
}
.btn-white:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn-ghost-w {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 36px; background: transparent; color: rgba(255,255,255,.65);
  border: 2px solid rgba(255,255,255,.2); transition: all .2s;
}
.btn-ghost-w:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* ── HELPERS ── */
.sec-label {
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--acc); margin-bottom: 18px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh; background: #fff;
  display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden; position: relative;
}
.hero-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(140px, 22vw, 280px); font-weight: 900;
  letter-spacing: -12px; line-height: 1;
  color: rgba(56,182,255,.05);
  pointer-events: none; white-space: nowrap; user-select: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: 160px 52px 0;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--acc); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--acc); }

h1.hero-title {
  font-size: clamp(88px, 14vw, 200px);
  font-weight: 900; line-height: .88; letter-spacing: -7px; color: #111;
  margin-bottom: 0;
}
h1.hero-title .acc { color: var(--acc); font-style: italic; }

.hero-sub-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 40px 0 0; gap: 32px; flex-wrap: wrap;
}
.hero-desc { font-size: 16px; color: #666; line-height: 1.75; max-width: 420px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); margin-top: 52px;
}
.hstat { padding: 28px 52px; border-right: 1px solid var(--border); }
.hstat:last-child { border-right: none; }
.hstat-num {
  font-size: clamp(44px, 5vw, 64px); font-weight: 900;
  letter-spacing: -3px; line-height: 1; color: #111;
}
.hstat-num span { color: var(--acc); }
.hstat-label { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ── TICKER ── */
.ticker {
  background: #111; overflow: hidden;
  padding: 16px 0; border-top: 3px solid var(--acc);
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickrun 22s linear infinite;
}
@keyframes tickrun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  font-size: 12px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: #fff; white-space: nowrap;
  padding: 0 28px; display: flex; align-items: center; gap: 24px;
}
.tdot { display: inline-block; width: 5px; height: 5px; background: var(--acc); border-radius: 50%; flex-shrink: 0; }

/* ── MARQUEE IMAGES ── */
.marquee-wrap { overflow: hidden; border-bottom: 1px solid var(--border); }
.mq-track {
  display: flex; width: max-content;
  animation: tickrun 38s linear infinite;
}
.mq-track:hover { animation-play-state: paused; }
.mq-item {
  width: 320px; height: 210px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden; cursor: pointer;
}
.mq-fill { width: 100%; height: 100%; transition: transform .4s; }
.mq-item:hover .mq-fill { transform: scale(1.07); }
.mq-lbl {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.5); padding: 4px 10px; backdrop-filter: blur(4px);
}
.mc1 { background: linear-gradient(135deg,#0a1628 0%,#111 50%,#38b6ff15 100%); }
.mc2 { background: linear-gradient(135deg,#111 0%,#38b6ff 100%); }
.mc3 { background: linear-gradient(135deg,#ddf0ff 0%,#aad8f7 100%); }
.mc4 { background: linear-gradient(135deg,#0d1f30 0%,#1a5a8a 100%); }
.mc5 { background: linear-gradient(135deg,#f0f8ff 0%,#38b6ff44 100%); }
.mc6 { background: linear-gradient(135deg,#1a1a1a 0%,#383838 100%); }
.mc7 { background: linear-gradient(135deg,#38b6ff0f 0%,#071828 100%); }
.mc8 { background: linear-gradient(135deg,#f5f5f5 0%,#ddd 100%); }

/* ── ABOUT ── */
#about { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }

.about-left {
  background: #111; color: #fff; padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.about-hl {
  font-size: clamp(60px, 6.5vw, 100px); font-weight: 900;
  line-height: .88; letter-spacing: -5px; color: #fff; margin-bottom: 40px;
}
.about-hl em { font-style: italic; color: var(--acc); }
.about-body { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.85; margin-bottom: 40px; max-width: 400px; }
.about-origin { display: flex; align-items: center; gap: 14px; }
.origin-flag { font-size: 28px; }
.origin-txt { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.4); }

.about-right {
  background: var(--lt); padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.about-right-wm {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 200px; font-weight: 900; letter-spacing: -14px;
  color: rgba(56,182,255,.07); pointer-events: none; user-select: none;
}
.about-right-inner { position: relative; z-index: 1; }
.about-right-inner h3 {
  font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: -2px; color: #111; margin-bottom: 16px;
}
.about-right-inner p { font-size: 15px; color: #666; line-height: 1.85; margin-bottom: 32px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 16px; background: #fff; color: #111; border: 1.5px solid var(--border);
}
.badge.acc { background: var(--acc); color: #fff; border-color: var(--acc); }

/* ── SERVICES ── */
#services { background: #fff; padding: 80px 52px; }
.svc-hd {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px; gap: 32px; max-width: 1280px; margin-left: auto; margin-right: auto;
}
.svc-hd h2 {
  font-size: clamp(52px, 6.5vw, 96px); font-weight: 900;
  letter-spacing: -5px; line-height: .9; color: #111;
}
.svc-hd h2 em { font-style: italic; color: var(--acc); }
.svc-hd p { font-size: 15px; color: #666; max-width: 300px; line-height: 1.75; text-align: right; }
.svc-list { max-width: 1280px; margin: 0 auto; }
.svc-item {
  display: grid; grid-template-columns: 72px 1fr auto auto;
  align-items: center; gap: 28px;
  padding: 30px 0; border-top: 1px solid var(--border);
  cursor: pointer; position: relative; overflow: hidden;
  transition: padding-left .3s;
}
.svc-item:last-child { border-bottom: 1px solid var(--border); }
.svc-item:hover { padding-left: 14px; }
.svc-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--acc);
  transform: scaleY(0); transition: transform .3s; transform-origin: bottom;
}
.svc-item:hover::before { transform: scaleY(1); }
.svc-num { font-size: 11px; font-weight: 800; color: var(--acc); letter-spacing: 1px; }
.svc-name {
  font-size: clamp(22px, 2.8vw, 36px); font-weight: 900;
  letter-spacing: -1.5px; color: #111;
}
.svc-desc { font-size: 14px; color: #888; margin-top: 5px; line-height: 1.6; }
.svc-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; background: var(--acclt); color: var(--acc); white-space: nowrap;
}
.svc-arr { font-size: 30px; color: #ccc; transition: all .3s; }
.svc-item:hover .svc-arr { color: var(--acc); transform: translate(5px,-5px); }

/* ── PORTFOLIO ── */
#portfolio { background: var(--lt); }
.port-hd {
  padding: 80px 52px 52px; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.port-hd h2 {
  font-size: clamp(52px, 6.5vw, 96px); font-weight: 900;
  letter-spacing: -5px; color: #111; line-height: .9;
}
.port-hd h2 em { font-style: italic; color: var(--acc); }
.port-stack { display: flex; flex-direction: column; }
.port-row {
  position: relative; height: 400px; overflow: hidden;
  cursor: pointer; border-top: 1px solid var(--border);
  display: flex; align-items: flex-end;
}
.port-row:last-child { border-bottom: 1px solid var(--border); }
.port-bg { position: absolute; inset: 0; transition: transform .6s ease; }
.port-row:hover .port-bg { transform: scale(1.04); }
.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.08) 65%, transparent 100%);
}
.port-top { position: absolute; top: 22px; left: 52px; z-index: 2; }
.port-cat { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); }
.port-year { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; }
.port-bottom {
  position: relative; z-index: 2; padding: 36px 52px;
  display: flex; align-items: flex-end; justify-content: space-between; width: 100%;
}
.port-name {
  font-size: clamp(34px, 4.5vw, 60px); font-weight: 900;
  letter-spacing: -3px; color: #fff; line-height: 1;
}
.port-arr { font-size: 38px; color: rgba(255,255,255,.45); transition: all .3s; }
.port-row:hover .port-arr { color: var(--acc); transform: translate(6px,-6px); }

/* ── CTA ── */
#cta {
  background: #111; padding: 110px 52px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; overflow: hidden; position: relative;
}
.cta-wm {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: clamp(160px, 24vw, 300px); font-weight: 900; letter-spacing: -20px;
  color: rgba(56,182,255,.05); pointer-events: none; user-select: none; white-space: nowrap; overflow: hidden;
}
.cta-title {
  font-size: clamp(64px, 9vw, 130px); font-weight: 900;
  letter-spacing: -6px; line-height: .88; color: #fff;
  margin-bottom: 28px; position: relative; z-index: 1;
}
.cta-title span { color: var(--acc); font-style: italic; }
.cta-sub {
  font-size: 16px; color: rgba(255,255,255,.5); max-width: 440px;
  line-height: 1.75; margin-bottom: 52px; position: relative; z-index: 1;
}
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* ── CONTACT ── */
#contact {
  padding: 80px 52px; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-left h2 {
  font-size: clamp(48px, 5.5vw, 80px); font-weight: 900;
  letter-spacing: -4px; color: #111; line-height: .9; margin-bottom: 20px;
}
.contact-left h2 em { color: var(--acc); font-style: italic; }
.contact-left p { font-size: 15px; color: #666; line-height: 1.8; margin-bottom: 36px; }
.cinfo { display: flex; flex-direction: column; gap: 14px; }
.cline { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #444; }
.cline a { color: #444; transition: color .2s; }
.cline a:hover { color: var(--acc); }
.cicon {
  width: 38px; height: 38px; background: var(--acclt); color: var(--acc);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0;
}

/* FORM */
.cform { display: flex; flex-direction: column; gap: 16px; }
.form-notice {
  padding: 14px 18px; font-size: 14px; font-weight: 600; border-left: 3px solid;
  display: none;
}
.form-notice.success { background: #edfaf3; color: #1a7a4a; border-color: #1a7a4a; display: block; }
.form-notice.error   { background: #fff0f0; color: #b00020; border-color: #b00020; display: block; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cgrp { display: flex; flex-direction: column; gap: 6px; }
.cgrp label {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #888;
}
.cgrp input,
.cgrp textarea,
.cgrp select {
  font-family: var(--font); font-size: 14px; font-weight: 500;
  padding: 12px 14px; border: 1.5px solid var(--border);
  background: #fff; color: #111; outline: none;
  transition: border-color .2s; resize: none; -webkit-appearance: none;
}
.cgrp input:focus,
.cgrp textarea:focus { border-color: var(--acc); }
.cgrp input.err,
.cgrp textarea.err { border-color: #e02020; }
button[type="submit"] {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 32px; background: var(--acc); color: #fff;
  border: 2px solid var(--acc); cursor: pointer;
  align-self: flex-start; transition: background .2s;
}
button[type="submit"]:hover { background: var(--acc2); border-color: var(--acc2); }
button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }

/* ── FOOTER ── */
footer {
  background: #111; color: #fff;
  padding: 48px 52px 28px;
  border-top: 3px solid var(--acc);
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-size: 28px; font-weight: 900; letter-spacing: -1px; color: #fff; }
.footer-logo .z { color: var(--acc); }
.footer-tagline { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: var(--acc); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.22); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-social a:hover { color: var(--acc); }

/* ── REVEAL ── */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .7s, transform .7s; }
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 18px 28px; }
  .nav-menu { gap: 20px; }
  .hero-inner { padding: 120px 28px 0; }
  .hero-stats { }
  .hstat { padding: 22px 28px; }
  #about { grid-template-columns: 1fr; min-height: auto; }
  .about-left, .about-right { padding: 60px 36px; }
  #services { padding: 60px 28px; }
  .svc-hd { flex-direction: column; align-items: flex-start; }
  .svc-hd p { text-align: left; max-width: 100%; }
  #portfolio { }
  .port-hd { padding: 60px 28px 40px; flex-direction: column; align-items: flex-start; }
  .port-row { height: 320px; }
  .port-bottom, .port-top { left: 28px; padding: 24px 28px; }
  #cta { padding: 80px 28px; }
  #contact { grid-template-columns: 1fr; padding: 60px 28px; gap: 48px; }
  .crow { grid-template-columns: 1fr; }
  footer { padding: 36px 28px 24px; }
}
@media (max-width: 768px) {
  .nav-right .nav-menu,
  .nav-right .nav-cta-btn { display: none; }
  .nav-burger { display: flex; }
  .nav-right { gap: 16px; }

  h1.hero-title { letter-spacing: -4px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hstat { border-right: none; border-top: 1px solid var(--border); }
  .svc-item { grid-template-columns: 56px 1fr 32px; }
  .svc-tag { display: none; }
  .port-row { height: 260px; }
}

/* ── MOBILE NAV OPEN ── */
.nav-open .nav-menu,
.nav-open .nav-cta-btn {
  display: flex !important;
}
.nav-open {
  flex-wrap: wrap;
  background: rgba(255,255,255,.98) !important;
  padding-bottom: 20px;
}
.nav-open .nav-menu {
  flex-direction: column; gap: 14px;
  width: 100%; order: 3; margin-top: 8px;
}
.nav-open .nav-cta-btn {
  display: inline-block !important; order: 4;
}
