:root {
  --bg: #fbfcfb;
  --surface: #ffffff;
  --surface-strong: #eef4f1;
  --ink: #162427;
  --muted: #5c6a6f;
  --line: #d9e4df;
  --brand: #0e6b66;
  --brand-dark: #0e3438;
  --accent: #d96b32;
  --accent-soft: #f7e4d7;
  --ok: #1f7a54;
  --danger: #b3261e;
  --shadow: 0 18px 50px rgba(22, 36, 39, 0.12);
  --radius: 8px;
  --header: 76px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: var(--header);
  background: rgba(251, 252, 251, 0.92);
  border-bottom: 1px solid rgba(217, 228, 223, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 246px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.brand-region {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav a {
  color: #2c3c40;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.header-phone {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-weight: 800;
}

.header-phone:hover,
.header-phone:focus-visible {
  border-color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(3) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(86svh - var(--header));
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 52, 56, 0.95) 0%, rgba(14, 52, 56, 0.82) 39%, rgba(14, 52, 56, 0.36) 70%, rgba(14, 52, 56, 0.18) 100%),
    url("assets/hero-installacje.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(0deg, rgba(14, 52, 56, 0.45), transparent);
}

.hero-inner {
  min-height: calc(86svh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 72px 0 58px;
}

.hero-content {
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb484;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.8vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 14px;
  color: #eef8f4;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.03rem;
}

.hero-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1.15;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(217, 107, 50, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c55d28;
}

.btn-secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(255, 255, 255, 0.54);
}

.section .btn-secondary,
.contact-section .btn-secondary {
  border-color: var(--line);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 1px;
  max-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--surface-strong);
}

.intro {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.intro-grid,
.seo-grid,
.faq-layout,
.contact-grid,
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.section-heading {
  max-width: 700px;
}

.section-text,
.section-note,
.seo-copy p,
.contact-info p,
.service-card p,
.why-item span,
.process-step p,
.project-body p,
.faq-item p {
  color: var(--muted);
}

.section-text {
  font-size: 1.04rem;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.text-link::after {
  content: " ->";
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.project-card,
.contact-form,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 107, 102, 0.35);
  box-shadow: 0 16px 36px rgba(22, 36, 39, 0.08);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-graphic {
  width: 100%;
  height: 132px;
  margin-bottom: 20px;
  overflow: visible;
}

.graphic-bg {
  fill: #eef4f1;
}

.graphic-unit,
.graphic-tank,
.graphic-small {
  fill: #ffffff;
  stroke: #bfd1cb;
  stroke-width: 4;
}

.graphic-line,
.floor-loop {
  fill: none;
  stroke: #0e3438;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.graphic-cool {
  stroke: #0d7fb3;
}

.graphic-warm,
.floor-loop {
  stroke: #d96b32;
}

.floor-loop-soft {
  stroke: rgba(217, 107, 50, 0.34);
  stroke-width: 7;
}

.graphic-fan {
  fill: none;
  stroke: #0d7fb3;
  stroke-width: 8;
}

.graphic-dot {
  fill: #d96b32;
}

.graphic-flame {
  fill: #d96b32;
}

.section-cta {
  justify-content: space-between;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.section-cta p {
  max-width: 690px;
  margin: 0;
  color: #324347;
  font-weight: 700;
}

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

.why-item {
  padding: 20px;
  border: 1px solid rgba(14, 107, 102, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.why-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
}

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

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

.process-step span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 22px;
  width: calc(100% - 44px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(217, 107, 50, 0.1));
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.project-body {
  padding: 28px 24px 24px;
}

.project-body span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-list li {
  position: relative;
  padding-left: 20px;
  color: #34464a;
  font-size: 0.94rem;
  font-weight: 700;
}

.project-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.faq-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--brand-dark);
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  margin-left: 16px;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.seo-section {
  padding: 64px 0;
  background: var(--brand-dark);
  color: #fff;
}

.seo-section .eyebrow {
  color: #ffb484;
}

.seo-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.appointment-section {
  background: var(--surface-strong);
}

.appointment-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.appointment-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.appointment-notes {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.appointment-notes li {
  position: relative;
  padding-left: 24px;
  color: #324347;
  font-weight: 800;
}

.appointment-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.appointment-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}

.calendar-head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.calendar-head strong {
  text-align: center;
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.calendar-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--brand-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.calendar-nav:hover,
.calendar-nav:focus-visible {
  border-color: var(--brand);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--brand-dark);
  font-weight: 900;
}

.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible:not(:disabled),
.calendar-day.is-selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.calendar-day:disabled {
  cursor: not-allowed;
  background: #f4f6f5;
  color: #a8b3b0;
}

.calendar-day.is-empty {
  border-color: transparent;
  background: transparent;
}

.time-picker {
  margin-top: 24px;
}

.time-picker h3 {
  margin-bottom: 12px;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-slot {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--bg);
  color: var(--brand-dark);
  font-weight: 900;
}

.time-slot:hover,
.time-slot:focus-visible,
.time-slot.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.appointment-form {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.appointment-summary {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-weight: 900;
}

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

.contact-section {
  background: #fff;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.contact-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.contact-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 900;
}

.contact-form {
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: #2b3d41;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #cfdcd7;
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 107, 102, 0.12);
}

.form-row.is-invalid input,
.form-row.is-invalid select,
.form-row.is-invalid textarea {
  border-color: var(--danger);
}

.form-error {
  display: block;
  min-height: 20px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 0.87rem;
  font-weight: 700;
}

.form-submit {
  width: 100%;
}

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

.form-status.is-error {
  color: var(--danger);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.mobile-call {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 80;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(22, 36, 39, 0.24);
}

.ai-assistant {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 86;
}

.ai-toggle,
.ai-form button,
.ai-close,
.ai-chips button {
  border: 0;
}

.ai-toggle {
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--brand-dark);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(22, 36, 39, 0.24);
}

.ai-toggle:hover,
.ai-toggle:focus-visible {
  background: var(--brand);
}

.ai-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ai-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--brand-dark);
  color: #fff;
}

.ai-header strong,
.ai-header span {
  display: block;
}

.ai-header span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.ai-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.ai-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  padding: 16px;
  overflow-y: auto;
}

.ai-message {
  margin: 0;
  padding: 11px 12px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  line-height: 1.45;
}

.ai-message-bot {
  background: var(--surface-strong);
  color: #26383c;
}

.ai-message-user {
  justify-self: end;
  background: var(--accent-soft);
  color: #442514;
}

.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.ai-chips button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: #eef4f1;
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.ai-form input {
  min-width: 0;
  border: 1px solid #cfdcd7;
  border-radius: var(--radius);
  padding: 10px 11px;
  outline: none;
}

.ai-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 107, 102, 0.12);
}

