:root {
  --page: #070505;
  --ink: #fff8eb;
  --ink-dark: #1f0604;
  --muted: #cbb8a8;
  --muted-dark: #5f5350;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(31, 6, 4, 0.14);
  --ivory: #f4f1ed;
  --map-surface: #efece8;
  --map-surface-strong: #e4ded8;
  --panel: rgba(15, 9, 9, 0.78);
  --red-live: #e60404;
  --red-deep: #200101;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: var(--brand-yellow);
  color: var(--red-deep);
}

body.document-page {
  background:
    radial-gradient(circle at 15% 8%, rgba(230, 4, 4, 0.26), transparent 26%),
    var(--page);
}

body.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(230, 4, 4, 0.28), transparent 24%),
    linear-gradient(180deg, #120202 0%, var(--page) 58%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--brand-yellow);
  background: var(--red-deep);
  color: var(--brand-yellow);
  font-weight: 950;
  padding: 10px 14px;
  transform: translateY(calc(-100% - 28px));
  transition: transform 160ms ease;
}

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

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

button,
input,
select {
  font: inherit;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 58px);
  padding-top: calc(18px + env(safe-area-inset-top));
  padding-left: max(clamp(20px, 4vw, 58px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 58px), env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(7, 5, 5, 0.92), rgba(7, 5, 5, 0));
  transition:
    background 180ms ease,
    border-color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  padding-top: calc(12px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 6, 6, 0.91);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 160px;
}

.brand,
.social-link,
.footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(255, 248, 235, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.nav a,
.footer a {
  transition: color 160ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--brand-yellow);
}

.header-actions,
.header-channels {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  gap: 12px;
}

.header-channels {
  gap: 7px;
}

.channel-label {
  color: rgba(255, 248, 235, 0.74);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.social-link {
  width: 44px;
  justify-content: center;
  border: 0;
  background: transparent;
  transition:
    transform 160ms ease;
}

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

.social-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
  background: url("assets/gold-hero.png") center / cover no-repeat;
  background-image: url("assets/gold-hero.webp");
  filter: brightness(1.2) saturate(1.1);
  animation: cinematic-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 82% 22%, rgba(235, 255, 0, 0.16), transparent 26%),
    linear-gradient(105deg, rgba(230, 4, 4, 0.76) 0%, rgba(122, 5, 5, 0.56) 33%, rgba(32, 1, 1, 0.24) 62%, rgba(7, 5, 5, 0.04) 100%),
    linear-gradient(180deg, rgba(243, 245, 234, 0.12) 0%, rgba(7, 5, 5, 0.46) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(290px, 0.38fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  padding: 142px 0 94px;
}

.hero-copy {
  max-width: 770px;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.68);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-yellow);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red-live);
}

.estimate .eyebrow.dark,
.process .eyebrow.dark,
.branches .eyebrow.dark {
  color: var(--brand-yellow);
}

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

h1 {
  margin-bottom: 24px;
  color: #fffdf6;
  font-size: clamp(46px, 6.6vw, 96px);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.7vw, 64px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid transparent;
  padding: 13px 22px;
  font-weight: 950;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand-yellow);
  color: var(--red-deep);
  box-shadow: 0 14px 40px rgba(235, 255, 0, 0.18);
}

.button.primary::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.55) 45%, transparent 62%);
  transform: translateX(-120%);
  animation: button-shine 4s ease-in-out infinite;
}

