/* Kontrol Yangın — tahliye planı dili: plan kağıdı, lacivert çizgi, kırmızı ekipman sembolü, yeşil kaçış yolu */

:root {
  --paper: #eef1f5;
  --paper-2: #e2e7ee;
  --white: #ffffff;
  --ink: #1b2470;
  --ink-deep: #0f1546;
  --flame: #e2231a;
  --flame-deep: #b3150f;
  --exit: #00843d;
  --exit-deep: #006a31;
  --steel: #5d6784;
  --line: rgba(27, 36, 112, 0.14);
  --line-strong: rgba(27, 36, 112, 0.32);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
}

.skip:focus {
  top: 12px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}

.h1 {
  font-size: clamp(40px, 6.4vw, 84px);
}

.h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.h3 {
  font-size: 21px;
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink);
}

.muted {
  color: var(--steel);
}

.label {
  font-stretch: 75%;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--steel);
}

.prose p {
  max-width: 66ch;
  margin: 0 0 1em;
}

/* ---------- Symbols (plan lejantı) ---------- */

.sym {
  --size: 34px;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 5px;
  background: var(--flame);
  color: var(--white);
}

.sym svg {
  width: 72%;
  height: 72%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sym--navy {
  background: var(--ink);
}

.sym--lg {
  --size: 56px;
  border-radius: 8px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-stretch: 108%;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn--fire {
  background: var(--flame);
  color: var(--white);
}

.btn--fire:hover {
  background: var(--flame-deep);
}

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

.btn--exit:hover {
  background: var(--exit-deep);
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Header: gece mavisi sahne, büyük logo, kapsül menü ---------- */

.topbar {
  background: #0a0f36;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
}

.topbar .wrap {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.topbar a {
  text-decoration: none;
}

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

.topbar-items {
  display: flex;
  gap: 24px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink-deep);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 128px;
  transition: min-height 0.3s;
}

.brand {
  position: relative;
  display: block;
  flex: none;
}

/* Alevin arkasında sıcak bir ışıma */
.brand::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 90%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(226, 35, 26, 0.22), transparent);
  pointer-events: none;
  transition: opacity 0.3s;
}

.brand img {
  position: relative;
  height: 108px;
  width: auto;
  transition: height 0.3s;
}

.header.is-compact {
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.header.is-compact .wrap {
  min-height: 80px;
}

.header.is-compact .brand img {
  height: 62px;
}

.header.is-compact .brand::before {
  opacity: 0.5;
}

@media (min-width: 961px) {
  .header.is-compact {
    background: rgba(15, 21, 70, 0.9);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
  }
}

.nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-stretch: 104%;
  font-size: 16px;
  text-decoration: none;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-link[aria-current="page"] {
  background: var(--white);
  color: var(--ink-deep);
}

.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.has-mega {
  position: relative;
}

.mega {
  position: absolute;
  right: -180px;
  top: calc(100% + 18px);
  width: min(880px, calc(100vw - 48px));
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--flame);
  border-radius: 12px;
  box-shadow: 0 40px 70px -30px rgba(5, 8, 30, 0.6);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.has-mega.is-open .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.has-mega.is-open .nav-link svg {
  transform: rotate(180deg);
}

.mega-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-stretch: 80%;
  font-weight: 700;
  color: var(--steel);
}

.mega-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-group a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
}

.mega-group a:hover {
  background: var(--paper);
}

.mega-group .sym {
  --size: 26px;
}

/* Arama butonu: kırmızı ikon dairesi + iki satırlı numara */
.header-call {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  background: var(--flame);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(226, 35, 26, 0.9);
  transition: background-color 0.15s, transform 0.15s;
}

.header-call:hover {
  background: var(--flame-deep);
}

.header-call-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--flame);
}

.header-call-icon svg {
  width: 20px;
  height: 20px;
}

.header-call small {
  display: block;
  font-size: 12.5px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.82);
}

