@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=PT+Sans+Caption:wght@400;700&family=PT+Sans+Narrow:wght@400;700&display=swap");

:root {
  --bg: #eef2f5;
  --bg-top: #f8fafb;
  --surface: rgba(255, 255, 255, 0.98);
  --surface-2: rgba(249, 251, 252, 0.96);
  --surface-dark: #0d1922;
  --surface-dark-2: #132430;
  --ink: #111b22;
  --ink-soft: #61707b;
  --line: rgba(17, 27, 34, 0.08);
  --line-strong: rgba(17, 27, 34, 0.14);
  --white-soft: rgba(255, 255, 255, 0.84);
  --white-line: rgba(255, 255, 255, 0.14);
  --accent: #2f5d7b;
  --accent-strong: #23465c;
  --accent-soft: rgba(47, 93, 123, 0.1);
  --success: #236948;
  --danger: #ae3d3d;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-lg: 0 30px 70px rgba(9, 18, 25, 0.1);
  --shadow-md: 0 18px 42px rgba(9, 18, 25, 0.07);
  --content-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(47, 93, 123, 0.1), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 27, 34, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 27, 34, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: -1;
}

body,
button,
input,
textarea,
select {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #0f171d;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: "IBM Plex Sans Condensed", "Segoe UI", sans-serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.9rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
}

h3 {
  font-size: 1.12rem;
}

p,
li,
label,
td,
th,
dd,
dt,
span {
  line-height: 1.62;
}

::selection {
  background: rgba(47, 93, 123, 0.16);
  color: var(--ink);
}

p,
ul,
ol,
dl {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(47, 93, 123, 0.22);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font-size: 15px;
}

button {
  cursor: pointer;
}

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

header,
.header__color,
.header__fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 27, 34, 0.08);
  box-shadow: 0 10px 28px rgba(10, 18, 24, 0.04);
  color: var(--ink);
  z-index: 1200;
}

header > a:first-child,
.header__color > a:first-child,
.header__fixed > a:first-child {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}

.progress-bar {
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  height: 3px;
  width: 0;
  z-index: 1250;
  background: linear-gradient(90deg, var(--accent) 0%, #5d87a5 100%);
}

.logo {
  width: clamp(150px, 18vw, 198px);
}

.navbar,
.navbars,
.navbar__left {
  display: flex;
  align-items: center;
}

.navbar {
  gap: 4px;
}

.navbar a,
.navbars a {
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 27, 34, 0.66);
  border-bottom: 2px solid transparent;
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.navbar__left {
  gap: 16px;
}

.navbar__left div {
  display: grid;
  justify-items: end;
}

.navbar__left div a {
  color: var(--ink);
  font-weight: 700;
}

.navbar__left div span {
  width: fit-content;
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(47, 93, 123, 0.08);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(17, 27, 34, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.btn2:hover {
  border-color: rgba(47, 93, 123, 0.22);
  background: #ffffff;
}

.menu {
  display: none;
  cursor: pointer;
  opacity: 0.82;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(8, 16, 22, 0.5);
  z-index: 1600;
}

.modal {
  width: min(360px, 88vw);
  height: 100%;
  margin-left: auto;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: #f8fbfc;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -18px 0 44px rgba(0, 0, 0, 0.2);
}

.modal div {
  display: grid;
  gap: 10px;
  padding: 36px 0 16px;
}

.modal a {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.close-btn {
  top: 10px;
  right: 16px;
  font-size: 34px;
  line-height: 1;
}

.page-section {
  padding: 132px 0 96px;
}

.page-section--inspection {
  padding-top: 118px;
}

.stack {
  display: grid;
  gap: 24px;
}

.card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 2.8vw, 38px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(250, 252, 253, 0.96) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card p + p,
.card p + ul,
.card ul + p,
.card h1 + p,
.card h2 + p,
.card h3 + p {
  margin-top: 8px;
}

.card--feature {
  border-color: rgba(47, 93, 123, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 24px 52px rgba(8, 18, 25, 0.08);
}

.section-intro {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.section-intro p,
.page-nav-note,
.section-note {
  color: var(--ink-soft);
}

.section-intro--center {
  text-align: center;
  margin: 0 auto 28px;
}

.section-kicker,
.hero-kicker,
.hero-console__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 93, 123, 0.14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-nav-note {
  margin-top: 14px;
  font-size: 14px;
}

.btn-link,
.admin-row button,
.chip,
.slot-button,
.inline-admin-panel button,
.inline-admin-toolbar button,
.auth-form button,
.booking-form button,
.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 8px 18px rgba(10, 18, 24, 0.04);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-link:hover,
.admin-row button:hover,
.chip:hover,
.slot-button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  border-color: rgba(47, 93, 123, 0.22);
  background: #f4f8fa;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10, 18, 24, 0.07);
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  background: var(--accent-strong);
}

.btn-link--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-color: var(--white-line);
  box-shadow: none;
}

.btn-link--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.danger {
  background: rgba(184, 54, 54, 0.06) !important;
  color: var(--danger) !important;
  border-color: rgba(184, 54, 54, 0.2) !important;
}

.home {
  position: relative;
  min-height: 100vh;
  padding: 144px 0 84px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(130deg, rgba(8, 18, 26, 0.96), rgba(18, 33, 45, 0.88)),
    url("../img/home.png") center/cover no-repeat;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(103, 146, 176, 0.14), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
}

.home__container {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - 32px));
  color: #ffffff;
}

.home__container--split {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.hero-copy h1 {
  max-width: 11ch;
  color: #f6fafb;
}

.hero-copy p {
  max-width: 660px;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  color: rgba(246, 250, 251, 0.78);
}

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

.hero-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-strip__item {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-strip__item strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 14px;
}

.hero-strip__item span {
  font-size: 13px;
  color: rgba(246, 250, 251, 0.68);
}

.hero-console {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(8, 17, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.hero-console__header {
  display: grid;
  gap: 10px;
}

.hero-console__header h2 {
  color: #ffffff;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.hero-console__header p {
  color: rgba(246, 250, 251, 0.68);
}

.hero-console__body {
  display: grid;
  gap: 12px;
}

.hero-console__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-console__index {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(47, 93, 123, 0.22);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-console__row strong {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-console__row p {
  color: rgba(246, 250, 251, 0.68);
  font-size: 14px;
}

.hero-console__footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(246, 250, 251, 0.62);
  font-size: 13px;
}

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

.control-card,
.process-card,
.service-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.control-card__label,
.process-card__number {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 56px;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 29, 36, 0.06);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-card p,
.control-card li,
.process-card p,
.service-card p,
.service-card li {
  color: var(--ink-soft);
}

.control-card ul,
.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.service-card__price {
  font-family: "IBM Plex Sans Condensed", "Segoe UI", sans-serif;
  font-size: 2rem;
  color: var(--accent-strong);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(9, 19, 27, 0.98), rgba(21, 38, 51, 0.92)),
    linear-gradient(135deg, rgba(47, 93, 123, 0.08), transparent);
  color: #f8fbfc;
  box-shadow: var(--shadow-lg);
}

.cta-panel__content {
  display: grid;
  gap: 10px;
}

.cta-panel h2,
.cta-panel p {
  color: #f8fbfc;
}

.cta-panel p {
  max-width: 700px;
  color: rgba(248, 251, 252, 0.72);
}

.home__two {
  padding: 78px 0;
}

.home__two-div {
  gap: 18px;
}

.home__two-div div {
  height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0c1317;
  box-shadow: var(--shadow-md);
}

.home__two-div div::before {
  background: linear-gradient(180deg, transparent 0%, rgba(9, 19, 27, 0.82) 100%);
}

.home__two-div div:hover::before {
  background: linear-gradient(180deg, transparent 0%, rgba(9, 19, 27, 0.7) 100%);
}

.home__two-div div p {
  width: calc(100% - 34px);
  top: auto;
  left: 18px;
  bottom: 18px;
  transform: none;
  text-align: left;
  font-family: "IBM Plex Sans Condensed", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services {
  padding: 82px 0;
}

.services__head {
  display: grid;
  gap: 26px;
}

.services__head-justify {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--surface-2) 0%, rgba(244, 248, 250, 0.92) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.services__head-justify ul {
  display: grid;
  gap: 12px;
}

.services__head-justify img {
  width: 100%;
  max-width: 220px;
  justify-self: end;
  margin-left: 0;
}

.services__main {
  gap: 18px;
}

.services__main-card {
  width: calc(33.333% - 12px);
  min-width: 280px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.services__main-card-head {
  padding: 0;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.services__main-card-head span {
  color: var(--ink-soft);
}

.services__main-card-head p {
  font-family: "IBM Plex Sans Condensed", "Segoe UI", sans-serif;
  font-size: 2rem;
  color: var(--accent-strong);
}

footer {
  padding: 0 0 34px;
  background: transparent;
}

.footer {
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(10, 18, 25, 0.98), rgba(18, 31, 41, 0.94));
  color: rgba(248, 251, 252, 0.82);
  box-shadow: var(--shadow-md);
}

.navbars {
  gap: 8px;
  flex-wrap: wrap;
}

footer .navbars a {
  padding: 0;
  border-bottom: none;
  color: rgba(248, 251, 252, 0.74);
  font-size: 13px;
  letter-spacing: 0.05em;
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  color: #ffffff;
}

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

.portfolio-card {
  display: grid;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(9, 18, 25, 0.1);
}

.portfolio-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.portfolio-card__body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.portfolio-card__body p {
  color: var(--ink-soft);
}

.portfolio-card .admin-row {
  padding: 0 20px 20px;
}

.portfolio-card .admin-row button {
  flex: 1 1 160px;
}

.portfolio-grid > p {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(17, 27, 34, 0.14);
  color: var(--ink-soft);
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.auth-form,
.booking-form {
  display: grid;
  gap: 16px;
}

.auth-form label,
.booking-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.booking-form input,
.booking-form textarea,
.booking-form select,
.admin-filter select,
.admin-filter input,
.data-table input,
.data-table select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form textarea,
.booking-form textarea {
  min-height: 140px;
  resize: vertical;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus,
.admin-filter select:focus,
.admin-filter input:focus,
.data-table input:focus,
.data-table select:focus {
  outline: none;
  border-color: rgba(47, 93, 123, 0.36);
  box-shadow: 0 0 0 4px rgba(47, 93, 123, 0.1);
}

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

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

.form-lock-note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(20, 29, 36, 0.04);
  color: var(--ink-soft);
  border: 1px dashed rgba(20, 29, 36, 0.14);
}

.booking-form fieldset {
  margin: 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 18px;
}

.booking-form fieldset:disabled {
  opacity: 0.52;
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.96);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(20, 29, 36, 0.08);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: rgba(47, 93, 123, 0.06);
  color: #53636d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: rgba(47, 93, 123, 0.03);
}

.admin-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-filter label {
  font-size: 14px;
  font-weight: 700;
}

.inspection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 22px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(11, 16, 20, 0.98), rgba(20, 28, 34, 0.92)),
    linear-gradient(135deg, rgba(47, 93, 123, 0.06), transparent);
  color: #f8fbfc;
  box-shadow: var(--shadow-lg);
}

.inspection-hero h1,
.inspection-hero h2,
.inspection-hero p {
  color: #f8fbfc;
}

.inspection-hero__copy {
  display: grid;
  gap: 16px;
}

.inspection-hero__copy p {
  max-width: 720px;
  color: rgba(248, 251, 252, 0.74);
}

.inspection-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inspection-hero__badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inspection-hero__meta {
  display: grid;
  gap: 14px;
}

.inspection-metric {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.inspection-metric strong {
  font-family: "IBM Plex Sans Condensed", "Segoe UI", sans-serif;
  color: #ffffff;
}

.inspection-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.inspection-main {
  display: grid;
  gap: 24px;
}

.inspection-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}

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

.category-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
}

.category-card:hover {
  background: #f6f8f9;
}

.category-card__index {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(20, 29, 36, 0.06);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.category-card strong {
  font-size: 1rem;
}

.category-card span:last-child {
  color: var(--ink-soft);
  font-size: 14px;
}

.category-card--active {
  border-color: var(--accent);
  background: rgba(255, 249, 245, 0.98);
  box-shadow: inset 0 0 0 1px rgba(47, 93, 123, 0.16);
}

.category-card--active .category-card__index {
  background: rgba(47, 93, 123, 0.12);
  color: var(--accent-strong);
}

.selection-banner {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(47, 93, 123, 0.06);
  border: 1px solid rgba(47, 93, 123, 0.1);
  font-weight: 600;
}

.slot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.slot-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slot-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-flex;
}

.slot-legend__dot--free {
  background: rgba(20, 116, 74, 0.82);
}

.slot-legend__dot--busy {
  background: rgba(148, 163, 184, 0.9);
}

.slot-legend__dot--selected {
  background: rgba(47, 93, 123, 0.9);
}

.slot-layout {
  display: grid;
  gap: 16px;
  max-height: min(56vh, 620px);
  overflow-y: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 93, 123, 0.45) rgba(47, 93, 123, 0.08);
}

#slotStage {
  overflow: hidden;
}

#slotStage .section-intro,
#slotStage .selection-banner,
#slotStage .slot-legend {
  flex: 0 0 auto;
}

.slot-layout::-webkit-scrollbar {
  width: 10px;
}

.slot-layout::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(47, 93, 123, 0.08);
}

.slot-layout::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 93, 123, 0.4);
}

.slot-layout::-webkit-scrollbar-thumb:hover {
  background: rgba(47, 93, 123, 0.56);
}

.slot-day-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.slot-day-card--empty {
  background: rgba(244, 247, 249, 0.88);
}

.slot-day-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slot-day-card__head span,
.slot-day-card__meta {
  color: var(--ink-soft);
  font-size: 14px;
}

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slot-button {
  min-width: 82px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(20, 29, 36, 0.04);
  border-color: rgba(20, 29, 36, 0.1);
  color: var(--ink);
}

.slot-button--occupied {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.22);
  color: #8795a1;
  cursor: not-allowed;
  opacity: 0.86;
}

.slot-button--locked {
  background: rgba(20, 29, 36, 0.05);
  border-color: rgba(20, 29, 36, 0.08);
  color: #7b8b96;
  cursor: not-allowed;
  opacity: 0.72;
}

.slot-button--selected {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.summary-card {
  gap: 18px;
}

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

.step-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(20, 29, 36, 0.04);
  border: 1px solid rgba(20, 29, 36, 0.08);
}

.step-item > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink-soft);
  font-weight: 700;
}

.step-item strong {
  display: block;
  margin-bottom: 4px;
}

.step-item p {
  color: var(--ink-soft);
  font-size: 14px;
}

.step-item--current {
  border-color: rgba(47, 93, 123, 0.22);
  background: rgba(47, 93, 123, 0.08);
}

.step-item--current > span {
  background: var(--accent);
  color: #ffffff;
}

.step-item--done {
  border-color: rgba(20, 116, 74, 0.18);
  background: rgba(20, 116, 74, 0.08);
}

.step-item--done > span {
  background: rgba(20, 116, 74, 0.94);
  color: #ffffff;
}

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

