/* Jurtime s.r.o. — design tokens mirror the Figma "Jurtime Colors" collection */
:root {
  --blue: #1414e6;
  --blue-dark: #0d0da8;
  --navy: #0a0b2e;
  --blue-50: #f2f4ff;
  --blue-100: #e3e7ff;
  --white: #ffffff;
  --text: #0a0b2e;
  --muted: #5b6079;
  --border: #e2e5f0;
  --danger: #c4162a;
  --success: #0f7b45;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 8px;
  --gutter: 120px;
  --container: 1440px;
  --section-y: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 18px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0; line-height: 1.05; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--blue); color: var(--white); padding: 8px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 4px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 8px 24px rgb(20 20 230 / .25); }
.btn--secondary { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--secondary:hover { background: var(--blue-50); }

/* ---------- Eyebrow & headings ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: var(--blue); font: 600 14px/1 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--white); }
.h2 { font-size: clamp(36px, 4vw, 52px); max-width: 760px; }
.lead { color: var(--muted); max-width: 640px; margin-top: 20px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.nav__logo img { width: 180px; height: auto; }
.nav__menu { display: flex; align-items: center; gap: 56px; }
.nav__links { display: flex; gap: 40px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 16px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 24px; }
.nav__lang { text-decoration: none; font: 600 14px/1 var(--font-body); letter-spacing: .06em; color: var(--muted); }
.nav__lang .is-active { color: var(--blue); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__bars, .nav__bars::before, .nav__bars::after { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
.nav__bars { position: relative; }
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 112px; background: var(--navy); color: var(--white); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
/* Brand-blue overlay keeps text readable and lets the furnace glow through on the right */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(10 11 46 / .94) 0%, rgb(13 13 120 / .86) 42%, rgb(20 20 230 / .5) 100%),
    linear-gradient(0deg, rgb(10 11 46 / .5), transparent 40%);
}
.hero__inner { display: grid; grid-template-columns: 1fr 540px; gap: 80px; align-items: center; }
.hero .eyebrow { color: var(--white); }
.hero__title { font-size: clamp(48px, 6vw, 80px); line-height: .96; letter-spacing: -.01em; margin-bottom: 28px; }
.hero__lead { font-size: 20px; color: rgb(255 255 255 / .82); max-width: 620px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin: 36px 0 40px; }
.hero .btn--secondary { border-color: rgb(255 255 255 / .7); color: var(--white); }
.hero .btn--secondary:hover { background: rgb(255 255 255 / .12); border-color: var(--white); }
.hero .btn--primary:hover { box-shadow: 0 8px 24px rgb(0 0 0 / .3); }
.hero__stats { display: flex; gap: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .2); }
.hero__stats dt { font: 700 40px/1.1 var(--font-head); color: var(--white); }
.hero__stats dd { font-size: 15px; font-weight: 500; color: rgb(255 255 255 / .72); }

.hero__visual {
  position: relative; height: 600px; border-radius: 12px; overflow: hidden; padding: 48px;
  background: rgb(20 20 230 / .42); border: 1px solid rgb(255 255 255 / .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background-image: radial-gradient(circle at 85% 15%, rgb(255 255 255 / .12), transparent 45%);
}
.orbit { position: absolute; border-radius: 50%; border: 2px solid rgb(255 255 255 / .2); }
.orbit--1 { width: 620px; height: 620px; left: -40px; top: -10px; }
.orbit--2 { width: 460px; height: 460px; left: 180px; top: 130px; border-color: rgb(255 255 255 / .15); }
.orbit--3 { width: 300px; height: 300px; left: 260px; top: 280px; border-color: rgb(255 255 255 / .1); animation: spin 40s linear infinite; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }
.tiles { position: relative; display: grid; grid-template-columns: repeat(3, 120px); gap: 12px; }
.tile {
  height: 120px; padding: 14px; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .28); color: var(--white);
  transition: background-color .25s, transform .25s;
}
.tile:hover { background: rgb(255 255 255 / .16); transform: translateY(-3px); }
.tile--active { background: var(--white); color: var(--blue); }
.tile--active:hover { background: var(--white); }
.tile__num { font-size: 12px; font-weight: 500; opacity: .72; }
.tile__sym { font: 700 36px/1 var(--font-head); margin-top: auto; }
.tile__name { font-size: 12px; font-weight: 500; opacity: .8; }
.hero__note {
  position: absolute; left: 48px; right: 48px; bottom: 48px; background: var(--white);
  border-radius: var(--radius); padding: 20px 24px; display: grid; gap: 6px; color: var(--text);
  box-shadow: 0 20px 40px rgb(10 11 46 / .2);
}
.hero__note strong { font: 700 24px/1.1 var(--font-head); }
.hero__note span { color: var(--muted); font-size: 16px; }

