/* ============================================================
   Czech Invest Solutions — 2026 refresh
   Premium investment advisory. Navy + champagne gold.
   ============================================================ */

/* ---------- Webfont (commercial — drop Graphik Web files here to enable) ----------
@font-face {
  font-family: "Graphik Web";
  src: url("../fonts/Graphik-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Graphik Web";
  src: url("../fonts/Graphik-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Graphik Web";
  src: url("../fonts/Graphik-Semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
----------------------------------------------------------------------------------- */

/* ---------- Reset & tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink:        #070d16;
  --ink-2:      #0a1322;
  --navy:       #0e1c30;
  --navy-soft:  #14263e;
  --gold:       #065d64;
  --gold-2:     #0b9fac;
  --gold-deep:  #0a6a72;
  --cream:      #f6f2ea;
  --paper:      #fbfaf7;
  --muted:      #9bb0c7;
  --muted-dark: #5d6b7d;
  --line:       rgba(255, 255, 255, 0.09);
  --line-dark:  rgba(10, 20, 35, 0.10);

  --ff-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ff-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 30px 60px -25px rgba(7, 13, 22, 0.45);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.1em; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; position: relative; }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.on-dark .eyebrow { color: var(--gold-2); }

.h-display { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.h-section { font-size: clamp(2rem, 4vw, 3.1rem); }
.lead { font-size: 1.18rem; color: var(--muted-dark); max-width: 60ch; }
.on-dark .lead { color: var(--muted); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: color .5s var(--ease);
  z-index: 0;
}
.btn span.txt { position: relative; z-index: 2; }
.btn i { position: relative; z-index: 2; transition: transform .45s var(--ease); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: 1;
}
.btn:hover { color: var(--cream); }
.btn:hover::after { transform: translateY(0); }
.btn:hover i { transform: translateX(5px); }

.btn--ghost {
  --bg: rgba(255,255,255,0.06);
  --fg: var(--cream);
}
.btn--ghost::after { background: var(--gold); }
.btn--ghost:hover { color: var(--cream); }

.btn--dark { --bg: var(--navy); --fg: var(--cream); }
.btn--dark::after { background: var(--gold); }
.btn--dark:hover { color: var(--cream); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 26px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(7, 13, 22, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--cream);
}
.brand .logo-img {
  width: 200px;
  height: auto;
  display: block;
  transition: width .4s var(--ease);
}
.site-header.scrolled .brand .logo-img { width: 170px; }
.site-footer .brand .logo-img { width: 220px; }
.brand .mark {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand .mark b { color: var(--gold-2); font-weight: 600; }
.brand .sub {
  font-family: var(--ff-body);
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-2); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { margin-left: 6px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--cream);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  clip-path: circle(0% at 100% 0);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
body.menu-open .mobile-nav {
  clip-path: circle(150% at 100% 0);
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  color: var(--cream);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-nav a:hover { color: var(--gold-2); }
body.menu-open .mobile-nav a { opacity: 1; transform: none; }
body.menu-open .mobile-nav a:nth-child(1) { transition-delay: .18s; }
body.menu-open .mobile-nav a:nth-child(2) { transition-delay: .26s; }
body.menu-open .mobile-nav a:nth-child(3) { transition-delay: .34s; }
body.menu-open .mobile-nav a:nth-child(4) { transition-delay: .42s; }
body.menu-open .mobile-nav a:nth-child(5) { transition-delay: .50s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -8%;
  background: url("../images/hero.webp") center/cover no-repeat;
  filter: saturate(0.85) brightness(0.7);
  transform: scale(1.12);
  will-change: transform;
  z-index: 0;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(198,161,91,0.16), transparent 55%),
    linear-gradient(180deg, rgba(7,13,22,0.55) 0%, rgba(7,13,22,0.65) 45%, rgba(7,13,22,0.94) 100%);
  z-index: 1;
}
.hero__grain {
  position: absolute; inset: 0; z-index: 2; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
          mask-image: radial-gradient(circle at 50% 40%, #000, transparent 80%);
}
.hero .container { position: relative; z-index: 3; }
.hero__content { max-width: 860px; padding-top: 80px; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 5.1vw, 4.3rem);
  font-weight: 500;
}
.hero h1 .accent { color: var(--gold-2); font-style: italic; }
.hero p { color: var(--muted); font-size: 1.2rem; max-width: 52ch; margin: 28px 0 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 48px; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 56px;
  background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--gold-2);
  animation: cue 2.2s var(--ease-soft) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(350%); }
}

/* hero ticker / marquee */
.ticker {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7,13,22,0.4);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  padding: 16px 0;
  animation: scrollx 28s linear infinite;
}
.ticker span {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--cream);
  padding: 0 38px;
  opacity: 0.85;
}
.ticker span i { color: var(--gold); font-style: normal; margin-right: 10px; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats {
  background: var(--ink-2);
  color: var(--cream);
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--ink-2);
  padding: 44px 30px;
  text-align: center;
}
.stat .num {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  color: var(--gold-2);
  line-height: 1;
}
.stat .num small { font-size: 0.5em; color: var(--gold); }
.stat .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Section heading block ---------- */
.head-block { max-width: 640px; margin-bottom: 64px; }
.head-block.center { margin-left: auto; margin-right: auto; text-align: center; }
.head-block p { margin-top: 18px; }

