@import url("./local-fonts.css");

:root {
  --dark: #080506;
  --border: rgba(15,23,42,.12);
  --accent2: #ff6a21;
  --max: 1120px;
  --cream: #f6e9d8;
  --violet: #ff7a2f;
  --violet-strong: #cf2600;
  --mint: #ffc14f;
  --warm: #fff1d7;
  --ui-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

* { box-sizing: border-box }
html { width: 100%; min-height: 100%; overflow-x: hidden }

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--ui-font);
  background: var(--dark);
  position: relative;
  isolation: isolate;
  color: #f7efe5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 140;
  background:
    linear-gradient(180deg, rgba(6,8,14,.72) 0%, rgba(8,10,16,.38) 42%, rgba(8,10,16,.18) 100%),
    radial-gradient(120% 120% at 50% 22%, rgba(255,255,255,.18), transparent 56%);
  opacity: 0;
  transition: opacity .32s cubic-bezier(.16,1,.3,1);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(255,255,255,.10), transparent 55%),
    radial-gradient(120% 120% at 50% 30%, rgba(0,0,0,.65), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0px, rgba(255,255,255,.06) 1px, transparent 2px, transparent 8px);
  mix-blend-mode: overlay;
  opacity: .16;
  animation: scanMove 1.9s linear infinite;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}

html.js body > header,
html.js body > main,
html.js body > footer,
html.js body > .modal,
html.js body > .vmodal,
html.js body > #videoModal {
  transition:
    opacity .32s cubic-bezier(.16,1,.3,1),
    transform .36s cubic-bezier(.16,1,.3,1),
    filter .36s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform, filter;
}

html.js body.page-entering:not(.page-ready) > header,
html.js body.page-entering:not(.page-ready) > main,
html.js body.page-entering:not(.page-ready) > footer,
html.js body.page-entering:not(.page-ready) > .modal,
html.js body.page-entering:not(.page-ready) > .vmodal,
html.js body.page-entering:not(.page-ready) > #videoModal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.992);
  filter: blur(10px);
}

html.js body.page-entering:not(.page-ready)::before,
html.js body.page-leaving::before {
  opacity: 1;
}

html.js body.page-leaving > header,
html.js body.page-leaving > main,
html.js body.page-leaving > footer,
html.js body.page-leaving > .modal,
html.js body.page-leaving > .vmodal,
html.js body.page-leaving > #videoModal {
  opacity: 0;
  transform: translate3d(0, -20px, 0) scale(.99);
  filter: blur(12px);
}

a { color: inherit; text-decoration: none }
.container { width: 100%; min-width: 0; max-width: var(--max); margin: 0 auto; padding: 0 20px }

@keyframes headerDrop {
  from { transform: translate3d(0, -18px, 0); opacity: 0 }
  to   { transform: translate3d(0, 0, 0); opacity: 1 }
}

@keyframes scanMove {
  from { transform: translateY(0) }
  to   { transform: translateY(18px) }
}

@keyframes accentGradientShift {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
}

header.solid {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.96);
}

header .container {
  max-width: none;
  padding: 0;
}

.header-shell {
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity .3s ease;
}

header.solid::before {
  background: linear-gradient(180deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 100%);
}

.nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.8vw, 24px);
  min-height: 74px;
  padding: 0 clamp(100px, 12vw, 200px);
}

.brand { display: flex; align-items: center; gap: 0; min-width: max-content; color: #fff; font-weight: 800 }
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(240px, 32vw);
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.22));
  flex: 0 0 auto;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 24px);
  min-width: 0;
  justify-self: center;
}

.navlinks a {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

header.solid .navlinks a { color: #fff }
.navlinks a:hover { color: rgba(255,255,255,1) }
header.solid .navlinks a:hover { color: rgba(255,255,255,1) }

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,90,31,0), rgba(255,193,79,.96), rgba(255,90,31,0));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.navlinks a:hover::after,
.navlinks a.active::after { transform: scaleX(1); opacity: 1 }

.cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
  justify-self: end;
}

.btn {
  appearance: none;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transform: translate3d(0,0,0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.55) 22%, transparent 45%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform .45s ease, opacity .2s ease;
  pointer-events: none;
}