.header-call strong {
  display: block;
  font-size: 18px;
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head p {
  margin: 0;
  max-width: 52ch;
}

/* ---------- Hero: gece mavisi blueprint üzerinde canlı kat planı ---------- */

.hero {
  --plan-bg: #121a55;
  --plan-line: rgba(255, 255, 255, 0.88);
  --plan-blue: #3b7bff;
  --plan-green: #2fe07a;
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(ellipse 55% 60% at 78% 45%, rgba(226, 35, 26, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 100%, rgba(59, 123, 255, 0.22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
  color: var(--white);
}

/* Altta kırmızı çizgi: logodaki alt şerit */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--flame), #ff5a3c 50%, var(--flame));
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero .h1 {
  margin-bottom: 26px;
  font-size: clamp(36px, 3.9vw, 56px);
  font-stretch: 112%;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero-kicker i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--plan-green);
  box-shadow: 0 0 0 4px rgba(47, 224, 122, 0.18);
}

.hero .lead {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.78);
}

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

.hero .btn--fire {
  box-shadow: 0 14px 30px -12px rgba(226, 35, 26, 0.9);
}

.hero .btn--line {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero .btn--line:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink-deep);
}

.hero-phone {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.hero-phone .sym--navy {
  background: var(--plan-blue);
}

.hero-phone strong {
  display: block;
  font-size: 24px;
  font-stretch: 115%;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-phone .label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}

.plan {
  position: relative;
  margin: 0;
  padding: 16px;
  background: linear-gradient(160deg, #18216a, var(--plan-bg));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow:
    0 50px 90px -40px rgba(0, 0, 0, 0.75),
    0 0 0 8px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.plan-stage {
  position: relative;
}

.plan svg.plan-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.plan-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.plan-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  font-weight: 600;
  color: var(--white);
}

.plan-status i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.plan-status[data-state="alarm"] i {
  background: #ff3b2f;
  box-shadow: 0 0 0 5px rgba(255, 59, 47, 0.25), 0 0 14px #ff3b2f;
}

.plan-status[data-state="action"] i {
  background: var(--plan-blue);
  box-shadow: 0 0 0 5px rgba(59, 123, 255, 0.25), 0 0 14px var(--plan-blue);
}

.plan-status[data-state="safe"] i {
  background: var(--plan-green);
  box-shadow: 0 0 0 5px rgba(47, 224, 122, 0.25), 0 0 14px var(--plan-green);
}

.plan-key {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.plan-key span {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-key i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--flame);
}

.plan-key i.k-navy {
  background: var(--plan-blue);
}

.plan-key i.k-exit {
  height: 0;
  border-radius: 0;
  border-top: 3px dashed var(--plan-green);
  background: none;
  width: 18px;
}

/* Plan çizimi */
.zone {
  fill: transparent;
  transition: fill 0.6s;
}

.zone.is-alarm {
  fill: rgba(255, 59, 47, 0.2);
  animation: zone-alarm 0.8s ease-in-out infinite alternate;
}

.zone.is-action {
  fill: rgba(59, 123, 255, 0.24);
}

.zone.is-safe {
  fill: rgba(47, 224, 122, 0.12);
}

@keyframes zone-alarm {
  to {
    fill: rgba(255, 59, 47, 0.38);
  }
}

.furniture {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
}

.wall {
  fill: none;
  stroke: var(--plan-line);
  stroke-width: 5;
}

.wall-thin {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 2.5;
}

.room-name {
  font-family: var(--font);
  font-stretch: 75%;
  font-weight: 600;
  font-size: 13px;
  fill: rgba(255, 255, 255, 0.55);
}

.door-gap {
  fill: var(--plan-bg);
  stroke: none;
}

.door-arc {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.route-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 24;
  stroke-linecap: round;
}

.route,
.route-glow {
  fill: none;
  stroke: var(--plan-green);
  stroke-linecap: round;
}

.route {
  stroke-width: 3.5;
  stroke-dasharray: 10 8;
}

.route-glow {
  stroke-width: 12;
  opacity: 0.18;
}

.route-arrow {
  fill: var(--plan-green);
}

.assembly {
  fill: rgba(47, 224, 122, 0.12);
  stroke: var(--plan-green);
  stroke-width: 1.5;
}

.assembly-text {
  font-family: var(--font);
  font-stretch: 80%;
  font-weight: 700;
  font-size: 13px;
  fill: #8ff5b8;
}

.here circle:first-child {
  fill: var(--flame);
}

.here-ring {
  fill: none;
  stroke: var(--flame);
  stroke-width: 1.5;
}

.here text {
  font-family: var(--font);
  font-stretch: 80%;
  font-weight: 700;
  font-size: 12px;
  fill: var(--white);
}

.pin {
  cursor: pointer;
}

.pin-body {
  transition: transform 0.15s;
}

.pin rect {
  fill: var(--flame);
  stroke: rgba(255, 255, 255, 0.0);
  stroke-width: 2;
  transition: stroke 0.2s;
}

.pin--navy rect {
  fill: var(--plan-blue);
}

.pin use {
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pin:hover .pin-body,
.pin:focus-visible .pin-body {
  transform: scale(1.2);
}

.pin:focus {
  outline: none;
}

.pin:focus-visible rect,
.pin.is-active rect {
  stroke: var(--white);
}

.pin.is-active .pin-body {
  transform: scale(1.25);
}

.ripple {
  fill: none;
  stroke: var(--plan-blue);
  stroke-width: 2;
  opacity: 0;
}

.fire,
.burst {
  opacity: 0;
  pointer-events: none;
}

.fire-glow {
  fill: rgba(255, 90, 40, 0.35);
}

.fire-flame {
  fill: #ff4a1c;
  stroke: #ffd166;
  stroke-width: 1.5;
}

.burst {
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
}

.plan-tip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  background: var(--white);
  color: var(--ink-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.12s;
}

.plan-tip.is-on {
  opacity: 1;
}

.plan-tip small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--steel);
  margin-top: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  /* Açılış: duvarlar çizilir, semboller yerine oturur, kaçış yolu akar */
  .is-drawing .wall,
  .is-drawing .wall-thin {
    stroke-dasharray: 1;
    animation: draw 1.4s cubic-bezier(0.65, 0, 0.35, 1) both;
  }

  .is-drawing .wall-thin {
    animation-delay: 0.25s;
  }

  .is-drawing .room-name,
  .is-drawing .furniture,
  .is-drawing .door-arc {
    animation: fade-in 0.6s 1s both;
  }

  .is-drawing .route-mask {
    stroke-dasharray: 1;
    animation: draw 1.6s 1.4s ease-out both;
  }

  .route {
    animation: route-flow 0.9s linear infinite;
  }

  .is-drawing .route-arrow,
  .is-drawing .assembly-group {
    animation: fade-in 0.5s 2.8s both;
  }

  .is-drawing .pin {
    animation: pin-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: calc(1.1s + var(--i) * 0.05s);
  }

  .pin {
    transform-box: fill-box;
    transform-origin: center;
  }

  .ripple {
    animation: ripple 2.8s ease-out infinite;
    animation-delay: calc(var(--i) * 0.3s + 3s);
    transform-box: fill-box;
    transform-origin: center;
  }

  .ripple--late {
    animation-delay: calc(var(--i) * 0.3s + 4.4s);
  }

  .here-ring {
    animation: here 1.8s ease-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .fire.is-on {
    animation: fire-in 0.4s both;
  }

  .fire.is-on .fire-flame {
    animation: flicker 0.35s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: 50% 100%;
  }

  .fire.is-on .fire-glow {
    animation: glow 0.9s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: center;
  }

  .fire.is-out {
    animation: fire-out 0.7s both;
  }

  .burst.is-on {
    animation: burst 1.1s ease-out 2;
    transform-box: fill-box;
    transform-origin: center;
  }

  @keyframes draw {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
  }

  @keyframes route-flow {
    to {
      stroke-dashoffset: -36;
    }
  }

  @keyframes pin-in {
    from {
      opacity: 0;
      transform: scale(0.3);
    }
  }

  @keyframes ripple {
    0% {
      opacity: 0.7;
      transform: scale(1);
    }
    70%,
    100% {
      opacity: 0;
      transform: scale(2.6);
    }
  }

  @keyframes here {
    0% {
      opacity: 1;
      transform: scale(0.8);
    }
    100% {
      opacity: 0;
      transform: scale(2);
    }
  }

  @keyframes fire-in {
    from {
      opacity: 0;
      transform: scale(0.4);
    }
    to {
      opacity: 1;
    }
  }

  @keyframes fire-out {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }

  @keyframes flicker {
    from {
      transform: scale(0.94, 1.04) skewX(-3deg);
    }
    to {
      transform: scale(1.04, 0.96) skewX(3deg);
    }
  }

  @keyframes glow {
    from {
      transform: scale(0.85);
      opacity: 0.7;
    }
    to {
      transform: scale(1.15);
      opacity: 1;
    }
  }

  @keyframes burst {
    0% {
      opacity: 0.9;
      transform: scale(0.8);
    }
    100% {
      opacity: 0;
      transform: scale(4);
    }
  }
}

/* Hareket azaltıldığında senaryo yerine durağan görünüm */
@media (prefers-reduced-motion: reduce) {
  .fire.is-on {
    opacity: 1;
  }
}

/* ---------- Ürün grupları ---------- */

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.cat {
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--line-strong);
}

.cat + .cat {
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}

.cat:nth-child(3n + 1) {
  padding-left: 0;
  border-left: 0;
}

.cat-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 18px;
  font-size: 22px;
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.cat-title .label {
  font-size: 14px;
  font-weight: 600;
}

.cat ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  text-decoration: none;
  border-top: 1px dashed var(--line);
}

