/* =========================================================
   Rackfin — racking.digital
   Industrial warehouse finance aesthetic
   ========================================================= */

:root {
  --graphite: #2F3437;
  --graphite-deep: #1C2022;
  --graphite-soft: #3D4448;
  --orange: #F77F00;
  --orange-deep: #D96C00;
  --alu: #C8CDD3;
  --alu-dark: #A7AEB6;
  --white: #F7F9FB;
  --paper: #FFFFFF;
  --ink: #21262A;
  --muted: #5E686E;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --bay: 1240px;
  --gap: clamp(18px, 2.4vw, 30px);
  --radius: 4px;
  --shadow: 0 18px 40px -28px rgba(31, 36, 39, .55);
  --line: 1px solid rgba(47, 52, 55, .14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(47, 52, 55, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 52, 55, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--graphite); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.02;
  margin: 0 0 .5em;
  color: var(--graphite);
  font-weight: 700;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 40px, var(--bay));
  margin-inline: auto;
}

.section { padding: clamp(58px, 8vw, 104px) 0; }
.section--tint { background: rgba(200, 205, 211, .28); border-block: var(--line); }
.section--dark { background: var(--graphite); color: var(--alu); }
.section--dark h2, .section--dark h3 { color: var(--white); }

/* ---------- Label system (warehouse bin labels) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.tag::before {
  content: "";
  width: 26px;
  height: 10px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.section--dark .tag { color: var(--alu); }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: rgba(200, 205, 211, .88); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--orange); color: #22160A; }
.btn--primary:hover { background: var(--orange-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--ghost:hover { background: var(--graphite); color: var(--white); transform: translateY(-2px); }
.btn--steel { border-color: var(--alu); color: var(--white); background: transparent; }
.btn--steel:hover { background: var(--alu); color: var(--graphite); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--graphite);
  border-bottom: 3px solid var(--orange);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1;
}
.brand__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .26em;
  color: var(--alu);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--alu);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--orange); }

.masthead .btn--primary { padding: 11px 20px; }

.burger {
  display: none;
  width: 46px;
  height: 40px;
  border: 1px solid var(--graphite-soft);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--alu);
  margin: 4px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--graphite);
  color: var(--alu);
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 92px) 0 clamp(60px, 8vw, 100px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(200, 205, 211, .07) 0 1px, transparent 1px 84px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__text p { color: rgba(200, 205, 211, .9); font-size: 1.1rem; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--graphite-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs div { padding: 16px 18px; border-right: 1px solid var(--graphite-soft); }
.specs div:last-child { border-right: 0; }
.specs b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
}
.specs span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--alu);
}

.rack-frame {
  position: relative;
  padding: 18px;
  border: 3px solid var(--alu-dark);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200, 205, 211, .18), rgba(47, 52, 55, .1));
}
.rack-frame::before,
.rack-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--orange);
}
.rack-frame::before { top: -3px; left: -3px; }
.rack-frame::after { bottom: -3px; right: -3px; }
.rack-frame img {
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: cover;
  border-radius: 2px;
  filter: contrast(1.05) saturate(.92);
}
.rack-frame__plate {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  background: rgba(28, 32, 34, .88);
  border-left: 4px solid var(--orange);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--alu);
  text-transform: uppercase;
}

/* ---------- Card grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: var(--line);
  border-top: 4px solid var(--graphite);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-top-color: var(--orange); box-shadow: var(--shadow); }
.card__code {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--orange-deep);
  display: block;
  margin-bottom: 10px;
}
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }
.card h3 { margin-bottom: .35em; }

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  background: rgba(247, 127, 0, .12);
  border-radius: var(--radius);
}
.icon svg { width: 24px; height: 24px; stroke: var(--orange-deep); fill: none; stroke-width: 1.8; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: var(--line);
  align-items: start;
}
.step:last-child { border-bottom: var(--line); }
.step__no {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: .9;
  color: var(--alu-dark);
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Zostavy s fotografiami ---------- */
.kit {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kit img { width: 100%; height: 210px; object-fit: cover; }
.kit__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.kit__body p { color: var(--muted); font-size: .96rem; }
.kit ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.kit ul li { margin-bottom: 6px; }

/* ---------- Calculator / signature shelf ---------- */
.calc {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--gap);
  align-items: start;
}
.panel {
  background: var(--paper);
  border: var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--alu-dark);
  border-radius: var(--radius);
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--orange); outline: 2px solid rgba(247, 127, 0, .28); outline-offset: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field small { display: block; color: var(--muted); font-size: .8rem; margin-top: 5px; }

.shelf {
  background: var(--graphite);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--alu);
}
.shelf__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1px solid var(--graphite-soft);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.shelf__total { font-family: var(--font-display); font-size: 2.4rem; color: var(--orange); line-height: 1; }
.shelf__note { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }

