:root {
  --accent: #E8563A;
  --dark: #0a0a0a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Satoshi', 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #0a0a0a;
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tabFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tickerLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes tickerRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px clamp(20px, 4vw, 64px);
  backdrop-filter: blur(10px);
  transition: background-color .4s ease, border-color .4s ease;
  background-color: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav.is-light {
  background-color: rgba(255,255,255,0.94);
  border-bottom-color: rgba(0,0,0,0.08);
}
.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.nav-logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.nav-logo {
  height: 70px;
  width: auto;
  display: block;
  transition: opacity .3s ease, height .3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  color: #ffffff;
  transition: color .4s ease;
}
.nav.is-light .nav-links { color: #0a0a0a; }
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  text-decoration: none;
  border-radius: 2px;
  background: #ffffff;
  color: #0a0a0a;
  border: 1px solid #ffffff;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.nav.is-light .nav-cta {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: 0 0 auto;
}
.hamburger span {
  width: 22px; height: 2px;
  background: #ffffff;
  transition: transform .3s ease, margin .3s ease;
}
.nav.is-light .hamburger span { background: #0a0a0a; }
.hamburger span:first-child { margin-bottom: 6px; }
.hamburger.is-open span:first-child { transform: translateY(3px) rotate(45deg); margin-bottom: 0; }
.hamburger.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px clamp(20px, 4vw, 64px) 28px;
  background: var(--dark);
  animation: tabFade .3s ease both;
}
.nav.is-light .mobile-menu { background: #ffffff; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav.is-light .mobile-menu a { color: #0a0a0a; border-bottom-color: rgba(0,0,0,0.08); }
.mobile-menu .mobile-cta {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 0;
  border-radius: 2px;
  background: #ffffff;
  color: #0a0a0a;
  border-bottom: none;
}
.nav.is-light .mobile-menu .mobile-cta { background: #0a0a0a; color: #ffffff; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo { height: 46px; }
}

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

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-light {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-light:hover { background: transparent; color: #ffffff; }
.contact .btn-light:hover,
.contact-form .btn-light:hover { background: var(--accent); border-color: var(--accent); color: #ffffff; }

.link-underline {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: color .25s ease, border-color .25s ease;
}
.link-underline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  background: var(--dark);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px clamp(20px, 5vw, 120px) 100px;
  position: relative;
}
.hero-content { max-width: 1100px; }
.hero-title {
  font-size: clamp(44px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
  animation: fadeUp 1s cubic-bezier(.16,1,.3,1) both;
}
.hero-subtitle {
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 36px 0 0;
  font-weight: 400;
  animation: fadeUp 1s cubic-bezier(.16,1,.3,1) both;
  animation-delay: .12s;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
  margin-top: 52px;
  animation: fadeUp 1s cubic-bezier(.16,1,.3,1) both;
  animation-delay: .24s;
}
.scroll-hint {
  position: absolute;
  bottom: 44px;
  left: clamp(20px, 5vw, 120px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-line { width: 1px; height: 32px; background: rgba(255,255,255,0.3); }

/* ---------- Reveal on scroll ---------- */

.reveal-target {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-visible .reveal-target { opacity: 1; transform: translateY(0); }

/* ---------- Section shared ---------- */

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.eyebrow-accent { color: var(--accent); }
.section-title {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ---------- About ---------- */

.about { background: #ffffff; padding: 160px clamp(20px, 5vw, 120px); }
.about-inner { max-width: 980px; margin: 0 auto; }
.about-inner .section-title { max-width: 880px; }
.about-body {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
  color: #3a3a3a;
  max-width: 640px;
  margin: 40px 0 0;
  font-weight: 400;
}
.about-quote {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: #0a0a0a;
  max-width: 640px;
  margin: 36px 0 0;
  font-weight: 600;
}

/* ---------- Services ---------- */

.services { background: var(--dark); color: #ffffff; padding: 160px clamp(20px, 5vw, 120px); }
.services-title { margin: 0 0 64px; max-width: 760px; }

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 44px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 56px;
}
.service-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0 18px;
  border-bottom: 2px solid transparent;
}
.service-tab.is-active { border-bottom-color: var(--accent); }
.service-tab-num { font-size: 15px; font-weight: 700; color: var(--accent); }
.service-tab-title { font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.45); }
.service-tab.is-active .service-tab-title { color: #ffffff; }

.service-panel {
  display: none;
  flex-wrap: wrap;
  gap: 40px 56px;
}
.service-panel.is-active { display: flex; animation: tabFade .55s cubic-bezier(.16,1,.3,1) both; }
.service-panel-head { flex: 1 1 280px; min-width: 240px; }
.service-panel-head h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.service-panel-head p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 340px;
  margin: 0;
}
.service-items {
  flex: 2 1 420px;
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
}
.service-items li {
  flex: 1 1 200px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* ---------- Clients ---------- */

.clients { background: #ffffff; padding: 160px clamp(20px, 5vw, 120px); }
.clients-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.clients-head p { font-size: 17px; line-height: 1.6; color: #555; margin: 20px 0 0; }

.ticker-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #e6e6e6;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  overflow: hidden;
}
.ticker-row { overflow: hidden; background: #ffffff; padding: 28px 0; }
.ticker-track {
  display: flex;
  width: max-content;
  gap: clamp(32px, 7vw, 64px);
}
.ticker-track img { width: 150px; height: 70px; object-fit: contain; flex: 0 0 auto; }
.ticker-left { animation: tickerLeft 26s linear infinite; }
.ticker-right { animation: tickerRight 30s linear infinite; transform: translateX(-50%); }
.ticker-row:hover .ticker-track { animation-play-state: paused; }

/* ---------- Contact ---------- */

.contact { background: var(--dark); color: #ffffff; padding: 160px clamp(20px, 5vw, 120px) 80px; }
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info { flex: 1 1 440px; min-width: 280px; }
.contact-info .section-title { font-size: clamp(32px, 5vw, 60px); font-weight: 800; margin: 0 0 28px; }
.contact-info p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 420px; margin: 0 0 48px; }
.contact-links { display: flex; flex-direction: column; gap: 20px; }
.contact-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
  width: fit-content;
  transition: color .25s ease, border-color .25s ease;
}
.contact-link:hover { color: var(--accent); border-color: var(--accent); }

.contact-form-wrap { flex: 1 1 380px; min-width: 280px; }
.contact-form { display: flex; flex-direction: column; gap: 26px; }
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  padding: 13px 0;
  outline: none;
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form .btn { width: fit-content; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-success { padding: 48px 0; font-size: 20px; font-weight: 600; color: #ffffff; }

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

.footer { background: var(--dark); color: #ffffff; border-top: 1px solid rgba(255,255,255,0.15); padding: 36px clamp(20px, 5vw, 120px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-logo { height: 60px; width: auto; display: block; opacity: 0.8; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }

@media (max-width: 860px) {
  .footer-logo { height: 40px; }
}