/* ---------- Feature / service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.card {
  position: relative;
  padding: 44px 34px;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(6,93,100,0.16), rgba(6,93,100,0.04));
  color: var(--gold-deep);
  font-size: 24px;
  margin-bottom: 26px;
  transition: transform .55s var(--ease);
}
.card:hover .ic { transform: rotate(-8deg) scale(1.06); }
.card h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--navy); }
.card p { color: var(--muted-dark); margin: 0; font-size: 0.97rem; line-height: 1.7; }
.card .idx {
  position: absolute;
  top: 26px; right: 30px;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.5;
}

/* media card (product with photo) */
.card--media { padding: 0; }
.card--media .ph {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.card--media .ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card--media:hover .ph img { transform: scale(1.08); }
.card--media .ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,13,22,0.35));
}
.card--media .body { padding: 32px 30px 38px; }
.card--media h3 { font-size: 1.5rem; margin-top: 20px; margin-bottom: 12px; color: var(--navy); }
.card--media p { color: var(--muted-dark); margin: 0; font-size: 0.97rem; line-height: 1.7; }

/* dark variant of cards */
.on-dark { background: var(--ink); color: var(--cream); }
.on-dark .card {
  background: rgba(255,255,255,0.022);
  border-color: var(--line);
}
.on-dark .card h3 { color: var(--cream); }
.on-dark .card p { color: var(--muted); }
.on-dark .card:hover { background: rgba(255,255,255,0.04); }

/* ---------- Pravidelné investice (full-bleed image left, text right) ---------- */
.pinv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.pinv__media {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
}
.pinv__media img,
.pinv__media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s var(--ease);
}
.pinv__media.in img,
.pinv__media.in video { transform: scale(1); }
.pinv__media-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7,13,22,0.15), rgba(7,13,22,0.55));
}
.pinv__badge {
  position: absolute;
  left: 0;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 36px;
  background: rgba(7,13,22,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-2);
}
.pinv__badge .num { font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--gold-2); }
.pinv__badge .cap { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.pinv__text {
  display: flex;
  align-items: center;
  padding: clamp(64px, 8vw, 120px) clamp(32px, 5vw, 84px)
           clamp(64px, 8vw, 120px) clamp(48px, 5vw, 96px);
}
.pinv__inner { max-width: 620px; }
.pinv__title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--cream);
  margin-top: 4px;
}
.pinv__lead {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--cream);
  margin: 22px 0 24px;
}
.pinv__text p { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }
.pinv__note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.pinv__note strong { color: var(--muted); font-weight: 400; }

@media (max-width: 900px) {
  .pinv { grid-template-columns: 1fr; }
  .pinv__media { min-height: 54vh; }
  .pinv__text {
    padding: clamp(48px, 12vw, 80px) 28px;
  }
  .pinv__inner { max-width: none; }
}

/* ---------- About (Kdo jsme) ---------- */
.about__head {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: end;
}
.about__title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.about__lead { margin: 0; color: var(--muted-dark); font-size: 1.08rem; line-height: 1.7; }

