﻿:root {
  --ink: #263238;
  --muted: #66747f;
  --line: #dce3e7;
  --paper: #f7f3ed;
  --sand: #d8c2a1;
  --rust: #b9562d;
  --rust-dark: #8f3f22;
  --white: #fff;
  --shadow: 0 24px 70px rgba(31, 45, 55, .12);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfaf8; line-height: 1.55; }
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); }
.site-header {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px); background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand span { display: grid; place-items: center; width: 36px; height: 36px; background: var(--rust); color: #fff; border-radius: 7px; }
.brand-logo img { width: clamp(128px, 14vw, 184px); height: auto; max-height: 54px; object-fit: contain; }
nav { display: flex; justify-content: center; gap: 20px; font-size: 14px; font-weight: 700; }
nav a { color: #42505a; }
nav a:hover { color: var(--rust); }
.menu-toggle { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--rust);
  border-radius: 7px; font-weight: 850; cursor: pointer; transition: .2s ease; font-size: 15px; background: transparent;
}
.btn.primary { color: #fff; background: var(--rust); box-shadow: 0 12px 28px rgba(185,86,45,.22); }
.btn.primary:hover { background: var(--rust-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--rust-dark); }
.btn.small { min-height: 42px; padding: 0 16px; white-space: nowrap; }
.hero {
  min-height: calc(100vh - 74px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr); align-items: center; gap: 36px;
  padding: clamp(36px, 6vw, 82px) clamp(18px, 4vw, 56px) 28px; background: linear-gradient(90deg, #fbfaf8 0%, #fbfaf8 54%, #efe6d9 54%);
}
.hero-copy { max-width: 680px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--rust); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 7vw, 86px); max-width: 760px; }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 22px; }
.hero p { font-size: clamp(18px, 2vw, 23px); max-width: 720px; }
.hero img { height: min(72vh, 680px); width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.advantage-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 0 clamp(18px, 4vw, 56px) 64px; border: 1px solid var(--line); background: var(--line);
}
.advantage-strip span { padding: 22px; background: #fff; font-weight: 800; text-align: center; }
section { padding: 76px clamp(18px, 4vw, 56px); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.alt { background: #fff; }
.split img, .calculator-promo img, .image-cards img { border-radius: 8px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; width: 100%; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .image-cards article, .blog-list article, .package-list article, .admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; box-shadow: 0 10px 30px rgba(31,45,55,.05);
}
.card svg { width: 36px; height: 36px; color: var(--rust); margin-bottom: 18px; stroke-width: 1.8; }
.card a, .split a, .site-footer a { color: var(--rust-dark); font-weight: 850; }
.calculator-promo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); align-items: center; gap: 44px; background: var(--paper); }
.process ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: steps; }
.process li { min-height: 150px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; counter-increment: steps; }
.process li:before { content: "0" counter(steps); display: block; color: var(--rust); font-weight: 900; margin-bottom: 18px; }
.process.big ol { grid-template-columns: repeat(3, 1fr); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 850; }
.cta-contact, .contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; background: #fff; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-intro { margin-top: 0; font-weight: 700; color: var(--muted); }
label { display: grid; gap: 8px; font-weight: 800; color: #34424c; }
input, select, textarea {
  width: 100%; border: 1px solid #cfd8de; border-radius: 7px; padding: 14px 15px; font: inherit; background: #fff; color: var(--ink);
}
input[type="file"] { padding: 11px; background: var(--paper); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(185,86,45,.18); border-color: var(--rust); }
.full { grid-column: 1 / -1; }
.check { display: flex; align-items: start; gap: 10px; font-weight: 650; color: var(--muted); }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form-status { font-weight: 800; }
.form-error { color: #b3261e; font-weight: 800; }
.page-hero { padding-top: 86px; padding-bottom: 46px; background: linear-gradient(rgba(247,243,237,.9), rgba(247,243,237,.9)), url("/assets/images/mero-bg-technical-lines.webp") center/cover; }
.page-hero p { max-width: 780px; font-size: 20px; }
.subpage > section:not(.page-hero) { padding-top: 62px; }
.calculator { background: #fff; }
.calc-form { max-width: 980px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.calc-progress { height: 8px; background: #eceff1; border-radius: 99px; margin-bottom: 28px; overflow: hidden; }
.calc-progress span { display: block; height: 100%; background: var(--rust); transition: width .2s ease; }
.calc-step { display: none; }
.calc-step.active { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid label { min-height: 64px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: flex; align-items: center; gap: 10px; }
.choice-grid input { width: auto; }
.calc-actions { display: flex; gap: 12px; margin-top: 24px; }
.calc-actions .submit { display: none; }
.calc-form.final .submit { display: inline-flex; }
.calc-form.final [data-next] { display: none; }
.calc-result { margin-top: 20px; padding: 18px; border-radius: 8px; background: var(--paper); border: 1px solid var(--sand); }
.calc-result strong { display: block; font-size: clamp(24px, 3vw, 34px); color: var(--rust-dark); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-list span, .tag-list a { padding: 10px 14px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.package-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-list span, .notice { color: var(--rust); font-weight: 850; }
.narrow { max-width: 900px; margin: 0 auto; min-height: 52vh; }
.cta-band { text-align: center; background: #fff; }
.site-footer { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; padding: 48px clamp(18px,4vw,56px); background: #263238; color: #fff; }
.site-footer p, .site-footer a { color: #d6dde1; display: block; margin: 8px 0; }
.site-footer h2 { font-size: 18px; }
.footer-logo { background: #fff; border-radius: 8px; padding: 10px 12px; width: fit-content; }
.site-credit { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: 14px; }
.admin-body { background: var(--paper); }
.admin-shell {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 20% 0%, rgba(241,90,34,.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef4f9 100%);
}
.admin-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1540px;
  margin: 0 auto 26px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(15,23,42,.05);
}
.admin-dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.admin-dashboard-brand img:first-child {
  width: 128px;
  max-height: 48px;
  object-fit: contain;
}
.admin-dashboard-brand img:last-child {
  width: 136px;
  max-height: 34px;
  object-fit: contain;
}
.admin-dashboard-brand span {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 950;
}
.admin-dashboard-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.admin-dashboard-actions > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1540px;
  margin: 0 auto;
  align-items: start;
}
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.admin-card {
  overflow: hidden;
}
.admin-card h1,
.admin-card h2 {
  max-width: 100%;
  margin-bottom: 0;
  color: #101828;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.06;
  word-break: normal;
  overflow-wrap: anywhere;
}
.admin-card h2 {
  font-size: clamp(24px, 2vw, 34px);
}
.admin-card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.admin-count {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff0e8;
  color: var(--rust-dark);
  font-weight: 950;
}
.admin-card .notice {
  margin: 18px 0 22px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7f3;
  color: var(--rust-dark);
}
.admin-card label {
  font-size: 13px;
}
.admin-card input {
  min-height: 52px;
  font-weight: 800;
}
.admin-card .btn {
  min-height: 54px;
  border-radius: 999px;
}
.stack { display: grid; gap: 14px; }
.lead-list article { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lead-list small { color: var(--muted); }
.admin-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  max-width: 1540px;
  margin: 26px auto 18px;
}
.admin-section-head h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 2.6vw, 42px);
}
.admin-section-head p {
  max-width: 760px;
  margin: 0;
}
.admin-success {
  max-width: 1540px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  border: 1px solid rgba(34,197,94,.28);
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-weight: 900;
}
.admin-blog-grid {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1540px;
  margin: 0 auto;
  align-items: start;
}
.admin-blog-editor h3 {
  margin-bottom: 20px;
  font-size: 28px;
}
.form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-blog-list {
  display: grid;
  gap: 14px;
}
.admin-blog-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15,23,42,.05);
}
.admin-blog-row img {
  width: 100%;
  height: 130px;
  border-radius: 10px;
}
.admin-blog-row h3 {
  margin: 8px 0;
  font-size: 22px;
}
.admin-blog-row p {
  margin: 0 0 8px;
}
.admin-blog-row small {
  color: var(--muted);
  font-weight: 800;
}
.admin-status {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 950;
}
.admin-status.published {
  background: #fff0e8;
  color: var(--rust-dark);
}
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.admin-row-actions form {
  margin: 0;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(rgba(248,250,252,.92), rgba(248,250,252,.92)),
    url("/assets/images/mero-blueprint-subpage-bg.webp") center/cover;
}
.article-hero h1 {
  font-size: clamp(42px, 5.5vw, 76px);
}
.article-hero p {
  max-width: 780px;
  font-size: 20px;
}
.article-hero small {
  color: var(--muted);
  font-weight: 850;
}
.article-hero img {
  width: 100%;
  min-height: 430px;
  border-radius: 10px;
  clip-path: polygon(10% 0, 100% 0, 92% 100%, 0 100%);
  box-shadow: var(--shadow);
}
.article-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
}
.article-content p {
  color: #334155;
  font-size: 19px;
  line-height: 1.82;
}
.blog-list article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border-radius: 10px;
}

/* Admin work app */
.admin-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #f3f6fb;
  color: #111827;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 24px 18px;
  border-right: 1px solid #dde7f5;
  background: #fff;
  box-shadow: 10px 0 34px rgba(15,23,42,.04);
}
.admin-sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px 18px;
  border-bottom: 1px solid #edf2f7;
}
.admin-sidebar-brand img:first-child {
  width: 102px;
  max-height: 44px;
  object-fit: contain;
}
.admin-sidebar-brand img:last-child {
  width: 116px;
  max-height: 30px;
  object-fit: contain;
}
.admin-sidebar-brand span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 950;
}
.admin-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}
.admin-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 10px;
  color: #344054;
  font-weight: 900;
}
.admin-menu a:hover {
  background: #fff4ee;
  color: var(--rust-dark);
}
.admin-sidebar-footer {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}
.admin-sidebar-footer span {
  color: #667085;
  font-size: 13px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar-footer .btn {
  width: 100%;
  min-height: 42px;
}
.admin-workspace {
  min-width: 0;
  padding: 28px clamp(20px, 3vw, 42px) 54px;
}
.admin-workspace-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 22px;
  border: 1px solid #dde7f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.05);
}
.admin-workspace-top h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.1;
}
.admin-workspace-top p {
  margin: 0;
  max-width: 720px;
}
.admin-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-stats span {
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #667085;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}
.admin-stats strong {
  display: block;
  color: #101828;
  font-size: 24px;
}
.admin-section {
  margin-top: 20px;
  scroll-margin-top: 24px;
}
.admin-app-shell .admin-grid,
.admin-app-shell .admin-blog-grid,
.admin-app-shell .admin-section-head,
.admin-app-shell .admin-success {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.admin-app-shell .admin-grid {
  grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
}
.admin-app-shell .admin-card {
  padding: 22px;
  border-color: #dde7f5;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15,23,42,.05);
}
.admin-app-shell .admin-card h1,
.admin-app-shell .admin-card h2,
.admin-app-shell .admin-card h3,
.admin-app-shell .admin-section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.16;
}
.admin-app-shell .admin-card h3 {
  font-size: 22px;
}
.admin-app-shell .admin-card label {
  color: #344054;
  font-size: 13px;
}
.admin-app-shell .admin-card input,
.admin-app-shell .admin-card select,
.admin-app-shell .admin-card textarea {
  min-height: 46px;
  border-radius: 10px;
  background: #fff;
  font-weight: 750;
}
.admin-app-shell .admin-card textarea {
  min-height: auto;
}
.admin-app-shell .admin-card .btn {
  min-height: 46px;
  border-radius: 10px;
}
.admin-app-shell .notice {
  margin: 14px 0 18px;
  font-size: 13px;
}
.admin-app-shell .lead-list {
  margin-top: 16px;
}
.admin-app-shell .lead-list article {
  padding: 14px 0;
}
.admin-app-shell .admin-section-head {
  align-items: center;
  padding: 20px 22px;
  border: 1px solid #dde7f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.05);
}
.admin-app-shell .admin-section-head p {
  margin-top: 6px;
  font-size: 14px;
}
.admin-app-shell .admin-blog-grid {
  grid-template-columns: minmax(360px, 480px) minmax(0, 1fr);
}
.admin-app-shell .admin-blog-row {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,.04);
}
.admin-app-shell .admin-blog-row h3 {
  font-size: 19px;
}
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; }
  .site-header .btn.small { display: none; }
  .menu-toggle { display: inline-flex; justify-self: end; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 10px 12px; font-weight: 850; }
  nav { grid-column: 1 / -1; display: none; flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  .hero, .split, .calculator-promo, .cta-contact, .contact-layout, .site-footer, .admin-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; background: #fbfaf8; }
  .hero img { height: auto; aspect-ratio: 16 / 10; }
  .advantage-strip, .card-grid, .process ol, .process.big ol, .package-list, .blog-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 54px 18px; }
  .hero { padding: 34px 18px 18px; }
  .hero-actions, .calc-actions { flex-direction: column; }
  .advantage-strip, .card-grid, .process ol, .process.big ol, .package-list, .blog-list, .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .advantage-strip { margin: 0 18px 44px; }
  h1 { font-size: 42px; }
  .admin-shell { padding: 20px; }
}

