@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&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;
}

.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;
}

.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;
  }

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

  .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) {
  .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 {
  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__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__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%;
  }
}
