:root {
  --navy: #10294a;
  --navy-2: #173b67;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e3ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --gold: #d7a52f;
  --gold-2: #f4d06f;
  --teal: #1fa7a0;
  --green: #19a56b;
  --shadow: 0 24px 70px rgba(16, 41, 74, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 227, 239, 0.9);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
  background: #111111;
  border: 1px solid rgba(215, 165, 47, 0.5);
  box-shadow: 0 10px 24px rgba(16, 41, 74, 0.18);
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.15;
}

.brand span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

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

.nav-links a {
  padding: 10px 11px;
  color: #31415d;
  font-weight: 650;
  font-size: 0.92rem;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: #eef4fb;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1c2637;
  box-shadow: 0 14px 26px rgba(215, 165, 47, 0.28);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(16, 41, 74, 0.2);
}

.btn-outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 26px rgba(25, 165, 107, 0.24);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 41, 74, 0.94) 0%, rgba(16, 41, 74, 0.78) 42%, rgba(16, 41, 74, 0.18) 100%),
    url("../images/financial-advisor-hero.png") center right / cover no-repeat;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 96px 0 128px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 14px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 5.7vw, 5.25rem);
  max-width: 780px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  max-width: 660px;
  margin: 0 0 28px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -58px;
}

.trust-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.trust-item {
  min-height: 78px;
  border-radius: 8px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: var(--navy);
  font-weight: 780;
}

section,
.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

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

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 36px rgba(16, 41, 74, 0.07);
}

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

.card p,
.card li {
  color: var(--muted);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff6db;
  color: #986e10;
  font-size: 1.28rem;
  margin-bottom: 18px;
}

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

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list i {
  color: var(--teal);
  margin-top: 3px;
}

.band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 64px 0;
}

.band h2,
.band h3 {
  color: var(--white);
}

.band p {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.advisor-panel {
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 66px;
  height: 66px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: var(--navy);
  font-size: 1.45rem;
  font-weight: 850;
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold-2);
  font-weight: 850;
  margin-bottom: 18px;
}

.form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #31415d;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 167, 160, 0.16);
  border-color: var(--teal);
}

.form-message {
  display: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 740;
}

.form-message.success {
  display: block;
  background: #e8f8f1;
  color: #116241;
}

.form-message.error {
  display: block;
  background: #fff1f1;
  color: #9c2525;
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(16, 41, 74, 0.95), rgba(23, 59, 103, 0.92)),
    radial-gradient(circle at 85% 25%, rgba(244, 208, 111, 0.24), transparent 30%);
  color: var(--white);
  padding: 78px 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.faq p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  background: #081a31;
  color: rgba(255, 255, 255, 0.78);
  padding: 62px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 34px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 750;
}

.advisor-panel .social-links a {
  color: var(--navy);
  background: #f3f7fb;
  border-color: var(--line);
}

.social-links a:hover {
  color: var(--gold-2);
  transform: translateY(-1px);
}

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.88rem;
}

.floating-whatsapp,
.call-now,
.floating-instagram,
.floating-facebook {
  position: fixed;
  right: 18px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp {
  bottom: 220px;
  background: var(--green);
}

.call-now {
  bottom: 156px;
  background: var(--navy);
}

.floating-instagram {
  bottom: 92px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.floating-facebook {
  bottom: 28px;
  background: #1877f2;
}

.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 70;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 12px;
  gap: 10px;
  box-shadow: 0 -8px 26px rgba(16, 41, 74, 0.12);
}

.mobile-cta .btn {
  flex: 1;
  padding: 10px;
  min-height: 44px;
  font-size: 0.9rem;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 26, 49, 0.58);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
}

.exit-modal {
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-close {
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .trust-panel,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-2,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 640px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(16, 41, 74, 0.96), rgba(16, 41, 74, 0.7)),
      url("../images/financial-advisor-hero.png") 62% center / cover no-repeat;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .top-strip {
    display: none;
  }

  .brand {
    min-width: 0;
  }

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

  .brand span {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 76px 0 110px;
  }

  .hero-actions .btn,
  .cta-row .btn {
    width: 100%;
  }

  .trust-panel,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  section,
  .section {
    padding: 64px 0;
  }

  .card,
  .advisor-panel {
    padding: 20px;
  }

  .floating-whatsapp,
  .call-now,
  .floating-instagram,
  .floating-facebook {
    display: none;
  }

  .mobile-cta {
    display: flex;
  }
}