.about__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin: clamp(56px, 7vw, 96px) 0;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.about__big {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--gold);
  white-space: nowrap;
}
.about__big small { font-size: 0.4em; color: inherit; vertical-align: super; font-weight: 500; }
.about__featcap {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
  max-width: 24ch;
}

.about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.about__cols p { margin: 0; color: var(--muted-dark); line-height: 1.8; }

@media (max-width: 860px) {
  .about__head { grid-template-columns: 1fr; gap: 24px; }
  .about__feature { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .about__cols { grid-template-columns: 1fr; }
}

/* ---------- Services (3 minimal columns) ---------- */
.svc__head { margin-bottom: 72px; }
.svc__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.svc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.svc__item {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding-top: 30px;
}
.svc__item::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.svc__item:hover::before { transform: scaleX(1); }
.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}
.svc__num {
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(14, 28, 48, 0.16);
  transition: color .55s var(--ease);
}
.svc__item:hover .svc__num { color: var(--gold-deep); }
.svc__top i {
  font-size: 22px;
  color: rgba(14, 28, 48, 0.16);
  transition: transform .55s var(--ease), color .55s var(--ease);
}
.svc__item:hover .svc__top i { transform: translateY(-4px); color: var(--gold-deep); }
.svc__item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
}
.svc__item p { margin: 0; color: var(--muted-dark); font-size: 1rem; line-height: 1.65; }

/* subtle investing background graphic */
.svc.on-dark { position: relative; overflow: hidden; }
.svc__bg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 70%;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}
.svc.on-dark > .container { position: relative; z-index: 1; }

/* dark variant */
.on-dark .svc__title { color: var(--cream); }
.on-dark .svc__item { border-top-color: var(--line); }
.on-dark .svc__num { color: rgba(255, 255, 255, 0.18); }
.on-dark .svc__item:hover .svc__num { color: var(--gold-2); }
.on-dark .svc__top i { color: rgba(255, 255, 255, 0.18); }
.on-dark .svc__item:hover .svc__top i { color: var(--gold-2); }
.on-dark .svc__item h3 { color: var(--cream); }
.on-dark .svc__item p { color: var(--muted); }

@media (max-width: 820px) {
  .svc__head { margin-bottom: 48px; }
  .svc__grid { grid-template-columns: 1fr; gap: 0; }
  .svc__item { padding: 30px 0; border-bottom: 1px solid var(--line-dark); }
  .svc__item:not(:first-child) { border-top: none; }
  .svc__item::before { display: none; }
  .svc__top { margin-bottom: 28px; }
}

/* ---------- Minimal feature list ---------- */
.feat { background: #fff; }
.feat__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.feat__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.feat__lead {
  margin: 0 0 6px;
  color: var(--muted-dark);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 38ch;
  text-align: right;
}

.feat__list { border-top: 1px solid var(--line-dark); }
.feat__row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 0.9fr 1.3fr 40px;
  align-items: center;
  gap: 40px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--navy);
  transition: padding-left .55s var(--ease), background-color .55s var(--ease);
}
.feat__row::after {
  content: "";
  position: absolute;
  inset: 0 -28px;
  background: linear-gradient(90deg, rgba(11,159,172,0.06), transparent 70%);
  opacity: 0;
  transition: opacity .55s var(--ease);
  z-index: -1;
}
.feat__row:hover::after { opacity: 1; }
.feat__row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
/* higher specificity so the reveal rule [data-reveal] can't strip padding-left from the transition */
.feat__list a.feat__row {
  transition: opacity .9s var(--ease), transform .9s var(--ease),
              padding-left .55s var(--ease), background-color .55s var(--ease);
}
.feat__row:hover { padding-left: 20px; }
.feat__row:hover::before { transform: scaleX(1); }