.summary-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 29, 36, 0.08);
}

.summary-list div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.summary-list dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.summary-list dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border-color: var(--line-strong);
}

.chip--active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.inline-admin-panel {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(13, 19, 23, 0.94);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.inline-admin-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.inline-admin-panel button {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.inline-admin-toolbar {
  position: absolute;
  z-index: 2001;
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.inline-admin-toolbar__title {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-admin-selected {
  outline: 2px dashed rgba(47, 93, 123, 0.92) !important;
  outline-offset: 4px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.page-hero__copy {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(9, 19, 27, 0.98), rgba(21, 38, 51, 0.92)),
    linear-gradient(135deg, rgba(47, 93, 123, 0.06), transparent);
  color: #f8fbfc;
  box-shadow: var(--shadow-lg);
}

.page-hero__copy h1 {
  max-width: 13ch;
  color: #f8fbfc;
}

.page-hero__copy p {
  max-width: 760px;
  color: rgba(248, 251, 252, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
}

.page-hero__copy .section-kicker {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fbfc;
}

.page-hero__panel {
  display: grid;
  gap: 16px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-list,
.detail-list,
.contact-list,
.ops-list {
  display: grid;
  gap: 14px;
}

.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 27, 34, 0.08);
  box-shadow: var(--shadow-md);
}

.metric-card strong,
.detail-list strong,
.contact-list strong,
.note-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.metric-card span,
.detail-list span,
.contact-list span,
.note-panel p,
.ops-list p {
  color: var(--ink-soft);
}

.contact-list a,
.note-panel a {
  color: var(--accent-strong);
  font-weight: 700;
}

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

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

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

.list-plain li {
  position: relative;
  padding-left: 18px;
}

.list-plain li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.contact-shell,
.feedback-shell {
  display: grid;
  gap: 24px;
}

.contact-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.feedback-shell {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: start;
}

.stack > * {
  animation: content-rise 0.55s cubic-bezier(0.18, 0.8, 0.24, 1) both;
}

.stack > *:nth-child(2) {
  animation-delay: 0.05s;
}

.stack > *:nth-child(3) {
  animation-delay: 0.1s;
}

.stack > *:nth-child(4) {
  animation-delay: 0.15s;
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .page-hero,
  .contact-shell,
  .feedback-shell,
  .home__container--split,
  .inspection-hero,
  .inspection-shell {
    grid-template-columns: 1fr;
  }

  .inspection-sidebar {
    position: static;
  }

  .card-grid,
  .control-grid,
  .process-grid,
  .service-grid,
  .hero-strip,
  .category-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__main-card {
    width: calc(50% - 9px);
  }
}

@media (max-width: 1000px) {
  .navbar,
  .navbar__left {
    display: none;
  }

  .menu {
    display: block;
    flex: 0 0 auto;
  }

  header,
  .header__color,
  .header__fixed {
    gap: 12px;
    padding: 0 18px;
  }

  .logo {
    width: clamp(112px, 34vw, 156px);
    max-width: 100%;
  }

  .services__head-justify {
    grid-template-columns: 1fr;
  }

  .services__head-justify img {
    justify-self: start;
  }

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

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

@media (max-width: 720px) {
  header,
  .header__color,
  .header__fixed {
    gap: 10px;
    padding: 0 14px;
  }

  .logo {
    width: clamp(104px, 38vw, 144px);
  }

  .page-section {
    padding: 116px 0 72px;
  }

  .home {
    padding-top: 126px;
  }

  .card-grid,
  .control-grid,
  .process-grid,
  .service-grid,
  .hero-strip,
  .category-grid,
  .form-grid,
  .home__two-div {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .services__main-card {
    width: 100%;
  }

  .admin-filter {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .slot-day-card__head,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--content-width), calc(100% - 20px));
  }

  .card,
  .hero-console,
  .footer,
  .inspection-hero {
    border-radius: var(--radius-lg);
  }

  .slot-grid {
    gap: 8px;
  }

  .slot-button {
    min-width: calc(50% - 4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Reference design overrides */

:root {
  --bg: #ffffff;
  --bg-top: #ffffff;
  --surface: #fbfbfd;
  --surface-2: #f5f5f7;
  --surface-dark: #111111;
  --surface-dark-2: #1d1d1f;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.12);
  --white-soft: rgba(255, 255, 255, 0.88);
  --white-line: rgba(255, 255, 255, 0.12);
  --accent: #111111;
  --accent-strong: #111111;
  --accent-soft: #ececf0;
  --radius-xl: 18px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-lg: none;
  --shadow-md: none;
  --content-width: 980px;
}

html {
  background: #ffffff;
}

body {
  background: #ffffff;
  color: var(--ink);
}

body::before {
  display: none;
}

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

h1,
h2 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

p,
li,
label,
td,
th,
dd,
dt,
span {
  color: inherit;
}

a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

header,
.header__color,
.header__fixed {
  height: 48px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  backdrop-filter: blur(20px);
}

.progress-bar {
  top: 48px;
  height: 2px;
  background: #111111;
}

.logo {
  width: 92px;
}

.navbar {
  gap: 28px;
}

.navbar a,
.navbars a {
  padding: 0;
  border-bottom: none;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  color: #000000;
  border-bottom-color: transparent;
}

.navbar__left {
  gap: 14px;
}

.navbar__left div a {
  font-size: 12px;
  font-weight: 700;
}

.navbar__left div span {
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #9a9aa1;
  font-size: 11px;
  letter-spacing: 0;
}

.btn2 {
  min-height: 30px;
  padding: 0 14px;
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}

.btn2:hover {
  background: #2b2b2f;
}

.overlay {
  background: rgba(0, 0, 0, 0.2);
}

.modal {
  width: min(320px, 88vw);
  background: #ffffff;
  color: #000000;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.08);
}

.modal a {
  background: #f5f5f7;
  border: none;
}

.modal a:hover {
  background: #ececf0;
}

.page-section {
  padding: 96px 0 88px;
}

.page-section--muted {
  background: #fbfbfd;
}

.stack {
  gap: 20px;
}

.stack > * {
  animation: none;
}

.card,
.control-card,
.process-card,
.service-card,
.portfolio-card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel {
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 18px;
  background: #fbfbfd;
  box-shadow: none;
}

.card {
  gap: 14px;
  padding: 32px;
}

.card::before,
.control-card::before,
.process-card::before,
.service-card::before {
  display: none;
}

.section-intro {
  gap: 10px;
  max-width: 720px;
}

.section-intro--center {
  margin: 0 auto 24px;
}

.section-intro p,
.page-nav-note,
.section-note,
.metric-card span,
.detail-list span,
.contact-list span,
.note-panel p,
.control-card p,
.process-card p,
.service-card p,
.portfolio-card__body p,
.slot-legend,
.slot-day-card__head span,
.slot-day-card__meta,
.step-item p,
.summary-list dt,
.inspection-hero__copy p,
.inspection-metric span {
  color: var(--ink-soft);
}

.section-kicker,
.hero-kicker,
.hero-console__tag,
.control-card__label,
.process-card__number {
  background: #ececf0;
  border: none;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-link,
.admin-row button,
.chip,
.slot-button,
.inline-admin-panel button,
.inline-admin-toolbar button,
.auth-form button,
.booking-form button,
.form-actions button {
  min-height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #ececf0;
  color: #111111;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
}

.btn-link:hover,
.admin-row button:hover,
.chip:hover,
.slot-button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  transform: none;
  background: #e4e5ea;
  border-color: transparent;
  box-shadow: none;
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button,
.chip--active,
.slot-button--selected {
  background: #111111;
  color: #ffffff;
  border-color: transparent;
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  background: #2b2b2f;
}

.btn-link--ghost {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: #111111;
  box-shadow: none;
}

.btn-link--ghost:hover {
  background: transparent;
  color: var(--ink-soft);
}

.danger {
  background: #f5e9eb !important;
  color: #ae3d3d !important;
}

.home {
  min-height: calc(100vh - 48px);
  padding: 108px 0 72px;
  background: #ffffff;
}

.home::before {
  display: none;
}

.home__container {
  width: min(var(--content-width), calc(100% - 48px));
}

.home__container--split,
.home__container--center {
  display: block;
}

.hero-copy,
.hero-copy--center {
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 auto;
}

.hero-copy h1 {
  max-width: none;
  color: #000000;
}

.hero-copy p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2.3vw, 1.75rem);
  line-height: 1.4;
}

.hero-actions {
  justify-content: center;
  gap: 16px;
}

.hero-strip,
.hero-console {
  display: none;
}

.metric-band {
  padding: 88px 0;
  background: #fbfbfd;
}

.metric-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  text-align: center;
}

.metric-band__item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 56px;
  font-weight: 700;
  color: #000000;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-band__item span {
  font-size: 17px;
  color: var(--ink-soft);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  gap: 12px;
  padding: 28px 24px;
  text-align: center;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.service-card__price {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 32px;
  color: #000000;
}

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

.process-card {
  gap: 10px;
  padding: 0;
  border: none;
  background: transparent;
}

.process-card__number {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #b0b0b7;
}

.process-card h3 {
  font-size: 32px;
}

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

.control-card {
  padding: 28px 24px;
}

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

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

.detail-list,
.contact-list {
  gap: 12px;
}

.detail-list strong,
.contact-list strong,
.metric-card strong,
.note-panel strong {
  font-size: 17px;
  margin-bottom: 4px;
}

.contact-list a,
.note-panel a,
.data-table td a {
  color: #06c;
}

.page-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.page-hero__copy {
  gap: 18px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #000000;
  box-shadow: none;
}

.page-hero__copy h1 {
  max-width: 10ch;
  color: #000000;
  font-size: clamp(3rem, 6vw, 4rem);
}

.page-hero__copy p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.4;
}

.page-hero__copy .section-kicker {
  color: var(--ink-soft);
}

.page-hero__panel {
  gap: 12px;
}

.portfolio-card {
  border-radius: 18px;
  overflow: hidden;
}

.portfolio-card img {
  height: 220px;
}

.portfolio-card__body {
  gap: 10px;
}

.auth-grid {
  gap: 16px;
}

.auth-form,
.booking-form {
  gap: 14px;
}

.auth-form label,
.booking-form label {
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.booking-form input,
.booking-form textarea,
.booking-form select,
.admin-filter select,
.admin-filter input,
.data-table input,
.data-table select {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: none;
}

.auth-form textarea,
.booking-form textarea {
  min-height: 130px;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus,
.admin-filter select:focus,
.admin-filter input:focus,
.data-table input:focus,
.data-table select:focus {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-grid {
  gap: 14px;
}

.table-wrap {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.data-table {
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
}

.data-table th {
  background: #f5f5f7;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.data-table tbody tr:hover td {
  background: #fafafc;
}

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

.inspection-hero {
  padding: 0;
  grid-template-columns: minmax(0, 1fr) 280px;
  background: transparent;
  color: #000000;
  box-shadow: none;
}

.inspection-hero h1,
.inspection-hero h2,
.inspection-hero p {
  color: #000000;
}

.inspection-hero__badges span {
  background: #ececf0;
  border: none;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.inspection-metric,
.selection-banner,
.slot-day-card,
.step-item,
.summary-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #fbfbfd;
  box-shadow: none;
}

.category-card {
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #fbfbfd;
}

.category-card--active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 2px #111111;
}

.category-card__index,
.step-item > span {
  background: #ececf0;
  color: var(--ink-soft);
}

.category-card--active .category-card__index,
.step-item--current > span,
.step-item--done > span {
  background: #111111;
  color: #ffffff;
}

.slot-button {
  min-height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.slot-button--selected,
.slot-button--selected:hover {
  background: #111111;
  color: #ffffff;
}

.summary-list dd {
  font-size: 21px;
  font-weight: 600;
  color: #000000;
}

.cta-panel {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 56px 40px;
  text-align: center;
  background: #111111;
  box-shadow: none;
}

.cta-panel p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.cta-panel .hero-actions {
  justify-content: center;
}

footer {
  padding-bottom: 24px;
}

.footer {
  padding: 24px;
  background: #f5f5f7;
  color: var(--ink-soft);
  box-shadow: none;
}

footer .navbars a {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0;
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  color: #000000;
}

.page-nav-note {
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 1000px) {
  .container,
  .home__container {
    width: min(var(--content-width), calc(100% - 32px));
  }

  header,
  .header__color,
  .header__fixed {
    padding: 0 16px;
  }

  .page-hero,
  .contact-shell,
  .feedback-shell,
  .inspection-hero,
  .inspection-shell {
    grid-template-columns: 1fr;
  }

  .metric-band__grid,
  .service-grid,
  .process-grid,
  .card-grid,
  .control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-section,
  .services,
  .home__two,
  .metric-band {
    padding: 80px 0;
  }

  .home {
    padding: 88px 0 64px;
    min-height: auto;
  }

  .hero-copy p,
  .page-hero__copy p {
    font-size: 18px;
  }

  .metric-band__grid,
  .service-grid,
  .process-grid,
  .card-grid,
  .control-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card,
  .service-card,
  .control-card,
  .cta-panel {
    padding: 24px;
  }

  .hero-actions,
  .page-hero__actions,
  .form-actions,
  .admin-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-link,
  .btn2,
  .admin-row button,
  .form-actions button,
  .booking-form button,
  .auth-form button {
    width: 100%;
  }

  .btn-link--ghost {
    width: auto;
    text-align: center;
  }

  .footer,
  .slot-day-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 2026-03-28 refinements */

:root {
  --accent: #1d6b43;
  --accent-strong: #144a2e;
  --accent-soft: rgba(29, 107, 67, 0.1);
  --bg: #fffdfa;
  --bg-top: #faf5ee;
  --surface: #fffcf8;
  --surface-2: #f8f1e7;
  --italy-green: #1d6b43;
  --italy-red: #b63b36;
  --italy-cream: #efe4d1;
  --italy-gold: #c49b5d;
}

body {
  background:
    radial-gradient(circle at top left, rgba(29, 107, 67, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(182, 59, 54, 0.08), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #f7f0e6 100%);
}

header,
.header__color,
.header__fixed {
  background: rgba(255, 251, 245, 0.88);
  border-bottom: 1px solid rgba(103, 80, 44, 0.08);
}

header::after,
.header__color::after,
.header__fixed::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--italy-green) 0%, #f4ecdf 48%, var(--italy-red) 100%);
  opacity: 0.95;
  pointer-events: none;
}

.progress-bar {
  background: linear-gradient(90deg, var(--italy-green) 0%, var(--italy-gold) 50%, var(--italy-red) 100%);
}

.section-kicker,
.hero-kicker,
.hero-console__tag,
.control-card__label,
.process-card__number {
  background: rgba(255, 248, 239, 0.92);
  border: 1px solid rgba(97, 79, 49, 0.08);
  color: #5d4a2a;
}

.card,
.control-card,
.service-card,
.portfolio-card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.selection-banner,
.slot-day-card,
.step-item,
.summary-card,
.category-card,
.inspection-metric {
  border-color: rgba(103, 80, 44, 0.09);
  box-shadow: 0 16px 36px rgba(92, 70, 36, 0.05);
}

.home,
.page-hero__copy,
.inspection-hero,
.cta-panel {
  position: relative;
  overflow: hidden;
}

.home::after,
.page-hero__copy::after,
.inspection-hero::after,
.cta-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--italy-green) 0%, #f6efe2 52%, var(--italy-red) 100%);
  pointer-events: none;
}

.page-hero__copy,
.inspection-hero {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(103, 80, 44, 0.1);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.98) 0%, rgba(247, 239, 226, 0.94) 100%);
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(15, 46, 31, 0.96), rgba(24, 65, 44, 0.92)),
    linear-gradient(135deg, rgba(244, 236, 223, 0.18), transparent);
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button,
.chip--active,
.slot-button--selected {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  background: linear-gradient(135deg, var(--accent-strong) 0%, #103622 100%);
}

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

.home__two-div > div {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #111111;
}

.home__two-div > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 16, 16, 0.04) 0%, rgba(10, 14, 14, 0.78) 100%);
  z-index: 1;
}

.home__two-div > div::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  z-index: 2;
}

.home__two-div > div img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.home__two-div > div p {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  color: #fffaf2;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.portfolio-grid {
  align-items: start;
}

.portfolio-card {
  min-width: 0;
  grid-template-rows: minmax(220px, 280px) minmax(0, 1fr) auto;
  height: 100%;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.portfolio-card__body {
  align-content: start;
  min-height: 0;
}

.portfolio-card .admin-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.portfolio-card .admin-row button {
  width: 100%;
  min-width: 0;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-stat {
  min-width: 118px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(103, 80, 44, 0.08);
}

.admin-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.3rem;
  line-height: 1;
}

.admin-stat span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.admin-appointments,
.public-records {
  display: grid;
  gap: 18px;
}

.admin-appointment-card,
.public-record-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.98) 0%, rgba(247, 239, 226, 0.96) 100%);
  border: 1px solid rgba(103, 80, 44, 0.1);
  box-shadow: 0 18px 38px rgba(92, 70, 36, 0.05);
}

