:root {
  --bg: #f3efe6;
  --bg-strong: #e7dfcf;
  --panel: #ffffff;
  --panel-soft: #eee7da;
  --ink: #16181c;
  --ink-soft: #61666d;
  --line: rgba(22, 24, 28, 0.12);
  --steel: #252b31;
  --steel-soft: #4a535d;
  --accent: #ffed00;
  --accent-strong: #d4c500;
  --success: #2d6f44;
  --danger: #9c3434;
  --shadow: 0 18px 50px rgba(19, 21, 25, 0.08);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Google Sans", "Noto Sans", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 194, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #f8f5ef 0%, var(--bg) 36%, #ede5d8 100%);
  color: var(--ink);
  line-height: 1.55;
}

body.home-page {
  position: relative;
  background: #ffffff;
}

body.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, rgba(22, 24, 28, 0.03) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(22, 24, 28, 0.022) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 24%);
  opacity: 0.7;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section,
.page-frame,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
  scroll-margin-top: 110px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--steel-soft);
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Montserrat", "Arial", sans-serif;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 6.3rem);
}

h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
}

h3 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
}

p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(243, 239, 230, 0.82);
  border-bottom: 1px solid rgba(22, 24, 28, 0.08);
}

.site-header__inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 142px;
  height: auto;
}

.header-quick-actions {
  display: none;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.header-quick-action {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #090a0c;
  background: #090a0c;
  color: var(--accent);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.header-quick-action svg {
  width: 18px;
  height: 18px;
}

.header-quick-action:hover,
.header-quick-action:focus-visible {
  color: #090a0c;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.primary-nav {
  justify-self: end;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-family: "Montserrat", "Arial", sans-serif;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

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

.primary-nav a.nav-link--service {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--steel);
  background: rgba(214, 194, 0, 0.12);
  border: 1px solid rgba(214, 194, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.primary-nav a.nav-link--service:hover,
.primary-nav a.nav-link--service:focus-visible {
  color: var(--ink);
  background: rgba(214, 194, 0, 0.18);
  border-color: rgba(214, 194, 0, 0.44);
  transform: translateY(-1px);
}

.nav-phone-item {
  display: none;
}

.nav-phone-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent);
  box-shadow: var(--shadow);
  justify-self: end;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform: translateX(-50%);
}

.nav-toggle span {
  top: calc(50% - 1px);
}

.nav-toggle::before {
  top: calc(50% - 7px);
}

.nav-toggle::after {
  top: calc(50% + 5px);
}

body.home-page .nav-toggle span,
body.home-page .nav-toggle::before,
body.home-page .nav-toggle::after {
  background: #090a0c;
}

.phone-pill,
.button,
.button-ghost,
.button-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.phone-pill,
.button-dark {
  background: #090a0c;
  color: #fff;
}

.button {
  background: #090a0c;
  color: #fff;
}

.button-ghost {
  background: var(--accent);
  color: var(--ink);
  border: 1px solid transparent;
}

.button:hover,
.button:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible,
.button-dark:hover,
.button-dark:focus-visible,
.phone-pill:hover,
.phone-pill:focus-visible {
  transform: translateY(-1px);
}

.hero-shell {
  padding: 0 0 12px;
}

body.home-page .hero,
body.home-page .hero-card,
body.home-page .proof-card,
body.home-page .service-panel,
body.home-page .service-tile,
body.home-page .service-panel__media,
body.home-page .reference-tile,
body.home-page .contact-card,
body.home-page .map-card,
body.home-page .partner-badge {
  border-radius: 0;
}

body.home-page .hero {
  box-shadow: 0 20px 50px rgba(19, 21, 25, 0.12);
}

body.home-page .proof-card,
body.home-page .service-panel,
body.home-page .reference-tile,
body.home-page .contact-card,
body.home-page .map-card,
body.home-page .partner-badge {
  border: 1px solid rgba(22, 24, 28, 0.12);
}

body.home-page .site-header {
  background: rgba(255, 255, 255, 0.92);
}

body.home-page .site-header__inner {
  grid-template-columns: auto 1fr auto auto;
}

body.home-page .header-quick-actions {
  display: inline-flex;
}

body.home-page .phone-pill {
  display: none;
}

body.home-page .nav-toggle {
  display: inline-grid;
  place-items: center;
}

body.home-page .primary-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.home-page .primary-nav ul {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 24, 28, 0.08);
}

body.home-page .primary-nav a,
body.home-page .primary-nav a.nav-link--service {
  min-height: 46px;
  width: 100%;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink);
}

