:root {
  --ink: #122232;
  --ink-soft: #31465b;
  --evergreen: #1f6f64;
  --jade: #2f8f83;
  --gold: #c89f52;
  --coral: #d85f45;
  --mist: #f4f7f6;
  --cloud: #e5ece9;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(18, 34, 50, 0.16);
  --radius: 8px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(18, 34, 50, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 6px 8px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(18, 34, 50, 0.14);
}

.brand-logo {
  width: auto;
  height: 54px;
  max-width: 170px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-action {
  color: var(--ink);
  background: var(--gold);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}



.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 24px rgba(200, 159, 82, 0.25);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--evergreen);
}

.button-outline {
  color: var(--evergreen);
  border: 1px solid rgba(31, 111, 100, 0.35);
  background: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  padding: 10px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(640px, 82vh, 760px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: url("../images/heritage-peak-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 34, 50, 0.86) 0%, rgba(18, 34, 50, 0.64) 44%, rgba(18, 34, 50, 0.2) 100%);
}

.hero-content {
  position: relative;
  width: min(100% - 40px, var(--container));
  margin: 86px auto 0;
}

.eyebrow,
.section-kicker,
.plan-tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.compact-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-copy,
.page-hero p,
.compact-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

.hero-metrics {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 52px;
}

.hero-metrics div {
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 16px;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.section {
  padding: clamp(70px, 9vw, 112px) 0;
}

.intro-strip {
  padding-block: 40px;
  background: var(--evergreen);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: center;
}

.intro-grid h2,
.section-heading h2,
.split-copy h2,
.cta-grid h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-grid p,
.split-copy p,
.feature-card p,
.service-card p,
.pricing-card p,
.info-panel p,
.value-stack p {
  color: var(--ink-soft);
}

.intro-grid p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.service-grid,
.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.feature-card,
.pricing-card,
.info-panel,
.contact-form,
.contact-details,
.calculator-card,
.contact-summary,
.hero-callout,
.value-stack article {
  border: 1px solid var(--cloud);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(18, 34, 50, 0.08);
}

.service-card {
  min-height: 260px;
  padding: 26px;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--evergreen);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card h3,
.feature-card h3,
.pricing-card h3,
.info-panel h3,
.value-stack h3,
.contact-details h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--evergreen);
  font-weight: 800;
}

.service-card:hover,
.feature-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--shadow);
}

.split-section {
  background: var(--mist);
}

.split-grid,
.product-hero-grid,
.compact-hero-grid,
.calculator-grid,
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.visual-panel,
.product-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-panel img,
.product-visual {
  width: 100%;
}

.split-copy p {
  font-size: 1.04rem;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--white);
  background: var(--jade);
  border-radius: 50%;
  content: "\2713";
  font-size: 0.72rem;
}

.stats-band {
  color: var(--white);
  background: var(--ink);
}

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

.stat-item {
  border-left: 3px solid var(--coral);
  padding-left: 18px;
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.cta-section {
  padding-block: 70px;
  background: var(--cloud);
}

.cta-grid {
  grid-template-columns: 1fr auto;
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: end;
  overflow: hidden;
  padding: 130px 0 88px;
  color: var(--white);
  background-image: url("../images/wealth-path.png");
  background-position: center;
  background-size: cover;
}

.page-hero-content {
  position: relative;
}

.compact-hero {
  padding: 150px 0 78px;
  color: var(--white);
  background: var(--ink);
}

.compact-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.product-hero,
.investment-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--evergreen) 100%);
}

.product-visual {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
}

.contact-summary,
.hero-callout {
  padding: 24px;
  color: var(--ink);
}

.contact-summary span,
.hero-callout span {
  display: block;
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-summary strong,
.hero-callout strong {
  display: block;
  margin: 8px 0;
  color: var(--evergreen);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.feature-card,
.pricing-card,
.info-panel {
  padding: 28px;
}

.pricing-card {
  display: grid;
  gap: 14px;
}

.pricing-card.featured {
  border-color: rgba(200, 159, 82, 0.65);
  box-shadow: 0 22px 56px rgba(200, 159, 82, 0.18);
}

.pricing-card strong {
  color: var(--evergreen);
  font-size: 1.05rem;
}

.muted-section {
  background: var(--mist);
}

.value-stack {
  display: grid;
  gap: 16px;
}

.value-stack article {
  padding: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

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

.form-row label,
.contact-form label,
.calculator-card label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdad7;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--evergreen);
  box-shadow: 0 0 0 4px rgba(47, 143, 131, 0.14);
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-weight: 600;
}

.consent-row input {
  width: auto;
  margin-top: 5px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--evergreen);
  font-weight: 800;
}

.contact-details {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.contact-details article {
  padding: 24px;
  border-bottom: 1px solid var(--cloud);
}

.contact-details article:last-child {
  border-bottom: 0;
}

.contact-details p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-details a {
  color: var(--evergreen);
  font-weight: 800;
}

.calculator-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.calculator-card label {
  display: grid;
  gap: 8px;
}

.payment-output {
  display: block;
  padding: 18px;
  color: var(--white);
  background: var(--evergreen);
  border-radius: var(--radius);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  padding: 64px 0 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0d1c28;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 18px;
  width: fit-content;
}

.footer-logo {
  height: 72px;
  max-width: 220px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
}

.site-footer a {
  margin-bottom: 10px;
}

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

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

.social-links a {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding: 20px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: grid;
    grid-column: 3;
    justify-self: end;
  }

  .main-nav {
    display: none;
  }

  .header-tools {
    grid-column: 2;
    justify-self: end;
  }

  .header-tools .nav-action {
    display: none;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .main-nav a {
    padding: 14px;
  }

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

@media (max-width: 820px) {
  .hero {
    min-height: 720px;
    background-position: 62% center;
  }

  .hero-overlay,
  .page-hero-overlay {
    background: rgba(18, 34, 50, 0.74);
  }

  .hero-content {
    margin-top: 72px;
  }

  .hero-metrics,
  .intro-grid,
  .split-grid,
  .product-hero-grid,
  .compact-hero-grid,
  .calculator-grid,
  .cta-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    align-items: start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 14px;
    gap: 8px;
  }

  .brand {
    padding: 5px;
  }

  .brand-logo {
    height: 44px;
    max-width: 100px;
  }

  

  .hero {
    min-height: 710px;
  }

  .hero h1,
  .page-hero h1,
  .compact-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .nav-action {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .service-grid,
  .feature-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compact-hero {
    padding-top: 120px;
  }

  .page-hero {
    min-height: 470px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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