.cat li:first-child .item {
  border-top: 0;
}

.item strong {
  display: block;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.item span.item-desc {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--steel);
  margin-top: 2px;
}

.item:hover strong {
  text-decoration-color: var(--flame);
}

/* ---------- Süreç (kaçış yolu bandı) ---------- */

.band {
  background: var(--ink-deep);
  color: var(--white);
}

.band .label,
.band .muted {
  color: rgba(255, 255, 255, 0.68);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 27px;
  border-top: 3px dashed var(--exit);
}

.step {
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 3px solid var(--exit);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 22px;
  position: relative;
}

.step h3 {
  font-size: 21px;
  font-stretch: 112%;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
}

.step p {
  margin: 0;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Hizmet alanları ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.split-aside {
  position: sticky;
  top: 120px;
}

.split-aside .h2 {
  margin-bottom: 20px;
}

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

.sector {
  padding: 24px 0;
  border-top: 2px solid var(--ink);
}

.sector p {
  margin: 0;
  color: var(--steel);
  font-size: 16px;
}

/* ---------- Hakkımızda özet ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.about-figure {
  position: relative;
  margin: 0;
}

.about-figure img {
  border-radius: 4px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}

.about-figure figcaption {
  position: absolute;
  left: -1px;
  bottom: -1px;
  background: var(--flame);
  color: var(--white);
  padding: 14px 18px;
  font-weight: 700;
  font-stretch: 110%;
  font-size: 16px;
  border-radius: 0 6px 0 4px;
  max-width: 80%;
  line-height: 1.3;
}

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.pair h3 {
  font-size: 18px;
  font-stretch: 110%;
  margin: 0 0 6px;
  padding-top: 14px;
  border-top: 3px solid var(--flame);
}

.pair p {
  margin: 0;
  font-size: 15.5px;
  color: var(--steel);
}

/* ---------- Referanslar ---------- */

.refs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.refs li {
  list-style: none;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 16px;
  aspect-ratio: 1;
}

.refs img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.refs-wrap {
  margin: 0;
  padding: 0;
}

/* ---------- İletişim bandı ---------- */

.contact-band {
  background: var(--flame);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
}

.contact-band .h2 {
  margin-bottom: 20px;
}

.contact-band p {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.9);
}

