:root {
  --blue: #0b5ed7;
  --blue-dark: #073f91;
  --blue-soft: #eaf2ff;
  --black: #070b12;
  --ink: #111827;
  --muted: #667085;
  --line: #d9e0ea;
  --light: #f5f7fb;
  --white: #ffffff;
  --steel: #202938;
  --shadow: 0 18px 48px rgba(7, 11, 18, 0.14);
  --radius: 8px;
  --max: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

:focus-visible {
  outline: 3px solid rgba(11, 94, 215, 0.35);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 11, 18, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 18, 0.98);
  box-shadow: 0 12px 34px rgba(7, 11, 18, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  min-width: max-content;
}

.brand-mark {
  display: block;
  width: 132px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: url("/assets/images/mta-logo.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.brand-text {
  display: none;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 9px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle svg,
.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 820;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(11, 94, 215, 0.24);
}

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

.btn-light {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.16);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
}

.btn-dark:hover {
  background: #151b27;
}

.site-main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 56px) 0 60px;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.93) 0%, rgba(7, 11, 18, 0.78) 43%, rgba(7, 11, 18, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.72), rgba(7, 11, 18, 0.12) 46%);
}

.hero-content {
  width: min(840px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #b9d4ff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--blue);
}

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

h1 {
  max-width: 950px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.96;
  font-weight: 940;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 940px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.proof-item svg {
  color: #8bbcff;
}

.section {
  padding: 88px 0;
}

.section-compact {
  padding: 64px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 11, 18, 0.96), rgba(20, 31, 46, 0.96)),
    radial-gradient(circle at 80% 10%, rgba(11, 94, 215, 0.24), transparent 34%);
}

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

.section-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--black);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 920;
  letter-spacing: 0;
}

.section-dark .section-title,
.section-dark .section-kicker {
  color: var(--white);
}

.section-copy {
  max-width: 620px;
  color: var(--muted);
}

.section-dark .section-copy,
.section-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.service-card,
.project-card,
.feature-card,
.contact-panel,
.quote-form,
.capacity-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 94, 215, 0.26);
  box-shadow: var(--shadow);
}

.service-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--steel);
}

.service-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
}

.service-card h3,
.feature-card h3,
.capacity-card h3,
.project-card h3 {
  margin-bottom: 10px;
  color: var(--black);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.service-card p,
.feature-card p,
.project-card p,
.capacity-card p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--blue);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.split-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 11, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.media-badge strong {
  font-size: 28px;
  line-height: 1;
}

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

.check-list li,
.clean-list li {
  position: relative;
  padding-left: 28px;
  color: var(--steel);
}

.check-list li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px #cfe1ff;
}

.section-dark .check-list li,
.section-dark .clean-list li {
  color: rgba(255, 255, 255, 0.82);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 680;
}

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 70px;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.92), rgba(7, 11, 18, 0.64) 58%, rgba(7, 11, 18, 0.24)),
    linear-gradient(0deg, rgba(7, 11, 18, 0.52), rgba(7, 11, 18, 0.1));
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 720;
}

.breadcrumbs a {
  color: #b9d4ff;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.rich-text h2 {
  color: var(--black);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.rich-text h3 {
  margin: 34px 0 10px;
  color: var(--black);
  font-size: 24px;
  line-height: 1.2;
}

.rich-text p {
  color: var(--steel);
}

.feature-card {
  padding: 24px;
}

.feature-card .service-icon {
  margin-bottom: 16px;
}

.cta-band {
  padding: 48px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 11, 18, 0.96), rgba(8, 54, 122, 0.96)),
    var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
}

.cta-band h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--white);
  background: var(--black);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td:first-child {
  color: var(--black);
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

.quote-form {
  padding: 28px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: var(--steel);
  font-size: 14px;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  min-height: 46px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.12);
  outline: 0;
}

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

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 8px;
  font-weight: 780;
}

.form-status.is-success {
  display: block;
  color: #085c2f;
  background: #e8f8ef;
  border: 1px solid #b7e6c8;
}

.form-status.is-error {
  display: block;
  color: #7a241b;
  background: #fff0ed;
  border: 1px solid #ffc4ba;
}

.contact-panel {
  padding: 28px;
}

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

