/* PLANS — industrial dark. One stylesheet, no framework, no build step. */

:root {
  --bg: #0C0D0F;
  --bg-2: #111317;
  --bg-3: #171A20;
  --bg-4: #1F242B;
  --bg-5: #2A3039;

  --acc: #FF5A1F;            /* the colour that comes off the line */
  --acc-2: #FF7A44;
  --acc-ink: #140702;
  --acc-dim: rgba(255, 90, 31, .12);

  --steel: #7E8B99;
  --ink: #EDEFF2;
  --ink-2: #A8B0BA;
  --muted: #6E7783;
  --line: rgba(237, 239, 242, .09);
  --line-2: rgba(237, 239, 242, .17);

  --disp: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'Roboto Mono', Menlo, monospace;

  --wrap: 1300px;
  --gut: clamp(1.1rem, 4vw, 2.8rem);
  --r: 4px;                  /* industrial: almost no rounding */
  --r-s: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 70px -32px rgba(0, 0, 0, .92);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }

h1, h2, h3, h4 {
  margin: 0; font-family: var(--disp); font-weight: 700; line-height: 1.04;
  letter-spacing: -.025em; color: var(--ink); text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.8vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.68rem); }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.24rem); }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 640; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 1040px; }
.mt { margin-top: 1.1rem; }
.center { text-align: center; }
.note { font-size: .88rem; color: var(--muted); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--ink-2); max-width: 64ch; }

.skip { position: fixed; top: -100px; left: 1rem; z-index: 200; background: var(--acc);
  color: var(--acc-ink); padding: .7rem 1.1rem; font-weight: 650; transition: top .2s; }
.skip:focus { top: 1rem; }

/* the recurring industrial label: mono, tracked out, with a rule */
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono);
  font-weight: 500; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--acc); }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--acc); }
.kicker--plain::before { display: none; }

/* ---------------------------------------------------------------- header */

.hdr { position: sticky; top: 0; z-index: 90; background: rgba(12, 13, 15, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); transition: transform .4s var(--ease), background .3s; }
.hdr__bar { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.6rem); height: 74px; }
.hdr__logo { flex: none; display: flex; align-items: center; gap: .6rem; }
.hdr__nav { display: none; align-items: center; gap: clamp(.3rem, 1.1vw, 1rem); margin-left: auto; }
.hdr__link { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  font-family: var(--disp); font-weight: 600; font-size: .93rem; letter-spacing: -.005em;
  padding: .5rem .2rem; color: var(--ink-2); position: relative; transition: color .25s; }
.hdr__link::after { content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .1rem;
  height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease); }
.hdr__link:hover { color: var(--ink); }
.hdr__link:hover::after, .hdr__link[aria-current]::after { transform: scaleX(1); }
.hdr__link[aria-current] { color: var(--ink); }
.dd > .hdr__link .ico { width: .8em; height: .8em; transition: transform .25s var(--ease); }
.dd:hover > .hdr__link .ico, .dd:focus-within > .hdr__link .ico { transform: rotate(180deg); }
.hdr__end { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.hdr__nav + .hdr__end { margin-left: clamp(.4rem, 1.4vw, 1rem); }
.hdr__end .btn { white-space: nowrap; }


.lang { display: inline-flex; border: 1px solid var(--line-2); overflow: hidden; }
.lang a { padding: .3rem .6rem; font-family: var(--mono); font-weight: 500; font-size: .74rem;
  letter-spacing: .08em; color: var(--muted); transition: background .25s, color .25s; }
.lang a[aria-current] { background: var(--acc); color: var(--acc-ink); }
.lang a:not([aria-current]):hover { color: var(--ink); background: var(--bg-3); }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center; border: 1px solid var(--line-2); }
.burger span { width: 18px; height: 2px; background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 95; background: var(--bg); display: grid;
  grid-template-rows: auto 1fr; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s; overflow-y: auto; }
.drawer[data-open] { opacity: 1; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 74px;
  border-bottom: 1px solid var(--line); }