body.home-page .primary-nav a:hover,
body.home-page .primary-nav a:focus-visible {
  color: var(--accent-strong);
  transform: none;
}

body.home-page.nav-open .primary-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.home-page .proof-card,
body.home-page .service-panel,
body.home-page .reference-tile,
body.home-page .contact-card,
body.home-page .map-card,
body.home-page .partner-badge {
  background: #f4f4f4;
}

body.home-page .service-panel,
body.home-page .reference-tile,
body.home-page .contact-card,
body.home-page .map-card {
  box-shadow: 0 12px 30px rgba(19, 21, 25, 0.06);
}

.hero {
  position: relative;
  min-height: min(880px, calc(100vh - 108px));
  border-radius: 34px;
  overflow: hidden;
  background: #0e1115;
  box-shadow: var(--shadow);
}

.hero > .page-frame {
  position: relative;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-slide.is-active img {
  animation: heroZoom 4s linear forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.76) 0%, rgba(8, 10, 12, 0.56) 38%, rgba(8, 10, 12, 0.18) 74%, rgba(8, 10, 12, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.28) 0%, rgba(8, 10, 12, 0.08) 34%, rgba(8, 10, 12, 0.7) 100%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  min-height: min(880px, calc(100vh - 108px));
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(42px, 6vw, 72px) 0 clamp(26px, 4vw, 42px);
}

.hero__topline {
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.hero__topline .eyebrow,
.hero-card span {
  color: rgba(255, 255, 255, 0.82);
}

.hero__topline h1 {
  color: #fff;
  max-width: 16ch;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__actions .button,
.hero__actions .button-ghost {
  min-height: 52px;
}

.hero__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 420px;
}

.hero-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card strong {
  color: #fff;
  font-size: 1.38rem;
}

.hero-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
}

.hero-card--contact strong {
  max-width: 20ch;
}

.proof-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(22, 24, 28, 0.08);
}

.proof-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
}

.proof-card__icon svg {
  width: 100%;
  height: 100%;
}

.proof-card__label {
  color: var(--steel-soft);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.proof-card strong {
  display: block;
  color: var(--ink);
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.05;
}

.section-alt {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(22, 24, 28, 0.06);
}

.reference-section {
  background: transparent;
  border-block: 1px solid rgba(22, 24, 28, 0.04);
}

.service-stack,
.service-grid,
.contact-teaser,
.detail-layout,
.contact-layout {
  display: grid;
  gap: 24px;
}

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

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-panel__content {
  display: grid;
  gap: 18px;
}

.service-stack .service-panel__content {
  display: flex;
  flex-direction: column;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-stack .service-list {
  list-style: none;
  padding-left: 0;
  width: min(100%, 34rem);
  margin-inline: auto;
  gap: 12px;
  font-size: 1.16rem;
  line-height: 1.6;
}

.service-stack .service-list li {
  position: relative;
  padding-left: 20px;
}

.service-stack .service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  transform: rotate(45deg);
}

.service-stack .service-panel__content .service-list {
  margin-top: auto;
  margin-bottom: auto;
}

.service-stack .service-panel__content .service-actions {
  margin-top: 0;
}

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

.service-panel .service-actions,
.service-tile .service-actions {
  align-items: flex-start;
}

.service-panel .service-actions .button,
.service-panel .service-actions .button-ghost,
.service-tile .service-actions .button,
.service-tile .service-actions .button-ghost {
  height: 52px;
  min-height: 52px;
  flex: 0 0 auto;
}

.service-tile {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: end;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 28px;
  border-radius: 30px;
  overflow: hidden;
  border-left: 5px solid var(--accent);
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0e1115;
  box-shadow: var(--shadow);
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.04) 0%, rgba(8, 10, 12, 0.14) 38%, rgba(8, 10, 12, 0.86) 100%);
}

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

