:root {
  --navy-950: #061722;
  --navy-900: #092233;
  --navy-800: #0d3043;
  --blue-600: #1f6e86;
  --paper: #f4f1eb;
  --paper-soft: #fbfaf6;
  --line: rgba(9, 34, 51, 0.12);
  --text: #0b2330;
  --muted: #63727a;
  --gold: #d4b16a;
  --gold-soft: #f3d995;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 23, 34, 0.16);
  --shadow-soft: 0 14px 36px rgba(6, 23, 34, 0.1);
  --max: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  line-height: 0.98;
  font-weight: 780;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1;
  font-weight: 760;
}

h3 {
  font-size: clamp(1.08rem, 1.45vw, 1.4rem);
  line-height: 1.22;
  font-weight: 760;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--text);
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 8vw, 120px) 0;
  position: relative;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.button::after,
.secure-link::after,
.nav-action::after {
  content: "->";
}

.button:hover,
.nav-action:hover,
.secure-link:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button-gold {
  background: var(--gold-soft);
  color: var(--navy-950);
}

.button-primary {
  background: var(--blue-600);
  color: var(--white);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(243, 217, 149, 0.78);
  outline-offset: 3px;
}

.hero {
  min-height: 92vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 23, 34, 0.97), rgba(6, 23, 34, 0.86) 52%, rgba(6, 23, 34, 0.64)),
    radial-gradient(circle at 78% 30%, rgba(212, 177, 106, 0.28), transparent 28%),
    url("./assets/hero-finance.svg") right center / auto 100% no-repeat,
    linear-gradient(135deg, #061722 0%, #092233 50%, #113a4f 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 84%, transparent);
  opacity: 0.65;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 56px), 1240px);
  margin: 0 auto;
  padding: 28px 0;
}

.brand img {
  width: 205px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 860;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(243, 217, 149, 0.72);
  border-radius: 4px;
  color: var(--navy-950);
  background: var(--gold-soft);
  font-size: 1rem;
  line-height: 1;
}

.brand-name {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav-links a {
  padding: 0.7rem 0.85rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 720;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-action,
.secure-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-weight: 780;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.nav-action:hover,
.secure-link:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: calc(92vh - 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 360px;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: 48px 0 120px;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: rgba(6, 23, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card p {
  color: var(--gold-soft);
  font-weight: 780;
}

.hero-card a[href^="tel"] {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.68);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head.compact {
  display: block;
  margin-bottom: 0;
}

.section-head > p:not(.eyebrow),
.section-head.compact p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.expertise-grid article,
.topics article,
.crypto-cards article,
.schedule,
.contact-form,
.insight-grid article {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.expertise-grid article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 24px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.expertise-grid span {
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 850;
}

.expertise-grid p,
.steps p,
.crypto-cards p,
.proof-copy p,
.topics article,
.insight-grid h3,
.contact-copy p {
  color: var(--muted);
}

.method {
  background: var(--paper-soft);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.steps article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.steps strong {
  color: var(--blue-600);
}

.dark-panel {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 23, 34, 0.98), rgba(8, 42, 58, 0.96)),
    var(--navy-950);
  overflow: hidden;
}

.crypto-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: start;
}

.crypto-layout > div:first-child > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.76);
}

.crypto-cards {
  display: grid;
  gap: 12px;
}

.crypto-cards article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.crypto-cards p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.salons-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}

.schedule {
  padding: 26px;
  background: var(--navy-950);
  color: var(--white);
}

.schedule ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.schedule li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.schedule span {
  color: var(--gold-soft);
}

.topics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.topics article {
  min-height: 120px;
  padding: 18px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  font-weight: 760;
}

.proof {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 23, 34, 0.95), rgba(6, 23, 34, 0.82)),
    radial-gradient(circle at 18% 20%, rgba(31, 110, 134, 0.34), transparent 32%),
    linear-gradient(135deg, #061722, #0b2d3f);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: start;
}

.proof-copy {
  display: grid;
  gap: 20px;
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.insights {
  background: var(--paper-soft);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.insight-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.insight-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.insight-grid img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.insight-grid h3 {
  min-height: 96px;
  padding: 20px;
  color: var(--text);
}

.contact {
  color: var(--white);
  background: var(--navy-950);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-lines a {
  color: var(--gold-soft);
  font-size: 1.45rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #41525a;
  font-size: 0.84rem;
  font-weight: 780;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(9, 34, 51, 0.22);
  padding: 11px 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  padding: 58px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  background: #030b10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer h2 {
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-size: 1rem;
}

.footer a,
.footer p {
  display: block;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(3px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease), filter 460ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: 190px 1fr auto;
  }

  .nav-action {
    display: none;
  }

  .hero-grid,
  .section-head,
  .method-grid,
  .crypto-layout,
  .salons-grid,
  .proof-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid,
  .topics,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-frame img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .container,
  .nav {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.55rem);
  }

  .hero {
    min-height: auto;
  }

  .nav {
    grid-template-columns: 1fr auto;
    padding: 20px 0;
  }

  .brand img {
    width: 165px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms var(--ease), opacity 180ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    inset: 74px 16px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(6, 23, 34, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero-grid {
    padding: 28px 0 92px;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .expertise-grid,
  .topics,
  .insight-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .expertise-grid article {
    min-height: auto;
  }

  .steps article,
  .schedule li {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .proof {
    background-attachment: scroll;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
