/* ==========================================================
   HAZYNA GURLUŞYK — corporate site
   Bright white + brand blue, echoing the company profile:
   diagonal shapes, rounded corners, wireframe skyline.
   ========================================================== */

:root {
  --blue-800: #0A4083;
  --blue-700: #0D57A8;
  --blue-600: #1772CE;   /* primary brand blue (sampled from profile) */
  --blue-500: #1E86E8;
  --blue-400: #3EA6FB;   /* light blue from the logo monogram */
  --blue-200: #BBDCFA;
  --blue-100: #E4F1FD;
  --blue-50:  #F3F9FE;

  --ink: #0F2440;
  --body-c: #45586F;
  --muted: #64788F;
  --line: #DCE8F5;
  --white: #FFFFFF;

  --grad-blue: linear-gradient(135deg, #2B93F2 0%, #1470CC 100%);
  --grad-hero: linear-gradient(162deg, #2189EC 0%, #1470CC 55%, #0E5CB4 100%);

  --radius: 18px;
  --shadow-sm: 0 6px 18px -8px rgba(13, 87, 168, 0.18);
  --shadow-md: 0 16px 36px -16px rgba(13, 87, 168, 0.28);
  --shadow-lg: 0 28px 60px -24px rgba(10, 64, 131, 0.35);

  --container: 1200px;
  --header-h: 78px;

  --font-head: "Exo 2", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--white);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
strong { color: var(--ink); }

:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

section { scroll-margin-top: calc(var(--header-h) + 14px); }
.section { padding: 96px 0; }
.section-soft { background: var(--blue-50); }

/* Cross-page fade (View Transitions, progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.22s ease both; }
::view-transition-new(root) { animation: vt-in 0.3s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Typography ---------- */
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-head); color: var(--ink); }

.h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.h2.dark { color: var(--ink); }
.h2.light { color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--grad-blue); }

.lead { font-size: 1.06rem; color: var(--muted); max-width: 58ch; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .h2 { margin-bottom: 12px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 27px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
              border-color 0.22s ease, color 0.22s ease, filter 0.22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { padding: 16px 34px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 10px 20px; font-size: 0.87rem; }

.btn-blue {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(23, 114, 206, 0.55);
}
.btn-blue:hover { filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(23, 114, 206, 0.6); }

.btn-outline { color: var(--blue-600); border-color: var(--blue-200); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); background: var(--blue-50); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--blue-600); box-shadow: 0 14px 30px -14px rgba(6, 42, 88, 0.5); }
.btn-white:hover { transform: translateY(-2px); filter: brightness(1.03); }