.drawer__body { padding: clamp(1.4rem, 4vw, 2.4rem) 0 3rem; }
.drawer__list { display: flex; flex-direction: column; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .78rem 0; border-bottom: 1px solid var(--line); font-family: var(--disp); font-weight: 650;
  font-size: clamp(1.3rem, 5.2vw, 1.85rem); letter-spacing: -.025em;
  transition: padding-left .35s var(--ease), color .25s; }
.drawer__list a:hover { padding-left: .5rem; color: var(--acc); }
.drawer__sub { margin-top: 1.5rem; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 1.4rem; }
.drawer__sub a { padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .96rem; }
.drawer__sub a:hover { color: var(--acc); }
.drawer__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

@media (min-width: 1080px) { .hdr__nav { display: flex; } .burger { display: none; } }
@media (max-width: 860px) { .mark span { display: none; } }
@media (max-width: 620px) { .hdr__end .lang { display: none; }
  .hdr__end .btn { padding: .5rem .78rem; font-size: .8rem; } }
@media (max-width: 359px) { .hdr__end .btn { display: none; } }

.dd { position: relative; }
.dd__panel { position: absolute; top: calc(100% + .7rem); right: 0; min-width: 270px;
  background: var(--bg-2); border: 1px solid var(--line-2); padding: .4rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s; }
.dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: none; }
.dd__panel a { display: block; padding: .5rem .7rem; font-size: .93rem; color: var(--ink-2);
  transition: background .2s, color .2s; }
.dd__panel a:hover { background: var(--bg-4); color: var(--ink); }

/* ---------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.35rem; font-family: var(--disp); font-weight: 650; font-size: .93rem;
  letter-spacing: -.005em; border: 1px solid transparent;
  transition: transform .26s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--pri { background: var(--acc); color: var(--acc-ink); }
.btn--pri:hover { background: var(--acc-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--acc); color: var(--acc); }
.btn--sm { padding: .56rem .95rem; font-size: .86rem; }
.btn .ico { width: 1.05em; height: 1.05em; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--disp);
  font-weight: 620; font-size: .91rem; color: var(--acc); }
.link-arrow .ico { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .62rem;
  background: var(--bg-3); border: 1px solid var(--line); font-family: var(--mono); font-weight: 500;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.badge--acc { background: var(--acc-dim); border-color: rgba(255,90,31,.34); color: var(--acc-2); }

/* ---------------------------------------------------------------- sections */

.s { padding: clamp(3.2rem, 7vw, 6.6rem) 0; }
.s--tight { padding: clamp(2.2rem, 4.5vw, 3.8rem) 0; }
.s--alt { background: var(--bg-2); }
.s--line { border-top: 1px solid var(--line); }
.s__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3.4vw, 2.9rem); }
.s__head p { margin: .8rem 0 0; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (min-width: 1040px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; min-height: clamp(580px, 90vh, 920px); display: flex; align-items: flex-end;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.4rem, 6vh, 4rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,15,.72) 0%, rgba(12,13,15,.34) 30%,
              rgba(12,13,15,.82) 74%, var(--bg) 100%),
              linear-gradient(90deg, rgba(12,13,15,.86) 0%, rgba(12,13,15,.45) 52%, transparent 78%); }
/* a faint engineering grid, the kind that sits under a drawing */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(237,239,242,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(237,239,242,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%); }
.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__h { margin: 1.1rem 0 0; max-width: 15ch; }
.hero__lead { margin-top: 1.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(1.4rem, 3vw, 2.1rem); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.hero--page { min-height: clamp(340px, 50vh, 500px); align-items: center; }
.hero--page .hero__bg::after { background: linear-gradient(180deg, rgba(12,13,15,.84),
  rgba(12,13,15,.93) 68%, var(--bg)); }
.hero--plain { min-height: 0; padding: clamp(4.4rem, 10vh, 7rem) 0 clamp(1.4rem, 3vw, 2.4rem);
  align-items: flex-start; }
.hero--plain::after { content: ""; position: absolute; inset: -40% 40% auto -15%; height: 90%; z-index: 0;
  background: radial-gradient(55% 100% at 30% 0%, rgba(255,90,31,.16), transparent 70%); pointer-events: none; }

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--muted);
  font-family: var(--mono); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--acc); }