.feat__n {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  transition: color .55s var(--ease), transform .55s var(--ease);
}
.feat__row:hover .feat__n { color: var(--gold-2); transform: translateY(-2px); }
.feat__t {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
  transition: color .55s var(--ease);
}
.feat__row:hover .feat__t { color: var(--gold-deep); }
.feat__d { margin: 0; color: var(--muted-dark); font-size: 1rem; line-height: 1.6; }
.feat__arr {
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-size: 15px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.feat__row:hover .feat__arr { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .feat__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feat__lead { text-align: left; margin-bottom: 0; }
  .feat__row {
    grid-template-columns: 44px 1fr;
    gap: 6px 20px;
    align-items: start;
    padding: 30px 0;
  }
  .feat__n { grid-row: 1; }
  .feat__t { grid-column: 2; }
  .feat__d { grid-column: 2; margin-top: 10px; }
  .feat__arr { display: none; }
  .feat__row:hover { padding-left: 10px; }
}

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--navy), var(--ink));
}
.split__media .frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 3;
  pointer-events: none;
}
.split__media .bg {
  position: absolute; inset: 0;
  background: url("../images/hero-mountain.png") center/cover no-repeat;
  filter: saturate(0.8) brightness(0.85);
  transform: scale(1.05);
  transition: transform 1.2s var(--ease);
}
.split:hover .split__media .bg { transform: scale(1.12); }
.split__media .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,13,22,0.1), rgba(7,13,22,0.7));
  z-index: 2;
}
.split__media .badge {
  position: absolute;
  left: 26px; bottom: 26px;
  z-index: 4;
  color: var(--cream);
}
.split__media .badge .big {
  font-family: var(--ff-display);
  font-size: 3rem; color: var(--gold-2); line-height: 1;
}
.split__media .badge .cap { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.checklist { list-style: none; margin: 26px 0 34px; padding: 0; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--navy);
}
.on-dark .checklist li { color: var(--cream); border-color: var(--line); }
.checklist li i { color: var(--gold-deep); margin-top: 5px; flex: none; }
.on-dark .checklist li i { color: var(--gold-2); }

/* ---------- Process / steps ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left .5s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 18px; }
.step .no {
  font-family: var(--ff-display);
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
  transition: color .4s var(--ease);
}
.step:hover .no { color: var(--gold-2); }
.step h3 { font-size: 1.7rem; color: var(--cream); margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; max-width: 60ch; }

/* ---------- Tabs (produkty) ---------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.tabs__nav button {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  background: none;
  border: none;
  padding: 16px 22px;
  cursor: pointer;
  position: relative;
  transition: color .35s var(--ease);
}
.tabs__nav button::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.tabs__nav button:hover { color: var(--navy); }
.tabs__nav button.active { color: var(--navy); }
.tabs__nav button.active::after { transform: scaleX(1); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease) both; }

.tab-hero {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 70px 50px;
  color: var(--cream);
  margin-bottom: 36px;
  background: linear-gradient(150deg, var(--navy), var(--ink));
}
.tab-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--tabimg, url("../images/hero-mountain.png"));
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0.42;
}
.tab-hero h2 { position: relative; z-index: 2; font-size: clamp(2rem, 4vw, 3rem); }
.tab-hero .eyebrow { position: relative; z-index: 2; color: var(--gold-2); }

/* ---------- Produkty (split nav + animated panels) ---------- */
.prod__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(36px, 4vw, 80px);
  align-items: start;
}
.prod__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-dark);
  position: sticky;
  top: 110px;
}
.prod__nav button {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  font-family: var(--ff-body);
  color: var(--muted-dark);
  transition: color .45s var(--ease), padding-left .45s var(--ease);
}
.prod__nav .pn { font-size: 0.82rem; font-weight: 600; color: rgba(14,28,48,0.3); transition: color .45s var(--ease); }
.prod__nav .pt { flex: 1; font-size: 1.12rem; font-weight: 500; line-height: 1.2; }
.prod__nav button i {
  opacity: 0;
  transform: translateX(-8px);
  color: var(--gold-deep);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.prod__nav button:hover { color: var(--navy); padding-left: 12px; }
.prod__nav button.active { color: var(--navy); }
.prod__nav button.active .pn { color: var(--gold-deep); }
.prod__nav button.active i { opacity: 1; transform: none; }

.prod__panels { position: relative; }
.prod__panel {
  padding: 54px 0;
  border-top: 1px solid var(--line-dark);
  scroll-margin-top: 120px;
}
.prod__panel:first-child { padding-top: 0; border-top: none; }
.prod__head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 26px;
}
.prod__num {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--gold);
}
.prod__h {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
}
.prod__text p { color: var(--muted-dark); }
.prod__subh { margin: 30px 0 12px; color: var(--navy); font-size: 1.3rem; font-weight: 600; }