.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Slanted date pill — signature shape from the company profile */
.pill {
  display: inline-block;
  transform: skewX(-12deg);
  background: var(--grad-blue);
  color: #fff;
  border-radius: 9px;
  padding: 6px 16px;
  box-shadow: 0 8px 18px -8px rgba(23, 114, 206, 0.55);
}
.pill > span {
  display: inline-block;
  transform: skewX(12deg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.chip {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 232, 245, 0.9);
  transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 14px 34px -22px rgba(13, 87, 168, 0.35); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 34px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 14px -6px rgba(23, 114, 206, 0.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-text i {
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--blue-400);
  margin-top: 4px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--body-c);
  padding: 7px 2px;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-link:hover { color: var(--blue-600); }
.nav-link[aria-current="page"] { color: var(--blue-600); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.lang-btn {
  padding: 7px 12px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { color: var(--blue-600); }
.lang-btn.is-active { background: var(--grad-blue); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--blue-600); border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Blue hero (home) ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}
.hero-sky {
  position: absolute;
  inset: auto 0 0 0;
  height: min(46%, 340px);
  background: url("../assets/skyline.svg") bottom center / cover no-repeat;
  opacity: 0.32;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
}
.hero-glow {
  position: absolute;
  left: 50%; top: -22%;
  width: 900px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-block: clamp(64px, 9vh, 110px) clamp(120px, 16vh, 190px);
}
.hero-copy .hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
}
.hero-tagline .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.7); }
.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: #fff;
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero-title .lt { color: #A8D4FB; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.13rem); color: rgba(255, 255, 255, 0.88); max-width: 56ch; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero emblem panel */
.hero-emblem { position: relative; display: grid; place-items: center; }
.hero-emblem .ring {
  position: absolute;
  width: min(380px, 82%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  animation: spin 60s linear infinite;
}
.hero-emblem .ring.r2 { width: min(300px, 66%); border-style: solid; border-color: rgba(255, 255, 255, 0.18); animation-duration: 45s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-emblem img {
  width: min(190px, 46%);
  border-radius: 18px;
  box-shadow: 0 30px 70px -22px rgba(5, 34, 70, 0.65);
}
.hero-emblem .est {
  position: absolute;
  bottom: 6%;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* stats overlap */
.stats-wrap { position: relative; z-index: 5; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-top: -86px;
  overflow: hidden;
}
.stat { position: relative; padding: 34px 20px 30px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat-ico {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--blue-100);
  display: grid;
  place-items: center;
}
.stat-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-num {
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 2.9vw, 2.5rem);
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1.05;
}
.stat-plus { color: var(--blue-400); }
.stat-label { margin-top: 7px; font-size: 0.87rem; font-weight: 600; color: var(--muted); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; }
.page-hero .hero-sky { height: 78%; opacity: 0.26; }
.page-hero-in { position: relative; z-index: 2; padding: clamp(52px, 7vh, 84px) 24px clamp(60px, 8vh, 96px); }
.breadcrumb {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.6; }
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: #fff; }
.page-sub { margin-top: 12px; font-size: 1.04rem; color: rgba(255, 255, 255, 0.85); max-width: 62ch; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.s-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.s-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.s-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.s-card:hover::before { transform: scaleY(1); }
.s-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  background: var(--blue-100);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: background 0.25s ease;
}
.s-card:hover .s-icon { background: var(--grad-blue); }
.s-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }
.s-card:hover .s-icon svg { stroke: #fff; }
.s-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 9px; }
.s-card p { font-size: 0.93rem; color: var(--muted); }
.s-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 0.85rem; font-weight: 700;
  color: var(--blue-500);
}
.s-card .more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.s-card:hover .more svg { transform: translateX(4px); }

/* ---------- Photo frames (diagonal accent) ---------- */
.frame { position: relative; }
.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 8% -16px -16px 8%;
  background: var(--grad-blue);
  border-radius: 22px;
  transform: skewX(-4deg);
  opacity: 0.9;
}
.frame::after {
  content: "";
  position: absolute;
  left: -14px; top: -14px;
  width: 90px; height: 90px;
  border-left: 3px solid var(--blue-400);
  border-top: 3px solid var(--blue-400);
  border-top-left-radius: 22px;
  z-index: 2;
}

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.split .h2 { margin-bottom: 16px; }
.split .text { margin-bottom: 14px; }
.split.flip { grid-template-columns: 1.08fr 1fr; }

.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.checks svg {
  width: 22px; height: 22px; flex: none; margin-top: 2px;
  fill: none; stroke: var(--blue-500); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  background: var(--blue-100); border-radius: 50%; padding: 4px;
}