.crumbs span::after { content: "/"; margin-left: .4rem; color: var(--line-2); }

.scrollcue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2);
  color: var(--ink-2); background: rgba(12,13,15,.5); animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }
@media (prefers-reduced-motion: reduce) { .scrollcue { animation: none; } }

/* ---------------------------------------------------------------- stat band */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg-2); padding: clamp(1.3rem, 2.6vw, 2rem) clamp(1rem, 2vw, 1.6rem); }
.stat__n { font-family: var(--disp); font-weight: 750; font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1; letter-spacing: -.04em; color: var(--acc); }
.stat__l { margin-top: .5rem; font-size: .92rem; color: var(--ink); font-weight: 550; }
.stat__s { margin-top: .15rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em;
  color: var(--muted); }

/* ---------------------------------------------------------------- process steps */

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: flex; flex-direction: column; background: var(--bg-2);
  padding: clamp(1.4rem, 2.6vw, 2rem); transition: background .3s; overflow: hidden; }
.step:hover { background: var(--bg-3); }
.step__n { font-family: var(--mono); font-size: .76rem; letter-spacing: .18em; color: var(--acc); }
.step__i { display: block; margin: 1.1rem 0 .9rem; width: 34px; height: 34px; color: var(--acc); }
.step__i .ico { width: 100%; height: 100%; }
.step h3 { font-size: 1.18rem; }
.step p { margin-top: .6rem; font-size: .93rem; color: var(--ink-2); }
.step__go { margin-top: auto; padding-top: 1rem; }
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.step:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- cards */

.card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), border-color .3s, background .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--bg-3); }
.card__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: .55rem; padding: clamp(1rem, 2vw, 1.4rem); flex: 1; }
.card__t { display: block; font-family: var(--disp); font-weight: 680; font-size: 1.1rem;
  line-height: 1.22; letter-spacing: -.02em; }
.card__p { display: block; font-size: .93rem; color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: .4rem; }
.card__i { display: block; width: 30px; height: 30px; color: var(--acc); }
.card__i .ico { width: 100%; height: 100%; }
.card ul { margin: .3rem 0 0; padding-left: 1.05rem; font-size: .9rem; color: var(--ink-2); }
.card li { margin: .2rem 0; }

/* ---------------------------------------------------------------- split feature */

.split { display: grid; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 1.12fr .88fr; } }
.split__media { overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--rev .split__media { order: 2; }
@media (max-width: 899px) { .split--rev .split__media { order: 0; } }

/* ---------------------------------------------------------------- prose */

.prose { max-width: 74ch; }
.prose h2 { margin: 2.4rem 0 .9rem; }
.prose h3 { margin: 1.9rem 0 .7rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2rem; }
.prose li { margin: .45rem 0; }
.prose li::marker { color: var(--acc); }
.prose figure { margin: 2rem 0; }
.prose figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.prose a:not(.btn):not(.link-arrow) { color: var(--acc); text-decoration: underline;
  text-underline-offset: 3px; }

.specs { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 1.4rem 0; }
.specs tr { border-bottom: 1px solid var(--line); }
.specs tr:first-child { border-top: 1px solid var(--line); }
.specs td { padding: .8rem .2rem; vertical-align: top; }
.specs td:first-child { color: var(--muted); width: 45%; font-family: var(--mono); font-size: .84rem;
  letter-spacing: .03em; }
.specs td:last-child { color: var(--ink); font-weight: 550; }

/* a draft marker the client can see and we can grep for */
.draft { display: flex; gap: .7rem; align-items: flex-start; margin: 1.6rem 0; padding: .9rem 1.05rem;
  background: var(--acc-dim); border-left: 2px solid var(--acc); font-size: .9rem; color: var(--ink-2); }
.draft b { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--acc-2); margin-bottom: .2rem; }

/* ---------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  width: 100%; padding: 1.1rem 0; text-align: left; font-family: var(--disp); font-weight: 640;
  font-size: clamp(1rem, 1.6vw, 1.12rem); letter-spacing: -.015em; transition: color .25s; }
.faq__q:hover { color: var(--acc); }
.faq__q .ico { color: var(--acc); transition: transform .35s var(--ease); flex: none; }
.faq__q[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0 1.2rem; color: var(--ink-2); max-width: 70ch; }

/* ---------------------------------------------------------------- RAL palette */

