/* ============================================================
   Zentval — Base & components
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.muted { color: var(--muted-light); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--muted); }

.section { padding: var(--section-y) 0; }
.section--tight { padding: 64px 0; }
.section--tint { background: var(--bg-tint); }

.section__head { max-width: 860px; margin-bottom: 48px; }
.section__sub { max-width: 640px; margin-top: 16px; color: var(--muted); font-size: 17px; }
.section__cta { margin-top: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); transform: translateY(-1px); }

.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo__img {
  height: 34px;
  width: auto;
  flex: none;
}
.logo__text { font-weight: 800; letter-spacing: .16em; font-size: 16px; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s ease, border-color .16s ease;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--orange); }

.header__cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(232,112,58,.20), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 58%, #16304F 100%);
  color: #fff;
  padding: 92px 0 108px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 0 0 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.lead {
  font-size: 18px;
  line-height: 1.66;
  color: rgba(255,255,255,.76);
  max-width: 480px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero art */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  color: rgba(255,255,255,.85);
}
.art__ring {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16);
}
.art__ring--sm { width: 240px; height: 240px; border-style: solid; border-color: rgba(255,255,255,.08); }
.art__filter { width: 232px; height: auto; position: relative; z-index: 1; }
.art__chip {
  position: absolute;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.art__chip--1 { top: 16%;  left: -2%; }
.art__chip--2 { top: 46%;  right: -4%; color: #FFD9C6; border-color: rgba(232,112,58,.55); background: rgba(232,112,58,.14); }
.art__chip--3 { bottom: 14%; left: 4%; }

/* ---------- Trust bar ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: -46px;
  position: relative;
  z-index: 5;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px rgba(16,35,63,.45);
  padding: 22px 8px;
}
.trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 6px 12px;
  border-right: 1px solid var(--line);
}
.trust li:last-child { border-right: 0; }
.trust .ico { width: 22px; height: 22px; color: var(--orange); flex: none; }

/* ---------- Category cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover {
  border-color: var(--navy);
  box-shadow: 0 16px 32px -24px rgba(16,35,63,.5);
  transform: translateY(-3px);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--navy);
  margin-bottom: 20px;
}
.card__icon svg { width: 42px; height: 42px; }
.card__icon svg * { vector-effect: non-scaling-stroke; }
.card:hover .card__icon { color: var(--orange); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card__link {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.cards__note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}
.cards__note a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--orange); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--navy); }
.steps__num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 10px;
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---------- Feature columns ---------- */
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-tint);
  border: 1px solid transparent;
  transition: border-color .18s ease, background .18s ease;
}
.feature:hover { background: #fff; border-color: var(--line); }
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Markets ---------- */
.markets { text-align: center; max-width: 1040px; margin: 0 auto; }
.markets h2 { margin-bottom: 26px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.markets__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 40px;
  text-align: left;
}
.markets__group h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.markets__group .tags { justify-content: flex-start; gap: 8px; }
.markets__group .tags li { padding: 6px 13px; font-size: 13.5px; }
.markets__note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}

.tags li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
}

/* ---------- Band ---------- */
.band { padding: 56px 0; }
.band--light { background: var(--bg-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.band__inner h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }
.band__inner p { color: var(--muted); max-width: 620px; font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(800px 400px at 20% 120%, rgba(232,112,58,.22), transparent 65%),
    var(--navy-deep);
  color: #fff;
  padding: 84px 0;
  text-align: center;
}
.cta__inner { max-width: 740px; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.7); font-size: 16.5px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta__note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.42); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.logo--footer { color: #fff; margin-bottom: 18px; }
.logo--footer .logo__img { height: 30px; }
.footer__company { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.62); }
.footer__meta { margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.36); }
.footer__nav { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__nav a { color: rgba(255,255,255,.72); transition: color .16s ease; }
.footer__nav a:hover { color: var(--orange); }
.footer__contact { font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.footer__contact a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,.42);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  :root { --section-y: 64px; --pad: 20px; }

  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .hero { padding: 64px 0 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art { min-height: 320px; order: -1; }
  .art__ring { width: 280px; height: 280px; }
  .art__ring--sm { width: 200px; height: 200px; }
  .art__filter { width: 170px; }
  .art__chip--1 { left: 0; }
  .art__chip--2 { right: 0; }

  .trust { grid-template-columns: repeat(2, 1fr); margin-top: -38px; }
  .trust li { border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; padding: 10px 6px; }
  .trust li:nth-last-child(-n+2) { border-bottom: 0; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cols3 { grid-template-columns: 1fr; }
  .markets__grid { grid-template-columns: 1fr; gap: 32px; }
  .band__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust li { border-bottom: 1px solid var(--line); }
  .trust li:last-child { border-bottom: 0; }
  .hero__actions .btn { width: 100%; }
  .section__head { margin-bottom: 34px; }
}

/* ---------- Back to top (injected by js/main.js) ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(16,35,63,.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 18px; height: 18px; }
