:root {
  --navy: #061f3d;
  --navy-2: #0a315c;
  --gold: #d39a18;
  --gold-2: #f1c45b;
  --ink: #071a35;
  --muted: #5d6a7b;
  --paper: #fffdf8;
  --line: rgba(211, 154, 24, 0.36);
  --shadow: 0 20px 55px rgba(6, 31, 61, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(211, 154, 24, 0.08), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  font-family: "Poppins", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.section-pad {
  padding: 84px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1240px, calc(100% - 28px));
  height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo-img {
  display: block;
  width: 92px;
  height: 64px;
  object-fit: contain;
}

.brand-text span {
  display: block;
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text small {
  display: block;
  color: var(--gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-menu a {
  padding: 10px 15px;
  border-radius: 6px;
  color: var(--navy);
  font-weight: 700;
}

.site-menu a:hover,
.site-menu a:focus {
  background: rgba(211, 154, 24, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 86px) 0 clamp(42px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0 44%, rgba(255, 253, 248, 0.78) 58%, rgba(6, 31, 61, 0.22) 100%),
    url("../images/hero-background.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.52)),
    radial-gradient(circle at 18% 50%, rgba(255, 253, 248, 0.70), transparent 28rem);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 420px);
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 5vw, 70px);
}

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

.hero-copy h1 {
  max-width: 680px;
  margin-top: 12px;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 1.02;
}

.hero .eyebrow {
  margin-top: 30px;
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(211, 154, 24, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(6, 31, 61, 0.08);
}

.hero-logo-img {
  display: block;
  width: 82px;
  height: 58px;
  object-fit: contain;
}

.hero-brand-text {
  color: var(--navy);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tagline {
  margin: 16px 0 0;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 32px;
}

.hero-badges span {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 118px;
  padding: 17px 14px;
  color: var(--navy);
  border: 1px solid rgba(211, 154, 24, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(6, 31, 61, 0.07);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-badges img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #b87907);
  box-shadow: 0 12px 26px rgba(211, 154, 24, 0.28);
}

.btn.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-showcase {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: end;
}

.hero-advisor {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(100%, 520px);
  padding: 16px 18px;
  color: #fff;
  border: 1px solid rgba(241, 196, 91, 0.48);
  border-radius: 8px;
  background: rgba(6, 31, 61, 0.92);
  box-shadow: 0 18px 42px rgba(6, 31, 61, 0.18);
  backdrop-filter: blur(12px);
}

.avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.hero-advisor strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-advisor span {
  color: var(--gold-2);
  font-weight: 800;
}

.hero-advisor a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--navy);
  border-radius: 6px;
  background: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.marquee {
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-block: 5px solid var(--gold);
}

.marquee-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: marquee 24s linear infinite;
}

.marquee.reverse .marquee-track {
  animation-direction: reverse;
}

.marquee-track span {
  padding: 18px 34px;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.split,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.split p,
.contact p,
.legal-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.content-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: #fff;
}

.section-intro {
  max-width: 820px;
  margin: -16px auto 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
}

.feature-grid,
.service-grid,
.partner-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card,
.partner-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(6, 31, 61, 0.08);
}

.feature-card {
  min-height: 178px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.feature-card strong {
  color: var(--navy);
  font-size: 18px;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  padding: 10px 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #092f58);
  border-inline: 8px solid var(--gold);
  border-radius: 6px;
  font-size: clamp(25px, 3vw, 42px);
  text-transform: uppercase;
}

.section-title span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title.compact h2 {
  font-size: clamp(20px, 2.2vw, 30px);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  min-height: 260px;
  padding: 26px 20px 24px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.service-card p {
  margin: 12px auto 0;
  max-width: 230px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.why {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(6, 31, 61, 0.92), rgba(6, 31, 61, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.05) 35px 36px);
}

.why::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 18px;
  width: min(48vw, 600px);
  height: 76%;
  background: url("../images/skyline.png") center bottom / contain no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.why .container {
  position: relative;
  z-index: 1;
}

.why h2 {
  color: #fff;
}

.why-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  position: relative;
  padding: 16px 18px 16px 58px;
  border-bottom: 1px dashed rgba(241, 196, 91, 0.45);
}

.why-list strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
}

.why-list span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.55;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 50%;
  font-weight: 900;
}

.partner-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.partner-grid div {
  display: grid;
  place-items: center;
  min-height: 102px;
  padding: 14px 16px;
  background: #fff;
}

.partner-grid img {
  display: block;
  width: 100%;
  max-width: 188px;
  max-height: 72px;
  object-fit: contain;
  height: auto;
}

.contact {
  background: linear-gradient(180deg, #fff, #fff8ea);
}

.contact-form {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 28px;
  padding: 28px;
  color: #fff;
  border: 1px solid rgba(241, 196, 91, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(145deg, #092b52, #03162e);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
}

.contact-person {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.contact-person strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact-person span {
  color: var(--gold-2);
  font-weight: 800;
}

.contact-details {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(241, 196, 91, 0.32);
}

.contact-details img {
  width: 40px;
  height: 40px;
}

.contact-details span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details a {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(6, 31, 61, 0.18);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(211, 154, 24, 0.4);
  border-color: var(--gold);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 700;
}

.form-status.success {
  color: #157f3a;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  color: #fff;
  background: var(--navy);
  border-top: 5px solid var(--gold);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 22px;
}

.site-footer strong {
  color: var(--gold-2);
  font-family: "Cinzel", Georgia, serif;
  font-size: 24px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(241, 196, 91, 0.28);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

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

.developer-credit a:hover,
.developer-credit a:focus {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-weight: 700;
}

.terms-page {
  min-height: calc(100vh - 220px);
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h1 {
  font-size: clamp(42px, 5vw, 72px);
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 25px;
}

.legal-copy a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0 56%, rgba(255, 253, 248, 0.74) 74%, rgba(6, 31, 61, 0.34) 100%),
      url("../images/hero-background.png") center bottom / cover no-repeat;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.42), rgba(255, 253, 248, 0.08)),
      radial-gradient(circle at 50% 22%, rgba(255, 253, 248, 0.75), transparent 24rem);
  }

  .hero-grid,
  .split,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

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

  .service-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-pad {
    padding: 58px 0;
  }

  .nav-wrap {
    height: 72px;
  }

  .brand-logo-img {
    width: 70px;
    height: 50px;
  }

  .brand-text span {
    font-size: 21px;
  }

  .brand-text small {
    font-size: 12px;
    letter-spacing: 5px;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0 57%, rgba(255, 253, 248, 0.76) 76%, rgba(6, 31, 61, 0.38) 100%),
      url("../images/hero-background.png") 62% bottom / auto 100% no-repeat;
  }

  .hero-brand-lockup {
    width: 100%;
    justify-content: center;
    padding-right: 10px;
  }

  .hero-logo-img {
    width: 68px;
    height: 50px;
  }

  .hero .eyebrow,
  .hero-copy h1,
  .tagline,
  .hero-lead {
    text-align: center;
  }

  .hero .eyebrow {
    margin-top: 24px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-badges span:nth-child(2) {
    border-right: 0;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-advisor {
    grid-template-columns: 48px minmax(0, 1fr);
    margin-top: 12px;
  }

  .hero-advisor .avatar {
    width: 48px;
    height: 48px;
  }

  .hero-advisor strong {
    font-size: 18px;
  }

  .hero-advisor a {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .section-intro {
    margin-top: -8px;
    text-align: left;
  }

  .contact-card {
    padding: 24px 20px 22px 26px;
  }

  .contact-person {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .contact-person .avatar {
    width: 48px;
    height: 48px;
  }

  .contact-person strong {
    font-size: 22px;
  }

  .contact-details li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .contact-details img {
    width: 34px;
    height: 34px;
  }

  .contact-details a {
    font-size: 16px;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-title span {
    display: none;
  }

  .feature-grid,
  .service-grid,
  .partner-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 24px;
  }
}