.ral-tools { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center;
  margin-bottom: 1.4rem; }
@media (max-width: 1100px) { .ral-tools .count { margin-left: 0; } }
.field { position: relative; display: flex; align-items: center; gap: .5rem; background: var(--bg-2);
  border: 1px solid var(--line-2); padding: .55rem .9rem; }
.field input, .field select, .field textarea { background: none; border: 0; outline: none;
  min-width: 9ch; font-size: .93rem; }
.field input[type="search"] { min-width: 18ch; }
.field .ico { color: var(--muted); }
.field select { appearance: none; padding-right: 1.2rem; cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .42rem .8rem; border: 1px solid var(--line-2); font-family: var(--mono);
  font-size: .76rem; letter-spacing: .06em; color: var(--ink-2);
  transition: border-color .25s, color .25s, background .25s; }
.chip:hover { border-color: var(--acc); color: var(--acc); }
.chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.count { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-left: auto;
  white-space: nowrap; }
.count b { color: var(--ink); }

.ral-grid { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.ral { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0;
  overflow: hidden; transition: transform .25s var(--ease); }
.ral:hover { transform: translateY(-3px); z-index: 2; }
.ral__sw { display: block; aspect-ratio: 5 / 4; position: relative; flex: none; }
.ral__sw::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.ral__c { position: absolute; left: .55rem; bottom: .5rem; font-family: var(--mono); font-weight: 500;
  font-size: .82rem; letter-spacing: .02em; }
.ral__n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding: .5rem .55rem .65rem; font-size: .78rem; line-height: 1.28; color: var(--ink-2);
  background: var(--bg-2); flex: 1; min-height: 3.05em; }