.big-phone {
  display: block;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  margin-bottom: 18px;
}

.big-phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.contact-band .btn--exit {
  box-shadow: 0 0 0 2px var(--white);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 0;
  font-size: 15.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
  gap: 40px;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 16px;
}

.footer h2 {
  color: var(--white);
  font-size: 16px;
  font-stretch: 110%;
  font-weight: 700;
  margin: 0 0 14px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer address {
  font-style: normal;
}

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

.footer-stripe {
  height: 6px;
  background: var(--flame);
}

/* ---------- WhatsApp: yangın ihbar butonu ---------- */

.callpoint {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.callpoint-label {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -12px rgba(15, 21, 70, 0.45);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.18s, transform 0.18s;
  pointer-events: none;
}

.callpoint-label small {
  display: block;
  font-weight: 400;
  color: var(--steel);
  font-size: 12.5px;
}

.callpoint:hover .callpoint-label,
.callpoint:focus-visible .callpoint-label {
  opacity: 1;
  transform: none;
}

.callpoint-box {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 10px;
  background: linear-gradient(160deg, #f0362d, var(--flame) 45%, var(--flame-deep));
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    0 14px 28px -10px rgba(179, 21, 15, 0.7);
}

/* İhbar butonunun cam paneli */
.callpoint-glass {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 1), inset 0 -3px 6px rgba(15, 21, 70, 0.12);
  transition: transform 0.12s;
}

.callpoint-glass svg {
  width: 28px;
  height: 28px;
  fill: var(--exit);
}

/* Durum LED'i */
.callpoint-led {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dff8f;
  box-shadow: 0 0 6px #3dff8f;
}

.callpoint:hover .callpoint-glass {
  transform: scale(0.94);
}

.callpoint:active .callpoint-glass {
  transform: scale(0.88);
}

@media (prefers-reduced-motion: no-preference) {
  .callpoint-led {
    animation: led 2.4s infinite;
  }

  @keyframes led {
    0%,
    70%,
    100% {
      opacity: 1;
    }
    80% {
      opacity: 0.25;
    }
  }
}

/* ---------- İç sayfa başlığı ---------- */

.page-head {
  padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  position: relative;
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--paper) 35%, rgba(238, 241, 245, 0.6));
  pointer-events: none;
}