.btn:hover::before { transform: translateX(120%); opacity: .55 }
.btn:hover { transform: translate3d(0,-3px,0) scale(1.01); box-shadow: 0 16px 30px rgba(0,0,0,.10) }

.btn.primary {
  border-color: rgba(255,98,35,.35);
  background: linear-gradient(180deg, rgba(255,122,47,.18), rgba(207,38,0,.12));
}

.btn.soft {
  border-color: rgba(255,122,47,.28);
  background: rgba(255,106,33,.08);
  box-shadow: none;
}

.btn.soft:hover { box-shadow: 0 12px 24px rgba(0,0,0,.06) }

header .cta .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 12px;
  box-shadow: none;
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
}

header .cta .btn::before { display: none }

header .cta .btn:hover {
  transform: translate3d(0,-1px,0);
  background: rgba(255,255,255,.08);
  box-shadow: none;
}

header .cta .header-cta {
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
  border-color: rgba(255,114,38,.52);
  background: linear-gradient(180deg, var(--violet), var(--violet-strong));
  color: #fff;
}

header .cta .header-cta:hover {
  background: linear-gradient(180deg, rgba(255,149,66,.98), rgba(227,53,0,.94));
}

.header-cta-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.header-cta-label {
  display: inline-block;
  white-space: nowrap;
}

header .cta .header-phone {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255,255,255,.82);
  padding: 0 20px;
}

header .cta .header-phone:hover { color: #fff }

.hamburger {
  display: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.94);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.hamburger svg { display: block }

.mobile {
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 6px 16px 16px;
}

.mobile a {
  display: block;
  padding: 12px 4px;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,.05);
}

.mobile a:first-child { border-top: 0 }

.mobile-phone {
  color: #fff !important;
  font-weight: 800 !important;
}

.mobile-cta {
  margin-top: 6px;
  color: #fff !important;
}

.mobile-phone,
.mobile-cta {
  border-top: 0 !important;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  padding: 12px 14px !important;
}

.mobile-cta {
  background: linear-gradient(180deg, rgba(255,122,47,.98), rgba(207,38,0,.92));
}

main {
  min-height: calc(100vh - 74px);
  padding: clamp(34px, 6vw, 76px) 0 84px;
}

footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(11,11,15,.92);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.foot a { color: rgba(255,255,255,.72) }
.foot a:hover { color: #fff }

.legal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 1320px) {
  .nav {
    gap: 18px;
    padding: 0 clamp(16px, 2.4vw, 28px);
  }
  .navlinks { gap: 16px }
  .navlinks a { font-size: 10px; letter-spacing: .06em }
  .cta { gap: 8px }
  header .cta .btn { font-size: 11px }
  header .cta .header-cta { padding: 0 14px }
  header .cta .header-phone { display: none }
}

@media (max-width: 1120px) {
  header { padding-top: 0 }
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 68px;
    padding: 0 36px;
    gap: 0;
  }
  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .navlinks { display: none }
  .hamburger { display: inline-flex; align-items: center; justify-content: center }
  .mobile { display: none }
  .mobile.open { display: block }
  .brand-logo { height: 38px; max-width: min(220px, 42vw) }
  .cta { gap: 8px }
  header .cta .header-cta { min-height: 40px; padding: 0 14px }
}

@media (max-width: 720px) {
  .container { padding: 0 16px }
  .brand-logo { height: 32px; max-width: 170px }
  header .cta .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 12px;
    border-color: rgba(255,114,38,.52);
    background: linear-gradient(180deg, var(--violet), var(--violet-strong));
    box-shadow: none;
  }
  header .cta .header-cta:hover {
    background: linear-gradient(180deg, rgba(255,149,66,.98), rgba(227,53,0,.94));
  }
  .header-cta-label {
    display: none;
  }
  .header-cta-icon {
    width: 18px;
    height: 18px;
  }
  header .nav { padding: 0 24px; min-height: 62px }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }
  .mobile { padding: 6px 12px 14px }
  .mobile a { padding: 11px 2px }
}

@media (min-width: 769px) {
  header { transition: transform .28s cubic-bezier(.16,1,.3,1); }
  header.header--hidden { transform: translateY(-100%); }
}

html { background: #060409; }
