/* Gradisan – website styles */

:root {
  --ink: #15171a;
  --ink-2: #1f2226;
  --ink-3: #2b2f34;
  --paper: #f4f3ee;
  --white: #ffffff;
  --line: #e3e1d9;
  --line-dark: rgba(255, 255, 255, .12);
  --muted: #62666c;
  --muted-light: rgba(255, 255, 255, .68);
  --yellow: #f5b81c;
  --yellow-hover: #ffc83d;
  --grid-line: rgba(255, 255, 255, .22);

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Archivo", "Manrope", system-ui, sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --section-y: clamp(72px, 9vw, 120px);
  --header-h: 84px;
  --hero-col: 320px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1,
h2,
h3,
h4 { font-family: var(--font-head); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul,
ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }
.eyebrow-light { color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font-body);
  padding: 16px 24px;
  border-radius: 99px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { padding: 12px 18px; font-size: 14px; }
.btn-lg { padding: 19px 30px; font-size: 16px; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--font-body);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--yellow);
}
.link-more span { transition: transform .2s; }
.link-more:hover span { transform: translate(2px, -2px); }
.link-light { color: var(--white); }
/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  border-bottom: 1px solid var(--grid-line);
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled,
.site-header.menu-open { background: rgba(21,23,26,.97); border-color: var(--line-dark); backdrop-filter: blur(8px); }
.header-inner {
  height: 100%;
  display: grid; grid-template-columns: auto 1fr auto var(--hero-col); align-items: center; gap: 32px;
}
.logo img { width: 168px; height: auto; }
.main-nav { display: flex; justify-content: center; gap: 34px; }
.main-nav a {
  font: 700 15px/1 var(--font-display); font-stretch: 90%;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; padding: 8px 0; position: relative;
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after { transform: scaleX(1); }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.3); padding: 3px; }
.lang-switch a { font: 700 12px/1 var(--font-display); letter-spacing: .08em; text-decoration: none; padding: 7px 10px; color: rgba(255,255,255,.7); }
.lang-switch a.is-active { background: var(--white); color: var(--ink); }
.lang-switch a:not(.is-active):hover { color: var(--white); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { background: var(--ink); padding: 8px var(--gutter) 28px; border-top: 1px solid var(--line-dark); }
.mobile-menu nav a { display: block; font: 700 24px/1 var(--font-display); font-stretch: 85%; text-transform: uppercase; text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.mobile-menu-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.mobile-phone { font-weight: 600; text-decoration: none; color: var(--yellow); }
/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 40px 28px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item h3 { font-size: 16px; margin-bottom: 6px; }
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }
/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head h2 { max-width: 640px; }
.section-intro { max-width: 400px; color: var(--muted); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; padding: 5px 10px; border: 1px solid var(--line-dark); border-radius: 99px; color: rgba(255,255,255,.75); }
/* ---------- Certificates ---------- */
.certs .section-head { margin-bottom: 44px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card { display: flex; gap: 22px; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.cert-card:hover { border-color: var(--yellow); }
.cert-card img { width: 76px; height: 76px; object-fit: contain; flex: none; }
.cert-card h3 { font-size: 22px; }
.cert-sub { font-weight: 600; font-size: 14px; margin: 4px 0 10px; }
.cert-card p:last-child { color: var(--muted); font-size: 14px; line-height: 1.55; }
/* ---------- Process ---------- */
.process { background: var(--yellow); }
.process .section-head { margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1.5px; background: rgba(21,23,26,.3); }
.steps li { position: relative; padding-right: 28px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  font: 800 18px/1 var(--font-head);
  margin-bottom: 26px;
  position: relative;
  box-shadow: 0 0 0 8px var(--yellow);
}
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { font-size: 15px; color: rgba(21,23,26,.75); max-width: 240px; }
/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.faq-head h2 { margin-bottom: 20px; }
.faq-head p { color: var(--muted); }
.faq-head a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--yellow); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font: 600 18px/1.35 var(--font-head);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); font: 400 20px/1 var(--font-body);
  transition: background-color .2s, transform .2s;
}
.faq-list details[open] summary::after { content: "–"; background: var(--yellow); border-color: var(--yellow); }
.faq-list details p { padding: 0 56px 24px 0; color: var(--muted); }
/* ---------- CTA ---------- */
.cta { position: relative; color: var(--white); background: var(--ink); overflow: hidden; text-align: center; }
.cta-inner { position: relative; padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(90px, 11vw, 150px); display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; letter-spacing: -.035em; max-width: 900px; }
.cta p { font-size: 18px; color: rgba(255,255,255,.78); max-width: 560px; margin: 22px 0 40px; }
.cta .btn-row { justify-content: center; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input,
.field textarea {
  font: inherit; color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfaf7;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.has-error input,
.field.has-error textarea { border-color: #c4371f; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 14px; font-weight: 500; min-height: 1em; }
.form-status.is-ok { color: #2e7d32; }
.form-status.is-error { color: #c4371f; }
.eu-strip { background: var(--white); color: var(--muted); }
.eu-inner { display: flex; align-items: center; gap: 40px; padding-top: 22px; padding-bottom: 22px; }
.eu-logos { display: flex; align-items: center; gap: 24px; flex: none; }
.eu-logos img { height: 38px; width: auto; }
.eu-inner p { font-size: 13px; line-height: 1.5; }
.eu-inner a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
  :root { --hero-col: 280px; }
  .header-inner { gap: 24px; }
  .main-nav { gap: 22px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 28px 24px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .main-nav,
  .header-inner > .lang-switch { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .cert-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps::before { display: none; }
  .eu-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .logo img { width: 140px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item,
  .trust-item:nth-child(3) { border-left: 0; padding: 22px 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: block; left: 30px; right: auto; top: 0; bottom: 60px; width: 1.5px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; padding: 0 0 32px; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .steps h3 { align-self: end; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { padding-right: 0; }
  .cta .btn-row .btn { width: 100%; white-space: normal; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .eu-logos { flex-wrap: wrap; gap: 16px; }
  .eu-logos img { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; }
}
/* ======================================================
   Homepage layer (former v2) – ":root" prefix keeps the original specificity of these overrides
   ====================================================== */
/* ---------- Header (light) ---------- */
:root .site-header { background: var(--white); color: var(--ink); border-bottom: 1px solid transparent; }
:root .site-header.is-scrolled,
:root .site-header.menu-open { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: 0 6px 24px rgba(21,23,26,.06); }
:root .header-inner { display: flex; justify-content: space-between; gap: 32px; }
:root .logo img { width: 160px; }
:root .main-nav { gap: 32px; }
:root .main-nav a {
  font: 500 15px/1 var(--font-body); letter-spacing: 0; text-transform: none;
  color: var(--ink); opacity: .8;
  display: inline-flex; align-items: center; gap: 7px;
}
:root .main-nav a:hover { opacity: 1; }
:root .main-nav a::after { display: none; }
:root .main-nav a.is-current { opacity: 1; font-weight: 600; }
:root .main-nav a.is-current::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
:root .header-actions { display: flex; align-items: center; gap: 16px; }
:root .lang-switch { border: 1px solid var(--line); border-radius: 6px; }
:root .lang-switch a { font: 600 12px/1 var(--font-body); color: var(--muted); border-radius: 4px; }
:root .lang-switch a.is-active { background: var(--ink); color: var(--white); }
:root .lang-switch a:not(.is-active):hover { color: var(--ink); }
:root .btn-head { border-radius: 6px; padding: 14px 22px; font-size: 14px; }
:root .menu-toggle { border-color: var(--line); border-radius: 6px; }
:root .menu-toggle span { background: var(--ink); }
:root .mobile-menu { background: var(--white); border-top-color: var(--line); }
:root .mobile-menu nav a { font-family: var(--font-head); font-stretch: normal; text-transform: none; border-bottom-color: var(--line); }
:root .mobile-menu .lang-switch { border-color: var(--line); }
:root .mobile-menu .lang-switch a { color: var(--muted); }
:root .mobile-menu .lang-switch a.is-active { background: var(--ink); color: var(--white); }
:root .mobile-phone { color: var(--ink); }
/* ---------- Hero ---------- */
.hero2 { position: relative; padding-top: var(--header-h); background: var(--white); overflow: hidden; }
.hero2-drawing {
  position: absolute; top: var(--header-h); right: 0;
  width: min(36vw, 520px); height: auto;
  color: #e9b43a; opacity: .45;
  pointer-events: none;
}
.hero2-head { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(44px, 5vw, 72px); }
.hero2-head h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(48px, 7.6vw, 116px);
  line-height: 1; letter-spacing: -.045em;
}
.h2-line { display: block; }
.h2-line-2,
.h2-line-3 { padding-left: var(--side-w); }
.h2-line-3 mark {
  background: linear-gradient(transparent 64%, var(--yellow) 64%, var(--yellow) 86%, transparent 86%);
  color: inherit; padding: 0 .06em;
}
.hero2 { --side-w: clamp(260px, 26vw, 330px); }
.hero2-side {
  position: absolute; left: var(--gutter); bottom: clamp(44px, 5vw, 72px);
  width: calc(var(--side-w) - 48px);
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.hero2-side p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.hero2-kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }
.hero2-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.hero2-side .btn { padding: 14px 20px; font-size: 14px; }
/* photo */
.hero2-media { position: relative; height: clamp(420px, 68vh, 720px); }
.hero2-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero2-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,16,18,.7) 0%, rgba(15,16,18,0) 38%); pointer-events: none; }
/* rotating badge crossing the photo edge */
.hero2-badge {
  position: absolute; z-index: 2;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter) + 40px));
  top: -96px;
  width: 140px; height: 208px;
  border-radius: 70px;
  background: var(--ink); color: var(--white);
  box-shadow: 0 0 0 7px var(--white);
  text-decoration: none;
  display: grid; justify-items: center; align-content: start;
  padding-top: 10px;
  transition: transform .3s;
}
.hero2-badge::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 62px; pointer-events: none; }
.hero2-badge:hover { transform: translateY(-4px); }
.hero2-badge-text { width: 120px; height: 120px; animation: badge-spin 16s linear infinite; }
.hero2-badge-text text { font: 600 10.5px var(--font-body); letter-spacing: .1em; text-transform: uppercase; fill: currentColor; }
.hero2-badge-arrow {
  position: absolute; top: 46px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-size: 20px; font-weight: 700;
  transition: transform .3s;
}
.hero2-badge:hover .hero2-badge-arrow { transform: translateX(-50%) rotate(-45deg); }
@keyframes badge-spin { to { transform: rotate(360deg); } }
/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root .main-nav { gap: 22px; }
  :root .header-actions .lang-switch { display: none; }
}
@media (max-width: 960px) {
  :root .main-nav,
  :root .header-actions > .btn { display: none; }
  :root .menu-toggle { display: block; }
  .hero2-drawing { width: 46vw; opacity: .3; }
  .h2-line-2,
  .h2-line-3 { padding-left: 0; }
  .hero2-side { position: static; width: auto; max-width: 520px; text-align: left; align-items: flex-start; margin-top: 28px; }
  .hero2-badge { width: 116px; height: 172px; top: -70px; border-radius: 58px; right: var(--gutter); }
  .hero2-badge::after { border-radius: 50px; }
  .hero2-badge-text { width: 100px; height: 100px; }
  .hero2-badge-arrow { top: 36px; width: 42px; height: 42px; }
}
@media (max-width: 640px) {
  :root .logo img { width: 136px; }
  .hero2-head h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero2-side .btn { width: 100%; }
  .hero2-media { height: 440px; }
  .hero2-head { padding-bottom: 72px; }
  .hero2-badge { width: 96px; height: 140px; top: -48px; border-radius: 48px; box-shadow: 0 0 0 5px var(--white); }
  .hero2-badge::after { inset: 7px; border-radius: 41px; }
  .hero2-badge-text { width: 84px; height: 84px; }
  .hero2-badge-arrow { top: 28px; width: 36px; height: 36px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2-badge-text { animation: none; }
}
/* ---------- v2: bigger logo ---------- */
body { --header-h: 96px; }
:root .logo img { width: 220px; }
@media (max-width: 640px) {
  body { --header-h: 76px; }
  :root .logo img { width: 160px; }
}
/* ---------- v2: hero parallax ---------- */
.hero2-stage { position: relative; }
.hero2-media { overflow: hidden; }
.hero2-media > img[data-parallax] { inset: auto 0; top: -15%; height: 130%; will-change: transform; }
/* ---------- v2: trust (bigger, detailed icons) ---------- */
.trust-v2 .trust-item { flex-direction: column; gap: 22px; padding: 56px 36px 60px; }
.trust-v2 .trust-item:first-child { padding-left: 0; }
.trust-v2 .trust-ico {
  width: 76px; height: 76px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--paper);
}
.trust-v2 .trust-ico svg { width: 50px; height: 50px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-v2 .trust-item h3 { font-size: 21px; margin-bottom: 8px; }
.trust-v2 .trust-item p { font-size: 16px; line-height: 1.55; max-width: 250px; }
@media (max-width: 1100px) {
  .trust-v2 .trust-item { padding: 40px 28px; }
  .trust-v2 .trust-item:nth-child(3) { padding-left: 0; }
}
@media (max-width: 640px) {
  .trust-v2 .trust-item,
  .trust-v2 .trust-item:nth-child(3) { flex-direction: row; gap: 18px; padding: 28px 0; }
  .trust-v2 .trust-ico { width: 64px; height: 64px; flex: none; }
  .trust-v2 .trust-ico svg { width: 42px; height: 42px; }
  .trust-v2 .trust-item h3 { font-size: 19px; }
}
/* ---------- v2: projects – horizontal scroll ---------- */
.projects2 { background: #141516; color: var(--white); overflow: hidden; }
.projects2-head { display: flex; justify-content: space-between; align-items: stretch; gap: 40px; margin-bottom: 56px; }
.projects2-head h2 { font-weight: 600; }
.projects2-intro { margin-top: 16px; max-width: 520px; color: var(--muted-light); font-size: 17px; }
.projects2-side {
  flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding-left: 40px; border-left: 1px solid rgba(255,255,255,.18);
}
.projects2-all { margin-top: 44px; font: 600 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 12px; }
.projects2-all span { transition: transform .2s; }
.projects2-all:hover span { transform: translateX(4px); }
.projects2-nav { display: flex; gap: 10px; }
.pnav {
  width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white);
  font-size: 18px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
}
.pnav:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.pnav:disabled { opacity: .3; cursor: default; }
.projects2-track {
  --card-w: calc((min(100vw, var(--container)) - 2 * var(--gutter) - 2 * 40px) / 3);
  display: flex; gap: 40px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
  cursor: grab;
}
.projects2-track::-webkit-scrollbar { display: none; }
.projects2-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.projects2-track.is-dragging a { pointer-events: none; }
.projects2-track:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
.pcard { flex: 0 0 var(--card-w); scroll-snap-align: start; display: flex; flex-direction: column; }
.pcard-media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; background: var(--ink-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; user-select: none; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-num { position: absolute; left: 0; top: 0; background: var(--yellow); color: var(--ink); font: 700 13px/1 var(--font-head); padding: 10px 12px; }
.pcard .tags { margin-bottom: 14px; }
.pcard-loc { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.pcard h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.pcard-desc { margin-top: 8px; color: var(--muted-light); font-size: 15px; }
.pcard .link-more { margin-top: 18px; align-self: flex-start; }
.projects2-progress { margin-top: 48px; height: 2px; background: rgba(255,255,255,.14); position: relative; }
.projects2-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--yellow); transition: left .15s linear; }
@media (max-width: 960px) {
  .projects2-track { --card-w: 46vw; gap: 24px; }
  .projects2-head { flex-direction: column; gap: 24px; margin-bottom: 40px; }
  .projects2-side { flex-direction: row; align-items: center; padding-left: 0; border-left: 0; }
  .projects2-all { margin-top: 0; }
}
@media (max-width: 640px) {
  .projects2-track { --card-w: 78vw; gap: 16px; }
  .projects2-side { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pcard h3 { font-size: 21px; }
}
/* ======================================================
   Homepage layer (former v3)
   ====================================================== */
body {
  --wide: 1680px;
  --wide-gutter: clamp(16px, 3vw, 48px);
  --dark: #141516;
  --dark-2: #1c1e20;
  --dark-grey: #26292c;
}
/* ---------- No border radius (graphics excepted) ---------- */
:root :not(.hero2-badge,
.hero2-badge-arrow),
:root ::before,
:root :not(.hero2-badge)::after { border-radius: 0 !important; }
/* ---------- Bigger buttons ---------- */
:root .btn { padding: 19px 30px; font-size: 16px; }
:root .btn-sm { padding: 15px 22px; font-size: 15px; }
:root .btn-lg { padding: 22px 34px; font-size: 17px; }
:root .btn-head { padding: 16px 26px; font-size: 15px; }
.container-wide { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--wide-gutter); }
/* ---------- Trust: monochrome, sharp icons ---------- */
.trust-v3 .trust-ico { background: var(--white); border: 1px solid var(--ink); }
.trust-v3 .trust-ico svg { stroke-linecap: square; stroke-linejoin: miter; stroke-width: 1.5; }
.trust-v3 .trust-ico svg * { fill: none; }
/* ---------- Services: photo cards with text inside ---------- */
.services3 .svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.services3 .svc-more { margin-top: 20px; }
.services3 .svc-more[hidden] { display: none; }
.svc { position: relative; overflow: hidden; background: var(--ink); color: var(--white); grid-column: span 2; min-height: 400px; display: flex; }
.svc-lg { grid-column: span 3; min-height: 520px; }
/* last row of the "more" grid: 2 leftover cards share the row */
.svc-more .svc:nth-last-child(2):nth-child(3n+1),
.svc-more .svc:last-child:nth-child(3n+2) { grid-column: span 3; }
.svc-more .svc:last-child:nth-child(3n+1) { grid-column: span 6; }
.svc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,13,15,.92) 0%, rgba(12,13,15,.55) 42%, rgba(12,13,15,.05) 75%); transition: background-color .3s; }
.svc:hover > img { transform: scale(1.05); }
.svc-body { position: relative; z-index: 1; margin-top: auto; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 560px; }
.svc-num { font: 700 13px/1 var(--font-head); color: var(--yellow); letter-spacing: .06em; }
.svc h3 { font-size: 26px; font-weight: 700; }
.svc-lg h3 { font-size: clamp(28px, 2.6vw, 36px); }
.svc p { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.svc-actions { display: flex; justify-content: center; margin-top: 44px; }
/* ---------- Projects: wider than site, 4 in frame ---------- */
.projects3 .projects2-track {
  --gap: 24px;
  --card-w: calc((min(100vw, var(--wide)) - 2 * var(--wide-gutter) - 3 * var(--gap)) / 4);
  width: calc(min(100vw, var(--wide)) - 2 * var(--wide-gutter));
  margin: 0 auto; padding: 0; gap: var(--gap);
  scroll-padding-left: 0;
}
.projects3 .pcard-media { aspect-ratio: 3 / 4; }
.projects3 .projects2-head { margin-bottom: 64px; }
.projects3 .pcard h3 { font-size: 24px; }
@media (max-width: 1100px) {
  .projects3 .projects2-track { --card-w: calc((100vw - 2 * var(--wide-gutter) - 2 * var(--gap)) / 3); }
}
@media (max-width: 960px) {
  .projects3 .projects2-track { --card-w: calc((100vw - 2 * var(--wide-gutter) - var(--gap)) / 2); }
}
@media (max-width: 640px) {
  .projects3 .projects2-track { --gap: 14px; --card-w: calc(100vw - 2 * var(--wide-gutter) - 40px); }
}
/* ---------- Why: bordered cells, centred icons ---------- */
.why3 h2 { margin-bottom: 48px; font-weight: 600; }
.label-ico { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.label-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: miter; }
.why3-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why3-item { padding: 64px 32px 60px; text-align: center; display: flex; flex-direction: column; align-items: center; border-left: 1px solid var(--line); transition: background-color .25s; }
.why3-item:first-child { border-left: 0; }
.why3-item:hover { background: var(--paper); }
.why3-item svg { width: 56px; height: 56px; margin-bottom: 28px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: square; stroke-linejoin: miter; }
.why3-item h3 { font-size: 20px; margin-bottom: 10px; }
.why3-item p { font-size: 15px; color: var(--muted); max-width: 240px; line-height: 1.55; }
.why3-foot { display: flex; justify-content: flex-end; margin-top: 32px; }
/* ---------- About: dark, full-bleed photos left ---------- */
.about3 { background: var(--dark); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; }
.about3-media { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6px; min-height: 720px; }
.about3-media img { width: 100%; height: 100%; object-fit: cover; }
.about3-copy {
  padding: var(--section-y) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) var(--section-y) clamp(40px, 5vw, 88px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.about3-copy h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; line-height: 1.2; margin-bottom: 20px; }
.about3-lead { color: var(--muted-light); font-size: 17px; margin-bottom: 36px; max-width: 560px; }
.about3-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; margin-bottom: 36px; }
.about3-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); padding: 26px; }
.about3-card svg { width: 44px; height: 44px; margin-bottom: 18px; fill: none; stroke: var(--yellow); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.about3-card h3 { font-size: 18px; margin-bottom: 8px; }
.about3-card p { font-size: 14px; color: var(--muted-light); line-height: 1.6; }
.about3-facts { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 0 0 40px; border-top: 1px solid rgba(255,255,255,.14); }
.about3-facts div { padding-top: 18px; }
.about3-facts div + div { padding-left: 18px; }
.about3-facts dt { font: 800 26px/1.1 var(--font-head); letter-spacing: -.02em; }
.about3-facts dd { margin: 6px 0 0; font-size: 13px; color: var(--muted-light); }
/* ---------- Process: dark with yellow boxed steps ---------- */
.process3 { background: var(--dark); color: var(--white); }
.process3 .steps { gap: 20px; }
.process3 .steps::before { display: none; }
.process3 .steps li { padding: 36px 30px 40px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-top: 2px solid var(--yellow); transition: background-color .25s; }
.process3 .steps li:hover { background: rgba(255,255,255,.06); }
.process3 .step-num {
  display: block; width: auto; height: auto; background: none; box-shadow: none;
  font: 800 54px/1 var(--font-head); color: var(--yellow); letter-spacing: -.03em;
  margin-bottom: 28px;
}
.process3 .steps h3 { color: var(--white); }
.process3 .steps p { color: var(--muted-light); }
/* ---------- CTA: dark grey with thin construction lines ---------- */
.cta3 { background: var(--dark-grey); }
.cta3-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255,255,255,.075); pointer-events: none; }
/* ---------- Contact: white, crane, refined form ---------- */
.contact3 { background: var(--white); position: relative; overflow: hidden; }
.contact3-crane {
  position: absolute; right: max(-60px, calc((100vw - var(--container)) / 2 - 140px)); top: 40px;
  width: clamp(380px, 40vw, 640px); height: auto;
  pointer-events: none; user-select: none;
}
.contact3-inner { position: relative; max-width: 760px; }
.contact3-inner h2 { margin-bottom: 14px; }
.contact3-lead { color: var(--muted); font-size: 17px; margin-bottom: 36px; }
.contact3-info { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 48px; margin-bottom: 44px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact3-info li { font-size: 16px; font-weight: 500; }
.contact3-info span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact3-info a { text-decoration: none; }
.contact3-info a:hover { color: #9b7200; }
.contact3-form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow); padding: 40px; gap: 26px 28px; box-shadow: 0 30px 60px rgba(21,23,26,.07); }
.contact3-form .field label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact3-form .field input,
.contact3-form .field textarea,
.contact3-form .field select {
  font: inherit; font-size: 16px; color: var(--ink); width: 100%;
  padding: 12px 0; background: transparent;
  border: 0; border-bottom: 1.5px solid #cfccc2;
  transition: border-color .2s;
}
.contact3-form .field textarea { min-height: 120px; resize: vertical; }
.contact3-form .field input::placeholder,
.contact3-form .field textarea::placeholder { color: #a7a9ad; }
.contact3-form .field input:focus,
.contact3-form .field textarea:focus,
.contact3-form .field select:focus { outline: none; border-color: var(--ink); background: transparent; }
.contact3-form .field.has-error input,
.contact3-form .field.has-error textarea,
.contact3-form .field.has-error select { border-color: #c4371f; }
/* ---------- Footer ---------- */
.footer3 { background: var(--yellow); color: var(--ink); }
.footer3-stats { padding-top: 56px; }
.footer3-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(21,23,26,.2); }
.footer3-stat { padding: 48px 40px 64px; border-left: 1px solid rgba(21,23,26,.2); }
.footer3-stat:first-child { border-left: 0; padding-left: 0; }
.footer3-stat:last-child { padding-right: 0; }
.footer3-stat strong { display: block; font: 700 clamp(44px, 5vw, 68px)/1 var(--font-head); letter-spacing: -.035em; margin-bottom: 18px; }
.footer3-stat p { font-size: 17px; line-height: 1.6; color: rgba(21,23,26,.82); }
.footer3-panel {
  margin: 0 16px; background: #0d0e10; color: var(--white); overflow: hidden;
  padding: 72px max(36px, calc((100vw - var(--container)) / 2 + var(--gutter) - 16px)) 0;
}
.footer3-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: start; }
.footer3-col h4 { font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer3-col ul { border-top: 1px solid rgba(255,255,255,.14); }
.footer3-col li { border-bottom: 1px solid rgba(255,255,255,.14); }
.footer3-col li a { display: block; padding: 14px 0; font-size: 15px; text-decoration: none; transition: color .2s, padding .2s; }
.footer3-col li a:hover { color: var(--yellow); padding-left: 6px; }
.footer3-ask { border: 1px solid rgba(255,255,255,.14); padding: 28px; }
.footer3-ask h4 { font: 700 22px/1.2 var(--font-head); letter-spacing: -.01em; text-transform: none; color: var(--white); margin-bottom: 12px; }
.footer3-ask p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 22px; }
.footer3-bottom { margin-top: 88px; }
.footer3-meta { font-size: 14px; color: rgba(255,255,255,.55); padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer3-word {
  font: 800 min(13vw, 190px)/.8 var(--font-head); padding-bottom: .03em; letter-spacing: -.05em;
  margin: 32px 0 0; white-space: nowrap; color: var(--white);
}
.footer3-word span { color: var(--yellow); }
@media (max-width: 1100px) {
  .footer3-cols { grid-template-columns: repeat(3, 1fr); }
  .footer3-ask { grid-column: 1 / -1; margin-top: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
  .footer3-ask h4,
  .footer3-ask p { grid-column: 1; margin-bottom: 0; }
  .footer3-ask .btn { grid-column: 2; grid-row: 1 / span 2; }
  .why3-grid { grid-template-columns: repeat(2, 1fr); }
  .why3-item:nth-child(3) { border-left: 0; }
  .why3-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about3 { grid-template-columns: 1fr; }
  .about3-media { min-height: 460px; }
  .about3-copy { padding: 72px var(--gutter); }
}
@media (max-width: 960px) {
  .services3 .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc,
  .svc-lg,
  .svc-more .svc:nth-last-child(2):nth-child(3n+1),
  .svc-more .svc:last-child:nth-child(3n+2) { grid-column: span 1; min-height: 380px; }
  .svc-lg:first-child,
  .svc-more .svc:last-child:nth-child(odd) { grid-column: span 2; }
  .process3 .steps { gap: 16px; }
  .contact3-crane { opacity: .18; width: 70vw; right: -10vw; }
  .contact3-info { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .services3 .svc-grid { grid-template-columns: 1fr; }
  .svc,
  .svc-lg,
  .svc-lg:first-child,
  .svc-more .svc:last-child:nth-child(odd) { grid-column: span 1; min-height: 340px; }
  .svc-body { padding: 24px; }
  .svc h3,
  .svc-lg h3 { font-size: 23px; }
  .why3-grid { grid-template-columns: 1fr; }
  .why3-item { border-left: 0 !important; padding: 40px 16px; }
  .why3-item + .why3-item { border-top: 1px solid var(--line); }
  .why3-foot .btn { width: 100%; }
  .about3-media { min-height: 320px; }
  .about3-cards { grid-template-columns: 1fr; }
  .about3-facts dt { font-size: 21px; }
  .process3 .steps li { display: block; padding: 28px 24px; }
  .process3 .step-num { font-size: 44px; margin-bottom: 18px; }
  .contact3-form { padding: 24px; }
  .contact3-form .btn { width: 100%; }
  .footer3-stats-grid { grid-template-columns: 1fr; }
  .footer3-stat,
  .footer3-stat:first-child,
  .footer3-stat:last-child { border-left: 0; padding: 32px 0 36px; }
  .footer3-stat + .footer3-stat { border-top: 1px solid rgba(21,23,26,.2); }
  .footer3-panel { margin: 0 8px; padding: 48px 20px 0; }
  .footer3-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer3-ask { display: block; }
  .footer3-ask p { margin-bottom: 20px; }
}
/* =========================================================
   v3 – round 2
   ========================================================= */
/* Section indicators: no background, no border */
:root .eyebrow { background: none; border: 0; padding: 0; backdrop-filter: none; }
/* Header on scroll: half-transparent white + blur */
:root .site-header.is-scrolled {
  background: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-color: rgba(21,23,26,.06); box-shadow: none;
}
/* Hero badge: static text */
:root .hero2-badge-text { animation: none; }
:root .hero2-badge-text text { font-size: 9.5px; letter-spacing: 0; }
/* Trust icons: icon only, equal text rows */
.trust-v3 .trust-ico { background: none; border: 0; width: auto; height: auto; justify-content: start; }
.trust-v3 .trust-ico svg { width: 52px; height: 52px; }
.trust-v3.trust-v2 .trust-item { padding: 52px 28px 56px; gap: 20px; }
.trust-v3.trust-v2 .trust-item:first-child { padding-left: 0; }
.trust-v3 .trust-item h3 { font-size: 20px; white-space: nowrap; }
.trust-v3 .trust-item p { max-width: none; min-height: 3.1em; }
@media (max-width: 1100px) {
  .trust-v3 .trust-item h3 { white-space: normal; }
}
/* Services: outline buttons inside photos */
.svc .btn { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.85); }
.svc .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
/* About: narrower photos, stacked icon cards */
.about3 { grid-template-columns: .82fr 1.18fr; }
.about3-cards { grid-template-columns: 1fr; gap: 14px; }
.about3-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; align-items: start; padding: 24px 26px; }
.about3-card svg { grid-row: span 2; margin: 0; }
.about3-card h3 { margin: 4px 0 6px; }
@media (max-width: 1100px) {
  .about3 { grid-template-columns: 1fr; }
}
/* Process: smaller numbers, dashed accent path between them */
.process3 .steps { gap: 20px; }
.process3 .steps li { border-top: 1px solid rgba(255,255,255,.1); position: relative; padding: 32px 28px 36px; }
.process3 .step-num { font-size: 34px; margin-bottom: 22px; position: relative; z-index: 1; display: inline-block; }
.process3 .steps li:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1;
  top: 49px; left: 84px; right: -38px;
  border-top: 2px dashed var(--yellow);
}
@media (max-width: 960px) {
  .process3 .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .process3 .steps li:not(:last-child)::after { display: block; top: 68px; bottom: -38px; left: 41px; right: auto; border-top: 0; border-left: 2px dashed var(--yellow); }
  .process3 .step-num { font-size: 30px; }
}
/* CTA background */
.cta3 { background: #141516; }
/* Contact: crane stands on the section floor, as tall as possible */
.contact3-crane {
  top: 48px; bottom: 0; height: calc(100% - 48px);
  right: max(-80px, calc((100vw - var(--container)) / 2 - 120px));
  width: min(50vw, 1000px);
  object-fit: contain; object-position: right bottom;
}
@media (max-width: 960px) {
  .contact3-crane { width: 80vw; right: -14vw; opacity: .16; }
}
/* Footer wordmark: stylised, bottom ~10% buried */
.footer3-word {
  font-family: "Archivo", var(--font-head); font-stretch: 125%; font-weight: 900;
  font-size: min(10.4vw, 156px); line-height: .8; letter-spacing: -.02em;
  margin: 36px 0 -.1em; padding-bottom: 0;
}
/* FAQ: smooth open/close (height animated in JS) */
:root .faq-list details { overflow: hidden; }
:root .faq-list summary::after { transition: background-color .25s, transform .3s; }
:root .faq-list details[open] summary::after { transform: rotate(180deg); }
/* ---------- Reveal animations (enabled by JS) ---------- */
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.anim .rv.is-in { opacity: 1; transform: none; }
.anim .rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.7,0,.2,1); transition-delay: var(--d, 0s); }
.anim .rv-img.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .anim .rv,
  .anim .rv-img { opacity: 1; transform: none; clip-path: none; transition: none; }
}
/* contact crane: keep the jib clear of the copy */
.contact3-inner { max-width: 700px; }
.contact3-crane { right: max(-40px, calc((100vw - var(--container)) / 2 - 220px)); }
@media (max-width: 960px) {
  .contact3-crane { right: -14vw; }
}
@media (max-width: 640px) {
  .process3 .steps li { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; }
  .process3 .step-num { grid-row: span 2; margin: 0; }
  .process3 .steps h3 { margin-top: 4px; }
  .process3 .steps li:not(:last-child)::after { top: 70px; left: 40px; }
}
/* why: centred head and button */
.why3 .container { text-align: center; }
.why3 h2 { margin-left: auto; margin-right: auto; }
.why3-foot { justify-content: center; margin-top: 40px; }
/* header: solid white when scrolled */
:root .site-header.is-scrolled { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line); box-shadow: 0 6px 24px rgba(21,23,26,.06); }
/* process: subtle white arrows between boxes instead of the dashed path */
.process3 .steps { gap: 44px; }
.process3 .steps li:not(:last-child)::after {
  content: ""; top: 50%; left: auto; right: -36px; bottom: auto;
  width: 28px; height: 12px; margin-top: -6px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M0 6h26M21 1l5 5-5 5' fill='none' stroke='%23ffffff' stroke-opacity='.45' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 960px) {
  .process3 .steps { gap: 44px; }
  .process3 .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .process3 .steps { gap: 40px; }
  .process3 .steps li:not(:last-child)::after { display: block; top: auto; bottom: -32px; left: 50%; right: auto; width: 12px; height: 28px; margin: 0 0 0 -6px; border: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 28'%3E%3Cpath d='M6 0v26M1 21l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.45' stroke-width='1.3'/%3E%3C/svg%3E"); }
}
/* footer: EU strip on top, wordmark sunk deeper */
.footer3 > .eu-strip { border-bottom: 1px solid rgba(21,23,26,.12); }
.footer3-word { margin-bottom: -.1em; }
.footer3-stats { padding-top: 0; }
.footer3-stats-grid { border-top: 0; }
.footer3 > .eu-strip { border-top: 1px solid var(--line); border-bottom: 0; }
/* ---------- Mega menu (Usluge, Projekti) ---------- */
:root .main-nav { align-self: stretch; align-items: stretch; }
:root .nav-item { display: flex; align-items: center; }
:root .nav-item > a { height: 100%; }
.nav-chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s; }
.has-mega:hover .nav-chev,
.has-mega:focus-within .nav-chev { transform: rotate(180deg); }
.has-mega:hover > a,
.has-mega:focus-within > a { opacity: 1; }
.has-mega > a { position: relative; }
:root .has-mega > a::after { content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.has-mega:hover > a::after,
.has-mega:focus-within > a::after { transform: scaleX(1); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(21,23,26,.12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .22s ease .06s, transform .22s ease .06s, visibility 0s;
}
.mega-inner { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 44px; }
/* reset header-nav link styles inside the panel */
:root .mega a { opacity: 1; font: inherit; height: auto; display: block; padding: 0; }
:root .mega a::before,
:root .mega a::after { content: none; }
.mega-intro { display: flex; flex-direction: column; align-items: flex-start; }
.mega-intro .eyebrow { margin-bottom: 16px; }
.mega-intro h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.mega-intro p:not(.eyebrow) { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
:root .mega-intro .btn { display: inline-flex; font: 600 14px/1 var(--font-body); padding: 14px 20px; }
.mega-nav { display: flex; gap: 8px; margin-top: auto; padding-top: 22px; }
.mega-arrow { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; font-size: 15px; transition: background-color .2s, border-color .2s, opacity .2s; }
.mega-arrow:hover:not(:disabled) { background: var(--yellow); border-color: var(--yellow); }
.mega-arrow:disabled { opacity: .35; cursor: default; }
/* 4 cards in view, the rest scroll horizontally */
.mega-track {
  --gap: 20px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-left: 28px; scroll-padding-left: 28px;
  border-left: 1px solid var(--line);
  padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: var(--ink) var(--line);
}
.mega-track::-webkit-scrollbar { height: 3px; }
.mega-track::-webkit-scrollbar-track { background: var(--line); }
.mega-track::-webkit-scrollbar-thumb { background: var(--ink); }
:root .mega-card { scroll-snap-align: start; color: var(--ink); }
.mega-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 14px; background: var(--paper); }
.mega-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mega-card:hover .mega-card-img img { transform: scale(1.05); }
.mega-card-meta { display: block; font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #9b7200; margin-bottom: 6px; }
.mega-card strong { display: block; font: 600 16px/1.3 var(--font-head); transition: color .2s; }
.mega-card:hover strong { color: #9b7200; }
@media (max-width: 1240px) {
  .mega-track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
}
@media (max-width: 960px) {
  .mega { display: none; }
}
:root .mega .btn-dark { color: var(--white); }
:root .mega .btn-dark:hover { background: var(--ink-3); }
/* hero photo: no gradient or mask */
:root .hero2-media::after { content: none; }
