:root {
  --navy: #081525;
  --navy-2: #10233a;
  --navy-3: #1a3554;
  --gold: #c6a35a;
  --gold-2: #e8d5a3;
  --gold-deep: #9b7b32;
  --ivory: #f6f3ee;
  --paper: #fffcf8;
  --ink: #161410;
  --muted: #6d665c;
  --line: rgba(198, 163, 90, 0.28);
  --shadow: 0 22px 50px rgba(8, 21, 37, 0.12);
  --radius: 22px;
  --header-h: 122px;
  --font: "Inter", "Segoe UI", sans-serif;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --num: "Roboto", "Lato", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
}

.num {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 80;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  transition: box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 36px rgba(8, 21, 37, 0.12);
}

.header-top {
  background: var(--navy);
  color: var(--gold-2);
  max-height: 42px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled .header-top {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.header-top .header-inner {
  min-height: 42px;
  justify-content: space-between;
  gap: 16px;
}

.header-top-note,
.header-top-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-top-links a {
  color: #fff;
}

.header-top-links a:hover {
  color: var(--gold-2);
}

.header-main {
  position: relative;
  background: rgba(255, 252, 248, 0.96);
  border-bottom: 1px solid rgba(198, 163, 90, 0.22);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--navy);
  flex: 0 1 auto;
}

.logo-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(8, 21, 37, 0.16);
}

.logo-mark img,
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: default;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--navy);
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}

.header-call:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a,
.dropdown-btn {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}

.site-nav > a:not(.btn):not(.header-call)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav > a:not(.btn):not(.header-call):hover::after,
.site-nav > a.is-active::after {
  transform: scaleX(1);
}

.site-nav > a:hover,
.dropdown-btn:hover,
.site-nav > a.is-active,
.dropdown-btn.is-active {
  color: var(--gold-deep);
}

.dropdown-btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.22s ease;
  border: 1px solid var(--line);
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}

.dropdown a:hover {
  background: var(--ivory);
  color: var(--gold-deep);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(8, 21, 37, 0.12);
  background: #fff;
  border-radius: 10px;
  padding: 10px 11px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.nav-cta .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.82rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-apply {
  background: linear-gradient(180deg, #1f6fad, #0f4c81);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.32);
}

.btn-apply:hover {
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.42);
}

.btn-login {
  background: linear-gradient(180deg, #e39a4a, #c45c26);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(196, 92, 38, 0.3);
}

.btn-login:hover {
  box-shadow: 0 12px 24px rgba(196, 92, 38, 0.4);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy) !important;
  box-shadow: 0 10px 24px rgba(198, 163, 90, 0.28);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.8s ease infinite;
}

@keyframes shine {
  0%,
  55% { transform: translateX(-120%); }
  75%,
  100% { transform: translateX(120%); }
}

.btn-gold:hover {
  box-shadow: 0 16px 30px rgba(198, 163, 90, 0.38);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--navy);
  background: transparent;
}

.btn-outline.light {
  color: #fff;
  border-color: rgba(232, 213, 163, 0.7);
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 21, 37, 0.66) 0%, rgba(8, 21, 37, 0.5) 42%, rgba(8, 21, 37, 0.84) 100%),
    radial-gradient(circle at 20% 20%, rgba(198, 163, 90, 0.18), transparent 32%);
}

#sparkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 40px));
  text-align: center;
  margin: 0 auto;
  padding-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  color: #fff;
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--gold-2);
  width: 28px;
  border-radius: 999px;
}

.page-hero {
  position: relative;
  width: 100%;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 72px 20px 64px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(8, 21, 37, 0.62), rgba(8, 21, 37, 0.72));
}

.page-hero .hero-content {
  padding-top: 0;
  z-index: 2;
}

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

.step {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.step strong {
  font-family: var(--num);
  color: var(--gold-deep);
  display: block;
  margin-bottom: 8px;
}

.two-col-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.gold-line {
  width: 72px;
  height: 2px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(8, 21, 37, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(8, 21, 37, 0.16);
}

.media-frame {
  background: linear-gradient(180deg, #ece6db, #f7f4ef);
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.media-frame img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 1.35rem;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -46px;
  position: relative;
  z-index: 4;
}

.trust-item {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  font-size: 2rem;
  font-family: var(--num);
  color: var(--navy);
}

.profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--gold-2);
  box-shadow: 0 16px 40px rgba(8, 21, 37, 0.18);
  background: #7a1f24;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  cursor: pointer;
}

.quote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy-2);
}

.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ddd4c6;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.success-note {
  background: #eaf6ee;
  color: #14532d;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.doc-list,
.plain-list {
  margin: 0;
  padding-left: 18px;
}

.doc-list li,
.plain-list li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.contact-box {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 32px;
}

.contact-box a {
  color: var(--gold-2);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.2rem;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.credit {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  text-align: center;
  font-size: 0.92rem;
}

.credit a {
  color: var(--gold-2);
  font-weight: 700;
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(8, 21, 37, 0.22);
  color: #fff;
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.float-call {
  background: #1f6feb;
}

.float-wa {
  background: #25d366;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 21, 37, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  background: var(--ivory);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 1180px) {
  .header-main .header-call {
    display: none;
  }
}

@media (max-width: 980px) {
  .grid-3,
  .grid-2,
  .trust-bar,
  .split,
  .profile,
  .form-grid,
  .footer-grid,
  .steps,
  .two-col-docs {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .header-top-note {
    display: none;
  }

  .site-nav .header-call {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    color: #fff;
    background: transparent;
    border-color: rgba(232, 213, 163, 0.35);
    margin: 6px 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    max-height: calc(100vh - 90px);
    overflow: auto;
    box-shadow: 0 18px 40px rgba(8, 21, 37, 0.25);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a,
  .dropdown-btn {
    text-align: left;
    width: 100%;
    color: #fff;
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: none;
    display: none;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    min-width: 0;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
    pointer-events: auto;
  }

  .dropdown a {
    color: #fff;
  }

  .site-nav .nav-cta {
    flex-direction: column;
    width: 100%;
    margin: 8px 0 0;
  }

  .site-nav .nav-cta .btn {
    width: 100%;
  }

  .hero,
  .page-hero {
    min-height: 78vh;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand-name {
    font-size: 1rem;
    white-space: normal;
  }

  .brand-tag {
    letter-spacing: 0.06em;
  }

  .section {
    padding: 64px 0;
  }

  .profile,
  .form-card,
  .contact-box {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .reveal,
  .card,
  .btn {
    transition: none;
  }
}