/* ---------- Industries strip ---------- */
.strip { background: var(--blue-50); padding: 28px 0; }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.strip__label { font: 600 14px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.strip__list { display: flex; flex-wrap: wrap; gap: 16px 56px; justify-content: flex-end; }
.strip__list li { font: 600 22px/1.2 var(--font-head); color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--blue-50); }
.section--blue { background: var(--blue); color: var(--white); }
.section__head { margin-bottom: 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.split__body { display: grid; gap: 20px; padding-top: 44px; color: var(--muted); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue-100); box-shadow: 0 20px 40px rgb(20 20 230 / .1); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: #eef0f4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tile {
  position: absolute; left: 20px; bottom: -1px;
  min-width: 64px; height: 56px; padding: 0 12px; border-radius: 6px 6px 0 0; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font: 700 24px/1 var(--font-head);
}
.card__body { display: flex; flex-direction: column; gap: 16px; padding: 24px 28px 28px; flex: 1; }
.card__name { font-size: 26px; }
.card__desc { color: var(--muted); font-size: 16px; line-height: 1.5; flex: 1; }
.card__spec { color: var(--blue); font-weight: 500; font-size: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--blue); text-decoration: none; }
.card__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.card__link:hover .icon { transform: translateX(3px); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.feature { display: grid; gap: 14px; align-content: start; }
.feature__num { font: 700 18px/1 var(--font-head); color: var(--blue); letter-spacing: .04em; }
.feature__num::after { content: ""; display: block; width: 40px; height: 3px; background: var(--blue); margin-top: 14px; }
.feature__title { font-size: 26px; }
.feature p { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--radius);
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .22);
  transition: background-color .25s;
}
.step:hover { background: rgb(255 255 255 / .14); }
.step__num { font: 600 14px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.step__title { font-size: 30px; }
.step p { font-size: 16px; line-height: 1.5; opacity: .82; }

/* ---------- Contact ---------- */
.info { display: grid; gap: 16px; margin-top: 40px; }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); align-items: baseline; }
.info dt { font: 600 14px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info dd { font-weight: 500; }
.info a { text-decoration: none; }
.info__phones { display: grid; gap: 6px; }
.info a:hover { color: var(--blue); }

.form { background: var(--blue-50); border-radius: 12px; padding: 40px; display: grid; gap: 20px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--text);
  background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(20 20 230 / .15); }
.has-error input, .has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 14px; }
.form .btn { justify-self: start; }
.alert { padding: 14px 16px; border-radius: 4px; font-size: 16px; }
.alert--success { background: #e6f6ee; color: var(--success); }
.alert--error { background: #fdecee; color: var(--danger); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: 32px; }
.footer__links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.footer__links a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .hero__inner { grid-template-columns: 1fr 460px; gap: 56px; }
  .hero__visual { padding: 32px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 96px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 18px; }
  .nav__links a::after { display: none; }
  .nav__actions { justify-content: space-between; }
  .hero__inner, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero__bg::after { background: linear-gradient(180deg, rgb(10 11 46 / .92) 0%, rgb(13 13 120 / .85) 60%, rgb(20 20 230 / .7) 100%); }
  .split__body { padding-top: 0; }
  .strip__inner { flex-direction: column; align-items: flex-start; }
  .strip__list { justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 72px; }
  body { font-size: 16px; }
  .nav__inner { height: 72px; }
  .nav__menu { inset: 72px 0 auto 0; }
  .nav__logo img { width: 148px; }
  html { scroll-padding-top: 72px; }
  .hero { padding: 48px 0 72px; }
  .hero__lead { font-size: 18px; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hero__stats { gap: 24px; justify-content: space-between; }
  .hero__stats dt { font-size: 32px; }
  .hero__visual { height: auto; padding: 20px; display: grid; gap: 20px; }
  .tiles { gap: 8px; }
  .tile { height: 96px; padding: 10px; }
  .tile__sym { font-size: 26px; }
  .tile__name { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero__note { position: relative; inset: auto; }
  .strip__list { gap: 8px 24px; }
  .strip__list li { font-size: 18px; }
  .products, .features, .steps, .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form .btn { justify-self: stretch; justify-content: center; }
  .info > div { grid-template-columns: 1fr; gap: 6px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