.service-tile h3 {
  max-width: 17ch;
  color: #fff;
}

.service-tile .service-actions .button-ghost {
  border-color: transparent;
  color: var(--ink);
  background: var(--accent);
}

.service-panel__media,
.detail-gallery__item,
.reference-tile,
.contact-card,
.map-card,
.detail-copy,
.detail-offer,
.form-card,
.notice-card {
  border-radius: var(--radius);
}

.service-panel__media,
.detail-gallery__item {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(22, 24, 28, 0.08);
  background:
    linear-gradient(145deg, rgba(74, 83, 93, 0.16), rgba(255, 255, 255, 0.98)),
    linear-gradient(135deg, rgba(214, 194, 0, 0.12), transparent 45%);
}

.service-panel__media {
  border-left: 5px solid var(--accent);
}

.service-panel__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 10, 12, 0.82);
  color: #fff;
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.service-panel__media img,
.detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery__item {
  padding: 0;
  border: 0;
  appearance: none;
}

.service-panel__media--placeholder,
.detail-gallery__item--placeholder {
  display: grid;
  place-items: center;
  padding: 20px;
}

.service-panel__media--placeholder img,
.detail-gallery__item--placeholder img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
}

.reference-track,
.detail-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.reference-carousel {
  position: relative;
}

.reference-track {
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.detail-gallery {
  scroll-snap-type: x mandatory;
}

.reference-track::-webkit-scrollbar {
  display: none;
}

.detail-gallery::-webkit-scrollbar {
  height: 10px;
}

.detail-gallery::-webkit-scrollbar-thumb {
  background: rgba(22, 24, 28, 0.18);
  border-radius: 999px;
}

.reference-tile {
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--panel);
  scroll-snap-align: start;
  text-align: left;
  appearance: none;
}

.reference-tile__media {
  aspect-ratio: 1.2;
  background: #ddd3c1;
  overflow: hidden;
}