.button.glass {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.quiet-proof {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(13, 8, 8, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.quiet-proof span {
  padding: 20px 20px 0;
  color: var(--brand-yellow);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 950;
  line-height: 1;
}

.quiet-proof p {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 7px 20px 20px;
  color: var(--muted);
  font-weight: 750;
}

.quiet-proof p:last-child {
  border-bottom: 0;
}

.rate-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-top: 1px solid rgba(235, 255, 0, 0.22);
  border-bottom: 1px solid rgba(235, 255, 0, 0.22);
  background: rgba(11, 6, 6, 0.88);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  flex: 0 0 auto;
  padding: 14px 34px;
  color: var(--brand-yellow);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.estimate {
  background:
    radial-gradient(circle at 12% 18%, rgba(230, 4, 4, 0.42), transparent 28%),
    linear-gradient(135deg, #e60404 0%, #7a0505 34%, #200101 100%);
  color: var(--ink);
  padding: clamp(58px, 7vw, 96px) 0;
}

.estimate-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.estimate-copy p:not(.eyebrow),
.branches-heading p {
  max-width: 560px;
  color: rgba(255, 248, 235, 0.76);
  font-size: 18px;
}

.factor-row,
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.factor-row span,
.item-tags span {
  border: 1px solid rgba(235, 255, 0, 0.34);
  background: rgba(32, 1, 1, 0.42);
  color: var(--brand-yellow);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.calculator {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(230, 4, 4, 0.28);
  background:
    linear-gradient(180deg, rgba(230, 4, 4, 0.16), transparent 42%),
    #120d0d;
  box-shadow: 0 32px 90px rgba(32, 1, 1, 0.24);
  padding: clamp(18px, 3vw, 30px);
}

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

.calculator label {
  display: grid;
  gap: 9px;
}

.calculator span {
  color: var(--brand-yellow);
  font-size: 13px;
  font-weight: 950;
}

.calculator input,
.calculator select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: #fff;
  color: var(--ink-dark);
  font-weight: 900;
  padding: 12px 14px;
}

.range-field input {
  accent-color: var(--red-live);
  cursor: pointer;
}

.total {
  display: flex;
  min-width: 0;
  min-height: 86px;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--brand-red-gradient);
  color: var(--brand-yellow);
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding: 12px 18px;
  text-align: right;
  white-space: nowrap;
}

.total.is-wrapped {
  align-content: center;
  justify-content: flex-start;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.calculator-note {
  margin: 0;
  color: rgba(255, 248, 235, 0.66);
  font-size: 13px;
}

.calculator-contact {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(235, 255, 0, 0.42);
  background:
    linear-gradient(135deg, rgba(235, 255, 0, 0.95), rgba(246, 255, 84, 0.92)),
    var(--brand-yellow);
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 950;
  padding: 13px 18px;
  text-align: center;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.calculator-contact[hidden] {
  display: none;
}

.calculator-contact:hover {
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 34px rgba(235, 255, 0, 0.12);
  transform: translateY(-1px);
}

.items {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    linear-gradient(180deg, rgba(230, 4, 4, 0.08), transparent 42%),
    var(--page);
}

.items-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.items-image {
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.items-image picture,
.process-media picture,
.items-image img,
.process-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.items-image img,
.process-media img {
  object-fit: cover;
}

.items-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 248, 235, 0.74);
  font-size: 19px;
}

.item-tags span {
  border-color: rgba(235, 255, 0, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-yellow);
}

.process {
  background: var(--brand-red-gradient);
  padding: clamp(64px, 8vw, 104px) 0;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.process-media {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

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

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(0, 0, 0, 0.2);
  padding: 18px;
}

.steps span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  color: var(--red-deep);
  font-weight: 950;
}

.steps p {
  margin: 0;
  color: rgba(255, 248, 235, 0.82);
}

.assurance {
  background:
    radial-gradient(circle at 18% 14%, rgba(235, 255, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #120202 0%, #070505 100%);
  padding: clamp(58px, 7vw, 88px) 0;
}

.assurance-grid {
  display: grid;
  gap: 24px;
}

.assurance-copy {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.assurance-copy h2 {
  margin-bottom: 0;
}

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

.assurance-cards article {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(230, 4, 4, 0.16), rgba(32, 1, 1, 0.52)),
    rgba(255, 255, 255, 0.04);
  padding: 20px;
}

.assurance-cards strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-yellow);
  font-size: 16px;
  font-weight: 950;
}

.assurance-cards p,
.assurance-note {
  margin: 0;
  color: rgba(255, 248, 235, 0.72);
}

.assurance-note {
  max-width: 900px;
  font-size: 14px;
}

.assurance-note a {
  color: var(--brand-yellow);
  font-weight: 900;
}

.faq {
  background:
    radial-gradient(circle at 12% 18%, rgba(230, 4, 4, 0.22), transparent 28%),
    linear-gradient(180deg, #070505 0%, #120202 100%);
  padding: clamp(58px, 7vw, 92px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 104px;
}

.faq-copy h2 {
  margin-bottom: 18px;
}

.faq-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 248, 235, 0.72);
  font-size: 18px;
}

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

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(230, 4, 4, 0.14), rgba(32, 1, 1, 0.42)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.faq-list details[open] {
  border-color: rgba(235, 255, 0, 0.28);
}

.faq-list summary {
  min-height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  color: #fffdf6;
  font-size: 18px;
  font-weight: 950;
  list-style: none;
  padding: 18px 20px;
}

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

.faq-list summary::after {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(235, 255, 0, 0.32);
  color: var(--brand-yellow);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

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

.faq-list details p {
  max-width: 760px;
  margin: -4px 20px 20px;
  color: rgba(255, 248, 235, 0.74);
  font-size: 16px;
}

.branches {
  background:
    radial-gradient(circle at 86% 10%, rgba(235, 255, 0, 0.12), transparent 24%),
    linear-gradient(135deg, #e60404 0%, #8e0404 30%, #200101 100%);
  color: var(--ink);
  padding: clamp(64px, 8vw, 104px) 0;
}

.branches-heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 28px;
}

.branches-heading h2 {
  margin-bottom: 0;
}

.branches-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 16px;
}

.branches-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.branch-picker {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(235, 255, 0, 0.22);
  background:
    radial-gradient(circle at 12% 0%, rgba(235, 255, 0, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(32, 1, 1, 0.84), rgba(102, 2, 2, 0.5)),
    rgba(32, 1, 1, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  padding: 16px;
  scroll-margin-top: 118px;
}

.branch-picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.branch-picker-heading > div {
  display: grid;
  gap: 2px;
}

.branch-picker strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

.branch-picker small {
  color: rgba(255, 248, 235, 0.64);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.branch-picker span {
  color: rgba(255, 248, 235, 0.66);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.branch-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.branch-filter-actions button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 248, 235, 0.84);
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  padding: 9px 12px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.branch-filter-actions button:hover {
  border-color: rgba(235, 255, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  transform: translateY(-1px);
}

.branch-filter-actions button.is-active {
  border-color: rgba(235, 255, 0, 0.52);
  background: var(--brand-yellow);
  color: var(--red-deep);
  box-shadow: 0 12px 30px rgba(235, 255, 0, 0.12);
}

.map-card {
  min-height: 560px;
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  border: 1px solid rgba(235, 255, 0, 0.22);
  background: var(--red-deep);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.live-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  background: var(--red-deep);
}

.map-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 26%, rgba(230, 4, 4, 0.14), transparent 24%),
    radial-gradient(circle at 78% 68%, rgba(235, 255, 0, 0.2), transparent 22%),
    linear-gradient(135deg, var(--map-surface) 0%, var(--map-surface-strong) 52%, #d8d0ca 100%);
}

.map-visual::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(32, 1, 1, 0.14);
  background-image:
    linear-gradient(rgba(32, 1, 1, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 1, 1, 0.075) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 1;
}

.map-title {
  position: absolute;
  z-index: 3;
  left: 28px;
  top: 28px;
  display: grid;
  gap: 2px;
  background: rgba(243, 245, 234, 0.9);
  border: 1px solid rgba(32, 1, 1, 0.16);
  color: var(--ink-dark);
  padding: 14px 16px;
  box-shadow: 0 18px 34px rgba(32, 1, 1, 0.1);
  backdrop-filter: blur(10px);
}

.map-title strong {
  font-size: 21px;
  line-height: 1;
}

.map-title span {
  color: #7a0505;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-district,
.map-river-label {
  position: absolute;
  z-index: 2;
  color: rgba(32, 1, 1, 0.54);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.left-bank {
  left: 16%;
  top: 40%;
}

.right-bank {
  right: 13%;
  top: 58%;
}

.map-river-label {
  left: 47%;
  top: 58%;
  color: rgba(32, 1, 1, 0.42);
  transform: rotate(-11deg);
}

.river-line,
.road-line {
  position: absolute;
  pointer-events: none;
}

.river-line {
  left: -10%;
  top: 48%;
  width: 124%;
  height: 80px;
  border-top: 22px solid rgba(32, 1, 1, 0.14);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.road-line {
  height: 3px;
  background: rgba(230, 4, 4, 0.24);
  transform-origin: left center;
}

.road-line-one {
  left: 8%;
  top: 32%;
  width: 84%;
  transform: rotate(18deg);
}

.road-line-two {
  left: 12%;
  top: 76%;
  width: 78%;
  transform: rotate(-15deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--map-surface);
  border-radius: 999px;
  background: #e60404;
  color: var(--red-deep);
  color: var(--map-surface);
  font-size: 13px;
  font-weight: 950;
  box-shadow:
    0 0 0 7px rgba(230, 4, 4, 0.16),
    0 16px 32px rgba(32, 1, 1, 0.3);
  transform: translate(-50%, -50%);
}

.map-pin:hover {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.12);
}

.map-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(32, 1, 1, 0.16);
  background: rgba(243, 245, 234, 0.88);
  color: var(--ink-dark);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}

.map-caption strong {
  color: #7a0505;
  font-size: 22px;
}

.map-caption span {
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 800;
}

.map-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--red-deep);
  color: var(--brand-yellow);
  font-weight: 950;
  text-align: center;
  padding: 10px 14px;
}

.map-link-secondary {
  background: #7a0505;
  color: var(--map-surface);
}

.branch-list {
  display: grid;
  gap: 10px;
  align-content: start;
  font-style: normal;
  scroll-margin-top: 118px;
}

.branch-list > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--brand-yellow);
  background:
    linear-gradient(135deg, rgba(230, 4, 4, 0.28), rgba(32, 1, 1, 0.7)),
    rgba(32, 1, 1, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  padding: 15px 17px;
}

.branch-list > div > span {
  grid-row: 1 / 3;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 950;
}

.branch-list > div > strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.branch-area-hint {
  grid-column: 2;
  color: rgba(255, 248, 235, 0.58);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.manager-contact {
  grid-column: 2;
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 6px;
  align-items: start;
}

.manager-contact small {
  color: rgba(255, 248, 235, 0.66);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: pretty;
}

.manager-line {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.manager-phone {
  color: var(--brand-yellow);
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.manager-phone:hover {
  color: #f4ff45;
}

.manager-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 8px;
}

.manager-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.manager-button:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.manager-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.branch-list a:not(.main-contact):not(.manager-button):not(.manager-phone) {
  color: var(--brand-yellow);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 14px;
  font-weight: 850;
}

.quick-contact {
  position: fixed;
  z-index: 65;
  top: 52%;
  right: max(18px, env(safe-area-inset-right));
  width: auto;
  transform: translateY(-50%);
}

.quick-contact-actions {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.quick-contact-phone,
.quick-contact-icon {
  width: 52px;
  height: 52px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(7, 5, 5, 0.74);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.quick-contact-phone {
  border-color: rgba(235, 255, 0, 0.3);
  background:
    linear-gradient(135deg, rgba(230, 4, 4, 0.74), rgba(32, 1, 1, 0.9)),
    rgba(7, 5, 5, 0.8);
  color: var(--brand-yellow);
  padding: 0;
}

.quick-contact-phone span {
  display: none;
}

.quick-contact-phone:hover,
.quick-contact-icon:hover {
  border-color: rgba(235, 255, 0, 0.46);
  background: rgba(32, 1, 1, 0.86);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(235, 255, 0, 0.12);
  transform: translateX(-2px);
}

.quick-contact-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.quick-contact-phone img {
  width: 22px;
  height: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #070505;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 132px;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: flex-end;
}

.footer-credit {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 235, 0.12);
  color: rgba(255, 248, 235, 0.64);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.footer-credit a {
  color: #fff8eb;
  font-weight: 700;
  text-decoration-color: rgba(235, 255, 0, 0.58);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.document-main {
  padding: 136px 0 clamp(58px, 8vw, 100px);
}

.document-content {
  max-width: 860px;
  color: rgba(255, 248, 235, 0.78);
}

.document-content h1 {
  margin-bottom: 26px;
  font-size: clamp(38px, 6vw, 72px);
}

.document-content h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.document-content p {
  color: rgba(255, 248, 235, 0.76);
  font-size: 17px;
}

.document-content a,
.document-updated {
  color: var(--brand-yellow);
}

.requisites-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.requisites-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

.requisites-list dt,
.requisites-list dd {
  margin: 0;
}

.requisites-list dt {
  color: rgba(255, 248, 235, 0.58);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.requisites-list dd {
  color: var(--ink);
  font-weight: 760;
}

.document-updated {
  margin-top: 34px;
  font-size: 14px;
  font-weight: 900;
}

.service-main {
  padding: 128px 0 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 248, 235, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.crumbs a {
  color: rgba(255, 248, 235, 0.76);
}

.crumbs a:hover {
  color: var(--brand-yellow);
}

.service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 7vw, 92px) 0 clamp(62px, 8vw, 104px);
  background:
    radial-gradient(circle at 78% 12%, rgba(235, 255, 0, 0.14), transparent 21%),
    linear-gradient(135deg, rgba(230, 4, 4, 0.42), rgba(32, 1, 1, 0.96) 54%, #070505 100%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.66fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.service-hero h1,
.directions-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.service-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 248, 235, 0.78);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
  text-wrap: pretty;
}

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

.service-panel {
  border: 1px solid rgba(235, 255, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.08), rgba(255, 248, 235, 0.03)),
    rgba(7, 5, 5, 0.52);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}

.service-panel strong {
  display: block;
  color: var(--brand-yellow);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.service-panel p,
.service-panel li {
  color: rgba(255, 248, 235, 0.74);
}

.service-panel ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.service-panel li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.62em;
  background: var(--brand-yellow);
}

.service-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.service-section.alt {
  background:
    radial-gradient(circle at 12% 18%, rgba(230, 4, 4, 0.18), transparent 25%),
    #0c0707;
}

.service-copy {
  max-width: 760px;
}

.service-copy h2,
.directions-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
  text-wrap: balance;
}

.service-copy p,
.directions-copy p {
  color: rgba(255, 248, 235, 0.76);
  font-size: 18px;
  text-wrap: pretty;
}

.service-grid,
.direction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-card,
.direction-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  padding: clamp(20px, 2.5vw, 28px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.direction-card {
  display: grid;
  min-height: 210px;
  align-content: space-between;
}

.direction-card:hover,
.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(235, 255, 0, 0.34);
  background: rgba(255, 255, 255, 0.07);
}

.service-card strong,
.direction-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.service-card p,
.direction-card p {
  margin-bottom: 0;
  color: rgba(255, 248, 235, 0.72);
  text-wrap: pretty;
}

.direction-card span {
  color: var(--brand-yellow);
  font-size: 14px;
  font-weight: 900;
}

.service-steps {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
}

.service-steps li {
  counter-increment: service-step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.service-steps li::before {
  content: counter(service-step);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  color: var(--red-deep);
  font-weight: 950;
}

.service-steps strong {
  display: block;
  color: var(--ink);
}

.service-steps p {
  margin: 5px 0 0;
  color: rgba(255, 248, 235, 0.72);
}

.service-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(120deg, rgba(230, 4, 4, 0.34), rgba(32, 1, 1, 0.96)),
    #070505;
  padding: clamp(46px, 7vw, 86px) 0;
}

.service-cta .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.service-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.service-cta p {
  max-width: 700px;
  color: rgba(255, 248, 235, 0.76);
}

.directions-hero {
  padding: clamp(54px, 8vw, 100px) 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(235, 255, 0, 0.12), transparent 20%),
    linear-gradient(135deg, rgba(230, 4, 4, 0.38), rgba(32, 1, 1, 0.98) 60%, #070505);
}

.cookie-notice {
  position: fixed;
  z-index: 70;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  width: min(520px, calc(100vw - 36px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(235, 255, 0, 0.24);
  background:
    linear-gradient(135deg, rgba(230, 4, 4, 0.2), rgba(32, 1, 1, 0.92)),
    rgba(7, 5, 5, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  color: rgba(255, 248, 235, 0.82);
  padding: 14px;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.38;
}

.cookie-notice a {
  color: var(--brand-yellow);
  font-weight: 850;
}

.cookie-notice button {
  min-height: 42px;
  border: 0;
  background: var(--brand-yellow);
  color: var(--red-deep);
  cursor: pointer;
  font-weight: 950;
  padding: 10px 14px;
}

.cookie-notice button:hover {
  background: #f4ff45;
}

.admin-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  padding: 14px clamp(16px, 4vw, 46px);
}

.admin-header-copy {
  display: grid;
  gap: 2px;
}

.admin-header-copy span {
  color: var(--brand-yellow);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-header-copy strong {
  color: var(--ink);
  font-size: 16px;
}

.admin-link,
.admin-button,
.admin-file-button,
.admin-icon-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 10px 14px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.admin-link[disabled],
.admin-button:disabled,
.admin-file-button:has(input:disabled),
.admin-icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.admin-link:hover,
.admin-button:hover,
.admin-file-button:hover,
.admin-icon-button:hover {
  border-color: rgba(235, 255, 0, 0.52);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.admin-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 22px;
}

.admin-hero h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5.3vw, 74px);
}

.admin-hero p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 248, 235, 0.74);
  font-size: 18px;
}

.admin-status {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 248, 235, 0.78);
  font-weight: 800;
  margin-bottom: 14px;
  padding: 14px 16px;
}

.admin-status[data-tone="success"] {
  border-color: rgba(235, 255, 0, 0.34);
  color: var(--brand-yellow);
}

.admin-status[data-tone="warning"] {
  border-color: rgba(230, 4, 4, 0.7);
  color: #ffb5b5;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-button.primary {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--red-deep);
}

.admin-button.danger,
.admin-icon-button {
  border-color: rgba(230, 4, 4, 0.42);
}

.admin-button.compact {
  min-height: 40px;
}

.admin-file-button {
  position: relative;
  overflow: hidden;
}

.admin-file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-grid {
  display: grid;
  gap: 18px;
}

.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(230, 4, 4, 0.13), rgba(32, 1, 1, 0.5)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 26px);
}

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

.admin-panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.admin-panel-note {
  max-width: 880px;
  margin: -4px 0 16px;
  color: rgba(255, 248, 235, 0.68);
  font-size: 14px;
}

.admin-rates,
.admin-branches,
.admin-backups {
  display: grid;
  gap: 10px;
}

.admin-rate-row,
.admin-branch-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 6, 6, 0.58);
  padding: 14px;
}

.admin-rate-row {
  display: grid;
  grid-template-columns: 0.6fr 1.1fr 0.7fr auto auto;
  gap: 10px;
  align-items: end;
}

.admin-branch-card {
  display: grid;
  gap: 12px;
}

.admin-branch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-branch-top strong {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 950;
}

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

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

.admin-branch-fields .wide,
.admin-settings-grid .wide {
  grid-column: 1 / -1;
}

.admin-rate-row label,
.admin-branch-fields label,
.admin-settings-grid label {
  display: grid;
  gap: 7px;
}

.admin-rate-row label span,
.admin-branch-fields label span,
.admin-settings-grid label span,
.admin-check span {
  color: rgba(255, 248, 235, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-rate-row input,
.admin-branch-fields input,
.admin-settings-grid input[type="text"],
.admin-settings-grid input[type="url"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #fff;
  color: var(--ink-dark);
  font-weight: 850;
  padding: 10px 12px;
}

.admin-check {
  min-height: 44px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-yellow);
}

.admin-icon-button {
  color: rgba(255, 248, 235, 0.86);
  white-space: nowrap;
}

.admin-backup-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 6, 6, 0.58);
  padding: 14px;
}

.admin-backup-row div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-backup-row strong {
  color: var(--ink);
}

.admin-backup-row span,
.admin-empty {
  color: rgba(255, 248, 235, 0.62);
  font-size: 13px;
}

.admin-empty {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
}

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

.reveal.is-visible {
  animation: reveal-up 680ms ease both;
}

@keyframes cinematic-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.055) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes button-shine {
  0%,
  56% {
    transform: translateX(-120%);
  }
  76%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes reveal-up {
  from {
    opacity: 1;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .estimate-grid,
  .items-grid,
  .process-grid,
  .admin-hero,
  .assurance-copy,
  .assurance-cards,
  .faq-grid,
  .branches-heading,
  .branches-grid,
  .service-hero-grid,
  .service-cta .section-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 760px;
  }

  .quiet-proof {
    max-width: 520px;
  }

  .faq-copy {
    position: static;
  }

  .service-main {
    padding-top: 112px;
  }

  .service-panel {
    max-width: 560px;
  }

  .service-cta .section-inner {
    justify-items: start;
  }

  .items-image,
  .process-media {
    min-height: 390px;
  }

  .map-card {
    min-height: 460px;
  }

  .live-map {
    min-height: 400px;
  }

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

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

  .admin-rate-row .admin-icon-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.has-quick-contact {
    padding-bottom: 0;
  }

  .section-inner {
    width: calc(100% - 28px);
  }

  .site-header {
    gap: 8px;
    padding-inline: 14px;
  }

  .admin-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .admin-header .brand {
    grid-row: 1 / 3;
  }

  .admin-header-copy {
    display: none;
  }

  .admin-link {
    justify-self: end;
  }

  .brand img {
    width: 96px;
  }

  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .header-channels {
    gap: 4px;
  }

  .channel-label {
    font-size: 0;
  }

  .channel-label::before {
    content: "Каналы";
    font-size: 10px;
  }

  .social-link {
    width: 44px;
    min-height: 44px;
  }

  .social-link img {
    width: 24px;
    height: 24px;
  }

  .quick-contact {
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    left: auto;
    transform: none;
  }

  .quick-contact-actions {
    display: grid;
    width: auto;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .quick-contact-icon,
  .quick-contact-phone {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
  }

  h1 {
    font-size: clamp(30px, 8.5vw, 33px);
    line-height: 1.06;
    text-wrap: auto;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 735px;
  }

  .hero-bg {
    background-position: 68% center;
  }

  .hero-grid {
    padding: 112px 0 76px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .service-hero h1,
  .directions-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .service-actions,
  .service-cta .button {
    width: 100%;
  }

  .service-card,
  .direction-card,
  .service-steps li {
    padding: 18px;
  }

  .service-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .crumbs {
    margin-bottom: 24px;
  }

  .field-row,
  .rate-row {
    grid-template-columns: 1fr;
  }

  .total {
    justify-content: flex-start;
  }

  .items-image,
  .process-media {
    min-height: 330px;
  }

  .steps li {
    grid-template-columns: 42px 1fr;
  }

  .steps span {
    width: 42px;
    height: 42px;
  }

  .faq-list summary {
    min-height: 58px;
    font-size: 16px;
    padding: 16px;
  }

  .faq-list details p {
    margin: -2px 16px 18px;
  }

  .branch-list > div {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .branch-picker {
    padding: 14px;
  }

  .branch-picker-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .branch-picker span {
    text-align: left;
  }

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

  .branch-filter-actions button {
    width: 100%;
    padding-inline: 10px;
  }

  .branch-filter-actions button[data-branch-area="all"] {
    grid-column: 1 / -1;
  }

  .manager-contact {
    gap: 8px;
  }

  .manager-actions {
    gap: 7px;
  }

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

  .live-map {
    min-height: 350px;
  }

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

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

  .requisites-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cookie-notice {
    left: 14px;
    right: 76px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: auto;
    grid-template-columns: 1fr;
  }

  .has-quick-contact .cookie-notice {
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .cookie-notice button {
    width: 100%;
  }

  .admin-shell {
    width: calc(100% - 28px);
    padding: 28px 0 54px;
  }

  .admin-actions,
  .admin-panel-heading,
  .admin-branch-top,
  .admin-backup-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions > *,
  .admin-panel-heading > .admin-button,
  .admin-branch-top > .admin-icon-button {
    width: 100%;
  }

  .admin-rate-row,
  .admin-branch-fields,
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-check {
    justify-content: flex-start;
  }
}