.admin-appointment-card__header,
.admin-appointment-card__footer,
.public-record-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.admin-appointment-card__header {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(103, 80, 44, 0.08);
}

.admin-appointment-card__heading,
.public-record-card__heading {
  display: grid;
  gap: 8px;
}

.admin-appointment-card__heading h3,
.public-record-card__heading h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.admin-appointment-card__heading p,
.public-record-card__heading p,
.admin-inline-note {
  color: var(--ink-soft);
}

.admin-appointment-card__eyebrow,
.public-record-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6a5531;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-appointment-card__eyebrow::before,
.public-record-card__eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--italy-green) 0%, var(--italy-red) 100%);
}

.admin-appointment-card__status {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge--pending {
  background: rgba(196, 155, 93, 0.18);
  color: #795013;
}

.status-badge--approved {
  background: rgba(29, 107, 67, 0.14);
  color: #165238;
}

.status-badge--rejected {
  background: rgba(182, 59, 54, 0.14);
  color: #8d2c28;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(103, 80, 44, 0.08);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.admin-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}

.admin-appointment-card__grid,
.public-record-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
}

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

.admin-field,
.public-record-card__grid > div {
  display: grid;
  gap: 8px;
}

.admin-field span,
.public-record-card__grid dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.public-record-card__grid dt {
  margin: 0;
}

.public-record-card__grid dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.admin-field--wide {
  grid-column: span 3;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(103, 80, 44, 0.08);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 15px;
}

.admin-field textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: rgba(29, 107, 67, 0.3);
  box-shadow: 0 0 0 4px rgba(29, 107, 67, 0.08);
}

.admin-appointment-card__footer {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(103, 80, 44, 0.08);
}

.admin-empty-state,
.public-empty-state {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.9);
  border: 1px dashed rgba(103, 80, 44, 0.18);
  color: var(--ink-soft);
  text-align: center;
}

.private-value {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 27, 34, 0.07);
  filter: blur(1.9px);
  user-select: none;
}

.section-note--privacy {
  margin-bottom: 18px;
}

.inline-admin-toolbar {
  border: 1px solid rgba(103, 80, 44, 0.12);
  background: rgba(255, 251, 245, 0.98);
}

.inline-admin-panel {
  background: rgba(23, 34, 28, 0.95);
}

@media (max-width: 1180px) {
  .home__two-div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-field--wide {
    grid-column: span 2;
  }

  .public-records {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  header::after,
  .header__color::after,
  .header__fixed::after {
    left: 12px;
    right: 12px;
  }

  .home__two-div,
  .admin-appointment-card__grid,
  .public-record-card__grid {
    grid-template-columns: 1fr;
  }

  .admin-field--wide {
    grid-column: auto;
  }

  .portfolio-card .admin-row,
  .admin-toolbar,
  .admin-appointment-card__header,
  .admin-appointment-card__footer,
  .public-record-card__header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-appointment-card__status {
    justify-items: start;
  }

  .home__two-div > div {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .admin-appointment-card,
  .public-record-card {
    padding: 18px;
    border-radius: 20px;
  }

  .private-value {
    filter: blur(1.5px);
  }
}

/* 2026-03-28 operational polish */

:root {
  --accent: #174c31;
  --accent-strong: #0c2618;
  --accent-soft: rgba(23, 76, 49, 0.14);
  --bg: #dce5df;
  --bg-top: #eef3ef;
  --surface: #f5f8f5;
  --surface-2: #e8eeea;
  --italy-green: #165336;
  --italy-red: #8f2727;
  --italy-cream: #f5f8f5;
  --italy-gold: #8f7750;
}

body {
  background:
    radial-gradient(circle at top left, rgba(22, 83, 54, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 39, 39, 0.12), transparent 24%),
    linear-gradient(180deg, #e9efe9 0%, #d6e0d8 100%);
}

header,
.header__color,
.header__fixed {
  background: rgba(231, 237, 232, 0.94);
  border-bottom: 1px solid rgba(12, 38, 24, 0.14);
}

.card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.admin-appointment-card,
.public-record-card,
.public-record-line,
.slot-day-card,
.summary-card,
.category-card,
.inspection-metric,
.table-wrap {
  background: rgba(244, 247, 244, 0.96);
  border-color: rgba(12, 38, 24, 0.1);
  box-shadow: 0 12px 28px rgba(15, 34, 22, 0.08);
}

.page-hero__copy,
.inspection-hero,
.cta-panel {
  background:
    linear-gradient(135deg, rgba(227, 234, 228, 0.98) 0%, rgba(213, 223, 215, 0.96) 100%),
    linear-gradient(135deg, rgba(22, 83, 54, 0.08), rgba(143, 39, 39, 0.04));
  color: #102016;
}

.page-hero__copy h1,
.inspection-hero h1,
.page-hero__copy h2,
.inspection-hero h2 {
  color: #102016;
}

.page-hero__copy p,
.inspection-hero p,
.page-hero__copy .section-kicker {
  color: rgba(16, 32, 22, 0.82);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.portfolio-card {
  height: auto;
  min-height: 100%;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.portfolio-card__body {
  display: grid;
  align-content: start;
}

.card-grid .card {
  overflow: visible;
}

.card-grid .card h2 {
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.card-grid .card p {
  overflow-wrap: anywhere;
}

.page-section .container {
  overflow: visible;
}

.public-filter {
  margin-bottom: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.public-filter button {
  min-height: 48px;
  padding: 11px 16px;
}

.public-records--inline {
  gap: 10px;
}

@media (min-width: 1200px) {
  body[data-page-key="bus-schedule"] {
    --content-width: 1620px;
  }
}

.public-record-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px 5px;
  padding: 8px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 95, 57, 0.1);
}

.public-record-line .status-badge,
.public-inline-item {
  flex: 0 0 auto;
}

.public-inline-item {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 83, 54, 0.06);
  border: 1px solid rgba(23, 83, 54, 0.08);
  font-size: 0.84rem;
  line-height: 1.08;
  white-space: nowrap;
}

.public-inline-item--value-only {
  font-weight: 600;
}

.public-inline-item strong {
  font-size: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.public-record-line .private-value {
  min-height: 16px;
  padding: 0 4px;
  filter: blur(1.45px);
}

.admin-notice-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1500;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.admin-notice {
  max-width: min(360px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 64, 37, 0.96);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(9, 26, 16, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-notice--hide {
  opacity: 0;
  transform: translateY(10px);
}

@media (max-width: 1080px) {
  .public-record-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    align-items: start;
    overflow: visible;
  }

  .public-record-line .status-badge {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .public-inline-item {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .public-record-line {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 2026-03-28 stricter palette override */

:root {
  --accent: #009639;
  --accent-strong: #006d29;
  --accent-soft: rgba(0, 150, 57, 0.12);
  --bg: #f5f5f7;
  --bg-top: #fbfbfd;
  --surface: #f2f3f5;
  --surface-2: #e8eaed;
  --ink: #0d1712;
  --ink-soft: #4d5751;
  --italy-green: #009639;
  --italy-red: #e30613;
  --italy-cream: #fbfbfd;
  --italy-gold: #7e7e86;
}

body {
  background:
    radial-gradient(circle at top left, rgba(0, 150, 57, 0.1), transparent 24%),
    radial-gradient(circle at top right, rgba(227, 6, 19, 0.08), transparent 20%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  color: var(--ink);
}

header,
.header__color,
.header__fixed {
  background: rgba(251, 251, 253, 0.96);
  border-bottom: 1px solid rgba(13, 23, 18, 0.08);
  box-shadow: 0 10px 24px rgba(13, 23, 18, 0.05);
}

.card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.admin-appointment-card,
.public-record-card,
.public-record-line,
.slot-day-card,
.summary-card,
.category-card,
.inspection-metric,
.table-wrap,
.admin-stat {
  background: linear-gradient(180deg, rgba(242, 243, 245, 0.98) 0%, rgba(232, 234, 237, 0.98) 100%);
  border-color: rgba(13, 23, 18, 0.08);
  box-shadow: 0 10px 26px rgba(13, 23, 18, 0.07);
}

.page-hero__copy,
.inspection-hero {
  background:
    linear-gradient(135deg, rgba(243, 244, 246, 0.99) 0%, rgba(230, 233, 236, 0.98) 100%),
    linear-gradient(135deg, rgba(0, 150, 57, 0.05), rgba(227, 6, 19, 0.03));
  border: 1px solid rgba(13, 23, 18, 0.08);
}

.page-hero__copy h1,
.page-hero__copy h2,
.inspection-hero h1,
.inspection-hero h2,
h1,
h2,
h3 {
  color: #08110d;
}

.page-hero__copy p,
.inspection-hero p,
.section-intro p,
.section-note,
.metric-card span,
.detail-list span,
.contact-list span,
.admin-inline-note,
.public-inline-item,
.portfolio-card__body p {
  color: #425148;
}

.section-kicker,
.hero-kicker,
.hero-console__tag,
.control-card__label,
.process-card__number {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 150, 57, 0.12);
  color: #009639;
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button,
.chip--active,
.slot-button--selected {
  background: linear-gradient(135deg, #009639 0%, #006d29 100%);
  border-color: #006d29;
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  background: linear-gradient(135deg, #007e30 0%, #005421 100%);
}

.status-badge--approved {
  background: rgba(0, 150, 57, 0.14);
  color: #006d29;
}

.status-badge--pending {
  background: rgba(118, 98, 70, 0.18);
  color: #5c4a33;
}

.status-badge--rejected {
  background: rgba(227, 6, 19, 0.12);
  color: #b50510;
}

.inspection-metric strong,
.step-item > span,
.step-item strong {
  color: #123b28;
}

.step-item > span {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 59, 40, 0.14);
  color: #123b28;
}

.step-item--current > span {
  background: rgba(0, 150, 57, 0.14);
  border-color: rgba(0, 150, 57, 0.22);
  color: #006d29;
}

.step-item--done > span {
  background: rgba(0, 150, 57, 0.18);
  border-color: rgba(0, 150, 57, 0.24);
  color: #006d29;
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(238, 241, 244, 0.98) 0%, rgba(226, 231, 235, 0.98) 100%),
    linear-gradient(135deg, rgba(0, 150, 57, 0.04), rgba(227, 6, 19, 0.03));
  border: 1px solid rgba(13, 23, 18, 0.08);
}

.cta-panel h2 {
  color: #0d1712;
}

.cta-panel p {
  color: #4d5751;
}

.cta-panel .section-kicker {
  background: rgba(255, 255, 255, 0.82);
  color: #009639;
}

.cta-panel .hero-actions .btn-link:not(.btn-link--accent) {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(13, 23, 18, 0.08);
  color: #123b28;
}

.document-upload-form {
  display: grid;
  gap: 18px;
}

.documents-list {
  display: grid;
  gap: 14px;
}

.document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(242, 243, 245, 0.98) 0%, rgba(232, 234, 237, 0.98) 100%);
  border: 1px solid rgba(13, 23, 18, 0.08);
}

.document-card--with-preview {
  grid-template-columns: 120px minmax(0, 1fr) auto;
}

.document-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
  padding: 0;
  border: 1px solid rgba(13, 23, 18, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.document-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.document-card__file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.document-card__body {
  display: grid;
  gap: 6px;
}

.document-card__body strong {
  color: #0d1712;
}

.document-card__body span,
.document-card__body p {
  color: #4d5751;
}

.document-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: none;
}

.document-preview-modal--open {
  display: block;
}

.document-preview-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 11, 0.68);
}

.document-preview-modal__dialog {
  position: relative;
  width: min(1000px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 16px;
  border-radius: 20px;
  background: rgba(251, 251, 253, 0.98);
  border: 1px solid rgba(13, 23, 18, 0.08);
  box-shadow: 0 18px 40px rgba(6, 16, 11, 0.24);
  overflow: auto;
}

.document-preview-modal__dialog img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  background: #ffffff;
}

.document-preview-modal__content iframe {
  width: 100%;
  min-height: min(76vh, 920px);
  border: 0;
  border-radius: 14px;
  background: #ffffff;
}

.document-preview-modal__placeholder {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 28px;
  border-radius: 14px;
  background: #ffffff;
  color: #0d1712;
}

.document-preview-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(13, 23, 18, 0.08);
  color: #0d1712;
  font-size: 28px;
  line-height: 1;
}

.document-preview-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

@media (max-width: 620px) {
  .document-card {
    grid-template-columns: 1fr;
  }

  .document-card--with-preview {
    grid-template-columns: 1fr;
  }

  .document-card__preview {
    width: 100%;
    height: 180px;
  }
}

.inline-admin-panel {
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(17, 28, 22, 0.94);
  box-shadow: 0 18px 38px rgba(8, 17, 12, 0.32);
  backdrop-filter: blur(14px);
}

.inline-admin-panel a,
.inline-admin-panel button {
  min-height: 44px;
  border-radius: 14px;
}

.inline-admin-toolbar {
  position: absolute;
  z-index: 2001;
  min-width: 280px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(20, 38, 28, 0.1);
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(243, 238, 229, 0.98) 100%),
    linear-gradient(135deg, rgba(0, 150, 57, 0.03), rgba(227, 6, 19, 0.03));
  box-shadow: 0 20px 44px rgba(8, 17, 12, 0.22);
  display: grid;
  gap: 12px;
}

.inline-admin-toolbar__meta {
  display: grid;
  gap: 6px;
}

.inline-admin-toolbar__tag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 150, 57, 0.1);
  color: #006d29;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inline-admin-toolbar__selector {
  color: #5d655f;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.inline-admin-toolbar__title {
  color: #17221c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.inline-admin-toolbar__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inline-admin-toolbar__actions button {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(20, 38, 28, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: #17221c;
  justify-content: center;
}

.inline-admin-toolbar__actions button:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.inline-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
}

.inline-editor-modal--open {
  display: block;
}

.inline-editor-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 12, 0.68);
  backdrop-filter: blur(8px);
}

