/* ===== Tokens ===== */
:root {
  --bg-0: #090909;
  --bg-1: #101014;
  --bg-2: #1a1a20;
  --card: #232329;
  --line: #34343c;
  --gold: #d4af37;
  --text: #f2efe9;
  --muted: #a3a097;
  --maxw: 1120px;
}

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

body {
  font-family: "Heebo", system-ui, sans-serif;
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Heebo", sans-serif; line-height: 1.25; }
a { text-decoration: none; color: inherit; }

.container { width: min(var(--maxw), 90vw); margin-inline: auto; }

.gold { color: var(--gold); }

/* ===== Divider motif ===== */
.divider { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1rem; }
.divider span {
  display: block; height: 2px; width: 70px;
  background: var(--gold); opacity: .9;
}
.divider i { color: var(--gold); font-size: .7rem; font-style: normal; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4ch;
  padding: 1rem 2.2rem;
  font-family: "Heebo", sans-serif;
  font-weight: 600; font-size: .98rem; letter-spacing: .02em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--gold { background: var(--gold); color: #1c1505; }
.btn--gold:hover { transform: translateY(-2px); background: #e0bd47; }
.btn--ghost { background: transparent; color: var(--gold); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fb959; transform: translateY(-2px); }
.btn svg { flex: none; }

/* ===== Brand ===== */
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-weight: 800; letter-spacing: .24em; font-size: .92rem; }
.brand__text em {
  font-style: normal; font-size: .62rem; font-weight: 400;
  letter-spacing: .34em; color: var(--gold); text-transform: uppercase;
}

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.1rem 0;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(9,9,9,.96);
  border-color: var(--line);
  padding: .6rem 0;
}
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1.5rem;
  padding-inline: 2.6rem;
}
.brand { justify-self: start; }
.nav__links { justify-self: center; display: flex; gap: 2.2rem; }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.nav__links a {
  font-size: .95rem; font-weight: 400; color: var(--muted);
  position: relative; padding: .3rem 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transition: transform .25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: .6rem 1.4rem; font-size: .88rem; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav__toggle span { width: 26px; height: 2px; background: var(--gold); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 0;
  background:
    radial-gradient(640px 440px at 50% 52%, rgba(9,9,9,.56), rgba(9,9,9,.28) 70%),
    linear-gradient(180deg, rgba(9,9,9,.8) 0%, rgba(9,9,9,.58) 48%, rgba(9,9,9,.95) 100%),
    url("hero.png") center / cover no-repeat;
  background-color: var(--bg-1);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__title, .hero__lead { text-shadow: 0 2px 14px rgba(0,0,0,.85); }
.hero__logo { width: 84px; height: auto; margin-bottom: 1.4rem; }
.hero__eyebrow {
  font-size: .82rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  padding: .5rem 1.3rem; border: 1px solid var(--line); border-radius: 999px;
}
.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800; letter-spacing: -.01em;
  white-space: nowrap;
}
.hero__lead {
  margin-top: 1.1rem; max-width: 52ch;
  font-size: 1.1rem; color: var(--muted); font-weight: 300;
}
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 0; right: 0;
  margin-inline: auto;
  width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--gold); border: 1px solid var(--line); border-radius: 50%;
  font-size: 1.05rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===== Section base + zones ===== */
.section { padding: 6rem 0; background: var(--bg-1); border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; max-width: 64ch; margin: 0 auto 2.8rem; }
.kicker {
  display: inline-block;
  font-size: .76rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .6rem;
}
.section__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; }
.section__sub { margin-top: 1.2rem; color: var(--muted); font-size: 1.05rem; }