.ral__f { position: absolute; top: .45rem; right: .5rem; font-family: var(--mono); font-size: .62rem;
  letter-spacing: .1em; padding: .1rem .3rem; background: rgba(0,0,0,.35); color: #fff; }
.ral-empty { padding: 3rem 0; text-align: center; color: var(--muted); }

.ral-groups { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 2rem; }
.ral-group { position: relative; display: block; padding: 1rem; background: var(--bg-2);
  border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.ral-group:hover { border-color: var(--acc); transform: translateY(-3px); }
.ral-group__sw { display: flex; height: 30px; margin-bottom: .85rem; }
.ral-group__sw i { flex: 1; }
.ral-group__t { display: block; font-family: var(--disp); font-weight: 660; font-size: 1rem; }
.ral-group__c { display: block; font-family: var(--mono); font-size: .74rem; color: var(--muted);
  margin-top: .2rem; }
.ral-group--wide { display: block; }
.ral-group--wide .ral-group__t { font-size: 1.25rem; }

/* ---------------------------------------------------------------- gallery + video */

.gal { display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gal figure { position: relative; margin: 0; overflow: hidden; background: var(--bg-3);
  aspect-ratio: 4 / 3; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption { position: absolute; inset: auto 0 0; padding: 1.6rem .9rem .8rem; font-size: .88rem;
  background: linear-gradient(180deg, transparent, rgba(8,9,11,.9) 60%); }

.gal video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gal figure:hover video { transform: scale(1.06); }
.gal__vid { cursor: pointer; }
.gal__play { position: absolute; top: .8rem; right: .8rem; z-index: 1; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(8,9,11,.62); color: #fff;
  border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.gal__play .ico { width: 16px; height: 16px; margin-left: 2px; }
.lb video { display: block; width: auto; max-width: 100%; max-height: 82vh; margin-inline: auto; background: #000; }

.vids { display: grid; gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (min-width: 900px) { .vids { grid-template-columns: repeat(3, 1fr); }
  .vid--wide { grid-column: span 2; } }
.vid { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; margin: 0; }
.vid video { width: 100%; display: block; background: #000; aspect-ratio: 3/4; object-fit: cover; }
.vid--wide video { aspect-ratio: 16/9; }
.vid__b { padding: .9rem 1rem 1.1rem; flex: 1; }
.vid__t { display: block; font-family: var(--disp); font-weight: 650; font-size: 1rem;
  letter-spacing: -.015em; }
.vid__p { display: block; font-size: .88rem; color: var(--ink-2); margin-top: .3rem; }

/* ---------------------------------------------------------------- quote form */

.form { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form .f-full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: .4rem; }
.f label { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); }
.f label span { color: var(--acc); }
.f input, .f select, .f textarea { background: var(--bg-2); border: 1px solid var(--line-2);
  padding: .72rem .85rem; font-size: .95rem; outline: none; transition: border-color .25s; width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--acc); }
.f textarea { min-height: 128px; resize: vertical; }
.f select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.f input[type=file] { cursor: pointer; padding: .55rem .6rem; color: var(--ink-2); }
.f input[type=file]::file-selector-button { font: inherit; font-size: .88rem; color: var(--ink); background: var(--bg-4, var(--bg-3));
  border: 1px solid var(--line-2); padding: .5rem .95rem; margin-right: .9rem; cursor: pointer; transition: border-color .25s; }
.f input[type=file]:hover::file-selector-button { border-color: var(--acc); }
.f select option { background: var(--bg-2); }
.ral-pick { display: flex; align-items: center; gap: .6rem; }
.ral-pick i { display: block; width: 34px; height: 34px; border: 1px solid var(--line-2); flex: none;
  background: var(--bg-4); }

/* ---------------------------------------------------------------- contact + footer */

.kv { border-top: 1px solid var(--line); }
.kv__row { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: space-between;
  padding: .85rem 0; border-bottom: 1px solid var(--line); }
.kv__k { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); }
.kv__v { color: var(--ink); }


.ftr { background: var(--bg-2); border-top: 1px solid var(--line);
  padding: clamp(2.6rem, 6vw, 4.4rem) 0 1.8rem; }
.ftr__grid { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ftr h4 { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.ftr__list { display: flex; flex-direction: column; gap: .5rem; }
.ftr__list a, .ftr__list span { color: var(--ink-2); font-size: .94rem; transition: color .22s; }
.ftr__list a:hover { color: var(--acc); }
.ftr__bot { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between;
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.3rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--muted); }
.ftr__bot .tags { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------------------------------------------------------------- reveal */

.js [data-reveal] { opacity: 0; transform: translateY(20px);
  transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > *:nth-child(1) { transition-delay: .02s; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: .14s; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: .2s; }
.js [data-stagger].is-in > *:nth-child(5) { transition-delay: .26s; }
.js [data-stagger].is-in > *:nth-child(6) { transition-delay: .32s; }
.js [data-stagger].is-in > *:nth-child(n+7) { transition-delay: .38s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important;
    transition: none !important; } }

.img-ph { display: block; }

/* ---------------------------------------------------------------- lightbox */

.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(8, 9, 11, .94); padding: clamp(1rem, 4vw, 3rem); cursor: zoom-out; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; cursor: auto; }
.lb img { width: auto; max-width: 100%; max-height: 82vh; object-fit: contain; margin-inline: auto; }
.lb figcaption { margin-top: .9rem; text-align: center; font-size: .92rem; color: var(--ink-2); }
.lb__x { position: absolute; top: 1rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.9rem;
  line-height: 1; color: var(--ink); border: 1px solid var(--line-2); transition: border-color .25s, color .25s; }
.lb__x:hover { border-color: var(--acc); color: var(--acc); }
[data-lb] { cursor: zoom-in; }

/* ---------------------------------------------------------------- map --
   click-to-load Google map on the contact page; the pin is the exact gate */
.map{position:relative;border:1px solid var(--line-2);border-radius:var(--r);
  background:var(--bg-3);min-height:340px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:14px;padding:32px;overflow:hidden}
.map__n{color:var(--ink-2);font-size:.9rem;text-align:center;max-width:52ch;margin:0}
.map__l{color:var(--acc-2);font-size:.9rem;text-decoration:underline;
  text-underline-offset:3px}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0;
  filter:saturate(.85) contrast(1.05)}
.map--on{min-height:440px}
.map--on .map__l{position:absolute;left:14px;bottom:12px;background:var(--bg);
  padding:8px 12px;border-radius:var(--r-s);text-decoration:none;
  border:1px solid var(--line-2);z-index:1}

/* ---------------------------------------------------------------- logo (client's bitmap logo) */
.hdr__logo { display: flex; align-items: center; gap: .85rem; }
.logo { display: block; height: 27px; width: auto; }
.logo__tag { font-family: var(--mono); font-weight: 500; font-size: .58rem; letter-spacing: .18em; line-height: 1.35;
  text-transform: uppercase; color: var(--muted); padding-left: .85rem; border-left: 1px solid var(--line-2); max-width: 8.5em; }
.drawer .logo { height: 24px; }
.ftr .logo { height: 32px; }
@media (max-width: 860px) { .logo { height: 23px; } .logo__tag { display: none; } }

/* ---------------------------------------------------------------- reply-time note under "Pošalji upit" */
.hero__note { flex-basis: 100%; margin: 0; font-size: .86rem; color: var(--ink-2); }

/* ---------------------------------------------------------------- partner / accreditation logos on light tiles */
.logos__l { margin: 1.8rem 0 .7rem; font-size: .86rem; color: var(--ink-2); }
.logos { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; }
.logos a, .logos span { display: flex; align-items: center; justify-content: center; background: #fff; padding: .7rem 1rem;
  min-height: 60px; transition: transform .3s var(--ease), box-shadow .3s; }
.logos a:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.logos img { display: block; height: 30px; width: auto; max-width: 160px; object-fit: contain; }
.logos img.logos__sq { height: 44px; }
.logos--acc { margin-top: .6rem; }
.logos--acc img { height: 40px; }

/* ---------------------------------------------------------------- certificate figure */
.cert { margin: 1.6rem 0 1rem; max-width: 380px; background: #fff; padding: .6rem; cursor: zoom-in; }
.cert img { display: block; width: 100%; height: auto; }
.cert figcaption { padding: .7rem .2rem .1rem; font-size: .82rem; color: #3b4048; line-height: 1.4; }
.cert__dl { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.lb .cert img { background: #fff; }

/* ---------------------------------------------------------------- Google map strip above the footer */
.mapstrip { position: relative; height: clamp(320px, 38vw, 440px); background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.mapstrip iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  filter: invert(.92) hue-rotate(180deg) saturate(.6) contrast(.95) brightness(.92); }
.mapstrip__card { position: absolute; z-index: 2; left: max(var(--gut), calc((100% - var(--wrap)) / 2 + var(--gut))); bottom: 1.6rem;
  display: grid; gap: .3rem; max-width: 330px; padding: 1.15rem 1.3rem 1.3rem; background: var(--bg); border: 1px solid var(--line-2);
  box-shadow: 0 18px 50px rgba(0,0,0,.55); color: var(--ink); }
.mapstrip__card .kicker { margin-bottom: .3rem; }
.mapstrip__card strong { font-family: var(--disp); font-size: 1.15rem; letter-spacing: -.02em; }
.mapstrip__card .btn { margin-top: .75rem; justify-self: start; }
@media (max-width: 640px) {
  .mapstrip { height: auto; }
  .mapstrip iframe { position: static; height: 300px; }
  .mapstrip__card { position: static; max-width: none; border-width: 0 0 1px; box-shadow: none; }
}

/* ---------------------------------------------------------------- footer address → Google Maps */
.ftr__map { display: block; }
.ftr__map > span:first-child { display: block; }
.ftr__map .link-arrow { display: inline-flex; margin-top: .3rem; font-size: .86rem; }

/* ---------------------------------------------------------------- quote form: honeypot + sent message */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { grid-column: 1 / -1; margin-top: .2rem; padding: .85rem 1.05rem; background: var(--acc-dim); border: 1px solid rgba(255,90,31,.34); color: var(--ink); font-size: .95rem; }
.form { position: relative; }
.form__msg--err { background: rgba(220,50,40,.12); border-color: rgba(220,50,40,.45); }
