/* ============================================================
   HEADER — Industrial Architecture Navigation
   Mobile: full-width sticky at top, white bg.
   Desktop 1024px+: floating rectangular panel — no border-radius,
   strict, architectural, engineering character.
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    background var(--t-base);
}

.header--scrolled {
  border-color: var(--c-border);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.06),
    0 4px 24px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}


/* ── Logo ── */

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header__logo-name {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--c-graphite);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.header__logo-tagline {
  font-size: 10px;
  font-weight: 600;
  color: rgba(50, 65, 80, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}


/* ── Desktop Navigation ── */

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav-list li {
  display: flex;
  align-items: center;
}

/* Vertical divider between nav items */
.header__nav-list li:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 16px;
  background: rgba(15, 23, 42, 0.14);
  flex-shrink: 0;
}

.header__nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 6px 11px;
  text-decoration: none;
}

/* Amber underline — expands from center on hover */
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #f59e0b;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__nav-link:hover {
  color: #f59e0b;
}

.header__nav-link:hover::after {
  width: calc(100% - 22px);
}


/* ── Actions ── */

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}


/* ── Phone contact block ── */

.header__phone-block {
  display: none;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.header__phone-block:hover {
  opacity: 0.80;
}

.header__phone-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-amber);
}

.header__phone-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header__phone-number {
  font-size: var(--text-base);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
  line-height: 1;
}

.header__phone-hours {
  font-size: 12px;
  font-weight: 500;
  color: rgba(100, 116, 139, 0.80);
  letter-spacing: 0.01em;
  line-height: 1;
}


/* ── Header CTA Button ── */

.header__cta-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 48px;
  padding: 0 var(--sp-6);
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #FFFFFF;
  background: linear-gradient(160deg, #F59E0B 0%, #D97706 100%);
  border: none;
  border-radius: 0;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.20) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 3px 12px rgba(217, 119, 6, 0.36),
    0 1px 4px rgba(217, 119, 6, 0.20);
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease,
    filter 0.18s ease;
}

.header__cta-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.header__cta-btn:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.20) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 6px 22px rgba(217, 119, 6, 0.52),
    0 2px 8px rgba(217, 119, 6, 0.28);
  transform: translateY(-1px);
}

.header__cta-btn:hover svg {
  transform: translateX(3px);
}

.header__cta-btn:active {
  transform: translateY(0) scale(0.97);
  filter: brightness(0.95);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);
}


/* ── Burger ── */

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  border: none;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-graphite);
  border-radius: 0;
  transition: transform var(--t-base), opacity var(--t-base);
}

.header__burger.is-active .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.is-active .header__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__burger.is-active .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ── Menu backdrop overlay ── */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 97;
  background: rgba(8, 12, 22, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.30s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}


/* ── Mobile Menu Panel — industrial right drawer ── */

.header__mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 86vw;
  max-width: 340px;
  /*
    Background: warm off-white base with very subtle
    engineering grid texture overlay.
  */
  background:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 23px,
      rgba(31, 41, 51, 0.020) 23px,
      rgba(31, 41, 51, 0.020) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 23px,
      rgba(31, 41, 51, 0.014) 23px,
      rgba(31, 41, 51, 0.014) 24px
    ),
    #F5F4F1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 99;
  box-shadow:
    -8px 0 40px rgba(8, 12, 22, 0.18),
    -2px 0 8px rgba(8, 12, 22, 0.10);
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 119, 6, 0.20) transparent;
}

.header__mobile-menu::-webkit-scrollbar {
  width: 3px;
}

.header__mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(217, 119, 6, 0.20);
  border-radius: 3px;
}

.header__mobile-menu.is-open {
  transform: translateX(0);
}


/* ── mmenu: Panel header ── */

.mmenu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px 11px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.48);
}

.mmenu__head-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mmenu__head-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.mmenu__head-name {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.mmenu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.09);
  color: rgba(15, 23, 42, 0.45);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.20s ease,
    color 0.20s ease,
    border-color 0.20s ease;
}

.mmenu__close:hover {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.22);
  color: #D97706;
}


/* ── mmenu: Navigation items ── */

.mmenu__nav {
  display: flex;
  flex-direction: column;
  /* 6px bottom — breathing room before divider */
  padding: 4px 0 6px;
  flex-shrink: 0;
}