.inline-editor-modal__dialog {
  position: relative;
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(20, 38, 28, 0.08);
  background:
    linear-gradient(180deg, rgba(252, 249, 244, 0.99) 0%, rgba(244, 239, 230, 0.99) 100%),
    linear-gradient(135deg, rgba(0, 150, 57, 0.03), rgba(227, 6, 19, 0.02));
  box-shadow: 0 24px 60px rgba(7, 18, 12, 0.3);
  overflow: auto;
  display: grid;
  gap: 16px;
}

.inline-editor-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(23, 34, 28, 0.08);
  color: #17221c;
  font-size: 28px;
  line-height: 1;
}

.inline-editor-modal__header {
  display: grid;
  gap: 8px;
}

.inline-editor-modal__eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 150, 57, 0.12);
  color: #006d29;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inline-editor-modal__header h2 {
  margin: 0;
  color: #17221c;
}

.inline-editor-modal__header p,
.inline-editor-modal__hint,
.inline-editor-modal__selector {
  margin: 0;
  color: #5d655f;
}

.inline-editor-modal__selector {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 38, 28, 0.08);
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.inline-editor-modal__form {
  display: grid;
  gap: 14px;
}

.inline-editor-modal__field {
  display: grid;
  gap: 8px;
}

.inline-editor-modal__field > span {
  color: #17221c;
  font-weight: 700;
}

.inline-editor-modal__input {
  width: 100%;
  min-height: 180px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(20, 38, 28, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #17221c;
  resize: vertical;
  line-height: 1.6;
}

.inline-editor-modal__input--code {
  min-height: 240px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.inline-editor-modal__input:focus {
  outline: 2px solid rgba(0, 150, 57, 0.18);
  border-color: rgba(0, 150, 57, 0.22);
}

.inline-editor-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-editor-modal__footer button:not(.btn-link--accent) {
  background: rgba(255, 255, 255, 0.72);
}

.inline-editor-toast-stack {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 2150;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.inline-editor-toast {
  min-width: 260px;
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 16px;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(8, 17, 12, 0.24);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.inline-editor-toast--success {
  background: rgba(18, 92, 52, 0.96);
}

.inline-editor-toast--error {
  background: rgba(143, 39, 39, 0.96);
}

.inline-editor-toast--hide {
  opacity: 0;
  transform: translateY(-8px);
}

@media (max-width: 720px) {
  .inline-admin-toolbar {
    left: 12px !important;
    right: 12px;
    min-width: auto;
  }

  .inline-admin-toolbar__actions {
    grid-template-columns: 1fr;
  }

  .inline-editor-modal__dialog {
    width: calc(100vw - 16px);
    padding: 18px;
  }

  .inline-editor-modal__footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inline-editor-modal__footer button {
    width: 100%;
  }
}

.admin-dialog {
  position: fixed;
  inset: 0;
  z-index: 2080;
  display: none;
}

.admin-dialog--open {
  display: block;
}

.admin-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 12, 0.64);
  backdrop-filter: blur(7px);
}

.admin-dialog__window {
  position: relative;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(20, 38, 28, 0.08);
  background:
    linear-gradient(180deg, rgba(252, 249, 244, 0.99) 0%, rgba(244, 239, 230, 0.99) 100%),
    linear-gradient(135deg, rgba(0, 150, 57, 0.03), rgba(227, 6, 19, 0.02));
  box-shadow: 0 24px 60px rgba(7, 18, 12, 0.28);
  overflow: auto;
  display: grid;
  gap: 18px;
}

.admin-dialog__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(23, 34, 28, 0.08);
  color: #17221c;
  font-size: 28px;
  line-height: 1;
}

.admin-dialog__header {
  display: grid;
  gap: 8px;
}

.admin-dialog__eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 150, 57, 0.12);
  color: #006d29;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-dialog__header h2 {
  margin: 0;
  color: #17221c;
}

.admin-dialog__header p,
.admin-dialog__hint {
  margin: 0;
  color: #5d655f;
}

.admin-dialog__form {
  display: grid;
  gap: 14px;
}

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

.admin-dialog__field {
  display: grid;
  gap: 8px;
}

.admin-dialog__field--wide {
  grid-column: 1 / -1;
}

.admin-dialog__field span {
  color: #17221c;
  font-weight: 700;
}

.admin-dialog__field input,
.admin-dialog__field textarea,
.admin-dialog__field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(20, 38, 28, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: #17221c;
}

.admin-dialog__field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.admin-dialog__field input:focus,
.admin-dialog__field textarea:focus,
.admin-dialog__field select:focus {
  outline: 2px solid rgba(0, 150, 57, 0.18);
  border-color: rgba(0, 150, 57, 0.22);
}

.admin-dialog__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-dialog__footer button:not(.btn-link--accent) {
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 720px) {
  .admin-dialog__window {
    width: calc(100vw - 16px);
    padding: 18px;
  }

  .admin-dialog__fields {
    grid-template-columns: 1fr;
  }

  .admin-dialog__field--wide {
    grid-column: auto;
  }

  .admin-dialog__footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-dialog__footer button {
    width: 100%;
  }
}

/* Retro 2010 interface override */
:root {
  --bg: #e8ede8;
  --bg-top: #f5f7f4;
  --surface: #ffffff;
  --surface-2: #f3f6f1;
  --surface-dark: #1f3b2a;
  --surface-dark-2: #15281d;
  --ink: #17231a;
  --ink-soft: #57655c;
  --line: rgba(26, 59, 34, 0.2);
  --line-strong: rgba(14, 107, 57, 0.44);
  --white-soft: rgba(255, 255, 255, 0.9);
  --white-line: rgba(255, 255, 255, 0.28);
  --accent: #0e6b39;
  --accent-strong: #074827;
  --accent-soft: rgba(14, 107, 57, 0.08);
  --success: #0e6b39;
  --danger: #b3282d;
  --radius-xl: 3px;
  --radius-lg: 3px;
  --radius-md: 2px;
  --shadow-lg: none;
  --shadow-md: none;
  --content-width: 1180px;
}

html {
  scroll-behavior: auto;
}

body,
button,
input,
textarea,
select {
  font-family: "PT Sans Caption", "PT Sans", "Trebuchet MS", sans-serif;
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 240px),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  line-height: 1.55;
}

body::before {
  background-image:
    linear-gradient(rgba(24, 33, 42, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 42, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #14202a;
  font-family: "PT Sans Narrow", "PT Sans Caption", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

h2 {
  font-size: clamp(1.3rem, 2.1vw, 1.95rem);
}

h3 {
  font-size: 1.02rem;
}

ul,
ol {
  padding-left: 18px;
}

li::marker {
  color: var(--accent);
}

a {
  transition: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(14, 107, 57, 0.28);
  outline-offset: 2px;
}

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

header,
.header__color,
.header__fixed {
  height: 78px;
  padding: 0 18px;
  background: rgba(250, 251, 249, 0.98);
  border-bottom: 3px solid var(--accent);
  box-shadow: none;
  backdrop-filter: none;
}

header::before,
.header__color::before,
.header__fixed::before,
header::after,
.header__color::after,
.header__fixed::after {
  content: none;
  display: none;
}

.progress-bar {
  top: 78px;
  height: 4px;
  background: var(--accent);
}

.logo {
  width: clamp(150px, 17vw, 182px);
}

.navbar,
.navbars {
  gap: 0;
  align-self: stretch;
  align-items: stretch;
  height: 100%;
}

.navbar a,
.navbars a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0 12px;
  border-bottom: none;
  border-left: 1px solid rgba(24, 33, 42, 0.08);
  color: #2b3a47;
  font-size: 12px;
  letter-spacing: 0.11em;
  line-height: 1;
  white-space: nowrap;
}

.navbar a:last-child,
.navbars a:last-child {
  border-right: 1px solid rgba(24, 33, 42, 0.08);
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  background: #edf6ef;
  color: var(--accent-strong);
  border-bottom: none;
  box-shadow: inset 0 -3px 0 var(--accent);
}

.navbar__left {
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(24, 33, 42, 0.08);
}

.navbar__left div a {
  color: var(--accent);
}

.navbar__left div span {
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(14, 107, 57, 0.18);
  background: rgba(14, 107, 57, 0.08);
  color: var(--accent-strong);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn2 {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.btn2:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.menu {
  opacity: 1;
}

.overlay {
  background: rgba(16, 24, 31, 0.74);
}

.modal {
  background: #f3f5f7;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  box-shadow: none;
}

.modal div {
  gap: 8px;
}

.modal a {
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  background: #ffffff;
}

.modal a:hover {
  background: #edf1f4;
}

.close-btn {
  color: #20303c;
}

.page-section {
  padding: 110px 0 64px;
}

.page-section--inspection {
  padding-top: 102px;
}

.stack {
  gap: 18px;
}

.card,
.control-card,
.process-card,
.service-card,
.portfolio-card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.summary-card,
.category-card,
.services__main-card,
.admin-dialog__window {
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-top: 4px solid var(--accent);
  background: #f7f8f9;
  box-shadow: none;
}

.card {
  gap: 16px;
  padding: clamp(20px, 2.2vw, 28px);
}

.card::before,
.control-card::before,
.process-card::before,
.service-card::before {
  content: none;
}

.card--feature {
  border-color: rgba(74, 87, 99, 0.34);
  box-shadow: none;
}

.section-intro {
  gap: 8px;
  max-width: 820px;
}

.section-intro p,
.page-nav-note,
.section-note,
.hero-copy p,
.hero-console__header p,
.hero-console__row p,
.hero-console__footer,
.control-card p,
.control-card li,
.process-card p,
.service-card p,
.service-card li,
.portfolio-card__body p,
.metric-card span,
.detail-list span,
.contact-list span,
.note-panel p,
.inspection-hero__copy p,
.step-item p,
.summary-list dt,
.selection-banner,
.slot-legend span,
.form-lock-note,
.data-table td,
.data-table td a {
  color: var(--ink-soft);
}

.section-kicker,
.hero-kicker,
.hero-console__tag,
.control-card__label,
.process-card__number,
.admin-dialog__eyebrow {
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid rgba(14, 107, 57, 0.18);
  background: rgba(14, 107, 57, 0.08);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.page-nav-note {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  background: #f1f4f6;
}

.btn-link,
.admin-row button,
.chip,
.slot-button,
.inline-admin-panel button,
.inline-admin-toolbar button,
.auth-form button,
.booking-form button,
.form-actions button,
.admin-dialog__footer button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.5);
  background: #edf1f4;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
  transition: none;
}

.btn-link:hover,
.admin-row button:hover,
.chip:hover,
.slot-button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover,
.admin-dialog__footer button:hover {
  border-color: var(--accent);
  background: #dfe7ee;
  transform: none;
  box-shadow: none;
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button,
.admin-dialog__footer .btn-link--accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover,
.admin-dialog__footer .btn-link--accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-link--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
}

.btn-link--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.danger {
  background: #f3dfdf !important;
  color: #a62b2f !important;
  border-color: #d69d9f !important;
}

.home {
  min-height: auto;
  padding: 118px 0 54px;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(244, 245, 247, 0.96), rgba(225, 228, 231, 0.96)),
    url("../img/home.png") center/cover no-repeat;
}

.home::before {
  background:
    linear-gradient(90deg, rgba(20, 32, 42, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(20, 32, 42, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.home__container {
  color: var(--ink);
}

.home__container--split {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 16px;
  align-items: stretch;
}

.hero-copy,
.hero-console {
  padding: 24px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-top: 4px solid var(--accent);
  border-radius: 2px;
  background: rgba(247, 248, 249, 0.96);
  box-shadow: none;
}

.hero-copy {
  gap: 18px;
}

.hero-copy h1 {
  max-width: 14ch;
  color: #14202a;
}

.hero-copy p {
  max-width: 760px;
  font-size: 1rem;
}

.hero-actions,
.page-hero__actions,
.form-actions,
.admin-row,
.inspection-hero__badges {
  gap: 8px;
}

.hero-strip {
  gap: 8px;
}

.hero-strip__item {
  padding: 14px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.28);
  background: #f1f5f0;
  box-shadow: none;
}

.hero-strip__item strong {
  margin-bottom: 4px;
  color: #14202a;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-strip__item span {
  color: #56606a;
  font-size: 13px;
}

.hero-console {
  gap: 12px;
}

.hero-console__header {
  gap: 8px;
}

.hero-console__header h2 {
  color: #14202a;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.hero-console__body {
  gap: 10px;
}

.hero-console__row {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.28);
  background: #ffffff;
}

.hero-console__index {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff;
}

.hero-console__row strong,
.inspection-metric strong,
.step-item strong,
.summary-list dd,
.contact-list a,
.note-panel a,
.navbar__left div a {
  color: #1a2a37;
}

.hero-console__row strong,
.inspection-metric strong,
.step-item strong,
.metric-card strong,
.detail-list strong,
.contact-list strong,
.note-panel strong {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-console__footer {
  padding-top: 12px;
  border-top: 1px solid rgba(74, 87, 99, 0.3);
  font-size: 12px;
}

.control-grid,
.process-grid,
.service-grid,
.portfolio-grid,
.card-grid,
.category-grid {
  gap: 14px;
}

.control-card,
.process-card,
.service-card,
.portfolio-card,
.services__main-card {
  padding: 20px;
}

.control-card__label,
.process-card__number {
  min-height: auto;
}

.service-card__price,
.services__main-card-head p {
  font-family: "PT Sans Narrow", "PT Sans Caption", "Trebuchet MS", sans-serif;
  font-size: 1.8rem;
  color: var(--accent-strong);
}

.service-card__price {
  letter-spacing: 0.02em;
}

.cta-panel,
.page-hero,
.inspection-hero {
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-top: 4px solid var(--accent);
  background: #f5f7f8;
  color: var(--ink);
  box-shadow: none;
}

.cta-panel::after,
.page-hero__copy::after,
.inspection-hero::after {
  display: none;
}

.cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 24px;
}

.cta-panel__content {
  gap: 8px;
}

.cta-panel h2,
.cta-panel p,
.inspection-hero h1,
.inspection-hero h2,
.inspection-hero p {
  color: var(--ink);
}

.cta-panel p {
  color: var(--ink-soft);
}

.page-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  padding: 24px;
}

.page-hero__copy {
  gap: 16px;
  padding: 0;
  background: transparent;
  border: none;
  min-height: auto;
}

.page-hero__copy h1 {
  max-width: 13ch;
  color: #14202a;
}

.page-hero__copy p {
  max-width: 720px;
}

.page-hero__copy .section-kicker {
  margin-bottom: 0;
}

.page-hero__panel,
.inspection-hero__meta {
  gap: 10px;
}

.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.summary-card,
.category-card {
  padding: 16px;
}

.detail-list,
.contact-shell,
.feedback-shell {
  gap: 14px;
}

.contact-list,
.detail-list {
  gap: 12px;
}

.contact-list a,
.note-panel a,
.data-table td a {
  color: var(--accent);
  font-weight: 700;
}

.home__two {
  padding: 64px 0;
  background: transparent;
}

.home__two-div {
  gap: 12px;
}

.home__two-div div {
  height: 220px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-top: 4px solid var(--accent);
  box-shadow: none;
}

.home__two-div div::before {
  background: linear-gradient(180deg, rgba(20, 32, 42, 0.06) 0%, rgba(20, 32, 42, 0.82) 100%);
}

.home__two-div div:hover::before {
  background: linear-gradient(180deg, rgba(20, 32, 42, 0.06) 0%, rgba(20, 32, 42, 0.82) 100%);
}

.home__two-div div p {
  width: calc(100% - 24px);
  left: 12px;
  bottom: 12px;
  transform: none;
  text-align: left;
  font-family: "PT Sans Narrow", "PT Sans Caption", "Trebuchet MS", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.services {
  padding: 64px 0;
}

.services__head {
  gap: 18px;
}

.services__head-justify {
  padding: 20px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-top: 4px solid var(--accent);
  background: #f7f8f9;
  box-shadow: none;
}

.services__main {
  gap: 14px;
}

.services__main-card {
  width: calc(33.333% - 10px);
  min-width: 260px;
}

.services__main-card-head {
  gap: 12px;
}

.services__main-card-head span {
  color: var(--ink-soft);
}

footer {
  padding: 0 0 24px;
  background: transparent;
}

.footer {
  padding: 20px 18px;
  border-radius: 2px;
  border-top: 4px solid #748da7;
  background: #24313c;
  color: rgba(248, 251, 252, 0.88);
  box-shadow: none;
}

.navbars {
  gap: 8px;
}

footer .navbars a {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: #eef3f6;
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.portfolio-card {
  transition: none;
}

.portfolio-card:hover {
  transform: none;
  box-shadow: none;
}

.portfolio-card img {
  height: 220px;
  filter: saturate(0.88) contrast(1.04);
}

.portfolio-card__body {
  gap: 10px;
  padding: 18px;
}

.portfolio-grid > p {
  padding: 18px;
  border-radius: 2px;
  border: 1px dashed rgba(74, 87, 99, 0.4);
  background: #f5f7f8;
}

.auth-grid,
.form-grid,
.contact-shell,
.feedback-shell {
  gap: 14px;
}

.auth-form,
.booking-form {
  gap: 14px;
}

.auth-form label,
.booking-form label,
.admin-filter label,
.admin-dialog__field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.booking-form input,
.booking-form textarea,
.booking-form select,
.admin-filter select,
.admin-filter input,
.data-table input,
.data-table select,
.admin-dialog__field input,
.admin-dialog__field textarea,
.admin-dialog__field select {
  min-height: 48px;
  padding: 11px 12px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.48);
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
}

.auth-form textarea,
.booking-form textarea,
.admin-dialog__field textarea {
  min-height: 124px;
  line-height: 1.55;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus,
.admin-filter select:focus,
.admin-filter input:focus,
.data-table input:focus,
.data-table select:focus,
.admin-dialog__field input:focus,
.admin-dialog__field textarea:focus,
.admin-dialog__field select:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.form-lock-note,
.selection-banner {
  padding: 12px 14px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  border-left: 4px solid var(--accent);
  background: #f1f4f6;
}

.booking-form fieldset:disabled {
  opacity: 0.58;
}

.table-wrap {
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.4);
  background: #ffffff;
  box-shadow: none;
}

.data-table {
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(74, 87, 99, 0.24);
}

.data-table th {
  background: #1d5d35;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.data-table tbody tr:nth-child(even) td {
  background: #f4f6f8;
}

.data-table tbody tr:hover td {
  background: #e8edf1;
}

.admin-filter {
  gap: 8px;
}

.inspection-hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr);
  gap: 18px;
  padding: 24px;
}

.inspection-hero__copy {
  gap: 14px;
}

.inspection-hero__badges span {
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.28);
  background: #ffffff;
  color: var(--accent);
  font-size: 11px;
}

.inspection-metric {
  gap: 4px;
  padding: 14px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.28);
  background: #ffffff;
}