.page-head .wrap {
  position: relative;
  z-index: 1;
}

.crumbs {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--steel);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-head .lead {
  margin: 22px 0 0;
}

/* ---------- Ürün sayfası ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px);
}

.gallery {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
  margin: 0 0 48px;
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: var(--paper-2);
}

.gallery--single {
  grid-template-columns: 1fr;
}

.gallery--single img {
  aspect-ratio: 16 / 8;
}

.product-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 48px 0 18px;
}

.product-body h2:first-child {
  margin-top: 0;
}

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  padding: 7px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.2;
  background: var(--white);
}

/* Levha çeşitleri — gerçek işaret levhası formunda */
.chips--sign li {
  border-radius: 3px;
  border: 0;
  border-left: 6px solid var(--flame);
  background: var(--white);
  font-weight: 600;
  font-stretch: 90%;
}

.chips--sign li:nth-child(3n + 2) {
  border-left-color: var(--exit);
}

.chips--sign li:nth-child(3n) {
  border-left-color: #f2b705;
}

.howto {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: how;
}

.howto li {
  counter-increment: how;
  position: relative;
  padding: 0 0 22px 56px;
  max-width: 64ch;
}

.howto li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--exit);
  font-weight: 800;
  font-stretch: 120%;
  color: var(--exit-deep);
  background: var(--white);
}

.howto li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 2px;
  border-left: 2.5px dashed var(--exit);
}

.howto li:last-child::after {
  display: none;
}

.howto strong {
  display: block;
  font-size: 18px;
}

.kke {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kke img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.kke span {
  font-weight: 700;
  font-size: 16px;
}

/* Bakım kartı biçiminde teknik bilgiler */
.tag {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px 10px 4px 4px;
  padding: 44px 22px 18px;
}

.tag::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.tag-head {
  margin: 0 -22px 14px;
  padding: 8px 22px;
  background: var(--flame);
  color: var(--white);
  font-weight: 700;
  font-stretch: 105%;
  font-size: 15px;
}

.tag--navy .tag-head {
  background: var(--ink);
}

.tag dl {
  margin: 0;
}

.tag dl div {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.tag dl div:last-child {
  border-bottom: 0;
}

.tag dt {
  font-size: 13.5px;
  color: var(--steel);
  font-stretch: 90%;
}

.tag dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 20px;
}

.quote {
  background: var(--ink-deep);
  color: var(--white);
  border-radius: 8px;
  padding: 24px;
}

.quote h2 {
  font-size: 21px;
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
}

.quote p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.quote .btn {
  width: 100%;
  justify-content: center;
}

.quote .btn + .btn {
  margin-top: 10px;
}

.related {
  border-top: 2px solid var(--ink);
  padding: 56px 0 clamp(64px, 8vw, 104px);
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 32px;
}

.related-list .item {
  border-top: 1px dashed var(--line-strong);
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pager a {
  text-decoration: none;
  max-width: 48%;
}

.pager a:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--flame);
}

.pager strong {
  display: block;
  font-size: 18px;
}