.mmenu__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  text-decoration: none;
  border-left: 2px solid transparent;
  /* Initial hidden state — animated in on open */
  opacity: 0;
  transform: translateX(12px);
  transition:
    background 0.22s ease,
    border-color 0.22s ease;
}

/* Stagger animation — fires when panel opens */
.header__mobile-menu.is-open .mmenu__nav-item {
  animation: mmenuItemIn 0.36s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.header__mobile-menu.is-open .mmenu__nav-item:nth-child(1) { animation-delay: 0.06s; }
.header__mobile-menu.is-open .mmenu__nav-item:nth-child(2) { animation-delay: 0.11s; }
.header__mobile-menu.is-open .mmenu__nav-item:nth-child(3) { animation-delay: 0.16s; }
.header__mobile-menu.is-open .mmenu__nav-item:nth-child(4) { animation-delay: 0.21s; }

@keyframes mmenuItemIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0);    }
}

.mmenu__nav-item:hover {
  background: rgba(217, 119, 6, 0.05);
  border-left-color: rgba(217, 119, 6, 0.55);
}

.mmenu__nav-num {
  font-size: 10px;
  font-weight: 700;
  /* Lighter — decorative, not competing with label */
  color: rgba(217, 119, 6, 0.40);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 18px;
}

.mmenu__nav-label {
  flex: 1;
  font-size: 15px;
  font-weight: 800;
  /* Darker + heavier — confident industrial typography */
  color: #0C1520;
  line-height: 1.2;
}

.mmenu__nav-arrow {
  /* Slightly more visible — stronger direction cue */
  color: rgba(15, 23, 42, 0.32);
  flex-shrink: 0;
  transition: color 0.22s ease, transform 0.22s ease;
}

.mmenu__nav-item:hover .mmenu__nav-arrow {
  color: rgba(217, 119, 6, 0.65);
  transform: translateX(3px);
}


/* ── mmenu: Divider ── */

.mmenu__divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.07);
  /* 4px above / 6px below — separates nav from contact zone */
  margin: 4px 20px 6px;
  flex-shrink: 0;
}


/* ── mmenu: Contact block — centered premium info-section ── */

.mmenu__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap 10px: phone → meta group (~10-14px target) */
  gap: 10px;
  padding: 18px 20px 12px;
  flex-shrink: 0;
  text-align: center;
}

.mmenu__phone {
  font-size: 18px;
  font-weight: 800;
  color: #0C1520;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.15;
  transition: color 0.20s ease;
}

.mmenu__phone:hover {
  color: #D97706;
}

.mmenu__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mmenu__hours,
.mmenu__address {
  font-size: 11.5px;
  color: rgba(15, 23, 42, 0.36);
  line-height: 1.45;
}


/* ── mmenu: Messenger buttons — centered row ── */

.mmenu__messengers {
  display: flex;
  justify-content: center;
  gap: 8px;
  /* top 10px: contacts-bottom 12 + messengers-top 10 = 22px (~20-24px target) */
  padding: 10px 20px 8px;
  flex-shrink: 0;
}

.mmenu__msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.48);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

.mmenu__msg-btn:hover {
  border-color: rgba(217, 119, 6, 0.32);
  color: #D97706;
  background: rgba(217, 119, 6, 0.04);
}


/* ── mmenu: Trust signal — centered ── */

.mmenu__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  /*
    top 4px: messengers-bottom 8 + trust-top 4 = 12px (~12px target).
    bottom 20px: trust-bottom 20 + cta-top 16 = 36px (~28-32px target).
  */
  padding: 4px 20px 20px;
  font-size: 11px;
  color: rgba(15, 23, 42, 0.30);
  letter-spacing: 0.03em;
  line-height: 1.3;
  flex-shrink: 0;
  margin: 0;
}

/* Green "online" dot */
.mmenu__trust::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}


/* ── mmenu: CTA zone — action surface ── */

.mmenu__cta {
  display: flex;
  flex-direction: column;
  /* gap 14px: primary → secondary (~14-16px target) */
  gap: 14px;
  /* top 16px + trust-bottom 20px = 36px trust→CTA gap */
  /* bottom 24px + foot-top 14px = 38px CTA→footer gap */
  padding: 16px 18px 24px;
  /*
    Subtle tinted surface — slight white lift above the grid bg.
    Soft amber-tinted top divider separates from info block.
  */
  background: rgba(255, 255, 255, 0.34);
  border-top: 1px solid rgba(217, 119, 6, 0.10);
  flex-shrink: 0;
}

