﻿:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f9fafb;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --warning: #fbbf24;
  --success: #16a34a;
  --steel: #334155;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.16);
  --radius: 8px;
  --button-radius: 14px;
  --container: min(1180px, calc(100% - 40px));
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--button-radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: rgba(17, 24, 39, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: background 220ms ease, box-shadow 220ms ease, min-height 220ms ease;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.22);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--warning), var(--accent));
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.brand .custom-logo {
  width: auto;
  max-width: 120px;
  max-height: 44px;
  object-fit: contain;
}

.brand strong,
.footer-brand {
  display: block;
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.desktop-nav > a,
.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.desktop-nav > a:hover,
.nav-dropdown:hover > a,
.desktop-nav .is-active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 318px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.dropdown-panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 16px;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink-2);
  font-weight: 800;
}

.dropdown-panel a:hover {
  background: #fff7ed;
  color: #92400e;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.btn,
.icon-btn,
.text-button {
  -webkit-tap-highlight-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.text-button:focus-visible,
.faq-trigger:focus-visible,
.area-pin:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.35);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.24);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.16);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff7ed;
}

.icon-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
  transition: transform 180ms ease, background 180ms ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 84svh;
  padding: 108px max(20px, calc((100vw - 1180px) / 2)) 72px;
  overflow: hidden;
  color: var(--paper);
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.56), rgba(17, 24, 39, 0.18)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero {
  min-height: 58svh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--warning) 0 28px, var(--ink) 28px 56px);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--warning);
  color: var(--ink);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1,
.subpage-title h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  max-width: 900px;
}

.hero p {
  width: min(720px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  width: min(460px, calc(100% - 40px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats strong {
  display: block;
  color: var(--warning);
  font-size: 25px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 22px max(20px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.trust-item svg {
  grid-row: span 2;
  color: var(--accent-hover);
}

.trust-item strong {
  line-height: 1.2;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 88px 0;
}

.section-muted {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: end;
  margin: 16px 0 34px;
}

.section-heading h2,
.split-copy h2,
.cta-band h2,
.contact-copy h2,
.geo-answer h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
}

.section-heading p,
.split-copy p,
.contact-copy p,
.geo-answer p,
.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.audience-grid,
.service-grid,
.blog-grid,
.related-grid,
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.audience-card,
.service-card,
.blog-card,
.related-card,
.problem-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
}

.audience-card:hover,
.service-card:hover,
.blog-card:hover,
.related-card:hover,
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.1);
}

.audience-card > span,
.service-icon,
.related-card > span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: #fff7ed;
  color: #92400e;
}

.audience-card h3,
.service-card h3,
.process-step h3,
.blog-card h2,
.related-card strong {
  margin: 18px 0 8px;
  line-height: 1.18;
}

.service-card p,
.audience-card p,
.process-step p,
.blog-card p,
.related-card small {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: #b45309;
  font-weight: 900;
}

.card-link:hover {
  color: var(--accent-hover);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-media {
  margin: 0;
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li,
.contact-facts span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list svg,
.contact-facts svg {
  margin-top: 3px;
  color: var(--accent-hover);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
}

.mini-stats strong {
  display: block;
  color: var(--accent-hover);
  font-size: 34px;
  line-height: 1;
}

.mini-stats span {
  color: var(--muted);
  font-weight: 800;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-step {
  position: relative;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
}

.process-step span {
  display: inline-flex;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 950;
}

.area-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.area-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.area-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.area-pin {
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.area-pin:hover,
.area-pin.is-active {
  border-color: var(--warning);
  background: rgba(245, 158, 11, 0.18);
  transform: translateY(-2px);
}

.area-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.area-note span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  background: var(--warning);
  color: var(--ink);
}

.area-note h3 {
  margin: 20px 0 8px;
  font-size: 28px;
}

.area-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.gallery {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 280ms ease, transform 420ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 24, 39, 0.78));
}

.gallery-slide figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--paper);
  font-size: 20px;
  font-weight: 900;
}

.gallery-btn {
  position: absolute;
  z-index: 2;
  left: 18px;
  color: var(--paper);
}

.gallery-btn svg {
  transform: rotate(180deg);
}

.gallery-btn.next {
  right: 18px;
  left: auto;
}

.gallery-btn.next svg {
  transform: none;
}