.pager .next {
  text-align: right;
  margin-left: auto;
}

/* ---------- Ürünler sayfası ---------- */

.cat-block {
  padding: 56px 0;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px 56px;
}

.cat-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.cat-block h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-stretch: 118%;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 16px 0 10px;
}

.cat-block p {
  margin: 0;
  color: var(--steel);
}

.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}

.tile {
  display: block;
  text-decoration: none;
}

.tile-img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
  background: var(--paper-2);
}

.tile-img img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  transition: transform 0.35s;
}

.tile-img .sym {
  position: absolute;
  left: 10px;
  top: 10px;
}

.tile:hover .tile-img img {
  transform: scale(1.04);
}

.tile strong {
  display: block;
  font-size: 19px;
  font-stretch: 108%;
  line-height: 1.25;
}

.tile:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--flame);
  text-underline-offset: 3px;
}

.tile span.item-desc {
  display: block;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.45;
  margin-top: 4px;
}

/* ---------- Hakkımızda sayfası ---------- */

.areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.areas img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.areas strong {
  font-size: 18px;
  font-stretch: 108%;
}

/* ---------- İletişim sayfası ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 6vw, 72px) 0;
}

.contact-list {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 0;
}

.contact-list div {
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
}

.contact-list dt {
  font-size: 14px;
  color: var(--steel);
}

.contact-list dd {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.35;
}

.contact-list dd a {
  text-decoration: none;
}

.contact-list dd a:hover {
  text-decoration: underline;
  text-decoration-color: var(--flame);
}

.form {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 36px);
}

.form h2 {
  font-size: 26px;
  font-stretch: 115%;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.15;
}

.form > p {
  margin: 0 0 24px;
  color: var(--steel);
  font-size: 15.5px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 600;
  font-size: 15px;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(226, 35, 26, 0.25);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-error {
  color: var(--flame-deep);
  font-size: 14.5px;
  font-weight: 600;
  min-height: 1.4em;
  margin: 0 0 8px;
}

.map {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.4) contrast(1.05);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .topbar-items .hide-md {
    display: none;
  }

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

  .cat:nth-child(3n + 1) {
    padding-left: 28px;
    border-left: 1px solid var(--line-strong);
  }

  .cat:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }

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

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

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-call {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 100%);
    background: var(--white);
    padding: 88px 20px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s;
    box-shadow: -20px 0 50px -20px rgba(15, 21, 70, 0.4);
    z-index: 60;
    visibility: hidden;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 18px;
    padding: 14px 16px;
    color: var(--ink);
    border-radius: var(--radius);
  }

  .nav-link:hover {
    background: var(--paper);
    color: var(--ink);
  }

  .nav-link[aria-current="page"] {
    background: var(--ink-deep);
    color: var(--white);
  }

  .menu-close {
    color: var(--ink);
    border-color: var(--line-strong);
    background: none;
  }

  .header .wrap {
    min-height: 84px;
  }

  .brand img {
    height: 64px;
  }

  .header.is-compact .wrap {
    min-height: 68px;
  }

  .header.is-compact .brand img {
    height: 50px;
  }

  .mega {
    position: static;
    width: auto;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 4px 4px 12px 12px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .has-mega.is-open .mega {
    display: grid;
  }

  .menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hero .wrap,
  .section-head,
  .split,
  .about,
  .contact-band .wrap,
  .product,
  .cat-block,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan {
    transform: none;
  }

  .split-aside,
  .aside {
    position: static;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }

  .steps::before {
    display: none;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .topbar {
    display: none;
  }

  .header .wrap {
    min-height: 84px;
  }

  .brand img {
    height: 66px;
  }

  .catalog,
  .sectors,
  .pair,
  .tiles,
  .field-row,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cat,
  .cat + .cat,
  .cat:nth-child(3n + 1) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
  }

  .plan {
    padding: 8px;
    box-shadow: 6px 6px 0 var(--paper-2);
  }

  .plan-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .callpoint-box {
    width: 64px;
    height: 64px;
  }

  .callpoint-glass {
    width: 42px;
    height: 42px;
  }

  .page-title .sym--lg {
    --size: 44px;
  }

  .pager {
    flex-direction: column;
  }

  .pager a {
    max-width: none;
  }
}