.inspection-shell {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 18px;
}

.inspection-main,
.inspection-sidebar {
  gap: 14px;
}

.inspection-sidebar {
  top: 94px;
}

.category-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(74, 87, 99, 0.28);
  border-top: 4px solid #c7d0c9;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transform: none;
  box-shadow: none;
}

.category-card:hover {
  border-color: rgba(14, 107, 57, 0.34);
  border-top-color: rgba(14, 107, 57, 0.56);
  background: #f7faf7;
}

.category-card__index,
.step-item > span {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid rgba(14, 107, 57, 0.18);
  background: rgba(14, 107, 57, 0.08);
  color: var(--accent);
}

.category-card strong {
  color: #1b2a1f;
  font-size: 15px;
  line-height: 1.3;
}

.category-card span:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.category-card::after {
  content: "Нажмите для выбора";
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 24px;
  margin-top: 2px;
  padding: 2px 8px;
  border: 1px solid rgba(74, 87, 99, 0.22);
  border-radius: 2px;
  background: #f2f4f3;
  color: #667268;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card--active,
.step-item--current,
.step-item--done,
.chip--active {
  background: #f2f8f3;
  border-color: rgba(14, 107, 57, 0.52);
  border-top-color: var(--accent);
}

.category-card--active .category-card__index,
.step-item--current > span,
.step-item--done > span {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.category-card--active strong {
  color: var(--accent-strong);
}

.category-card--active::after {
  content: "Выбрано";
  border-color: rgba(14, 107, 57, 0.24);
  background: rgba(14, 107, 57, 0.12);
  color: var(--accent-strong);
}

.selection-banner {
  font-size: 14px;
}

.slot-legend {
  gap: 8px;
  padding: 10px 12px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.34);
  background: #f5f7f9;
}

.slot-layout {
  gap: 14px;
}

.chip,
.slot-button {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.46);
  background: #ffffff;
  color: #22313d;
  font-size: 13px;
}

.chip--active,
.slot-button--selected,
.slot-button--selected:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.slot-button--occupied {
  border-color: #d0a0a2;
  background: #f3dfdf;
  color: #8a3b3f;
}

.slot-button--locked {
  border-color: #cbcbcb;
  background: #ededed;
  color: #777777;
}

.summary-card {
  gap: 14px;
}

.step-item {
  gap: 12px;
  padding: 12px;
  border-radius: 2px;
  border: 1px solid rgba(74, 87, 99, 0.3);
  background: #ffffff;
}

.summary-list div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 87, 99, 0.24);
}

.summary-list div:last-child {
  border-bottom: none;
}

.summary-list dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-list dd {
  color: #15202a;
  font-size: 15px;
}

.whatsapp {
  width: 42px;
  height: 42px;
  bottom: 12px;
  right: 12px;
  animation: none;
}

.whatsapp img {
  border-radius: 2px;
  filter: grayscale(0.3);
}

.admin-dialog__backdrop {
  background: rgba(14, 20, 26, 0.68);
  backdrop-filter: none;
}

.admin-dialog__window {
  padding: 20px;
}

.admin-dialog__close {
  border-radius: 2px;
  background: #e6ebef;
  color: #20303c;
}

.admin-dialog__header p,
.admin-dialog__hint {
  color: var(--ink-soft);
}

.admin-dialog__footer button:not(.btn-link--accent) {
  background: #edf1f4;
}

.document-upload-form,
.documents-list {
  gap: 14px;
}

@media (max-width: 1000px) {
  .home__container--split,
  .page-hero,
  .inspection-hero,
  .inspection-shell,
  .contact-shell,
  .feedback-shell,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__copy h1,
  .hero-copy h1 {
    max-width: none;
  }

  .services__main-card {
    width: calc(50% - 7px);
  }
}

@media (max-width: 720px) {
  header,
  .header__color,
  .header__fixed {
    height: 70px;
    padding: 0 14px;
  }

  .progress-bar {
    top: 70px;
  }

  .page-section,
  .page-section--inspection {
    padding: 94px 0 40px;
  }

  .home {
    padding: 94px 0 36px;
  }

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

  .hero-copy,
  .hero-console,
  .page-hero,
  .inspection-hero,
  .cta-panel,
  .card,
  .control-card,
  .process-card,
  .service-card,
  .services__main-card,
  .summary-card,
  .portfolio-card,
  .metric-card,
  .detail-list > div,
  .contact-list > div,
  .note-panel,
  .category-card {
    padding: 16px;
  }

  .hero-strip,
  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid,
  .home__two-div,
  .category-grid,
  .auth-grid,
  .form-grid,
  .contact-shell,
  .feedback-shell {
    grid-template-columns: 1fr;
  }

  .services__main-card {
    width: 100%;
  }

  .footer {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.76rem;
  }

  h2 {
    font-size: 1.16rem;
  }

  .btn-link,
  .admin-row button,
  .auth-form button,
  .booking-form button,
  .form-actions button {
    width: 100%;
  }

  .hero-actions,
  .page-hero__actions,
  .form-actions,
  .admin-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-console__row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .hero-console__index {
    width: 40px;
    height: 40px;
  }
}

/* final theme overrides */

:root {
  --bg: #f6f2eb;
  --bg-top: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #faf7f2;
  --surface-dark: #20262d;
  --surface-dark-2: #2b3440;
  --ink: #1f2730;
  --ink-soft: #5f6d79;
  --line: rgba(31, 39, 48, 0.12);
  --line-strong: rgba(31, 39, 48, 0.22);
  --accent: #d22d27;
  --accent-strong: #b6211c;
  --accent-soft: rgba(210, 45, 39, 0.08);
  --success: #2f6e4e;
  --danger: #b73a31;
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow-lg: 0 26px 60px rgba(24, 31, 39, 0.08);
  --shadow-md: 0 14px 30px rgba(24, 31, 39, 0.06);
  --content-width: 1240px;
}

body,
button,
input,
textarea,
select {
  font-family: "PT Sans", "Segoe UI", sans-serif;
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 72%, #f1ece4 100%);
}

body::before {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: "PT Sans Caption", "PT Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.75rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.45rem);
}

::selection {
  background: rgba(210, 45, 39, 0.14);
}

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

header,
.header__color,
.header__fixed {
  height: 84px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

header::before,
.header__color::before,
.header__fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 18%, rgba(210, 45, 39, 0) 58%);
}

.progress-bar {
  top: 84px;
  background: linear-gradient(90deg, var(--accent) 0%, #ef564f 100%);
}

.logo {
  width: clamp(140px, 14vw, 185px);
}

.navbar {
  gap: 12px;
}

.navbar a,
.navbars a {
  padding: 28px 0 22px;
  margin: 0 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #2c3641;
  border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.navbar__left {
  gap: 18px;
}

.navbar__left div a {
  font-size: 18px;
}

.navbar__left div span {
  background: #f1ebe2;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn2:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.menu {
  filter: brightness(0) saturate(100%) invert(15%) sepia(14%) saturate(670%) hue-rotate(169deg) brightness(95%) contrast(90%);
}

.modal {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 28px 65px rgba(16, 22, 28, 0.12);
}

.page-section,
.page-section--inspection {
  padding: 128px 0 56px;
}

.home {
  padding: 118px 0 54px;
  background: transparent;
}

.home::before {
  display: none;
}

.home > .home__container {
  display: none;
}

.portal-links-wrap {
  display: grid;
  gap: 12px;
}

.portal-links-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  font-family: "PT Sans Caption", "PT Sans", sans-serif;
}

.portal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(119, 96, 70, 0.14);
  border-radius: var(--radius-md);
  background: #f2ede4;
  color: #59452d;
  font-weight: 700;
}

.portal-link:hover {
  border-color: rgba(119, 96, 70, 0.26);
  background: #ebe3d7;
}

.home-news-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(420px, 2fr) minmax(220px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.news-card--lead {
  padding: 32px 28px;
  border-top-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
}

.news-card--lead p {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(119, 96, 70, 0.16);
  border-radius: 999px;
  background: #f4eee5;
  color: #6a5132;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 39, 48, 0.08);
}

.news-card__footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__footer span {
  color: var(--ink-soft);
}

.news-card--feature {
  position: relative;
  min-height: 540px;
  padding: 0;
  border-top-color: var(--accent);
  color: #ffffff;
}

.news-card--feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 16, 21, 0.18) 24%, rgba(12, 16, 21, 0.82) 100%);
}

