.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--header-height);
  background: rgba(7, 7, 8, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
  background: rgba(7, 7, 8, .96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

/* =========================
   BRAND / LOGO
========================= */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-pro {
  max-width: 470px;
}

.brand-logo-box,
.brand-logo-img {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 14px 34px rgba(0,0,0,.38),
    inset 0 0 0 1px rgba(0,0,0,.08);
}

.brand-logo-photo,
.brand-logo-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  padding: 0;
}

.brand-mark {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, #fff1a3, transparent 28%),
    linear-gradient(135deg, var(--yellow), #ffcf2f);
  color: var(--black);
  font-weight: 950;
  font-size: 34px;
  box-shadow: 0 12px 32px rgba(255, 196, 0, .18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  min-width: 0;
}

.brand-text-pro {
  min-width: 0;
}

.brand-title,
.brand-text strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: .95;
  font-weight: 950;
  color: #fff;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-meta {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-weight: 800;
  font-size: 15px;
}

/* =========================
   NAVIGATION
========================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 6px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
}

.main-nav a {
  text-decoration: none;
  color: #dedee3;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 13px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
  white-space: nowrap;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--black);
  background: var(--yellow);
}

/* =========================
   HEADER ACTIONS
========================= */

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

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9ffd9;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.header-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .16);
}

.header-call {
  display: grid;
  text-decoration: none;
  background: linear-gradient(135deg, var(--red), #f01f28);
  padding: 10px 17px;
  border-radius: 999px;
  line-height: 1.08;
  box-shadow: var(--shadow-red);
}

.header-call span {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255, 255, 255, .78);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.header-call strong {
  font-size: 15px;
  letter-spacing: .02em;
  color: #fff;
}

/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.07);
  border-radius: 18px;
  margin-left: auto;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(215,25,32,.16), transparent 35%),
    #050506;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr .85fr .95fr .9fr;
  gap: 34px;
}

.footer-brand p {
  color: var(--muted-2);
  margin: 18px 0;
  max-width: 380px;
}

.footer-logo .brand-mark {
  width: 48px;
  height: 48px;
}

.footer-call {
  display: inline-flex;
  text-decoration: none;
  color: var(--yellow);
  font-weight: 950;
  font-size: 24px;
  letter-spacing: -.02em;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 16px;
}

.footer-col a,
.footer-col p {
  color: #cfcfd4;
  text-decoration: none;
  display: block;
  margin: 9px 0;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-col strong {
  color: var(--white);
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
}

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

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* =========================
   MOBILE CALL BUTTON
========================= */

.mobile-cta {
  display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .brand-pro {
    max-width: 410px;
  }

  .brand-title,
  .brand-text strong {
    font-size: 27px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .brand-meta {
    font-size: 10px;
  }
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 0;
  }

  .main-nav a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .header-status {
    display: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .header-actions {
    display: none;
  }

  .brand-pro {
    max-width: calc(100% - 78px);
  }

  .brand-logo-box,
  .brand-logo-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 22px;
  }

  .brand-title,
  .brand-text strong {
    font-size: 27px;
  }

  .brand-subtitle {
    font-size: 10px;
    letter-spacing: .055em;
  }

  .brand-meta {
    font-size: 10px;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 12px;
    background:
      radial-gradient(circle at top left, rgba(255,196,0,.10), transparent 34%),
      #121214;
    border: 1px solid var(--border-strong);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    color: var(--white);
    padding: 14px 16px;
    border-radius: 14px;
  }

  .main-nav a.active,
  .main-nav a:hover {
    color: var(--black);
    background: var(--yellow);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .mobile-cta {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 90;
  }

  .mobile-cta a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--red), #f01f28);
    color: var(--white);
    padding: 15px 18px;
    border-radius: 20px;
    font-weight: 950;
    box-shadow: 0 20px 46px rgba(0,0,0,.45);
  }

  .mobile-cta-label {
    color: rgba(255,255,255,.78);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .mobile-cta strong {
    font-size: 17px;
    letter-spacing: .02em;
  }

  body {
    padding-bottom: 88px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo-box,
  .brand-logo-img {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 20px;
  }

  .brand-title,
  .brand-text strong {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 9px;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-meta {
    font-size: 9px;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 430px) {
  .brand-logo-box,
  .brand-logo-img {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 18px;
  }

  .brand-title,
  .brand-text strong {
    font-size: 22px;
  }

  .brand-subtitle,
  .brand-meta {
    max-width: 190px;
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }
}

@media (max-width: 390px) {
  .brand-logo-box,
  .brand-logo-img {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 17px;
  }

  .brand-title,
  .brand-text strong {
    font-size: 20px;
  }

  .brand-subtitle,
  .brand-meta {
    max-width: 170px;
  }
}


/* ===== Footer Logo Fix ===== */

.footer-logo {
  align-items: center;
}

.footer-logo-box {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 14px 34px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(0,0,0,.08);
}

.footer-logo-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  padding: 0;
}

.footer-logo .brand-text strong {
  font-size: 24px;
  line-height: 1;
}

.footer-logo .brand-text small {
  font-size: 17px;
}

@media (max-width: 520px) {
  .footer-logo-box {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 20px;
  }

  .footer-logo .brand-text strong {
    font-size: 22px;
  }

  .footer-logo .brand-text small {
    font-size: 16px;
  }
}

/* ===== Premium Footer Brand Card ===== */

.footer-brand-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255,196,0,.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(215,25,32,.16), transparent 38%),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 46px rgba(0,0,0,.24);
}

.footer-brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.035) 0,
      rgba(255,255,255,.035) 1px,
      transparent 1px,
      transparent 12px
    );
  pointer-events: none;
  opacity: .55;
}

.footer-brand-card > * {
  position: relative;
  z-index: 1;
}

.footer-brand-lead {
  color: #e2e2e7;
  margin: 20px 0 18px;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.65;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  color: #f2f2f4;
  font-size: 12px;
  font-weight: 900;
}

.footer-badges span:first-child {
  background: rgba(255,196,0,.16);
  color: var(--yellow);
  border-color: rgba(255,196,0,.25);
}

.footer-call-pro {
  display: inline-grid;
  gap: 2px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--red), #f01f28);
  color: #fff;
  padding: 13px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-red);
}

.footer-call-pro span {
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.78);
}

.footer-call-pro strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}

.footer-contact-col {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-contact-item {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
}

.footer-contact-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 5px;
}

.footer-contact-item a,
.footer-contact-item strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.footer-contact-item a {
  color: var(--yellow);
}

@media (max-width: 520px) {
  .footer-brand-card {
    padding: 20px;
    border-radius: 24px;
  }

  .footer-brand-lead {
    font-size: 15px;
  }

  .footer-call-pro {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
