/* Self-hosted fonts, subset to latin + latin-ext */
@font-face { font-family: "Big Shoulders"; font-weight: 100 900; font-display: swap; src: url(../fonts/big-shoulders.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-700.woff2) format("woff2"); }

:root {
  --orange: #035b46;         /* brand green: 7.3:1 with --paper text, pair with paper text */
  --orange-light: color-mix(in srgb, var(--orange) 60%, var(--paper)); /* green text on dark surfaces */
  --orange-deep: #033E30;
  --yellow: #FFC901;
  --ink: #191C1F;
  --ink-soft: #4C4A43;
  --bg: #FFFFFF;
  --bg-soft: #ECECEC;
  --paper: #F5F3EA;          /* light text on dark surfaces */
  --line: rgba(25, 28, 31, .09);
  --line-strong: rgba(25, 28, 31, .16);
  --hazard: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--yellow) 14px 28px);
  --shadow-sm: 0 1px 2px rgba(25, 28, 31, .05), 0 2px 10px rgba(25, 28, 31, .05);
  --shadow-md: 0 2px 6px rgba(25, 28, 31, .04), 0 14px 34px -10px rgba(25, 28, 31, .13);
  --shadow-lg: 0 4px 14px rgba(25, 28, 31, .05), 0 28px 64px -18px rgba(25, 28, 31, .22);
  --shadow-orange: 0 10px 26px -8px rgba(3, 62, 48, .55);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;
  --header-h: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: var(--paper); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; text-transform: uppercase; }

a { color: inherit; }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--orange) 70%, transparent);
  outline-offset: 3px; border-radius: 6px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

section { scroll-margin-top: 84px; }