@media (max-width: 860px) {
  .prod__layout { grid-template-columns: 1fr; gap: 32px; }
  .prod__nav { position: static; }
  .prod__img { aspect-ratio: 16 / 10; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  padding: 38px 30px;
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-card .ic {
  width: 58px; height: 58px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy); color: var(--gold-2);
  font-size: 20px;
}
.contact-card h5 { font-family: var(--ff-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 8px; }
.contact-card p { font-size: 1.05rem; color: var(--navy); margin: 0; font-weight: 500; }

.map-wrap {
  margin-top: 48px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  position: relative;
}
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Form ---------- */
.lead-form input,
.lead-form textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--cream);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 16px 18px;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: var(--muted-dark); }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.lead-form textarea { resize: vertical; }
.lead-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ---------- Contact (info panel + map) ---------- */
.contact.on-dark { position: relative; overflow: hidden; }
.contact__bg {
  position: absolute;
  right: -150px; top: 50%;
  width: 620px; height: 620px;
  transform: translateY(-50%);
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  animation: globeSpin 90s linear infinite;
}
@keyframes globeSpin { to { transform: translateY(-50%) rotate(360deg); } }
.contact.on-dark > .container { position: relative; z-index: 1; }

.contact__head { margin-bottom: 48px; }
.contact__panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 2.5vw, 36px) clamp(28px, 3.5vw, 52px);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  transition: padding-left .45s var(--ease);
}
.contact__row:last-child { border-bottom: none; }
.contact__row:hover { padding-left: 10px; }
.contact__row .ic {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  color: var(--gold-2);
  font-size: 19px;
  transition: background .45s var(--ease), color .45s var(--ease), transform .45s var(--ease);
}
.contact__row:hover .ic { background: var(--gold); color: var(--cream); transform: scale(1.06); }
.contact__meta { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.contact__meta .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.contact__meta .val { font-size: 1.08rem; font-weight: 500; color: var(--cream); word-break: break-word; }
.contact__arr {
  color: var(--gold-2);
  font-size: 14px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.contact__row:hover .contact__arr { opacity: 1; transform: none; }

.contact__map { position: relative; min-height: 480px; }
.contact__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.45) contrast(1.05);
  transition: filter .6s var(--ease);
}
.contact__map:hover iframe { filter: grayscale(0) contrast(1); }

@media (max-width: 820px) {
  .contact__panel { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; order: 2; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink) url("../images/cta-bg.webp") center/cover no-repeat;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(11,159,172,0.18), transparent 55%),
    linear-gradient(180deg, rgba(7,13,22,0.74), rgba(7,13,22,0.84));
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 22px; }
.cta-band h2 em { color: var(--gold-2); font-style: italic; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 200px 0 110px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/hero-mountain.png") center/cover no-repeat;
  opacity: 0.2; mix-blend-mode: luminosity;
  transform: scale(1.08);
}
.page-hero .veil {
  position: absolute; inset: 0;
  background: radial-gradient(100% 100% at 70% 0%, rgba(198,161,91,0.14), transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero p { color: var(--muted); max-width: 56ch; margin-top: 20px; font-size: 1.15rem; }
.crumbs { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 24px; }
.crumbs a { opacity: 0.8; }
.crumbs span { opacity: 0.5; margin: 0 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted);
  padding: 90px 0 36px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.site-footer .brand .mark { font-size: 1.7rem; }
.site-footer .brand .sub { color: var(--muted-dark); }
.footer-about { margin-top: 22px; max-width: 38ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--ff-body); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); margin-bottom: 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 13px; }
.footer-col a { transition: color .3s, padding-left .3s; font-size: 0.95rem; }
.footer-col a:hover { color: var(--gold-2); padding-left: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 30px;
  font-size: 0.85rem;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .35s, color .35s, border-color .35s, transform .35s;
}
.footer-bottom .socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal][data-reveal="right"] { transform: translateX(40px); }
[data-reveal][data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 11; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 80px 1fr; gap: 22px; }
  .step .no { font-size: 2.4rem; }
}
@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .hero__content { padding-top: 110px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .page-hero { padding: 150px 0 80px; }
}
@media (max-width: 480px) {
  .stats .grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