.news-card__overlay .news-card__meta span,
.news-card--promo .news-card__meta span {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.news-card__overlay h2,
.news-card--promo h3 {
  color: #ffffff;
}

.home-side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

.news-card--promo {
  padding: 24px 22px;
  color: #ffffff;
  text-decoration: none;
}

.news-card--promo p {
  color: rgba(255, 255, 255, 0.88);
}

.news-card--blue {
  background: linear-gradient(180deg, #3c6987 0%, #2f5874 100%);
}

.news-card--red {
  background: linear-gradient(180deg, #db3a32 0%, #c42821 100%);
}

.section-kicker,
.hero-console__tag,
.control-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(119, 96, 70, 0.16);
  border-radius: 999px;
  background: #f4eee5;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-link,
.admin-row button,
.auth-form button,
.booking-form button,
.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #cbd3da;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.btn-link--accent,
.admin-row button,
.auth-form button,
.booking-form button,
.form-actions button {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-link--accent:hover,
.admin-row button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #ffffff;
}

.btn-link--ghost {
  background: #f6f1e8;
  border-color: rgba(119, 96, 70, 0.16);
  color: var(--ink);
}

.btn-link--ghost:hover {
  background: #f2e9dc;
  border-color: rgba(119, 96, 70, 0.24);
  color: var(--ink);
}

.hero-actions,
.page-hero__actions,
.form-actions,
.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card,
.control-card,
.process-card,
.service-card,
.portfolio-card,
.summary-card,
.metric-card,
.note-panel,
.detail-list > div,
.contact-list > div,
.category-card,
.public-record-card,
.admin-appointment,
.table-wrap {
  border: 1px solid var(--line);
  border-top: 4px solid #d7c4ac;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: none;
}

.card::before,
.control-card::before {
  display: none;
}

.card--feature,
.page-hero__copy,
.inspection-hero__copy,
.cta-panel {
  border-top-color: var(--accent);
}

.metric-card {
  border-top-color: #b58a57;
  background: #f7f2ea;
}

.page-hero,
.inspection-hero {
  gap: 22px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero__copy,
.inspection-hero__copy {
  position: relative;
  padding: 34px 36px 36px;
  background: #ffffff;
  overflow: hidden;
}

.page-hero__copy::after,
.inspection-hero__copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(210, 45, 39, 0.14), transparent 68%);
  pointer-events: none;
}

.page-hero__panel,
.inspection-hero__meta {
  display: grid;
  gap: 16px;
}

.inspection-hero__badges span {
  border: 1px solid rgba(119, 96, 70, 0.14);
  border-radius: 999px;
  background: #f4eee5;
  color: #6a5132;
}

.hero-console {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid #405f7c;
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.hero-console__index {
  background: var(--accent);
  color: #ffffff;
}

.home__two {
  padding: 16px 0 0;
  background: transparent;
}

.home__two-div {
  gap: 18px;
}

.home__two-div > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
}

.home__two-div > div::before,
.home__two-div > div::after {
  display: none;
}

.home__two-div > div p {
  padding: 16px 18px 18px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea,
select {
  border: 1px solid #cbd3da;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
}

.data-table th {
  background: #f4efe7;
  color: #4e5c68;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(31, 39, 48, 0.08);
}

footer {
  margin-top: 52px;
  padding: 32px 0 38px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

footer .navbars a {
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 1180px) {
  .home-news-grid,
  .page-hero,
  .inspection-hero,
  .inspection-shell,
  .contact-shell,
  .feedback-shell,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .home-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .news-card--feature {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  header,
  .header__color,
  .header__fixed {
    height: 76px;
    padding: 0 16px;
  }

  .progress-bar {
    top: 76px;
  }

  .page-section,
  .page-section--inspection {
    padding: 112px 0 42px;
  }

  .home {
    padding: 108px 0 42px;
  }

  .home-side-stack,
  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid,
  .home__two-div,
  .auth-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .news-card--feature {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--content-width), calc(100% - 28px));
  }

  .hero-actions,
  .page-hero__actions,
  .form-actions,
  .admin-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-link,
  .btn2,
  .admin-row button,
  .auth-form button,
  .booking-form button,
  .form-actions button {
    width: 100%;
  }

  .home-side-stack {
    grid-template-columns: 1fr;
  }
}

/* mos.ru-inspired redesign overrides */

:root {
  --bg: #f6f2eb;
  --bg-top: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #faf7f2;
  --surface-dark: #20262d;
  --surface-dark-2: #2b3440;
  --ink: #1f2730;
  --ink-soft: #5f6d79;
  --line: rgba(31, 39, 48, 0.12);
  --line-strong: rgba(31, 39, 48, 0.22);
  --white-soft: rgba(255, 255, 255, 0.9);
  --white-line: rgba(255, 255, 255, 0.16);
  --accent: #d22d27;
  --accent-strong: #b6211c;
  --accent-soft: rgba(210, 45, 39, 0.08);
  --success: #2f6e4e;
  --danger: #b73a31;
  --radius-xl: 10px;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow-lg: 0 26px 60px rgba(24, 31, 39, 0.08);
  --shadow-md: 0 14px 30px rgba(24, 31, 39, 0.06);
  --content-width: 1240px;
}

body,
button,
input,
textarea,
select {
  font-family: "PT Sans", "Segoe UI", sans-serif;
}

body {
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 72%, #f1ece4 100%);
}

body::before {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: "PT Sans Caption", "PT Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.75rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.45rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.24rem;
}

::selection {
  background: rgba(210, 45, 39, 0.14);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(210, 45, 39, 0.2);
}

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

header,
.header__color,
.header__fixed {
  height: 84px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

header::before,
.header__color::before,
.header__fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 18%, rgba(210, 45, 39, 0) 58%);
}

.progress-bar {
  top: 84px;
  background: linear-gradient(90deg, var(--accent) 0%, #ef564f 100%);
}

.logo {
  width: clamp(140px, 14vw, 185px);
}

.navbar {
  gap: 12px;
}

.navbar a,
.navbars a {
  padding: 28px 0 22px;
  margin: 0 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #2c3641;
  border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.navbar__left {
  gap: 18px;
}

.navbar__left div a {
  font-size: 18px;
  font-weight: 700;
}

.navbar__left div span {
  padding: 4px 10px;
  background: #f1ebe2;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn2:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.menu {
  filter: brightness(0) saturate(100%) invert(15%) sepia(14%) saturate(670%) hue-rotate(169deg) brightness(95%) contrast(90%);
}

.overlay {
  background: rgba(20, 24, 29, 0.46);
  backdrop-filter: blur(4px);
}

.modal {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 28px 65px rgba(16, 22, 28, 0.12);
}

.modal a {
  font-weight: 700;
}

.page-section,
.page-section--inspection {
  padding: 128px 0 56px;
}

.home {
  padding: 118px 0 54px;
  background: transparent;
}

.home::before {
  display: none;
}

.home > .home__container {
  display: none;
}

.portal-links-wrap {
  display: grid;
  gap: 12px;
}

.portal-links-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  font-family: "PT Sans Caption", "PT Sans", sans-serif;
}

.portal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(119, 96, 70, 0.14);
  border-radius: var(--radius-md);
  background: #f2ede4;
  color: #59452d;
  font-weight: 700;
}

.portal-link:hover {
  border-color: rgba(119, 96, 70, 0.26);
  background: #ebe3d7;
}

.home-news-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(420px, 2fr) minmax(220px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(24, 31, 39, 0.08);
}

.news-card--lead {
  padding: 32px 28px;
  border-top-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
}

.news-card--lead h1 {
  max-width: 12ch;
}

.news-card--lead p {
  max-width: 30rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news-card__meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(119, 96, 70, 0.16);
  border-radius: 999px;
  background: #f4eee5;
  color: #6a5132;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 39, 48, 0.08);
}

.news-card__footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__footer span {
  color: var(--ink-soft);
}

.news-card--feature {
  position: relative;
  min-height: 540px;
  padding: 0;
  border-top-color: var(--accent);
  color: #ffffff;
}

.news-card--feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 16, 21, 0.18) 24%, rgba(12, 16, 21, 0.82) 100%);
}

.news-card__overlay .news-card__meta span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.news-card__overlay h2 {
  color: #ffffff;
  max-width: 14ch;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
}

.home-side-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

.news-card--promo {
  padding: 24px 22px;
  color: #ffffff;
  text-decoration: none;
}

.news-card--promo h3 {
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1.08;
}

.news-card--promo p {
  color: rgba(255, 255, 255, 0.88);
}

.news-card--promo .news-card__meta span {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.news-card--blue {
  background: linear-gradient(180deg, #3c6987 0%, #2f5874 100%);
}

.news-card--red {
  background: linear-gradient(180deg, #db3a32 0%, #c42821 100%);
}

.section-kicker,
.hero-console__tag,
.control-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(119, 96, 70, 0.16);
  border-radius: 999px;
  background: #f4eee5;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-link,
.admin-row button,
.auth-form button,
.booking-form button,
.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #cbd3da;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.btn-link:hover,
.admin-row button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff9f8;
}

.btn-link--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-link--accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #ffffff;
}

.btn-link--ghost {
  background: #f6f1e8;
  border-color: rgba(119, 96, 70, 0.16);
  color: var(--ink);
}

.btn-link--ghost:hover {
  background: #f2e9dc;
  border-color: rgba(119, 96, 70, 0.24);
  color: var(--ink);
}

.hero-actions,
.page-hero__actions,
.form-actions,
.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card,
.control-card,
.process-card,
.service-card,
.portfolio-card,
.summary-card,
.metric-card,
.note-panel,
.detail-list > div,
.contact-list > div,
.category-card,
.public-record-card,
.admin-appointment {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid #d7c4ac;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.card::before,
.control-card::before {
  display: none;
}

.card--feature {
  border-top-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
}

.metric-card {
  border-top-color: #b58a57;
  background: #f7f2ea;
}

.metric-card span,
.hero-console__header p,
.hero-console__row p,
.hero-console__footer,
.control-card p,
.control-card li,
.page-hero__copy p,
.inspection-hero__copy p {
  color: var(--ink-soft);
}

.page-hero,
.inspection-hero {
  gap: 22px;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero__copy,
.inspection-hero__copy {
  position: relative;
  padding: 34px 36px 36px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: #ffffff;
  overflow: hidden;
}

.page-hero__copy::after,
.inspection-hero__copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at top right, rgba(210, 45, 39, 0.14), transparent 68%);
  pointer-events: none;
}

.page-hero__copy h1,
.inspection-hero h1,
.inspection-hero h2 {
  max-width: 13ch;
}

.page-hero__panel,
.inspection-hero__meta {
  display: grid;
  gap: 16px;
}

.inspection-hero__badges span {
  border-radius: 999px;
  border: 1px solid rgba(119, 96, 70, 0.14);
  background: #f4eee5;
  color: #6a5132;
}

.hero-console {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid #405f7c;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: none;
}

.hero-console__body {
  gap: 14px;
}

.hero-console__row {
  grid-template-columns: 52px minmax(0, 1fr);
  padding-top: 14px;
  border-top: 1px solid rgba(31, 39, 48, 0.08);
}

.hero-console__index {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
}

.control-grid,
.process-grid,
.service-grid,
.card-grid,
.portfolio-grid {
  gap: 18px;
}

.home__two {
  padding: 16px 0 0;
  background: transparent;
}

.home__two-div {
  gap: 18px;
}

.home__two-div > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
}

.home__two-div > div::before,
.home__two-div > div::after {
  display: none;
}

.home__two-div > div img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home__two-div > div p {
  padding: 16px 18px 18px;
  color: var(--ink);
  font-weight: 700;
}

.home__two-div > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(24, 31, 39, 0.07);
}

.service-card__price {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3ece2;
  color: var(--accent);
  font-weight: 700;
}

.cta-panel {
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: none;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(31, 39, 48, 0.08);
}

.data-table th {
  background: #f4efe7;
  color: #4e5c68;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd3da;
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: #8895a0;
}

.auth-form label,
.booking-form label {
  color: var(--ink);
  font-weight: 700;
}

.admin-toolbar,
.admin-filter,
.public-filter {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.admin-filter,
.public-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
}

.step-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.step-item > span {
  border: 1px solid rgba(119, 96, 70, 0.16);
  background: #f3ece2;
  color: var(--accent);
}

.step-item--current > span,
.step-item--done > span {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.slot-button {
  border-radius: var(--radius-md);
  border: 1px solid #cad2d9;
  background: #ffffff;
}

.slot-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slot-button--selected,
.slot-button--selected:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.slot-button--occupied {
  background: #f4e1dc;
  border-color: #e2b2aa;
  color: #95382b;
}

.slot-button--locked {
  background: #eef1f4;
  border-color: #d5dde3;
  color: #77828d;
}

.contact-shell,
.inspection-shell,
.feedback-shell {
  gap: 22px;
}

footer {
  margin-top: 52px;
  padding: 32px 0 38px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

footer .navbars {
  gap: 18px;
}

footer .navbars a {
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  color: var(--accent);
}

.page-nav-note {
  margin-top: 14px;
  color: var(--ink-soft);
}

@media (max-width: 1180px) {
  .home-news-grid,
  .page-hero,
  .inspection-hero,
  .inspection-shell,
  .contact-shell,
  .feedback-shell,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .home-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .news-card--feature {
    min-height: 430px;
  }
}

@media (max-width: 820px) {
  header,
  .header__color,
  .header__fixed {
    height: 76px;
    padding: 0 16px;
  }

  .progress-bar {
    top: 76px;
  }

  .page-section,
  .page-section--inspection {
    padding: 112px 0 42px;
  }

  .home {
    padding: 108px 0 42px;
  }

  .portal-links {
    gap: 10px;
  }

  .portal-link {
    padding: 0 14px;
  }

  .news-card--lead,
  .news-card--promo,
  .page-hero__copy,
  .inspection-hero__copy,
  .hero-console,
  .card,
  .control-card,
  .process-card,
  .service-card,
  .summary-card,
  .portfolio-card,
  .metric-card,
  .note-panel,
  .category-card,
  .admin-toolbar,
  .admin-filter,
  .public-filter {
    padding: 18px;
  }

  .home-side-stack,
  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid,
  .home__two-div,
  .auth-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .news-card--feature {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--content-width), calc(100% - 28px));
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.28rem;
  }

  .portal-links-label {
    font-size: 1.2rem;
  }

  .hero-actions,
  .page-hero__actions,
  .form-actions,
  .admin-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-link,
  .btn2,
  .admin-row button,
  .auth-form button,
  .booking-form button,
  .form-actions button {
    width: 100%;
  }

  .home-side-stack {
    grid-template-columns: 1fr;
  }
}

/* Comfort refinement override */
:root {
  --bg: #f3f5ef;
  --bg-top: #fafbf8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(247, 249, 245, 0.95);
  --surface-dark: #23362d;
  --surface-dark-2: #1b2b24;
  --ink: #1d2922;
  --ink-soft: #55645b;
  --line: rgba(29, 41, 34, 0.12);
  --line-strong: rgba(43, 106, 74, 0.24);
  --white-soft: rgba(255, 255, 255, 0.88);
  --white-line: rgba(255, 255, 255, 0.22);
  --accent: #2b6a4a;
  --accent-strong: #215239;
  --accent-soft: rgba(43, 106, 74, 0.1);
  --success: #2f7a55;
  --danger: #b24a4f;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-lg: 0 20px 44px rgba(22, 34, 27, 0.08);
  --shadow-md: 0 12px 30px rgba(22, 34, 27, 0.07);
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
  font-family: "PT Sans", "Segoe UI", sans-serif;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(43, 106, 74, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  background-image:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.34), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(43, 106, 74, 0.06), transparent 18%);
  background-size: auto;
  opacity: 0.82;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #19241e;
  font-family: "PT Sans Caption", "PT Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-transform: none;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

h3 {
  font-size: 1.08rem;
}

p,
li,
label,
td,
th,
dd,
dt,
span {
  line-height: 1.72;
}

li::marker {
  color: rgba(43, 106, 74, 0.72);
}

a,
button {
  transition: 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(43, 106, 74, 0.18);
  outline-offset: 4px;
}

header,
.header__color,
.header__fixed {
  height: 84px;
  padding: 0 22px;
  background: rgba(248, 250, 246, 0.9);
  border-bottom: 1px solid rgba(29, 41, 34, 0.1);
  box-shadow: 0 10px 30px rgba(22, 34, 27, 0.05);
  backdrop-filter: blur(14px);
}

.progress-bar {
  top: 84px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #7ea78f 100%);
}

.navbar,
.navbars {
  gap: 8px;
  align-self: auto;
  align-items: center;
  height: auto;
}

.navbar a,
.navbars a {
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(29, 41, 34, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}

.navbar a:last-child,
.navbars a:last-child {
  border-right: none;
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  background: rgba(43, 106, 74, 0.08);
  color: var(--ink);
  box-shadow: none;
}

.navbar__left {
  gap: 14px;
  padding-left: 0;
  border-left: none;
}

.navbar__left div a {
  color: var(--ink);
}

.navbar__left div span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 106, 74, 0.14);
  background: rgba(43, 106, 74, 0.08);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.btn2 {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(43, 106, 74, 0.16);
  border-radius: var(--radius-md);
  background: rgba(43, 106, 74, 0.1);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: none;
}