/* 2026 visual upgrade */
:root {
  --ink: #0f172a;
  --muted: #5f6b7a;
  --line: #dde7f5;
  --paper: #f8fafc;
  --sand: #e8e2d6;
  --rust: #F15A22;
  --rust-dark: #C84718;
  --lime: #a3e635;
  --deep: #111827;
  --shadow: 0 28px 80px rgba(15, 23, 42, .12);
}
body { background: var(--paper); }
.site-header {
  grid-template-columns: auto 1fr auto auto;
  padding-block: 12px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, .05);
}
.header-phone {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}
.brand-logo img { width: clamp(118px, 12vw, 170px); }
nav a { position: relative; color: #1f2937; }
nav a:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--rust); transform: scaleX(0); transform-origin: left; transition: .2s ease;
}
nav a:hover:after { transform: scaleX(1); }
.btn { border-radius: 999px; }
.btn.primary { background: var(--rust); border-color: var(--rust); box-shadow: 0 16px 34px rgba(241, 90, 34, .22); }
.btn.primary:hover { background: var(--rust-dark); }
.btn.ghost { border-color: rgba(241,90,34,.24); color: var(--rust-dark); }
.hero {
  min-height: calc(100vh - 74px);
  background:
    linear-gradient(105deg, rgba(248,250,252,.98) 0 48%, rgba(248,250,252,.72) 48% 58%, transparent 58%),
    url("/assets/images/mero-blueprint-bg.webp") left center/cover,
    #fff;
  overflow: hidden;
}
.hero h1 { font-size: clamp(48px, 7.6vw, 104px); letter-spacing: 0; }
.hero img {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0;
  box-shadow: none;
}
.hero-badges, .mini-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.hero-badges span, .mini-grid span {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.84); font-weight: 850; color: #1f2937;
}
.advantage-strip {
  transform: translateY(-34px);
  margin-bottom: 18px;
  border: 0;
  background: transparent;
  box-shadow: var(--shadow);
}
.advantage-strip span {
  min-height: 92px; display: grid; place-items: center; border-right: 1px solid var(--line);
}
.split img, .calculator-promo img, .image-cards img {
  border-radius: 10px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.card, .image-cards article, .blog-list article, .package-list article {
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover, .image-cards article:hover, .blog-list article:hover, .package-list article:hover {
  transform: translateY(-5px);
  border-color: rgba(241,90,34,.32);
  box-shadow: var(--shadow);
}
.card ul { padding-left: 18px; color: var(--muted); }
.calculator-promo {
  background:
    linear-gradient(135deg, rgba(17,24,39,.96), rgba(15,23,42,.92)),
    url("/assets/images/mero-blueprint-bg.webp") center/cover;
  color: #fff;
}
.calculator-promo p, .why-dark p, .final-cta p { color: #cbd5e1; }
.calculator-promo img { clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); }
.process ol {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.process li {
  min-height: 220px;
  border: 0;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .06);
}
.process li h3 { font-size: 20px; }
.process li a { color: var(--rust-dark); font-weight: 900; }
.why-dark {
  background:
    linear-gradient(135deg, rgba(17,24,39,.98), rgba(15,23,42,.94)),
    url("/assets/images/mero-hurtownia-materialy.webp") center/cover;
  color: #fff;
}
.why-dark .section-head { max-width: 930px; }
.why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.why-grid article {
  min-height: 132px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  background: rgba(255,255,255,.06); color: #fff; font-weight: 900;
}
.local-seo {
  background: #fff;
}
.location-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.location-grid a {
  padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 900;
}
.location-grid a:hover { color: var(--rust-dark); border-color: rgba(241,90,34,.35); }
.case-tag {
  display: inline-flex; margin: 18px 0 10px; padding: 7px 10px; border-radius: 999px; background: #FFF0E8; color: var(--rust-dark); font-weight: 900; font-size: 12px;
}
.comparison { background: #fff; overflow-x: auto; }
.comparison table { width: 100%; border-collapse: collapse; min-width: 760px; }
.comparison th, .comparison td { padding: 14px; border: 1px solid var(--line); text-align: left; }
.comparison th { background: var(--deep); color: #fff; }
.final-cta {
  background:
    linear-gradient(90deg, rgba(15,23,42,.94), rgba(15,23,42,.64)),
    url("/assets/images/mero-dom-gotowy.webp") center/cover;
  color: #fff;
}
.final-cta > div { max-width: 760px; }
.site-footer {
  grid-template-columns: 1.1fr .75fr .75fr .9fr;
  background: #0b1220;
}
.site-credit { display: flex; align-items: center; gap: 12px; }
.mobile-sticky-cta { display: none; }
.reklamova-mark {
  display: inline-flex !important; align-items: center; background: #fff; border-radius: 999px; padding: 8px 12px; width: fit-content;
}
.reklamova-mark img { height: 24px; width: auto; object-fit: contain; }
.admin-login-body {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(241,90,34,.07), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(47,98,230,.12), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}
.admin-login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 18px;
}
.admin-login-brand {
  position: absolute;
  left: 50%;
  top: calc(50% - 260px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.admin-login-brand img:first-child {
  width: clamp(120px, 12vw, 170px);
  max-height: 62px;
  object-fit: contain;
}
.admin-login-brand img:last-child {
  width: clamp(132px, 11vw, 180px);
  max-height: 42px;
  object-fit: contain;
}
.admin-login-brand span {
  color: #94a3b8;
  font-size: 18px;
  font-weight: 950;
}
.admin-login-card {
  width: min(100%, 520px);
  margin-top: 70px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(148,163,184,.28);
  border-top: 5px solid var(--rust);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 32px 90px rgba(15,23,42,.12);
  backdrop-filter: blur(18px);
}
.admin-login-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #7b8798;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.admin-login-card h1 {
  margin-bottom: 28px;
  text-align: center;
  color: #182132;
  font-size: 32px;
}
.admin-login-form {
  display: grid;
  gap: 20px;
}
.admin-login-form label {
  gap: 9px;
  color: #526073;
  font-size: 13px;
  font-weight: 900;
}
.admin-login-form input {
  min-height: 56px;
  border-color: #d6e0ef;
  border-radius: 10px;
  background: #eaf2ff;
  color: #1f2937;
  font-weight: 800;
}
.admin-login-form input:focus {
  background: #fff;
  outline-color: rgba(241,90,34,.18);
}
.admin-login-form .btn {
  min-height: 58px;
  margin-top: 4px;
  border-radius: 10px;
  font-size: 16px;
}
.admin-forgot {
  display: block;
  margin-top: 24px;
  text-align: center;
  color: #7b8798;
  font-weight: 900;
  font-size: 13px;
}
.admin-login-corner {
  position: fixed;
  left: 32px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  color: #718096;
  font-size: 12px;
  font-weight: 800;
}
.admin-login-corner img {
  width: 150px;
  height: auto;
  object-fit: contain;
}
.admin-login-copy {
  position: fixed;
  right: 32px;
  bottom: 30px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}
.sub-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 560px;
  background:
    linear-gradient(105deg, rgba(248,250,252,.98) 0 52%, rgba(248,250,252,.68) 52% 62%, transparent 62%),
    url("/assets/images/mero-blueprint-subpage-bg.webp") center/cover,
    #fff;
}
.sub-hero h1 { font-size: clamp(42px, 6vw, 78px); }
.sub-hero p { max-width: 760px; font-size: 20px; }
.sub-hero img {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  clip-path: polygon(10% 0, 100% 0, 92% 100%, 0 100%);
  box-shadow: var(--shadow);
}
.sub-strip {
  transform: translateY(-30px);
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
}
.blueprint-panel {
  background:
    linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
    url("/assets/images/mero-blueprint-subpage-bg.webp") center/cover;
}
.timeline-rich {
  background: #fff;
  counter-reset: richTimeline;
}
.timeline-rich article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 30px;
  padding: clamp(22px, 4vw, 40px);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(90deg, #fff, #fff7f3);
  box-shadow: 0 14px 42px rgba(15,23,42,.06);
}
.timeline-no {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}
.two-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.two-lists div {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 18px;
}
.two-lists h4 { margin: 0 0 10px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--rust-dark); }
.two-lists ul { margin: 0; padding-left: 20px; color: var(--muted); }
.inline-cta {
  color: var(--rust-dark);
  font-weight: 950;
}
.material-category-section { background: #fff; }
.category-grid-rich {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.category-grid-rich article {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.category-grid-rich article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.category-grid-rich img {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.category-grid-rich article > div { padding: 22px; }
.category-grid-rich a, .related-links a, .tag-list a {
  color: var(--rust-dark);
  font-weight: 900;
}
.material-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.material-chip-grid article,
.stage-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
.material-chip-grid article:before,
.stage-grid article:before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 16px;
  background: var(--rust);
  border-radius: 999px;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background:
    linear-gradient(rgba(248,250,252,.92), rgba(248,250,252,.92)),
    url("/assets/images/mero-blueprint-subpage-bg.webp") center/cover;
}
.stage-grid .section-head { grid-column: 1 / -1; }
.material-process { background: var(--paper); }
.material-process ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.related-links { background: #fff; }
.material-cta {
  background:
    linear-gradient(90deg, rgba(15,23,42,.94), rgba(15,23,42,.62)),
    url("/assets/images/mero-cta-budowa-materialy.webp") center/cover;
}
.material-page .sub-hero {
  background:
    linear-gradient(105deg, rgba(248,250,252,.98) 0 50%, rgba(248,250,252,.72) 50% 60%, transparent 60%),
    url("/assets/images/mero-blueprint-subpage-bg.webp") center/cover,
    #fff;
}
.choice-grid label {
  position: relative;
  min-height: 78px;
  border-radius: 12px;
  cursor: pointer;
  transition: .18s ease;
}
.choice-grid label:has(input:checked) {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(241,90,34,.12);
  background: #FFF7F3;
}
.calc-step { animation: stepIn .22s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto; }
  .header-phone, .site-header .btn.small { display: none; }
}
@media (max-width: 980px) {
  .hero img, .split img, .calculator-promo img, .image-cards img { clip-path: none; }
  .admin-dashboard-top,
  .admin-dashboard-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-dashboard-actions {
    width: 100%;
  }
  .admin-dashboard-actions .btn {
    width: 100%;
  }
  .admin-app-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto auto auto;
    gap: 16px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid #dde7f5;
  }
  .admin-menu {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .admin-menu a {
    white-space: nowrap;
  }
  .admin-sidebar-footer {
    grid-template-columns: 1fr 1fr;
  }
  .admin-sidebar-footer span {
    grid-column: 1 / -1;
  }
  .admin-workspace {
    padding: 18px 16px 40px;
  }
  .admin-workspace-top,
  .admin-app-shell .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-app-shell .admin-grid,
  .admin-app-shell .admin-blog-grid {
    grid-template-columns: 1fr;
  }
  .admin-blog-grid,
  .article-hero,
  .sub-hero { grid-template-columns: 1fr; min-height: auto; }
  .admin-section-head { align-items: stretch; flex-direction: column; }
  .admin-blog-row { grid-template-columns: 1fr; }
  .article-hero img { clip-path: none; min-height: 280px; }
  .sub-hero img { clip-path: none; min-height: 280px; }
  .why-grid, .location-grid, .category-grid-rich, .material-chip-grid, .stage-grid, .material-process ol { grid-template-columns: repeat(2, 1fr); }
  .timeline-rich article { grid-template-columns: 1fr; }
  .two-lists { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .why-grid, .location-grid, .site-footer, .category-grid-rich, .material-chip-grid, .stage-grid, .material-process ol, .sub-strip { grid-template-columns: 1fr; }
  .sub-hero h1 { font-size: 40px; }
  .sub-hero img { min-height: 220px; }
  .timeline-no { width: 70px; height: 70px; font-size: 22px; }
  .admin-login-shell { align-content: center; padding: 28px 16px 92px; }
  .admin-shell { padding: 14px; }
  .admin-dashboard-brand img:first-child { width: 104px; }
  .admin-dashboard-brand img:last-child { width: 112px; }
  .admin-card { padding: 20px; }
  .admin-card h1,
  .admin-card h2 {
    font-size: 26px;
    overflow-wrap: normal;
  }
  .form-grid.compact { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 38px; }
  .admin-login-brand {
    position: static;
    transform: none;
    margin-bottom: 22px;
    gap: 10px;
  }
  .admin-login-brand img:first-child { width: 116px; }
  .admin-login-brand img:last-child { width: 126px; }
  .admin-login-card {
    margin-top: 0;
    padding: 26px 20px;
    border-radius: 14px;
  }
  .admin-login-corner {
    left: 18px;
    bottom: 18px;
  }
  .admin-login-corner img { width: 118px; }
  .admin-login-copy {
    right: 18px;
    bottom: 20px;
  }
  .hero-badges span, .mini-grid span { width: 100%; }
  .mobile-sticky-cta {
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30;
    display: grid; place-items: center; min-height: 50px; border-radius: 999px;
    background: var(--rust); color: #fff; font-weight: 950; box-shadow: 0 18px 40px rgba(241,90,34,.3);
  }
}
