/* ================================================================
   SearchTurbo 2026, main.css
   Brand tokens, base layout, navigation, footer, utilities.
   ================================================================ */

:root {
  --bg:          #0A0B0E;
  --bg-2:        #0D0F14;
  --surface:     #111318;
  --surface2:    #181B22;
  --surface3:    #1F2229;
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.12);
  --amber:       #F5A623;
  --amber-dim:   #B87315;
  --amber-glow:  rgba(245,166,35,0.12);
  --amber-soft:  rgba(245,166,35,0.04);
  --text:        #EDEAE0;
  --muted:       #8A877F;
  --muted2:      #B5B1AA;
  --white:       #FFFFFF;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Sora', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw:        1200px;
  --gutter:      48px;
  --section-py:  120px;
  --nav-h:       72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section + .section { padding-top: 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 64px;
  max-width: 880px;
}
.section-head.is-center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.kicker {
  font: 500 11px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .25em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}
.kicker::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 1px;
  background: var(--amber);
}
.section-head.is-center .kicker::after {
  left: 50%;
  transform: translateX(-50%);
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 2px;
  line-height: 0.95;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
}
.h2 em {
  font-style: normal;
  color: var(--amber);
}
.h2 .br { display: block; }
.subtitle {
  font: 400 16px/1.5 var(--font-body);
  color: var(--muted2);
  margin: 0;
  max-width: 720px;
}

/* ---------- Buttons ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font: 600 13px/1 var(--font-body);
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #1A1100;
  border-color: var(--amber);
  box-shadow: 0 8px 22px -10px rgba(245,166,35,0.5);
}
.btn-primary:hover {
  background: #ffb53e;
  border-color: #ffb53e;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-arrow .arrow {
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigation --------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .25s ease, border-bottom-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,11,14,0.86);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex: 0 0 auto;
}
.nav-mark .echo { width: 26px; height: 26px; }
.nav-mark .word {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}
.nav-mark .word b { font-weight: 400; }
.nav-mark .word span { color: var(--amber); margin-left: 4px; }

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--amber); }
.nav-cta { flex: 0 0 auto; }

.nav-mobile { display: none; }

.nav-burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-direction: column;
  gap: 4px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Page background pattern -------------------------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 100%);
}

/* ---------- Scroll reveal ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer (from live) ------------------------------- */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 48px;
  align-items: start;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--white);
}
.footer-logo .echo { width: 26px; height: 26px; }
.footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
}
.footer-logo .logo-text span { color: var(--amber); margin-left: 3px; }
.footer-copy {
  font: 400 13px/1.5 var(--font-body);
  color: var(--muted);
}
.footer-offices {
  display: flex;
  gap: 40px;
  justify-self: end;
}
.footer-office-city {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.footer-office-addr {
  font: 400 12px/1.5 var(--font-body);
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  justify-content: center;
}
.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  justify-content: center;
  padding-top: 6px;
}
.footer-nav a,
.footer-nav .cc-manage-link,
.footer-legal a,
.footer-legal .cc-manage-link {
  font: 400 12px/1 var(--font-body);
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s ease;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer-nav a:hover,
.footer-nav .cc-manage-link:hover,
.footer-legal a:hover,
.footer-legal .cc-manage-link:hover {
  color: var(--text);
}

/* ---------- Responsive --------------------------------------- */
@media (max-width: 900px) {
  :root {
    --section-py: 80px;
    --gutter: 18px;
  }
  .nav-links,
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.is-open .nav-mobile {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(10,11,14,0.96);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 32px var(--gutter);
    gap: 20px;
    z-index: 99;
  }
  .nav-mobile { display: none; }
  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--white);
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile .btn-primary {
    margin-top: 16px;
    align-self: flex-start;
  }
  .nav-burger { width: 44px; height: 44px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-offices { justify-self: start; flex-wrap: wrap; gap: 24px; }
  .footer-links { gap: 16px; }
}

/* ---------- Mobile touch targets + spacing ------------------- */
@media (max-width: 760px) {
  .btn { padding: 14px 22px; }
  .footer-nav a,
  .footer-nav .cc-manage-link,
  .footer-legal a,
  .footer-legal .cc-manage-link {
    padding: 8px 0;
  }
}

@media (max-width: 560px) {
  .footer-nav,
  .footer-legal { gap: 14px; }
  .footer-nav a,
  .footer-nav .cc-manage-link,
  .footer-legal a,
  .footer-legal .cc-manage-link {
    padding: 6px 0;
  }
}