.btn2:hover {
  border-color: rgba(43, 106, 74, 0.24);
  background: rgba(43, 106, 74, 0.14);
  color: var(--accent-strong);
}

.overlay {
  background: rgba(18, 27, 22, 0.44);
  backdrop-filter: blur(6px);
}

.modal {
  background: linear-gradient(180deg, rgba(249, 250, 247, 0.98), rgba(241, 245, 240, 0.98));
  color: var(--ink);
  border-left: 1px solid rgba(29, 41, 34, 0.1);
  box-shadow: -12px 0 32px rgba(18, 27, 22, 0.12);
}

.modal a {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.modal a:hover {
  border-color: rgba(43, 106, 74, 0.16);
  background: #ffffff;
}

.page-section {
  padding: 126px 0 78px;
}

.page-section--inspection {
  padding-top: 114px;
}

.stack {
  gap: 22px;
}

.card,
.control-card,
.process-card,
.service-card,
.portfolio-card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.summary-card,
.category-card,
.services__main-card,
.admin-dialog__window,
.hero-copy,
.hero-console,
.page-hero,
.inspection-hero,
.cta-panel,
.services__head-justify,
.table-wrap {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  border-top-width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 245, 0.88));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.section-intro {
  gap: 12px;
  max-width: 820px;
}

.section-intro p,
.page-nav-note,
.section-note,
.hero-copy p,
.hero-console__header p,
.hero-console__row p,
.hero-console__footer,
.control-card p,
.control-card li,
.process-card p,
.service-card p,
.service-card li,
.portfolio-card__body p,
.metric-card span,
.detail-list span,
.contact-list span,
.note-panel p,
.inspection-hero__copy p,
.step-item p,
.summary-list dt,
.selection-banner,
.slot-legend span,
.form-lock-note,
.data-table td,
.data-table td a {
  color: var(--ink-soft);
}

.section-kicker,
.hero-kicker,
.hero-console__tag,
.control-card__label,
.process-card__number,
.admin-dialog__eyebrow {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(43, 106, 74, 0.12);
  background: rgba(43, 106, 74, 0.08);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: none;
}

.page-nav-note {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.btn-link,
.admin-row button,
.chip,
.slot-button,
.inline-admin-panel button,
.inline-admin-toolbar button,
.auth-form button,
.booking-form button,
.form-actions button,
.admin-dialog__footer button {
  min-height: 50px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 41, 34, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 8px 18px rgba(22, 34, 27, 0.05);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-link:hover,
.admin-row button:hover,
.chip:hover,
.slot-button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover,
.admin-dialog__footer button:hover {
  border-color: rgba(43, 106, 74, 0.22);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(22, 34, 27, 0.08);
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button,
.admin-dialog__footer .btn-link--accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover,
.admin-dialog__footer .btn-link--accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-link--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent-strong);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-link--ghost:hover {
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-strong);
}

.danger {
  background: rgba(178, 74, 79, 0.1) !important;
  color: #8f363c !important;
  border-color: rgba(178, 74, 79, 0.2) !important;
}

.home {
  min-height: 100vh;
  padding: 134px 0 72px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(248, 250, 246, 0.9), rgba(236, 241, 235, 0.88)),
    url("../img/home.png") center/cover no-repeat;
}

.home::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(43, 106, 74, 0.08), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.42), transparent 20%);
  background-size: auto;
}

.home__container {
  color: var(--ink);
}

.home__container--split {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
}

.hero-copy,
.hero-console {
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  gap: 20px;
}

.hero-copy h1,
.page-hero__copy h1 {
  max-width: 14ch;
  color: var(--ink);
}