.bay { margin-bottom: 18px; }
.bay__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bay__label b { color: var(--white); }
.bay__track {
  height: 26px;
  background: rgba(200, 205, 211, .14);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--graphite-soft);
}
.bay__fill {
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(45deg, var(--orange) 0 10px, var(--orange-deep) 10px 20px);
  transition: width .55s cubic-bezier(.2, .7, .2, 1);
}
.bay--alu .bay__fill { background: repeating-linear-gradient(45deg, var(--alu) 0 10px, var(--alu-dark) 10px 20px); }
.bay--white .bay__fill { background: repeating-linear-gradient(45deg, #E6EAEE 0 10px, #CFD6DC 10px 20px); }

.shelf__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--graphite-soft);
  font-size: .93rem;
  color: rgba(200, 205, 211, .88);
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.plan {
  background: var(--paper);
  border: 1px solid var(--alu-dark);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.plan__flag {
  position: absolute;
  top: -14px;
  left: 26px;
  background: var(--orange);
  color: #22160A;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.plan__code { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; color: var(--muted); }
.plan h3 { margin: 8px 0 6px; }
.plan__price { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--graphite); }
.plan__price span { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
.plan__year { font-family: var(--font-mono); font-size: .74rem; color: var(--orange-deep); letter-spacing: .06em; margin: 8px 0 16px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan li {
  padding: 9px 0 9px 26px;
  border-bottom: 1px dashed rgba(47, 52, 55, .14);
  position: relative;
  font-size: .95rem;
  color: var(--muted);
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.plan li.is-off { color: var(--alu-dark); }
.plan li.is-off::before { background: var(--alu); }
.plan .btn { margin-top: auto; }

.price-note {
  margin-top: 26px;
  background: var(--paper);
  border: var(--line);
  border-left: 5px solid var(--graphite);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: .93rem;
  color: var(--muted);
}
.price-note strong { color: var(--graphite); }
.price-note ul { margin: 10px 0 0; padding-left: 20px; }

.table-wrap { overflow-x: auto; margin-top: 26px; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: .94rem;
  min-width: 620px;
}
table.compare th,
table.compare td { padding: 13px 16px; border: 1px solid rgba(47, 52, 55, .14); text-align: left; }
table.compare thead th {
  background: var(--graphite);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
table.compare tbody tr:nth-child(even) { background: rgba(200, 205, 211, .18); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.quote p { font-size: .98rem; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.quote b { display: block; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; }
.quote span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper);
  border: var(--line);
  border-left: 4px solid var(--alu-dark);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq details[open] { border-left-color: var(--orange); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--graphite);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--orange);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: start; }
.contact-card {
  background: var(--graphite);
  color: var(--alu);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.contact-card h3 { color: var(--white); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--graphite-soft); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--alu-dark);
  margin-bottom: 4px;
}
.contact-list a, .contact-list strong { color: var(--white); font-size: 1.03rem; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--orange); }

.checkbox { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.checkbox label { font-size: .88rem; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; text-transform: none; }

.err { color: #B4232A; font-size: .82rem; font-family: var(--font-mono); display: block; margin-top: 5px; min-height: 1em; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .93rem;
  display: none;
}
.form-status.is-ok { display: block; background: rgba(247, 127, 0, .12); border-left: 4px solid var(--orange); color: var(--graphite); }
.form-status.is-bad { display: block; background: rgba(180, 35, 42, .1); border-left: 4px solid #B4232A; color: #7C1A20; }

/* ---------- Footer ---------- */
.footer {
  background: var(--graphite-deep);
  color: rgba(200, 205, 211, .8);
  padding: 58px 0 26px;
  font-size: .93rem;
  border-top: 3px solid var(--orange);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(200, 205, 211, .85); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer .brand__name { font-size: 1.4rem; }
.footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--graphite-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--alu-dark);
}
.footer .disclaimer { font-size: .82rem; color: var(--alu-dark); max-width: 100%; margin-top: 18px; }
.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(200, 205, 211, .85);
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.linkbtn:hover { color: var(--orange); }

/* ---------- Cookie bar ---------- */
.cookiebar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: var(--paper);
  border: 1px solid var(--alu-dark);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(28, 32, 34, .6);
  padding: 22px 24px;
  display: none;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin-inline: auto;
}
.cookiebar.is-open { display: flex; }
.cookiebar p { margin: 0; font-size: .92rem; color: var(--muted); max-width: 62ch; }
.cookiebar h4 { margin: 0 0 6px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; color: var(--graphite); }
.cookiebar__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookiebar .btn { padding: 12px 20px; font-size: .74rem; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(40px, 6vw, 76px) 0; }
.legal__inner {
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 54px);
  max-width: 900px;
  margin-inline: auto;
}
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .updated {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 26px;
  display: block;
}
.crumbs { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.crumbs a { text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: .7rem; letter-spacing: .08em; }
  .masthead .btn--primary { padding: 10px 14px; font-size: .7rem; }
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--graphite);
    border-bottom: 3px solid var(--orange);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--graphite-soft); }
  .masthead__inner { position: relative; }
  .masthead .btn--primary { display: none; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .specs div { border-right: 0; border-bottom: 1px solid var(--graphite-soft); }
  .specs div:last-child { border-bottom: 0; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step__no { font-size: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .cookiebar { padding: 18px; }
  .cookiebar .btn { flex: 1 1 auto; }
}

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