.quote {
  position: relative;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-500);
  border-radius: 16px;
  padding: 28px 32px;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -14px; left: 20px;
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1;
  color: var(--blue-400);
}

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--blue-400); color: var(--blue-600); }
.filter-btn.is-active { background: var(--grad-blue); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(23, 114, 206, 0.55); }
.filter-btn .cnt { opacity: 0.65; font-weight: 600; margin-left: 4px; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.p-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.p-card.hidden { display: none; }
.p-card.appear { animation: cardIn 0.4s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.p-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad-hero); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-media .pill { position: absolute; right: 14px; bottom: 12px; z-index: 2; }
.p-media.iconic { display: grid; place-items: center; }
.p-media.iconic::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/skyline.svg") bottom center / cover no-repeat;
  opacity: 0.25;
}
.p-media.iconic svg { position: relative; width: 64px; height: 64px; fill: none; stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.p-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.p-body h3 { font-size: 1.04rem; font-weight: 700; line-height: 1.35; }
.p-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.p-meta svg { width: 15px; height: 15px; fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.p-body .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

/* region band */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.region-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 24px 22px;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
}
.region-card:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-4px); }
.region-num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1; color: #fff; }
.region-name { margin-top: 8px; font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.region-bar { margin-top: 14px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.region-bar i { display: block; height: 100%; border-radius: 6px; background: #fff; width: 0; transition: width 1.1s cubic-bezier(0.33, 1, 0.68, 1) 0.2s; }
.in .region-bar i { width: var(--w); }

/* ---------- Blue band sections ---------- */
.band {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}
.band .hero-sky { height: 70%; opacity: 0.22; }
.band-in { position: relative; z-index: 2; padding-block: 78px; }
.band .h2 { color: #fff; }
.band .kicker { color: #BBDFFC; }
.band .lead { color: rgba(255, 255, 255, 0.85); }

/* CTA band */
.cta-in {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; padding-block: 64px; flex-wrap: wrap;
}
.cta-title { font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 800; color: #fff; max-width: 26ch; text-wrap: balance; }
.cta-note { margin-top: 10px; color: rgba(255, 255, 255, 0.85); font-size: 0.98rem; }

/* partner strip */
.partner {
  display: flex; align-items: center; gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.partner-badge {
  flex: none;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 2px solid var(--blue-100);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue-600);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  background: var(--blue-50);
}

/* ---------- Licenses ---------- */
.licenses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.license-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.license-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.license-card img { width: 100%; aspect-ratio: 3 / 4.1; object-fit: cover; border-bottom: 1px solid var(--line); }
.license-card figcaption { padding: 18px 20px; font-size: 0.9rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.license-card figcaption small { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 38px 30px; }
.step { position: relative; padding-top: 24px; }
.step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: -30px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 10px, transparent 10px 18px);
}
.step:last-child::before { right: 0; }
.step::after {
  content: "";
  position: absolute; top: -5px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad-blue);
  box-shadow: 0 0 0 5px var(--blue-100);
}
.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: var(--blue-200);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Service detail blocks ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; padding-block: 34px; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc .h3 {
  font-size: 1.45rem; font-weight: 800;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.svc .h3 .s-icon { margin: 0; width: 50px; height: 50px; border-radius: 13px; flex: none; }
.svc ul { margin-top: 14px; display: grid; gap: 9px; }
.svc ul li { position: relative; padding-left: 24px; font-size: 0.97rem; color: var(--body-c); }
.svc ul li::before {
  content: "";
  position: absolute; left: 2px; top: 0.52em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--grad-blue);
  transform: rotate(45deg);
}
.svc .media { position: relative; }
.svc .media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); }
.svc .media .pill { position: absolute; left: 18px; top: 18px; }
.svc .media.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc .media.grid2 img { aspect-ratio: 4 / 3.4; }
.svc .media.grid2 img:nth-child(2) { transform: translateY(22px); }

/* tags cloud (supply products) */
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.tags span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: start; }
.c-info { display: grid; gap: 16px; }
.c-item {
  display: flex; gap: 17px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.c-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.c-icon { width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--blue-100); display: grid; place-items: center; }
.c-icon svg { width: 23px; height: 23px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-label {
  font-family: var(--font-head);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.c-value { font-weight: 700; color: var(--ink); line-height: 1.5; overflow-wrap: anywhere; }
.c-value a:hover { color: var(--blue-600); }
.c-value small { display: block; font-weight: 500; color: var(--muted); }

.c-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.c-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3.5px rgba(30, 134, 232, 0.16);
}
.field.invalid input, .field.invalid textarea { border-color: #E25A5A; }
.field.invalid .field-err { display: block; }
.field-err { display: none; color: #C94747; font-size: 0.8rem; font-weight: 600; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute; right: 16px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-success { text-align: center; padding: 30px 8px; }
.form-success svg { width: 62px; height: 62px; margin: 0 auto 16px; fill: none; stroke: var(--blue-500); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.28rem; font-weight: 800; margin-bottom: 7px; }
.form-success p { color: var(--muted); }

.map-note {
  margin-top: 16px;
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--body-c);
}
.map-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: linear-gradient(170deg, #0D57A8 0%, #0A4083 100%);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 46%;
  background: url("../assets/skyline.svg") bottom center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.f-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 1.1fr 1.15fr;
  gap: 44px;
  padding-block: 66px 52px;
}
.f-brand .brand { margin-bottom: 18px; }
.f-brand .brand-text b { color: #fff; }
.f-brand .brand-text i { color: #A8D4FB; }
.f-blurb { font-size: 0.93rem; max-width: 36ch; margin-bottom: 20px; }
.f-tagline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #A8D4FB;
  border-bottom: 2px solid rgba(168, 212, 251, 0.5);
  padding-bottom: 6px;
}
.f-title {
  font-family: var(--font-head);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.f-col { display: grid; gap: 10px; align-content: start; font-size: 0.93rem; }
.f-col a { transition: color 0.2s ease; overflow-wrap: anywhere; }
.f-col a:hover { color: #fff; }
.f-line { display: flex; gap: 10px; align-items: flex-start; }
.f-line svg { width: 16px; height: 16px; flex: none; margin-top: 4px; fill: none; stroke: #A8D4FB; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-block: 20px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.6); }
.f-bottom-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Intro (logo draw-in) ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--grad-hero);
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease 0.45s;
}
#intro::before {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 42%;
  background: url("../assets/skyline.svg") bottom center / cover no-repeat;
  opacity: 0;
  animation: introSky 1s ease 1.6s forwards;
}
@keyframes introSky { to { opacity: 0.25; } }
#intro.done { transform: translateY(-102%); opacity: 0.6; pointer-events: none; }
#intro.gone { display: none; }

.intro-stage { position: relative; text-align: center; }
.intro-logo { position: relative; width: clamp(150px, 22vh, 210px); margin-inline: auto; }
.intro-logo svg { width: 100%; height: auto; overflow: visible; }
.intro-logo .stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
#intro.play .draw-hex { animation: draw 1.05s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards; }
#intro.play .draw-a  { animation: draw 0.6s ease 1.0s forwards; }
#intro.play .draw-b  { animation: draw 0.7s ease 1.15s forwards; }
#intro.play .draw-c  { animation: draw 0.6s ease 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-logo .sketch { transition: opacity 0.45s ease; }
.intro-raster {
  position: absolute; inset: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  filter: drop-shadow(0 24px 50px rgba(5, 34, 70, 0.55));
}
#intro.reveal .sketch { opacity: 0; }
#intro.reveal .intro-raster { opacity: 1; }

.intro-word {
  margin-top: 26px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
#intro.reveal .intro-word { opacity: 1; transform: none; }
.intro-word b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
}
.intro-word i {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-family: var(--font-head);
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  color: #A8D4FB;
}
.intro-skip {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 9px 20px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.intro-skip:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.33, 1, 0.68, 1); }
.reveal.in { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(1) { transition-delay: 0.04s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.28s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.36s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.44s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-grid, .projects-grid, .licenses { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { right: 0; }
  .header-cta { display: none; }
  .hero-in { grid-template-columns: 1fr; padding-bottom: 150px; }
  .hero-emblem { display: none; }
  .regions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 44px 30px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 85;
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav-link { font-size: 1.2rem; }
  .nav-mobile-extra { display: block; margin-top: 10px; }
  .burger { display: flex; }

  .split, .split.flip { grid-template-columns: 1fr; gap: 44px; }
  .svc { grid-template-columns: 1fr; }
  .svc .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -66px; }
  .stat + .stat::before { display: none; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
}

@media (max-width: 620px) {
  .brand-text b { font-size: 0.86rem; letter-spacing: 0.03em; }
  .brand-text i { display: none; }
  .brand-logo { width: 28px; height: 45px; }
  .cards-grid, .projects-grid, .licenses { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .c-form-wrap { padding: 26px 20px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1 1 100%; }
  .regions { grid-template-columns: 1fr 1fr; gap: 14px; }
  .partner { flex-direction: column; text-align: center; }
  .svc .media.grid2 img:nth-child(2) { transform: none; }
  .brand-text i { letter-spacing: 0.22em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #intro { display: none !important; }
}