.faq-section {
  padding-top: 88px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 0;
  padding: 20px 22px;
  background: transparent;
  color: var(--ink);
  font-weight: 950;
  text-align: left;
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-hover);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-plus::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-plus::after {
  transform: translateY(-50%) rotate(0);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-panel p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-panel p {
  padding: 0 22px 20px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 96px;
}

.contact-facts {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  color: var(--ink-2);
  font-weight: 800;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  padding: 12px 13px;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(245, 158, 11, 0.75);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.contact-form > label {
  margin-top: 14px;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  margin-top: 16px;
  font-weight: 700;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.checkbox-line a {
  color: #b45309;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--accent-hover);
  font-weight: 900;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.todo-box {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius);
  padding: 16px;
  background: #fffbeb;
  color: var(--ink);
}

.todo-box span {
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: var(--container);
  margin: 0 auto 88px;
  border-radius: var(--radius);
  padding: 36px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.92)),
    url("../images/hala-maszyn-budowlanych.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.geo-answer {
  width: min(860px, 100%);
}

.problem-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.problem-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--soft);
}

.problem-card svg {
  margin-top: 3px;
  color: var(--accent-hover);
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-card {
  display: grid;
  gap: 10px;
}

.subpage-title {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0 30px;
}

.subpage-title p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 30px 0 8px;
}

.editable-content {
  max-width: 960px;
}

.editable-content > *:first-child {
  margin-top: 0;
}

.editable-content a {
  color: #b45309;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editable-content img {
  border-radius: var(--radius);
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card span {
  color: var(--accent-hover);
  font-weight: 950;
}

.site-footer {
  padding: 56px max(20px, calc((100vw - 1180px) / 2)) 100px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 24px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--paper);
  font-size: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover,
.footer-bottom a:hover {
  color: var(--warning);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.footer-bottom span:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mobile-sticky-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 8px;
  background: rgba(17, 24, 39, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.mobile-sticky-cta button,
.mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  color: var(--paper);
  font-weight: 950;
}

.mobile-sticky-cta button {
  background: var(--success);
}

.mobile-sticky-cta a {
  background: var(--accent);
  color: var(--ink);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(620px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform 260ms ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.quick-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 105;
}

.quick-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-weight: 950;
  transition: transform 180ms ease, background 180ms ease;
}

.quick-widget__toggle:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.quick-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quick-widget.is-open .quick-widget__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.quick-widget__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.quick-widget__header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.quick-widget__panel p {
  margin: 10px 0 14px;
  color: var(--muted);
}

.quick-widget__actions {
  display: grid;
  gap: 8px;
}

.quick-widget__close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 130;
  max-width: min(460px, calc(100% - 32px));
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .service-grid,
  .process-list,
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .mobile-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - 70px);
    overflow-y: auto;
    padding: 18px 20px 26px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    border-radius: var(--radius);
    padding: 12px;
    color: var(--paper);
    font-weight: 900;
  }

  .mobile-nav a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero,
  .page-hero {
    min-height: 76svh;
    padding-top: 84px;
    padding-bottom: 58px;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.68)), var(--hero-image);
  }

  .hero h1,
  .subpage-title h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .trust-strip,
  .section-heading,
  .split-section,
  .split-section.reverse,
  .area-layout,
  .contact-section,
  .cta-band,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 18px 20px;
  }

  .section,
  .section-muted,
  .area-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .audience-grid,
  .service-grid,
  .blog-grid,
  .related-grid,
  .problem-grid,
  .form-grid,
  .process-list,
  .area-map {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-copy {
    position: static;
  }

  .gallery {
    min-height: 360px;
  }

  .cta-band {
    width: var(--container);
    margin-bottom: 72px;
    padding: 24px;
  }

  .cta-actions {
    justify-content: stretch;
  }

  .cta-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 120px;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  .quick-widget {
    right: 16px;
    bottom: 86px;
  }

  .quick-widget__toggle span {
    display: none;
  }

  .cookie-banner {
    right: 12px;
    bottom: 86px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-heading {
    gap: 14px;
  }

  .section-heading h2,
  .split-copy h2,
  .cta-band h2,
  .contact-copy h2,
  .geo-answer h2 {
    font-size: 30px;
  }

  .audience-card,
  .service-card,
  .blog-card,
  .related-card,
  .problem-card,
  .contact-form {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