.mmenu__cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.025em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(0, 0, 0, 0.16) inset,
    0 5px 16px rgba(217, 119, 6, 0.34),
    0 2px 5px rgba(217, 119, 6, 0.16);
  transition:
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.mmenu__cta-primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(0, 0, 0, 0.16) inset,
    0 8px 22px rgba(217, 119, 6, 0.42),
    0 2px 6px rgba(217, 119, 6, 0.22);
  transform: translateY(-1px);
}

.mmenu__cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 20px;
  background: transparent;
  /* Stronger border + text — readable, not ghost */
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.65);
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

/* Phone icon inside secondary CTA */
.mmenu__cta-secondary::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 2a.5.5 0 0 0-.5.5v1a8 8 0 0 0 8 8h1a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H9.25a.5.5 0 0 0-.4.2l-.6.8A6 6 0 0 1 4.5 5.75l.8-.6A.5.5 0 0 0 5.5 4.75V3a.5.5 0 0 0-.5-.5H2.5z' fill='%230C1520' fill-opacity='0.50'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.7;
  transition: opacity 0.22s ease;
}

.mmenu__cta-secondary:hover {
  border-color: rgba(217, 119, 6, 0.32);
  color: #D97706;
  background: rgba(217, 119, 6, 0.03);
}

.mmenu__cta-secondary:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 2a.5.5 0 0 0-.5.5v1a8 8 0 0 0 8 8h1a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H9.25a.5.5 0 0 0-.4.2l-.6.8A6 6 0 0 1 4.5 5.75l.8-.6A.5.5 0 0 0 5.5 4.75V3a.5.5 0 0 0-.5-.5H2.5z' fill='%23D97706' fill-opacity='0.90'/%3E%3C/svg%3E");
  opacity: 1;
}


/* ── mmenu: Trust strip — 2×2 compact footer trust grid ── */

.mmenu__tstrip {
  /*
    Spacing: CTA padding-bottom 24px + tstrip border = ~24-28px gap.
    Then tstrip padding-top 20px before first item.
  */
  padding: 20px 20px 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.055);
  flex-shrink: 0;
}

.mmenu__tstrip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* row 12px / column 16px — tighter than CTA, modular */
  gap: 12px 16px;
}

.mmenu__tstrip-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.mmenu__tstrip-icon {
  width: 13px;
  height: 13px;
  /* Muted amber — industrial engineering tone */
  color: rgba(217, 119, 6, 0.45);
  flex-shrink: 0;
  /* Align with first text baseline */
  margin-top: 1px;
}

.mmenu__tstrip-label {
  font-size: 11px;
  font-weight: 500;
  /* Low contrast — supporting layer, not competing with CTA */
  color: rgba(15, 23, 42, 0.38);
  line-height: 1.35;
  letter-spacing: 0.01em;
}


/* ── mmenu: Footer strip ── */

.mmenu__foot {
  /* top 14px: CTA-bottom 24 + foot-top 14 = 38px (~36-44px target) */
  /* bottom 28px: generous breathing room — menu ending */
  padding: 14px 20px 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.055);
  text-align: center;
  flex-shrink: 0;
}