/* ===== Pillars (about) ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar {
  text-align: right;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  transition: transform .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-5px); border-color: var(--gold); }
.pillar__icon {
  display: inline-flex; margin-bottom: 1rem;
  color: var(--gold);
}
.pillar__icon svg { width: 40px; height: 40px; }
.pillar h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
.pillar p { color: var(--muted); font-size: .97rem; }

/* ===== Services (clean list) ===== */
.svc-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
}
.svc {
  display: flex; align-items: flex-start; gap: 1.1rem;
  text-align: right;
  padding: 1.5rem .6rem;
  border-top: 1px solid var(--line);
  transition: background .2s ease;
}
.svc:hover { background: var(--bg-2); }
.svc__num {
  flex: none; min-width: 2.2ch;
  font-size: 1.5rem; font-weight: 300;
  color: var(--gold); line-height: 1.3;
}
.svc__body h3 { font-size: 1.14rem; font-weight: 700; margin-bottom: .25rem; }
.svc__body p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ===== Founder ===== */
.founder__card {
  display: flex; align-items: center; gap: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.6rem;
  background:
    linear-gradient(180deg, rgba(11,11,13,.88) 0%, rgba(11,11,13,.93) 100%),
    url("founder-bg.png") center / cover no-repeat;
}
.founder__avatar {
  flex: none;
  width: 132px; height: 132px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
}
.founder__avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.founder__body { text-align: right; }
.founder__role { color: var(--gold); font-weight: 500; margin-bottom: .9rem; }
.founder__text { color: var(--muted); font-size: 1.02rem; }
.founder__text + .founder__text { margin-top: .8rem; }