/* ---------- reveal animation ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .step, .ref-row .plus, .svc, .ref-doc img { transition: none; }
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: #111518;
  box-shadow: 0 1px 0 rgba(245, 243, 234, .1), 0 12px 32px -20px rgba(25, 28, 31, .5);
}
.header-in {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; display: block; }
nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
nav a.navlink {
  text-decoration: none; font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .07em; color: rgba(245, 243, 234, .72);
  border-bottom: 2px solid transparent; padding: 2px 0;
  transition: color .2s, border-color .2s;
}
nav a.navlink:hover { color: var(--paper); border-color: var(--orange); }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  padding: 14px 26px; border: 0; border-radius: 999px;
  background: var(--orange); color: var(--paper);
  box-shadow: var(--shadow-orange);
  transition: transform .18s, box-shadow .18s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(3, 62, 48, .6); background: var(--orange-deep); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 12px -4px rgba(3, 62, 48, .5); }
.btn.ghost {
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
}
.btn.ghost:hover { background: var(--bg); border-color: var(--ink-soft); box-shadow: var(--shadow-md); }
.btn.small { padding: 10px 18px; font-size: 13px; }
.btn.small:hover { transform: translateY(-1px); }

@media (max-width: 860px) {
  nav a.navlink { display: none; }
  .brand img { height: 42px; }
  .header-in { padding-inline: 32px; }
}

/* ---------- hero: full viewport, diagonal split ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  --hero-panel: min(46vw, 640px);
  --hero-teaser-h: clamp(120px, 16vw, 240px);
  background:
    radial-gradient(640px 420px at 18% 30%, rgba(3, 91, 70, .07), transparent 70%),
    var(--bg);
}

/* diagonal panel: hazard band along the slanted edge, flat orange field behind it */
.hero-shape {
  position: absolute; top: 0; right: 0; bottom: 0; width: var(--hero-panel); pointer-events: none;
  filter: drop-shadow(-14px 10px 28px rgba(25, 28, 31, .18));
}
.hero-shape .haz  { position: absolute; inset: 0; background: var(--hazard); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-shape .flat { position: absolute; inset: 0; background: var(--bg-soft); clip-path: polygon(28.5% 0, 100% 0, 100% 100%, 6.5% 100%); }

/* container-rental teaser centred in the hero's orange field */
.hero-teaser {
  position: absolute; z-index: 2;
  top: 50%;
  right: calc(var(--hero-panel) * .4125);
  transform: translate(50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 44px;
  text-decoration: none;
}
.hero-teaser img {
  display: block; height: var(--hero-teaser-h); width: auto;
  filter: drop-shadow(0 4px 6px rgba(25, 28, 31, .18)) drop-shadow(0 24px 30px rgba(25, 28, 31, .28));
  transition: transform .28s, filter .28s;
}
.hero-teaser:hover img {
  transform: translateY(-5px);
  filter: drop-shadow(0 6px 8px rgba(25, 28, 31, .2)) drop-shadow(0 34px 42px rgba(25, 28, 31, .32));
}
.hero-teaser .btn { white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(25, 28, 31, .5); }
.hero-teaser:hover .btn { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(25, 28, 31, .55); }
.hero-teaser .arr { color: var(--orange-deep); line-height: 1; }
/* the site's orange focus ring would vanish on the orange panel */
.hero-teaser:focus-visible { outline-color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .hero-teaser img { transition: none; }
  .hero-teaser:hover img, .hero-teaser:hover .btn { transform: none; }
}
/* below ~1000px the orange field is too narrow for the full-size pill */
@media (max-width: 1000px) {
  .hero-teaser { gap: 13px; }
  .hero-teaser .btn { padding: 9px 14px; font-size: 12px; }
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%;
  padding-top: clamp(48px, 9vh, 110px);
  padding-bottom: 34px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 10px; border-radius: 3px; background: var(--hazard); }

/* Presto-style staircase headline */
.hero h1 {
  font-size: clamp(54px, 8.6vw, 122px);
  font-weight: 800; letter-spacing: .005em;
}
.hero h1 .stair { display: block; }
.hero h1 .stair:nth-child(2) { margin-left: clamp(28px, 7vw, 110px); }
.hero h1 .stair:nth-child(3) { margin-left: clamp(56px, 14vw, 220px); color: var(--orange-deep); }

.hero .lead {
  margin: 30px 0 36px; max-width: 52ch;
  font-size: 19px; color: var(--ink-soft);
}
.hero .lead strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-foot {
  margin-top: auto; padding-top: 48px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-size: 14px; font-weight: 600; letter-spacing: .03em;
  border: 1px solid var(--line); background: var(--bg); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  padding: 9px 18px; display: inline-flex; align-items: center; gap: 9px;
}
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

@media (max-width: 1150px) {
  .hero .lead { max-width: 44ch; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-shape { top: auto; height: 130px; width: 100%; filter: drop-shadow(0 -10px 24px rgba(25, 28, 31, .14)); }
  .hero-shape .haz  { clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 100%); }
  .hero-shape .flat { clip-path: polygon(0 62%, 100% 22%, 100% 100%, 0 100%); }
  .hero-inner { padding-top: 52px; padding-bottom: 160px; }
  .hero-foot { flex-direction: column; align-items: flex-start; padding-top: 40px; }
  .hero-teaser {
    top: auto; bottom: 20px; right: 24px;
    transform: none; align-items: flex-end; gap: 10px;
  }
  .hero-teaser img { height: 72px; }
  .hero-teaser .btn { padding: 9px 15px; font-size: 12px; }
}

/* hero entrance: staggered rise on page load; `backwards` fill so final state is the untouched layout */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero .lead, .hero .cta-row, .hero-foot, .hero-teaser img, .hero-teaser .btn { animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero .eyebrow::before { animation: hero-bar .6s .35s cubic-bezier(.2, .7, .2, 1) backwards; transform-origin: left; }
  .hero h1 .stair { animation: hero-stair .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hero h1 .stair:nth-child(1) { animation-delay: .15s; }
  .hero h1 .stair:nth-child(2) { animation-delay: .3s; }
  .hero h1 .stair:nth-child(3) { animation-delay: .45s; }
  .hero .lead       { animation-delay: .7s; }
  .hero .cta-row    { animation-delay: .82s; }
  .hero-foot        { animation-delay: .95s; }
  .hero-teaser img  { animation-delay: .5s; }
  .hero-teaser .btn { animation-delay: .7s; }
  .hero-shape       { animation: hero-panel 1s cubic-bezier(.2, .7, .2, 1) backwards; }
}
@keyframes hero-rise  { from { opacity: 0; translate: 0 18px; } }
@keyframes hero-bar   { from { transform: scaleX(0); } }
@keyframes hero-stair { from { opacity: 0; translate: 0 .35em; clip-path: inset(-50% -10% 100% -10%); } to { clip-path: inset(-50% -10% -50% -10%); } }
@keyframes hero-panel { from { opacity: 0; translate: 8% 0; } }

/* ---------- hazard marquee (black stays as a slim accent band) ---------- */
.stripe-band {
  background: var(--ink); color: var(--paper);
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 0;
}
.stripe-band .track { display: inline-block; animation: slide 36s linear infinite; }
.stripe-band span { padding: 0 18px; }
.stripe-band .dot { color: var(--orange); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* marquee runs unconditionally (dcks.cz-style), including under OS "Reduce motion" */

/* ---------- section headings ---------- */
.sec { padding: 96px 0; }
.sec-head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; margin-bottom: 1rem; }

/* ---------- services: editorial list (Presto table pattern) ---------- */
.svc-cols, .svc {
  display: grid;
  grid-template-columns: 74px minmax(0, 1.05fr) minmax(0, 1fr) 130px;
  gap: 10px 28px; align-items: baseline;
}
.svc-cols {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 0 22px 12px;
}
.svc-cols span:last-child { text-align: right; }
.svc {
  border-top: 1px solid var(--line-strong);
  padding: 30px 22px 34px;
  border-radius: 0;
  transition: background .25s, box-shadow .25s, border-radius .25s;
}
.svc:last-of-type { border-bottom: 1px solid var(--line-strong); }
.svc:hover { background: var(--bg-soft); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.svc .num {
  font-family: var(--font-display); font-weight: 800; font-size: 40px;
  color: var(--orange); line-height: 1;
}
.svc h3 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; transition: color .2s; }
.svc:hover h3 { color: var(--orange-deep); }
.svc p { color: var(--ink-soft); font-size: 16px; }
.svc .phase {
  justify-self: end;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(3, 91, 70, .12); color: var(--orange-deep);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 860px) {
  .svc-cols { display: none; }
  .svc { grid-template-columns: 54px minmax(0, 1fr); grid-template-areas: "num title" "num phase" "num desc"; padding-inline: 14px; }
  .svc .num { grid-area: num; font-size: 30px; }
  .svc h3 { grid-area: title; }
  .svc .phase { grid-area: phase; justify-self: start; margin: 4px 0 8px; }
  .svc p { grid-area: desc; }
}

.law-note {
  margin-top: 44px; background: var(--bg); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: grid; grid-template-columns: 14px 1fr; overflow: hidden;
}
.law-note::before { content: ""; background: var(--hazard); }
.law-note div { padding: 24px 28px; font-size: 16px; color: var(--ink-soft); }
.law-note strong { color: var(--ink); }

/* ---------- container rental: gallery + partner card ---------- */
.sec-head .badge {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(3, 91, 70, .12); color: var(--orange-deep);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap; align-self: center;
}
.sec-lead { margin: -24px 0 44px; max-width: 62ch; color: var(--ink-soft); }
.gallery {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 6px 24px;
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
}
.gallery img {
  height: clamp(220px, 30vw, 340px); width: auto; flex: none;
  border-radius: var(--r-md); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  scroll-snap-align: start;
}
.partner-card {
  margin-top: 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 26px 30px;
  display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between;
}
.partner-card .lbl {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 4px;
}
.partner-card .pname {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase; line-height: 1.05;
}

/* ---------- process ---------- */
.sec.alt { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--bg); border-radius: var(--r-md); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 30px 26px 36px;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step .n {
  font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 16px;
}
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- references: editorial table (Presto pattern) ---------- */
.ref-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 70px 190px 46px;
  gap: 24px; align-items: baseline;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); padding: 0 22px 12px;
}
.ref-row { border-top: 1px solid var(--line-strong); }
.ref-row:last-of-type { border-bottom: 1px solid var(--line-strong); }
.ref-row summary {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 70px 190px 46px;
  gap: 24px; align-items: baseline;
  padding: 28px 22px 26px;
  cursor: pointer; list-style: none;
  transition: background .25s, border-radius .25s;
}
.ref-row summary::-webkit-details-marker { display: none; }
.ref-row summary:hover { background: var(--bg-soft); border-radius: var(--r-md); }
.ref-row .rt {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05;
  transition: color .2s;
}
.ref-row summary:hover .rt { color: var(--orange-deep); }
.ref-row .rmeta { display: contents; }
.ref-row .rm, .ref-row .rr { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.ref-row .ry { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.ref-row .plus {
  justify-self: end; align-self: center;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: var(--orange); color: var(--paper);
  box-shadow: var(--shadow-orange);
  /* glyph "+" sits above optical centre — draw the cross instead */
  background-image: linear-gradient(var(--paper), var(--paper)), linear-gradient(var(--paper), var(--paper));
  background-repeat: no-repeat; background-position: center;
  background-size: 14px 2.5px, 2.5px 14px;
  transition: transform .25s, box-shadow .25s;
}
.ref-row[open] .plus { transform: rotate(45deg); }
.ref-row summary:hover .plus { box-shadow: 0 14px 30px -8px rgba(3, 62, 48, .6); }
.ref-detail { padding: 4px 22px 36px; }
.ref-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.ref-cell { padding: 24px 24px 28px; border-right: 1px solid var(--line); }
.ref-cell:last-child { border-right: 0; }
.ref-cell .lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.ref-cell .val { font-family: var(--font-display); font-size: 25px; font-weight: 700; line-height: 1.15; }
.ref-cell .val small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-top: 4px; }
.ref-detail > p { margin-top: 24px; color: var(--ink-soft); font-size: 16px; max-width: 78ch; }
.ref-detail > p strong { color: var(--ink); }
.ref-doc { margin: 26px 0 0; }
.ref-doc button {
  display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.ref-doc img {
  display: block; width: 150px; height: auto;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.ref-doc button:hover img { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ref-doc figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.ref-lightbox { margin: auto; border: 0; padding: 0; background: none; overflow: visible; }
.ref-lightbox::backdrop { background: rgba(25, 28, 31, .8); backdrop-filter: blur(4px); }
.ref-lightbox img {
  display: block; max-width: min(92vw, 820px); max-height: 88vh; width: auto;
  background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg);
}
.ref-lightbox .lb-close {
  position: absolute; top: -14px; right: -14px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--orange); color: var(--paper);
  font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-md);
}
.ref-lightbox .lb-close:hover { background: var(--orange-deep); color: var(--paper); }
@media (max-width: 960px) {
  .ref-cols { display: none; }
  .ref-row summary {
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-areas: "title plus" "meta plus";
    row-gap: 8px; padding-inline: 14px;
  }
  .ref-row .rt { grid-area: title; }
  .ref-row .plus { grid-area: plus; }
  .ref-row .rmeta {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
    grid-area: meta;
  }
  .ref-row .ry { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--ink-soft); }
  .ref-row .rmeta > span + span::before { content: "· "; }
  .ref-detail { padding-inline: 14px; }
  .ref-facts { grid-template-columns: 1fr 1fr; }
  .ref-cell:nth-child(2) { border-right: 0; }
  .ref-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .ref-facts { grid-template-columns: 1fr; }
  .ref-cell { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .ref-cell:last-child { border-bottom: 0; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.portrait {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-text h3 { font-size: 32px; margin-bottom: 6px; }
.about-text .role { font-weight: 600; color: var(--orange-deep); text-transform: uppercase; font-size: 13px; letter-spacing: .12em; margin-bottom: 20px; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 62ch; }
.about-text p strong { color: var(--ink); }
.cert {
  margin-top: 10px; display: inline-flex; gap: 14px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 20px; font-size: 15px; font-weight: 600;
}
.cert::before { content: ""; width: 12px; height: 26px; border-radius: 4px; background: var(--hazard); flex: none; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 280px; } }

/* ---------- contact: dark panel with two action tiles ---------- */
.sec.contact { background: var(--bg); padding: 48px 16px 96px; }
.contact .wrap {
  background: #111518; color: var(--paper);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
}
.contact .sec-head { margin-bottom: 8px; }
.contact .sec-head h2 { color: var(--paper); }
.contact p.sub { color: rgba(245, 243, 234, .72); margin-bottom: 32px; }
.contact-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; }
.actions { display: grid; gap: 8px; }
.contact-logo { display: block; width: 100%; max-width: 470px; height: auto; justify-self: center; }
.action {
  position: relative; display: grid; gap: 3px; align-content: start;
  padding: 10px 12px 11px 24px; border-radius: var(--r-md);
  border: 1px solid rgba(245, 243, 234, .18); background: rgba(245, 243, 234, .04);
  transition: background .2s, border-color .2s, transform .18s;
}
.action:hover { border-color: rgba(245, 243, 234, .42); background: rgba(245, 243, 234, .07); transform: translateY(-2px); }
.action.primary { background: var(--orange); border-color: var(--orange); box-shadow: var(--shadow-orange); }
.action.primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.action .lbl { min-height: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 243, 234, .78); }
.action a.main { font-family: var(--font-display); font-weight: 800; font-size: clamp(12px, 1.4vw, 17px); line-height: 1.05; color: var(--paper); text-decoration: none; overflow-wrap: break-word; }
.action a.main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.action a.main:focus-visible { outline: 0; }
.action:has(a.main:focus-visible) { outline: 3px solid color-mix(in srgb, var(--orange-light) 80%, transparent); outline-offset: 3px; }
.facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(245, 243, 234, .14); font-size: 15px; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 243, 234, .6); margin-bottom: 4px; }
.facts dd { color: rgba(245, 243, 234, .88); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .contact-body { grid-template-columns: 1fr; } .contact-logo { max-width: 300px; } }
@media (prefers-reduced-motion: reduce) { .action { transition: none; } .action:hover { transform: none; } }
footer { background: var(--bg); color: var(--ink-soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--line); }
/* ---------- theme v10 "white + graphite": white base; dark hero, green marquee, graphite process band, dark partner card ---------- */
:root {
  --bg: #FFFFFF;          /* white is the base again */
  --bg-soft: #F1F3F4;     /* one light gray, used sparingly */
  --graphite: #1E2327;
  --graphite-2: #2B3136;
  --ink-soft: #4A4F53;
}
footer { background: #111518; color: rgba(245, 243, 234, .62); } /* bookends the dark header */
footer .wrap { border-top: 0; }
.hero {
  color: var(--paper);
  background: radial-gradient(720px 480px at 16% 28%, rgba(3, 91, 70, .38), transparent 70%), var(--graphite);
}
.hero-shape { filter: drop-shadow(-14px 10px 28px rgba(0, 0, 0, .45)); }
.hero-shape .flat { background: radial-gradient(55% 45% at 60% 50%, #F5F6F3, #DDE2DE 80%); } /* soft off-white steel field keeps the dark container legible */
.hero .eyebrow { color: rgba(245, 243, 234, .72); }
.hero h1 .stair:nth-child(3) { color: var(--orange-light); }
.hero .lead { color: rgba(245, 243, 234, .76); }
.hero .lead strong { color: var(--paper); }
.hero .cta-row .btn.ghost { background: transparent; color: var(--paper); border-color: rgba(245, 243, 234, .35); box-shadow: none; }
.hero .cta-row .btn.ghost:hover { background: rgba(245, 243, 234, .08); border-color: rgba(245, 243, 234, .6); }
.hero .chip { background: #262C31; border-color: rgba(245, 243, 234, .14); box-shadow: none; }
.hero .chip::before { background: var(--orange-light); }
.hero a:focus-visible { outline-color: var(--orange-light); }
.stripe-band { background: var(--orange); }
.stripe-band .dot { color: var(--yellow); }
#postup { background: var(--graphite); color: var(--paper); }
#postup .step { background: var(--graphite-2); border-color: rgba(245, 243, 234, .08); box-shadow: none; }
#postup .step:hover { box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .7); }
#postup .step .n { -webkit-text-stroke-color: var(--orange-light); }
#postup .step p { color: rgba(245, 243, 234, .72); }
#kontejnery { background: var(--bg); }
#kontejnery, #o-mne { border-top: 1px solid var(--line); } /* white-on-white section joins need a seam */
#kontejnery .partner-card { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
#kontejnery .partner-card .lbl { color: rgba(245, 243, 234, .62); }
#kontejnery .partner-card .btn.ghost { background: transparent; color: var(--paper); border-color: rgba(245, 243, 234, .35); box-shadow: none; }
#kontejnery .partner-card .btn.ghost:hover { background: rgba(245, 243, 234, .08); border-color: rgba(245, 243, 234, .6); }
#kontejnery .partner-card a:focus-visible { outline-color: var(--orange-light); }