.ai-form button {
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--brand);
  font-weight: 900;
}

.login-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(14, 107, 102, 0.12), rgba(217, 107, 50, 0.12)),
    var(--surface-strong);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.login-card {
  width: min(100%, 460px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(24px, 5vw, 34px);
  box-shadow: var(--shadow);
}

.login-brand {
  margin-bottom: 24px;
}

.login-card h1 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  line-height: 1.12;
}

.login-intro {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 700;
}

.login-form .btn {
  width: 100%;
}

.admin-page {
  background: var(--surface-strong);
}

.admin-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-title h1 {
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.admin-title p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-status {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--ok);
  font-weight: 900;
}

.admin-status.is-error {
  color: var(--danger);
}

.appointments-board {
  display: grid;
  gap: 14px;
}

.appointment-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}

.appointment-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.appointment-card-top strong,
.appointment-card-top span {
  display: block;
}

.appointment-card-top strong {
  color: var(--brand-dark);
  font-size: 1.14rem;
}

.appointment-card-top span {
  color: var(--muted);
  font-weight: 800;
}

.appointment-card select {
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--bg);
  color: var(--brand-dark);
  font-weight: 900;
}

.appointment-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.appointment-card dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.appointment-card dd {
  margin: 2px 0 0;
  color: #26383c;
  font-weight: 800;
}

.email-state {
  display: inline-flex;
  border-radius: var(--radius);
  padding: 4px 8px;
  background: var(--accent-soft);
  color: #6b3517;
  font-size: 0.84rem;
  font-weight: 900;
}

.email-state.is-sent {
  background: #dff2e8;
  color: var(--ok);
}

.empty-state {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

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

@media (max-width: 1060px) {
  .site-nav {
    gap: 14px;
  }

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

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

  .process-step {
    min-height: 220px;
  }
}

@media (max-width: 880px) {
  :root {
    --header: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header) + 10px);
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    border-radius: var(--radius);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--surface-strong);
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(14, 52, 56, 0.94) 0%, rgba(14, 52, 56, 0.85) 57%, rgba(14, 52, 56, 0.7) 100%),
      url("assets/hero-installacje.png") center / cover no-repeat;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 58px 0 36px;
  }

  .hero-panel {
    max-width: none;
    width: 100%;
  }

  .intro-grid,
  .seo-grid,
  .faq-layout,
  .contact-grid,
  .appointment-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section {
    padding: 64px 0;
  }

  .section-top {
    align-items: start;
    flex-direction: column;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .mobile-call {
    display: flex;
  }

  .ai-assistant {
    right: 14px;
    bottom: 80px;
  }

  .ai-panel {
    bottom: 62px;
  }

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

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
  }

  h2 {
    font-size: 2rem;
  }

  .brand-region {
    display: none;
  }

  .brand-logo {
    width: 182px;
    max-height: 48px;
  }

  .hero-actions,
  .section-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .projects-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section-cta {
    padding: 18px;
  }

  .process-step {
    min-height: 0;
  }

  .process-step span {
    margin-bottom: 28px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-title,
  .appointment-card-top {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header-inner {
    align-items: stretch;
    padding: 12px 0;
  }

  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .appointment-card select {
    min-width: 0;
    width: 100%;
  }

  .appointment-card dl {
    grid-template-columns: 1fr;
  }

  .appointment-widget {
    padding: 16px;
  }

  .calendar-weekdays,
  .calendar-days {
    gap: 5px;
  }

  .calendar-day {
    min-height: 40px;
  }

  .appointment-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