.reference-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-tile__body {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.reference-tile__body span {
  color: var(--steel-soft);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reference-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(9, 10, 12, 0.9);
  color: #fff;
  transform: translateY(-50%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.reference-arrow--prev {
  left: -24px;
}

.reference-arrow--next {
  right: -24px;
}

.reference-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.contact-teaser {
  grid-template-columns: 1.05fr 0.95fr 1fr;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.contact-card,
.map-card,
.detail-copy,
.detail-offer,
.form-card,
.notice-card {
  background: var(--panel);
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.contact-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px 0 14px;
  background: var(--accent);
  border: 1px solid rgba(22, 24, 28, 0.08);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-shortcut__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #090a0c;
  color: var(--accent);
  flex: 0 0 38px;
}

.contact-shortcut__icon svg {
  width: 18px;
  height: 18px;
}

.contact-proof-strip {
  margin: 0 0 22px;
}

.contact-proof-card {
  min-height: 100%;
  align-content: center;
}

.contact-proof-card strong {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}

.about-panel {
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
}

.about-panel__copy {
  align-content: center;
}

.about-panel__copy p {
  line-height: 1.72;
}

.about-panel__more {
  margin-top: 6px;
  color: var(--accent-strong);
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  justify-self: start;
}

button.about-panel__more {
  padding: 0;
  border: 0;
  background: transparent;
}

.about-panel__extra {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.about-panel__extra[hidden] {
  display: none;
}

.about-panel__signoff,
.about-panel__team {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.about-panel__signoff strong,
.about-panel__team strong {
  color: var(--ink);
  font-family: "Montserrat", "Arial", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-panel__signoff p,
.about-panel__team p {
  margin: 0;
  display: grid;
  gap: 2px;
  line-height: 1.4;
}

.about-panel__signoff span,
.about-panel__team span {
  color: var(--steel-soft);
  font-size: 0.88rem;
  font-style: italic;
}

.about-panel__media {
  height: 360px;
  min-height: 360px;
}

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

.contact-sidebar {
  display: grid;
  gap: 28px;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 16px;
  background: var(--panel);
  border: 1px solid rgba(22, 24, 28, 0.08);
}

.map-card::before,
.map-card::after {
  content: none;
}

.map-card::before {
  inset: auto;
}

.map-card::after {
  inset: auto;
}

.map-card__content {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: none;
  border: 0;
}

.map-card--location-photo {
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: url("../assets/images/wrecker-location.jpg") center / cover no-repeat;
}

.map-card--location-photo .map-card__content {
  display: flex;
  justify-content: flex-end;
}

.map-card--simple {
  gap: 14px;
  align-content: start;
}

.map-card--simple .map-card__content {
  display: grid;
  gap: 12px;
}

.contact-layout,
.detail-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.detail-hero {
  padding: 30px 0 0;
}

.detail-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  overflow: hidden;
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.detail-hero__copy {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.detail-hero__copy h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.8rem);
}

.detail-hero__media {
  min-height: 100%;
}

.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--steel-soft);
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--steel-soft);
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.detail-copy h2 {
  margin-bottom: 2px;
}

.detail-copy p {
  line-height: 1.72;
}

.detail-copy p + p {
  margin-top: -4px;
}

.detail-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  margin: 4px 0 2px;
}

.detail-copy li {
  line-height: 1.62;
  padding-left: 4px;
}

.detail-gallery-section {
  background: transparent;
  border: 0;
}

.privacy-copy {
  gap: 20px;
}

.privacy-copy h2 {
  margin-top: 8px;
}

.detail-offer {
  display: grid;
  gap: 18px;
}

.detail-offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notice-card {
  display: none;
  border: 1px solid rgba(22, 24, 28, 0.08);
}

.notice-card--top {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 18px 26px;
}

.notice-card.is-visible {
  display: block;
}

.notice-card.is-success {
  border-color: rgba(45, 111, 68, 0.24);
  background: rgba(45, 111, 68, 0.08);
}

.notice-card.is-error {
  border-color: rgba(156, 52, 52, 0.24);
  background: rgba(156, 52, 52, 0.08);
}

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

body.home-page #ajanlatkeres .form-card,
body.home-page #ajanlatkeres .notice-card {
  border-radius: 0;
}

.form-grid,
.quote-form {
  display: grid;
  gap: 14px;
}

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

.quote-form {
  grid-template-columns: 1fr;
}

.service-options-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.service-options-fieldset legend {
  margin-bottom: 4px;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--steel);
}

.service-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.service-option input {
  margin: 0;
  accent-color: var(--accent-strong);
}

.service-option span {
  line-height: 1.4;
  font-weight: 400;
}

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

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

.field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--steel);
}

.field label span,
.field label small {
  font-size: 0.88em;
  font-weight: 500;
  color: var(--steel-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 24, 28, 0.14);
  background: #fbfaf7;
  color: var(--ink);
}

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

.field small {
  color: var(--ink-soft);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
}

.checkbox input {
  margin-top: 3px;
}

.thank-you-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.thank-you-card__rows {
  display: grid;
  gap: 14px;
}

.thank-you-card__row {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(22, 24, 28, 0.08);
}

.thank-you-card__row span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.thank-you-card__row strong {
  font-size: 1.08rem;
  color: var(--ink);
}