/* ===== Contact CTA ===== */
.cta { padding: 4.6rem 0; background: var(--bg-1); border-top: 1px solid var(--line); }
.cta__frame {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.6rem;
  align-items: start;
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 2.8rem;
  background: var(--bg-2);
}
.cta__info { text-align: right; }
.cta__info .kicker { margin-bottom: .4rem; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta__info p { margin: .7rem 0 1.6rem; color: var(--muted); }
.cta__methods { display: flex; flex-direction: column; gap: .8rem; }
.cta__method {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--bg-1);
  transition: border-color .2s ease, transform .2s ease;
}
.cta__method:hover { border-color: var(--gold); transform: translateY(-2px); }
.cta__method-icon {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 8px;
  background: rgba(212,175,55,.12); color: var(--gold);
}
.cta__method-icon--wa { background: rgba(37,211,102,.14); color: #25d366; }
.cta__method-text { display: flex; flex-direction: column; line-height: 1.35; }
.cta__method-text strong { font-weight: 700; font-size: .98rem; }
.cta__method-text span { color: var(--muted); font-size: .9rem; }

.cta__form {
  display: flex; flex-direction: column; gap: .85rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; text-align: right; }
.field label { font-size: .85rem; font-weight: 500; color: var(--text); }
.field input, .field textarea {
  font-family: "Heebo", sans-serif; font-size: .95rem;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 6px;
  padding: .7rem .9rem; width: 100%;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 84px; }
.field input.invalid, .field textarea.invalid { border-color: #e0584f; }
.cta__submit { margin-top: .4rem; width: 100%; }
.cta__success {
  text-align: center; color: var(--gold); font-weight: 600;
  font-size: .98rem; padding: 1rem 0;
}
.cta__error {
  text-align: center; color: #e0584f; font-weight: 500;
  font-size: .92rem; padding-top: .3rem;
}

/* ===== Footer ===== */
.footer { background: var(--bg-0); border-top: 1px solid var(--line); padding: 4rem 0 2.4rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; text-align: right; }
.footer__col h4 {
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .3rem;
}
.footer__col a, .footer__col span { color: var(--muted); font-size: .95rem; }
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__brand .footer__logo {
  height: 46px; width: auto; align-self: flex-start;
  margin-bottom: .3rem;
}
.footer__brand strong { font-size: .95rem; letter-spacing: .12em; font-weight: 800; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 32ch; }
.footer__note {
  font-size: .82rem; color: var(--muted); line-height: 1.85;
  text-align: right; margin: 1.8rem 0 1.2rem;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: .85rem; color: var(--muted); text-align: right; }

/* ===== Floating buttons ===== */
.fab {
  position: fixed; bottom: 22px; z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.7);
  transition: transform .2s ease;
}
.fab:hover { transform: scale(1.07); }
.fab--wa { right: 22px; background: #25d366; color: #fff; }
.fab--a11y { left: 22px; background: var(--gold); color: #1c1505; }

/* ===== Accessibility panel ===== */
.a11y {
  position: fixed; bottom: 90px; left: 22px; z-index: 60;
  width: 280px; max-width: calc(100vw - 44px);
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 1.1rem;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.8);
  transform: translateY(16px) scale(.96);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.a11y.open { opacity: 1; visibility: visible; transform: none; }
.a11y__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: .8rem; margin-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.a11y__head strong { font-size: 1rem; font-weight: 700; }
.a11y__close {
  background: none; border: 0; color: var(--muted);
  font-size: 1rem; cursor: pointer; padding: 2px 6px;
}
.a11y__close:hover { color: var(--gold); }
.a11y__body { display: grid; gap: .5rem; }
.a11y__btn {
  font-family: "Heebo", sans-serif; font-size: .92rem; font-weight: 500;
  text-align: right;
  background: var(--bg-0); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px;
  padding: .65rem .9rem; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.a11y__btn:hover { border-color: var(--gold); color: var(--gold); }
.a11y__btn.active { border-color: var(--gold); color: var(--gold); }
.a11y__btn--reset { color: var(--muted); }
.a11y__statement {
  display: block; text-align: center;
  margin-top: .8rem; font-size: .85rem; color: var(--gold);
}
.a11y__statement:hover { text-decoration: underline; }

/* ===== Accessibility modes ===== */
html.a11y-contrast {
  --bg-0: #000; --bg-1: #000; --bg-2: #000; --card: #000;
  --line: #fff; --text: #fff; --muted: #fff; --gold: #ffe14d;
}
html.a11y-grayscale body { filter: grayscale(1); }
html.a11y-links a { text-decoration: underline !important; font-weight: 700 !important; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Legal pages ===== */
.legal-nav { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.legal-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal { padding: 3.5rem 0 5rem; max-width: 860px; text-align: center; }
.legal__kicker {
  display: inline-block;
  font-size: .76rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-top: .6rem; }
.legal__body { margin-top: 2.4rem; text-align: right; }
.legal__body h2 { font-size: 1.3rem; font-weight: 700; color: var(--gold); margin: 2rem 0 .6rem; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--muted); font-size: 1.02rem; }
.legal__body p { margin-bottom: .8rem; }
.legal__body ul { padding-right: 1.3rem; margin-bottom: .8rem; }
.legal__body li { margin-bottom: .35rem; }
.legal__updated { margin-top: 2.4rem; font-size: .9rem; color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; column-gap: 0; }
  .pillars { grid-template-columns: 1fr; }
  .founder__card { flex-direction: column; text-align: right; gap: 1.6rem; background-position: center; }
  .hero__title { white-space: normal; }
}
@media (max-width: 700px) {
  .nav__inner { display: flex; justify-content: space-between; padding-inline: 1.3rem; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: 78vw; max-width: 320px;
    flex-direction: column; gap: 1.7rem;
    background: var(--bg-2); border-right: 1px solid var(--line);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.15rem; color: var(--text); }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .section { padding: 4.4rem 0; }
  .footer__top { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta__frame { padding: 2rem 1.5rem; }
  .hero {
    background:
      linear-gradient(180deg, rgba(9,9,9,.74) 0%, rgba(9,9,9,.5) 48%, rgba(9,9,9,.95) 100%),
      url("hero.png") center / cover no-repeat;
    background-color: var(--bg-1);
  }
  .hero__title, .hero__lead { text-shadow: 0 2px 16px rgba(0,0,0,.95); }
}
@media (max-width: 820px) {
  .cta__frame { grid-template-columns: 1fr; gap: 2rem; }
}