.contact-list a,
.contact-list span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--steel);
  font-weight: 760;
}

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--steel);
  font-weight: 820;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.project-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card[hidden] {
  display: none;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-body {
  padding: 22px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.zone-map {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234, 242, 255, 0.86), rgba(245, 247, 251, 0.92)),
    #f5f7fb;
  box-shadow: var(--shadow);
}

.zone-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.city-point {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(11, 94, 215, 0.18);
  border-radius: 8px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.city-point::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(11, 94, 215, 0.12);
}

.city-main {
  color: var(--white);
  background: var(--blue);
}

.city-main::before {
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--black);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 58px 0;
}

.footer-title {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
}

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

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.floating-phone {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 38px rgba(11, 94, 215, 0.34);
  font-weight: 900;
}

.artisan-edit-bubble {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 130;
}

.artisan-login-area {
  display: flex;
  justify-content: flex-start;
  width: min(var(--max), calc(100% - 40px));
  margin: -10px auto 0;
  padding: 0 0 24px;
}

.artisan-login-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 11, 18, 0.9);
  box-shadow: 0 12px 28px rgba(7, 11, 18, 0.22);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.artisan-edit-bubble {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(520px, calc(100% - 36px));
  padding: 14px;
  border: 1px solid rgba(139, 188, 255, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 11, 18, 0.96);
  box-shadow: 0 18px 44px rgba(7, 11, 18, 0.3);
}

.artisan-edit-bubble strong,
.artisan-edit-bubble span {
  display: block;
}

.artisan-edit-bubble strong {
  color: #8bbcff;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.artisan-edit-bubble span,
.artisan-save-status {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.artisan-save-status {
  margin: 6px 0 0;
}

.artisan-status[data-type="error"],
.artisan-save-status[data-type="error"] {
  color: #ffb4a8;
}

.artisan-save-status[data-type="success"],
.artisan-status[data-type="success"] {
  color: #a8f0c2;
}

.artisan-save-status[data-type="warning"],
.artisan-status[data-type="warning"] {
  color: #ffe6a3;
}

.artisan-save-exit {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 13px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.artisan-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(8px);
}

.artisan-modal[hidden],
.artisan-edit-bubble[hidden],
.artisan-login-button[hidden] {
  display: none;
}

.artisan-modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.artisan-modal-card h2 {
  margin-bottom: 18px;
  color: var(--black);
  font-size: 28px;
  line-height: 1.12;
}

.artisan-kicker {
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.artisan-login-form {
  display: grid;
  gap: 14px;
}

.artisan-login-form label {
  display: grid;
  gap: 7px;
}

.artisan-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.artisan-status {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  font-weight: 760;
}

.artisan-file-input {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body.artisan-edit-active .artisan-editable-image {
  cursor: pointer;
  outline: 3px solid rgba(11, 94, 215, 0.8);
  outline-offset: -3px;
}

body.artisan-edit-active .artisan-editable-image:hover {
  filter: saturate(1.08) contrast(1.02);
  outline-color: #8bbcff;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

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

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 11, 18, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-proof,
  .grid-4,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .brand-mark {
    width: 108px;
    height: 46px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding-bottom: 42px;
  }

  .hero::after,
  .page-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 11, 18, 0.92), rgba(7, 11, 18, 0.72)),
      linear-gradient(0deg, rgba(7, 11, 18, 0.52), rgba(7, 11, 18, 0.1));
  }

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

  .hero-actions .btn,
  .cta-band .btn,
  .section-head .btn {
    width: 100%;
  }

  .hero-proof,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .service-intro,
  .form-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .section-compact {
    padding: 50px 0;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .zone-map {
    min-height: 420px;
  }

  .city-point {
    font-size: 12px;
    padding: 7px 8px;
  }

  .floating-phone {
    right: 12px;
    left: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .artisan-login-button {
    width: 100%;
  }

  .artisan-edit-bubble {
    left: 12px;
    bottom: 78px;
    width: calc(100% - 24px);
    align-items: stretch;
    flex-direction: column;
  }

  .artisan-save-exit {
    width: 100%;
  }

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

@media (max-width: 520px) {
  .page-hero,
  .hero {
    background-position: center;
  }

  .hero-proof,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .stat {
    min-height: auto;
  }

  h1 {
    font-size: 38px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .btn {
    padding-inline: 14px;
  }

  .quote-form,
  .contact-panel,
  .feature-card,
  .service-card-body {
    padding: 20px;
  }
}

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