.thank-you-card__note {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer-map {
  display: block;
  width: 100%;
  background: #050505;
}

.site-footer-map picture,
.site-footer-map img {
  display: block;
  width: 100%;
}

.site-footer-map img {
  height: auto;
}

.site-footer {
  margin-top: 0;
  padding: 48px 0 88px;
  background: #050505;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.site-footer__title {
  margin-bottom: 10px;
  color: #fff;
}

.site-footer__hours {
  margin-top: 6px;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "Montserrat", "Arial", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
}

.site-footer__brand-block {
  display: grid;
  gap: 18px;
  align-content: start;
}

.site-footer__brand img {
  width: min(100%, 240px);
  height: auto;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links--center {
  margin-top: 28px;
  justify-content: flex-start;
}

.social-links--footer {
  justify-content: flex-start;
}

.social-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #050505;
  color: var(--accent);
  border: 1px solid rgba(22, 24, 28, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.social-links--footer .social-link {
  border-color: rgba(255, 255, 255, 0.12);
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 237, 0, 0.42);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__contact-links {
  gap: 12px;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.site-footer__contact-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex: 0 0 18px;
}

.site-footer__contact-icon svg {
  width: 100%;
  height: 100%;
}

.site-footer__meta {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.site-footer__meta p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.mobile-action-bar {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 24;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(10, 11, 13, 0.94);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.mobile-action-bar a {
  min-height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.mobile-action-bar a:first-child {
  background: var(--accent);
  color: var(--ink);
}

.mobile-action-bar a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.gallery-modal {
  width: min(calc(100% - 24px), 1100px);
  border: 0;
  padding: 0;
  background: transparent;
}

.gallery-modal::backdrop {
  background: rgba(10, 12, 14, 0.72);
}

.gallery-modal__inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.gallery-modal__inner img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.92);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-nav--prev {
  left: 18px;
}

.gallery-nav--next {
  right: 18px;
}

.gallery-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--ink);
  font-size: 1.4rem;
}

.gallery-modal__inner .gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.lightbox-modal {
  width: min(calc(100% - 24px), 1100px);
  border: 0;
  padding: 0;
  background: transparent;
}

.lightbox-modal::backdrop {
  background: rgba(10, 12, 14, 0.72);
}

.lightbox-modal__inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.lightbox-modal__inner img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.lightbox-modal__inner .gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-nav ul {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 18px 16px 16px;
    border-radius: 0 0 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(22, 24, 28, 0.06);
    justify-items: center;
  }

  .primary-nav a,
  .primary-nav a.nav-link--service {
    justify-self: center;
  }

  .nav-phone-item {
    display: block;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid rgba(22, 24, 28, 0.08);
  }

  .nav-phone-link {
    min-height: 44px;
    color: var(--ink);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  body.home-page .primary-nav {
    top: calc(100% + 1px);
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
  }

  body.home-page .primary-nav ul {
    width: 100%;
    padding: 18px 16px 16px;
    border-radius: 0 0 24px 24px;
    border-inline: 0;
    border-bottom: 0;
  }
}

@media (max-width: 980px) {
  .hero__cards,
  .proof-strip,
  .service-grid,
  .service-panel,
  .contact-teaser,
  .contact-layout,
  .detail-layout,
  .detail-hero__panel,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .service-panel:nth-child(even) .service-panel__media {
    order: 0;
  }

  .detail-hero__media {
    min-height: 320px;
  }

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

@media (max-width: 760px) {
  .section {
    padding: 62px 0;
  }

  .site-header__inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand img {
    width: 124px;
  }

  .phone-pill {
    display: none;
  }

  body.home-page .header-quick-actions {
    gap: 8px;
  }

  body.home-page .header-quick-action {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 760px;
  }

  .hero__layout {
    min-height: 760px;
    padding: 32px 0 22px;
  }

  .hero__topline h1 {
    max-width: 11.5ch;
    font-size: clamp(2.35rem, 9.2vw, 3.7rem);
  }

  .hero__topline h1.hero-title--compact-mobile {
    max-width: 13ch;
    font-size: clamp(1.55rem, 6vw, 2.45rem);
  }

  .hero__actions--desktop {
    display: none;
  }

  .hero__cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .reference-arrow {
    display: none;
  }

  .service-panel,
  .contact-card,
  .map-card,
  .detail-copy,
  .detail-offer,
  .form-card,
  .notice-card,
  .detail-hero__copy {
    padding: 22px;
  }

  .mobile-action-bar {
    display: grid;
  }
}