.mmenu__foot span {
  font-size: 10px;
  color: rgba(15, 23, 42, 0.20);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ── Mobile centre brand — hidden by default ── */

.header__mobile-brand {
  display: none;
}


/* ── Mobile only (max 767px) — premium industrial compact header ── */

@media (max-width: 767px) {

  /* 64px — compact premium industrial toolbar */
  :root {
    --header-height: 64px;
  }

  /*
    Layout: logo LEFT — brand CENTRE — [phone + burger] RIGHT.
    position: relative enables absolute centre-brand positioning.
  */
  .header__container {
    justify-content: flex-start;
    padding: 0 18px;
    position: relative;
  }

  /*
    Logo — fixed width = phone(42) + gap(14) + burger(42) = 98px.
    This makes both sides equal so the centre brand sits at true centre.
  */
  .header__logo {
    gap: 0;
    flex-shrink: 0;
    width: 98px;
  }

  .header__logo-icon {
    height: 46px;
    width: auto;
  }

  .header__logo-text {
    display: none;
  }

  /* ── Centre brand — compact industrial identity ── */
  .header__mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: absolute;
    left: 50%;
    /*
      Shift left to visually centre between logo icon and phone capsule.
      Right side: padding(18) + burger(40) + gap(14) + phone(42) = 114px
      Logo icon visual width: ~46px + padding(18) = 64px
      Correction: (114 − 64) / 2 = 25px shift left
    */
    transform: translateX(calc(-50% - 25px));
    pointer-events: none;
    white-space: nowrap;
  }

  .header__mobile-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
  }

  .header__mobile-brand-sub {
    font-size: 7.5px;
    font-weight: 600;
    color: rgba(217, 119, 6, 0.75);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
  }

  /* ── Actions: push group to right edge ── */
  .header__actions {
    margin-left: auto;
    gap: 0;
  }

  /* ── Phone capsule button — compact industrial UI ── */
  .header__phone-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    gap: 0;
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .header__phone-block:hover {
    opacity: 1;
    background: rgba(217, 119, 6, 0.06);
    border-color: rgba(217, 119, 6, 0.20);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 0 0 3px rgba(217, 119, 6, 0.07);
  }

  /* Amber phone icon — slightly bolder stroke */
  .header__phone-icon {
    width: 17px;
    height: 17px;
    color: #D97706;
    flex-shrink: 0;
  }

  /* Hide all text inside phone block */
  .header__phone-info {
    display: none;
  }

  /* CTA button — hidden on mobile */
  .header__cta-btn {
    display: none;
  }

  /*
    Burger — 14px gap from phone capsule via margin-left.
    Lines: 22px wide, 2.5px thick, rounded caps, dark graphite.
    gap: 5px — animation recalibrated below.
  */
  .header__burger {
    margin-left: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    padding: 10px;
    gap: 5px;
    /* Match phone capsule style */
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .header__burger:hover {
    background: rgba(217, 119, 6, 0.06);
    border-color: rgba(217, 119, 6, 0.20);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 0 0 3px rgba(217, 119, 6, 0.07);
  }

  .header__burger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #D97706;
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-base);
  }

  /*
    X-close animation recalibrated for 2.5px lines + 5px gap.
    Center-to-center: 2.5/2 + 5 + 2.5/2 = 7.5px.
  */
  .header__burger.is-active .header__burger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .header__burger.is-active .header__burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .header__burger.is-active .header__burger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}


/* ── Tablet (768px+) ── */

@media (min-width: 768px) {
  .header__logo-icon {
    height: 52px;
  }

  .header__logo-name {
    font-size: var(--text-lg);
    letter-spacing: 0.06em;
  }
}


/* ── Desktop (1024px+): floating industrial rectangular panel ── */

@media (min-width: 1024px) {

  .header {
    top: 14px;
    width: calc(100% - 48px);
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    height: 76px;
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 2px solid rgba(15, 23, 42, 0.10);
    box-shadow:
      0 4px 24px rgba(15, 23, 42, 0.08),
      0 1px 4px rgba(15, 23, 42, 0.04);
    transition:
      box-shadow var(--t-base),
      border-color var(--t-base);
  }

  .header--scrolled {
    background: #FFFFFF;
    border-color: rgba(15, 23, 42, 0.10);
    border-bottom-color: rgba(15, 23, 42, 0.14);
    box-shadow:
      0 8px 40px rgba(15, 23, 42, 0.11),
      0 2px 8px rgba(15, 23, 42, 0.05);
  }

  .header__container {
    padding: 0 var(--sp-8);
  }

  .header__logo {
    gap: var(--sp-4);
  }

  .header__logo-icon {
    height: 64px;
  }

  .header__logo-text {
    gap: 5px;
  }

  .header__logo-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.07em;
  }

  .header__logo-tagline {
    font-size: 10px;
    color: rgba(50, 65, 80, 0.65);
    letter-spacing: 0.07em;
  }

  .header__nav {
    display: flex;
  }

  .header__phone-block {
    display: inline-flex;
  }

  .header__cta-btn {
    display: inline-flex;
  }

  .header__burger {
    display: none;
  }

  .header__mobile-menu {
    display: none;
  }

  .menu-overlay {
    display: none;
  }
}


/* ── Large desktop (1280px+) ── */

@media (min-width: 1280px) {
  .header__container {
    padding: 0 var(--sp-10);
  }
}