.hero-copy p,
.page-hero__copy p,
.inspection-hero__copy p {
  max-width: 760px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-actions,
.page-hero__actions,
.form-actions,
.admin-row,
.inspection-hero__badges {
  gap: 12px;
}

.hero-strip {
  gap: 12px;
}

.hero-strip__item {
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 41, 34, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.hero-strip__item strong,
.hero-console__row strong,
.inspection-metric strong,
.step-item strong,
.metric-card strong,
.detail-list strong,
.contact-list strong,
.note-panel strong {
  color: #213129;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero-strip__item span {
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-console {
  gap: 14px;
}

.hero-console__header {
  gap: 10px;
}

.hero-console__header h2 {
  color: var(--ink);
  font-size: clamp(1.26rem, 1.9vw, 1.7rem);
}

.hero-console__body {
  gap: 12px;
}

.hero-console__row {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 41, 34, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.hero-console__index,
.category-card__index,
.step-item > span {
  border-radius: 14px;
  background: rgba(43, 106, 74, 0.12);
  border: 1px solid rgba(43, 106, 74, 0.14);
  color: var(--accent-strong);
}

.hero-console__footer {
  padding-top: 14px;
  border-top: 1px solid rgba(29, 41, 34, 0.08);
  font-size: 13px;
}

.control-grid,
.process-grid,
.service-grid,
.portfolio-grid,
.card-grid,
.category-grid {
  gap: 18px;
}

.control-card,
.process-card,
.service-card,
.portfolio-card,
.services__main-card {
  padding: 24px;
}

.service-card__price,
.services__main-card-head p {
  font-family: "PT Sans Caption", "PT Sans", "Segoe UI", sans-serif;
  font-size: 1.9rem;
  color: var(--accent-strong);
  letter-spacing: 0;
}

.cta-panel,
.page-hero,
.inspection-hero {
  gap: 22px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 240, 0.9));
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.cta-panel h2,
.cta-panel p,
.inspection-hero h1,
.inspection-hero h2,
.inspection-hero p {
  color: var(--ink);
}

.cta-panel p {
  color: var(--ink-soft);
}

.page-hero__copy {
  gap: 18px;
}

.page-hero__panel,
.inspection-hero__meta,
.inspection-main,
.inspection-sidebar {
  gap: 16px;
}

.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.summary-card,
.category-card,
.step-item {
  padding: 18px;
}

.detail-list,
.contact-list,
.contact-shell,
.feedback-shell {
  gap: 16px;
}

.contact-list a,
.note-panel a,
.data-table td a {
  color: var(--accent);
  font-weight: 700;
}

.home__two {
  padding: 72px 0;
  background: transparent;
}

.home__two-div {
  gap: 16px;
}

.home__two-div div {
  height: 260px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.home__two-div div::before {
  background: linear-gradient(180deg, rgba(11, 17, 13, 0.04), rgba(16, 26, 20, 0.78));
}

.home__two-div div p {
  width: calc(100% - 28px);
  left: 14px;
  bottom: 14px;
  font-family: "PT Sans Caption", "PT Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.services {
  padding: 72px 0;
}

.services__head {
  gap: 22px;
}

.services__head-justify {
  padding: 24px;
}

.services__main {
  gap: 18px;
}

.services__main-card {
  width: calc(33.333% - 12px);
  min-width: 260px;
}

.services__main-card-head {
  gap: 14px;
}

footer {
  padding: 0 0 28px;
  background: transparent;
}

.footer {
  padding: 24px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #26372f, #2d4138);
  color: rgba(248, 251, 249, 0.84);
  box-shadow: var(--shadow-md);
}

footer .navbars a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(248, 251, 249, 0.8);
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.portfolio-card img {
  height: 230px;
  filter: saturate(0.94) contrast(1.01);
}

.portfolio-card__body {
  gap: 12px;
  padding: 20px;
}

.auth-form,
.booking-form {
  gap: 16px;
}

.auth-form label,
.booking-form label,
.admin-filter label,
.admin-dialog__field span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.booking-form input,
.booking-form textarea,
.booking-form select,
.admin-filter select,
.admin-filter input,
.data-table input,
.data-table select,
.admin-dialog__field input,
.admin-dialog__field textarea,
.admin-dialog__field select {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(29, 41, 34, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.auth-form textarea,
.booking-form textarea,
.admin-dialog__field textarea {
  min-height: 132px;
  line-height: 1.62;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus,
.admin-filter select:focus,
.admin-filter input:focus,
.data-table input:focus,
.data-table select:focus,
.admin-dialog__field input:focus,
.admin-dialog__field textarea:focus,
.admin-dialog__field select:focus {
  border-color: rgba(43, 106, 74, 0.28);
  box-shadow: 0 0 0 4px rgba(43, 106, 74, 0.08);
}

.form-lock-note,
.selection-banner,
.slot-legend {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.table-wrap {
  overflow: hidden;
}

.data-table {
  background: transparent;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(29, 41, 34, 0.08);
}

.data-table th {
  background: #e7eee5;
  color: #233329;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(247, 249, 245, 0.84);
}

.data-table tbody tr:hover td {
  background: rgba(234, 240, 235, 0.92);
}

.inspection-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
}

.inspection-hero__badges span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(43, 106, 74, 0.12);
  background: rgba(43, 106, 74, 0.08);
  color: var(--accent);
  font-size: 12px;
}

.inspection-metric {
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 41, 34, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.category-card {
  gap: 12px;
  border-color: rgba(29, 41, 34, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.category-card:hover {
  border-color: rgba(43, 106, 74, 0.2);
  background: rgba(249, 252, 248, 0.98);
}

.category-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.category-card span:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.58;
}

.category-card::after {
  margin-top: 4px;
  padding: 5px 10px;
  border: 1px solid rgba(29, 41, 34, 0.1);
  border-radius: 999px;
  background: rgba(248, 250, 247, 0.92);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.category-card--active,
.step-item--current,
.step-item--done,
.chip--active {
  background: rgba(237, 245, 239, 0.98);
  border-color: rgba(43, 106, 74, 0.24);
}

.category-card--active .category-card__index,
.step-item--current > span,
.step-item--done > span {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.category-card--active strong {
  color: var(--accent-strong);
}

.category-card--active::after {
  border-color: rgba(43, 106, 74, 0.14);
  background: rgba(43, 106, 74, 0.08);
  color: var(--accent-strong);
}

.chip,
.slot-button {
  min-height: 44px;
  font-size: 14px;
}

.chip--active,
.slot-button--selected,
.slot-button--selected:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.slot-button--occupied {
  border-color: rgba(178, 74, 79, 0.24);
  background: rgba(178, 74, 79, 0.08);
  color: #8f363c;
}

.slot-button--locked {
  border-color: rgba(29, 41, 34, 0.1);
  background: rgba(29, 41, 34, 0.05);
  color: #6e7872;
}

.summary-card {
  gap: 16px;
}

.step-item {
  gap: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 41, 34, 0.1);
  background: rgba(255, 255, 255, 0.78);
}

.summary-list div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(29, 41, 34, 0.08);
}

.summary-list dt {
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.summary-list dd {
  color: var(--ink);
  font-size: 15px;
}

.whatsapp {
  width: 46px;
  height: 46px;
  bottom: 16px;
  right: 16px;
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(22, 34, 27, 0.12);
}

.whatsapp img {
  border-radius: 14px;
  filter: none;
}

.admin-dialog__backdrop {
  background: rgba(18, 27, 22, 0.48);
  backdrop-filter: blur(8px);
}

.admin-dialog__window {
  padding: 22px;
}

.admin-dialog__close {
  border-radius: 12px;
  background: rgba(29, 41, 34, 0.06);
  color: var(--ink);
}

.admin-dialog__header p,
.admin-dialog__hint {
  color: var(--ink-soft);
}

.documents-list,
.document-upload-form {
  gap: 16px;
}

@media (max-width: 1000px) {
  .home__container--split,
  .page-hero,
  .inspection-hero,
  .inspection-shell,
  .contact-shell,
  .feedback-shell,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__main-card {
    width: calc(50% - 9px);
  }
}

@media (max-width: 720px) {
  header,
  .header__color,
  .header__fixed {
    height: 72px;
    padding: 0 14px;
  }

  .progress-bar {
    top: 72px;
  }

  .page-section,
  .page-section--inspection {
    padding: 96px 0 42px;
  }

  .home {
    padding: 96px 0 38px;
  }

  .hero-copy,
  .hero-console,
  .page-hero,
  .inspection-hero,
  .cta-panel,
  .card,
  .control-card,
  .process-card,
  .service-card,
  .services__main-card,
  .summary-card,
  .portfolio-card,
  .metric-card,
  .detail-list > div,
  .contact-list > div,
  .note-panel,
  .category-card {
    padding: 18px;
  }

  .hero-strip,
  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid,
  .home__two-div,
  .category-grid,
  .auth-grid,
  .form-grid,
  .contact-shell,
  .feedback-shell {
    grid-template-columns: 1fr;
  }

  .services__main-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.28rem;
  }

  .btn-link,
  .admin-row button,
  .auth-form button,
  .booking-form button,
  .form-actions button {
    width: 100%;
  }

  .hero-actions,
  .page-hero__actions,
  .form-actions,
  .admin-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-console__row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .hero-console__index {
    width: 40px;
    height: 40px;
  }
}

/* Strict retro refinement */
:root {
  --bg: #e8ece8;
  --bg-top: #f4f6f2;
  --surface: #f7f8f6;
  --surface-2: #eff2ee;
  --surface-dark: #273238;
  --surface-dark-2: #1f292e;
  --ink: #1d252b;
  --ink-soft: #5a666d;
  --line: rgba(32, 41, 47, 0.18);
  --line-strong: rgba(46, 78, 61, 0.34);
  --white-soft: rgba(255, 255, 255, 0.9);
  --white-line: rgba(255, 255, 255, 0.26);
  --accent: #355947;
  --accent-strong: #274538;
  --accent-soft: rgba(53, 89, 71, 0.09);
  --success: #355947;
  --danger: #a84a4d;
  --radius-xl: 4px;
  --radius-lg: 4px;
  --radius-md: 3px;
  --shadow-lg: none;
  --shadow-md: none;
}

html {
  scroll-behavior: auto;
}

body,
button,
input,
textarea,
select {
  font-family: "PT Sans Caption", "PT Sans", "Trebuchet MS", sans-serif;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 220px),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  line-height: 1.58;
}

body::before {
  background-image:
    linear-gradient(rgba(29, 37, 43, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 37, 43, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #182129;
  font-family: "PT Sans Narrow", "PT Sans Caption", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

h2 {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

h3 {
  font-size: 1.02rem;
}

p,
li,
label,
td,
th,
dd,
dt,
span {
  line-height: 1.6;
}

a,
button {
  transition: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(53, 89, 71, 0.26);
  outline-offset: 2px;
}

header,
.header__color,
.header__fixed {
  height: 78px;
  padding: 0 18px;
  background: rgba(248, 249, 246, 0.98);
  border-bottom: 3px solid var(--accent);
  box-shadow: none;
  backdrop-filter: none;
}

.progress-bar {
  top: 78px;
  height: 4px;
  background: var(--accent);
}

.navbar,
.navbars {
  gap: 0;
  align-self: stretch;
  align-items: stretch;
  height: 100%;
}

.navbar a,
.navbars a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0 12px;
  border: none;
  border-left: 1px solid rgba(29, 37, 43, 0.1);
  border-radius: 0;
  background: transparent;
  color: #2f3a43;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.navbar a:last-child,
.navbars a:last-child {
  border-right: 1px solid rgba(29, 37, 43, 0.1);
}

.navbar a:hover,
.navbars a:hover,
.navbar a.active,
.navbar a[aria-current="page"],
.navbars a[aria-current="page"],
.modal a[aria-current="page"] {
  background: #edf2ed;
  color: var(--accent-strong);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.navbar__left {
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(29, 37, 43, 0.1);
}

.navbar__left div a {
  color: var(--accent);
}

.navbar__left div span {
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(53, 89, 71, 0.2);
  background: rgba(53, 89, 71, 0.08);
  color: var(--accent-strong);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn2 {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn2:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
}

.overlay {
  background: rgba(19, 26, 32, 0.72);
  backdrop-filter: none;
}

.modal {
  background: #f3f5f4;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  box-shadow: none;
}

.modal a {
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.34);
  background: #ffffff;
}

.modal a:hover {
  background: #edf1f0;
}

.page-section {
  padding: 112px 0 64px;
}

.page-section--inspection {
  padding-top: 102px;
}

.stack {
  gap: 18px;
}

.card,
.control-card,
.process-card,
.service-card,
.portfolio-card,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.summary-card,
.category-card,
.services__main-card,
.admin-dialog__window,
.hero-copy,
.hero-console,
.page-hero,
.inspection-hero,
.cta-panel,
.services__head-justify,
.table-wrap {
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.34);
  border-top: 4px solid var(--accent);
  background: #f7f8f6;
  box-shadow: none;
  backdrop-filter: none;
}

.section-intro {
  gap: 8px;
}

.section-kicker,
.hero-kicker,
.hero-console__tag,
.control-card__label,
.process-card__number,
.admin-dialog__eyebrow {
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid rgba(53, 89, 71, 0.18);
  background: rgba(53, 89, 71, 0.08);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-nav-note,
.form-lock-note,
.selection-banner,
.slot-legend {
  padding: 12px 14px;
  border: 1px solid rgba(90, 102, 109, 0.34);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  background: #f1f4f3;
}

.btn-link,
.admin-row button,
.chip,
.slot-button,
.inline-admin-panel button,
.inline-admin-toolbar button,
.auth-form button,
.booking-form button,
.form-actions button,
.admin-dialog__footer button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.48);
  background: #edf1f0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.btn-link:hover,
.admin-row button:hover,
.chip:hover,
.slot-button:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover,
.admin-dialog__footer button:hover {
  border-color: var(--accent);
  background: #dfe7e2;
  transform: none;
  box-shadow: none;
}

.btn-link--accent,
.hero-actions .btn-link,
.auth-form button,
.booking-form button,
.form-actions button,
.admin-dialog__footer .btn-link--accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-link--accent:hover,
.hero-actions .btn-link:hover,
.auth-form button:hover,
.booking-form button:hover,
.form-actions button:hover,
.admin-dialog__footer .btn-link--accent:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-link--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.46);
}

.btn-link--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.danger {
  background: #f1dede !important;
  color: #a03a3d !important;
  border-color: #d3a1a4 !important;
}

.home {
  min-height: auto;
  padding: 118px 0 54px;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(243, 245, 242, 0.96), rgba(226, 230, 227, 0.96)),
    url("../img/home.png") center/cover no-repeat;
}

.home::before {
  background:
    linear-gradient(90deg, rgba(29, 37, 43, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(29, 37, 43, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.home__container--split {
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.78fr);
  gap: 16px;
}

.hero-copy,
.hero-console,
.page-hero,
.inspection-hero,
.cta-panel {
  padding: 24px;
  background: rgba(247, 248, 246, 0.97);
}

.hero-copy {
  gap: 18px;
}

.hero-copy h1,
.page-hero__copy h1 {
  max-width: 14ch;
  color: #172028;
}

.hero-copy p,
.page-hero__copy p,
.inspection-hero__copy p {
  font-size: 1rem;
}

.hero-actions,
.page-hero__actions,
.form-actions,
.admin-row,
.inspection-hero__badges {
  gap: 8px;
}

.hero-strip {
  gap: 8px;
}

.hero-strip__item,
.hero-console__row,
.metric-card,
.detail-list > div,
.contact-list > div,
.note-panel,
.summary-card,
.category-card,
.step-item,
.inspection-metric {
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.28);
  background: #ffffff;
  box-shadow: none;
}

.hero-strip__item {
  padding: 14px;
}

.hero-strip__item strong,
.hero-console__row strong,
.inspection-metric strong,
.step-item strong,
.metric-card strong,
.detail-list strong,
.contact-list strong,
.note-panel strong {
  color: #1c2831;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-strip__item span {
  font-size: 13px;
}

.hero-console {
  gap: 12px;
}

.hero-console__header {
  gap: 8px;
}

.hero-console__header h2 {
  color: #172028;
  font-size: clamp(1.18rem, 1.8vw, 1.52rem);
}

.hero-console__body {
  gap: 10px;
}

.hero-console__row {
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.hero-console__index,
.category-card__index,
.step-item > span {
  border-radius: 2px;
  border: 1px solid rgba(53, 89, 71, 0.18);
  background: rgba(53, 89, 71, 0.08);
  color: var(--accent);
}

.control-grid,
.process-grid,
.service-grid,
.portfolio-grid,
.card-grid,
.category-grid {
  gap: 14px;
}

.control-card,
.process-card,
.service-card,
.portfolio-card,
.services__main-card {
  padding: 20px;
}

.service-card__price,
.services__main-card-head p {
  font-family: "PT Sans Narrow", "PT Sans Caption", "Trebuchet MS", sans-serif;
  font-size: 1.8rem;
  color: var(--accent-strong);
  letter-spacing: 0.02em;
}

.cta-panel,
.page-hero,
.inspection-hero {
  gap: 18px;
  color: var(--ink);
}

.cta-panel h2,
.cta-panel p,
.inspection-hero h1,
.inspection-hero h2,
.inspection-hero p {
  color: var(--ink);
}

.cta-panel p {
  color: var(--ink-soft);
}

.page-hero__copy,
.inspection-hero__copy,
.cta-panel__content,
.page-hero__panel,
.inspection-hero__meta,
.inspection-main,
.inspection-sidebar {
  gap: 14px;
}

.home__two {
  padding: 64px 0;
}

.home__two-div {
  gap: 12px;
}

.home__two-div div {
  height: 220px;
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.34);
  border-top: 4px solid var(--accent);
  box-shadow: none;
}

.home__two-div div::before {
  background: linear-gradient(180deg, rgba(29, 37, 43, 0.08), rgba(29, 37, 43, 0.82));
}

.home__two-div div:hover::before {
  background: linear-gradient(180deg, rgba(29, 37, 43, 0.08), rgba(29, 37, 43, 0.82));
}

.home__two-div div p {
  width: calc(100% - 24px);
  left: 12px;
  bottom: 12px;
  font-family: "PT Sans Narrow", "PT Sans Caption", "Trebuchet MS", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services {
  padding: 64px 0;
}

.services__head {
  gap: 18px;
}

.services__head-justify {
  padding: 20px;
}

.services__main {
  gap: 14px;
}

.services__main-card {
  width: calc(33.333% - 10px);
  min-width: 260px;
}

.services__main-card-head {
  gap: 12px;
}

footer {
  padding: 0 0 24px;
}

.footer {
  padding: 20px 18px;
  border-radius: 2px;
  border-top: 4px solid #6a8074;
  background: #29353c;
  color: rgba(248, 251, 249, 0.88);
  box-shadow: none;
}

footer .navbars a {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: #eef3f0;
}

footer .navbars a:hover,
footer .navbars a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.portfolio-card:hover {
  transform: none;
  box-shadow: none;
}

.portfolio-card img {
  height: 220px;
  filter: saturate(0.92) contrast(1.02);
}

.portfolio-card__body {
  gap: 10px;
  padding: 18px;
}

.auth-grid,
.form-grid,
.contact-shell,
.feedback-shell {
  gap: 14px;
}

.auth-form,
.booking-form {
  gap: 14px;
}

.auth-form label,
.booking-form label,
.admin-filter label,
.admin-dialog__field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-form input,
.auth-form textarea,
.auth-form select,
.booking-form input,
.booking-form textarea,
.booking-form select,
.admin-filter select,
.admin-filter input,
.data-table input,
.data-table select,
.admin-dialog__field input,
.admin-dialog__field textarea,
.admin-dialog__field select {
  min-height: 48px;
  padding: 11px 12px;
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.46);
  background: #ffffff;
  color: var(--ink);
  box-shadow: none;
}

.auth-form textarea,
.booking-form textarea,
.admin-dialog__field textarea {
  min-height: 124px;
  line-height: 1.55;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus,
.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus,
.admin-filter select:focus,
.admin-filter input:focus,
.data-table input:focus,
.data-table select:focus,
.admin-dialog__field input:focus,
.admin-dialog__field textarea:focus,
.admin-dialog__field select:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.table-wrap {
  overflow: hidden;
}

.data-table {
  background: #ffffff;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(90, 102, 109, 0.24);
}

.data-table th {
  background: #dde4df;
  color: #243038;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tbody tr:nth-child(even) td {
  background: #f4f6f4;
}

.data-table tbody tr:hover td {
  background: #e8ede9;
}

.inspection-hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr);
}

.inspection-hero__badges span {
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(90, 102, 109, 0.28);
  background: #ffffff;
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
}

.inspection-metric {
  gap: 4px;
  padding: 14px;
}

.category-card {
  gap: 10px;
  text-align: left;
}

.category-card:hover {
  border-color: rgba(53, 89, 71, 0.34);
  border-top-color: rgba(53, 89, 71, 0.56);
  background: #f7faf7;
}

.category-card strong {
  color: #1b2630;
  font-size: 15px;
  line-height: 1.3;
}

.category-card span:last-child {
  font-size: 13px;
  line-height: 1.5;
}

.category-card::after {
  margin-top: 2px;
  padding: 2px 8px;
  border: 1px solid rgba(90, 102, 109, 0.22);
  border-radius: 2px;
  background: #f2f4f3;
  color: #667168;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-card--active,
.step-item--current,
.step-item--done,
.chip--active {
  background: #f1f6f2;
  border-color: rgba(53, 89, 71, 0.5);
  border-top-color: var(--accent);
}

.category-card--active .category-card__index,
.step-item--current > span,
.step-item--done > span,
.chip--active,
.slot-button--selected,
.slot-button--selected:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.category-card--active strong {
  color: var(--accent-strong);
}

.slot-button--occupied {
  border-color: #d0a0a2;
  background: #f1dede;
  color: #8e3b3f;
}

.slot-button--locked {
  border-color: #c9cdca;
  background: #eceeed;
  color: #777f7a;
}

.summary-card {
  gap: 14px;
}

.step-item {
  gap: 12px;
  padding: 12px;
}

.summary-list div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(90, 102, 109, 0.24);
}

.summary-list dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-list dd {
  color: #182129;
  font-size: 15px;
}

.whatsapp {
  width: 42px;
  height: 42px;
  bottom: 12px;
  right: 12px;
  border-radius: 2px;
  box-shadow: none;
}

.whatsapp img {
  border-radius: 2px;
  filter: grayscale(0.18);
}

.admin-dialog__backdrop {
  background: rgba(19, 26, 32, 0.68);
  backdrop-filter: none;
}

.admin-dialog__window {
  padding: 20px;
}

.admin-dialog__close {
  border-radius: 2px;
  background: #e6ebea;
  color: #20303c;
}

@media (max-width: 1000px) {
  .home__container--split,
  .page-hero,
  .inspection-hero,
  .inspection-shell,
  .contact-shell,
  .feedback-shell,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__main-card {
    width: calc(50% - 7px);
  }
}

@media (max-width: 720px) {
  header,
  .header__color,
  .header__fixed {
    height: 70px;
    padding: 0 14px;
  }

  .progress-bar {
    top: 70px;
  }

  .page-section,
  .page-section--inspection {
    padding: 94px 0 40px;
  }

  .home {
    padding: 94px 0 36px;
  }

  .hero-copy,
  .hero-console,
  .page-hero,
  .inspection-hero,
  .cta-panel,
  .card,
  .control-card,
  .process-card,
  .service-card,
  .services__main-card,
  .summary-card,
  .portfolio-card,
  .metric-card,
  .detail-list > div,
  .contact-list > div,
  .note-panel,
  .category-card {
    padding: 16px;
  }

  .hero-strip,
  .control-grid,
  .process-grid,
  .service-grid,
  .portfolio-grid,
  .card-grid,
  .home__two-div,
  .category-grid,
  .auth-grid,
  .form-grid,
  .contact-shell,
  .feedback-shell {
    grid-template-columns: 1fr;
  }

  .services__main-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.76rem;
  }

  h2 {
    font-size: 1.16rem;
  }

  .btn-link,
  .admin-row button,
  .auth-form button,
  .booking-form button,
  .form-actions button {
    width: 100%;
  }

  .hero-actions,
  .page-hero__actions,
  .form-actions,
  .admin-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-console__row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .hero-console__index {
    width: 40px;
    height: 40px;
  }
}
/* Custom additions for inspection/contact/admin updates */
.inspection-category-codes,
.inspection-info-grid,
.admin-check-grid {
  display: grid;
  gap: 12px;
}

.inspection-category-codes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
}

.inspection-category-code {
  display: inline;
  align-items: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.inspection-category-code b {
  margin-left: 6px;
  color: var(--ink);
  font-weight: 700;
}

.inspection-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.inspection-info-card {
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7fa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.inspection-category-code strong,
.inspection-info-card strong {
  display: block;
  margin-bottom: 8px;
}

.inspection-info-card strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.inspection-info-card span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.inspection-info-card--wide {
  grid-column: 1 / -1;
}

.form-checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
}

.form-checkbox-inline input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.contact-disclaimer {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #f4f4f6;
  font-size: 13px;
  line-height: 1.45;
  color: #333333;
}

.map-embed {
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.admin-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__color {
  gap: clamp(8px, 0.9vw, 12px);
}

.navbar {
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(6px, 0.8vw, 12px);
  padding-right: clamp(4px, 0.8vw, 10px);
}

.navbar a {
  white-space: nowrap;
  font-size: clamp(9px, 0.72vw, 11px);
  padding-left: clamp(2px, 0.35vw, 5px) !important;
  padding-right: clamp(2px, 0.35vw, 5px) !important;
}

.navbar__left {
  flex: 0 0 auto;
  margin-left: auto;
  gap: clamp(6px, 0.8vw, 12px);
}

.navbar__left div {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.navbar__left div a {
  line-height: 1.15;
}

.btn2 {
  min-height: clamp(26px, 2.2vw, 30px);
  padding: 0 clamp(8px, 0.9vw, 14px);
  font-size: clamp(10px, 0.75vw, 12px);
}

@media (max-width: 1366px) {
  .navbar__left div {
    display: none;
  }
}

@media (max-width: 980px) {
  .slot-layout {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .inspection-info-grid {
    grid-template-columns: 1fr;
  }
}
