/* Grow Wealth Choices – shared stylesheet */

:root {
  --ink: #202238;
  --ink-2: #343653;
  --forest: #555B83;
  --teal: #737BA8;
  --mint: #C9CBE7;
  --mint-soft: #F0F0FA;
  --amber: #DDBB72;
  --amber-soft: #FBF1D9;
  --coral: #D98983;
  --coral-soft: #F8E3E0;
  --sand: #FAF8F3;
  --sand-deep: #EAE5D9;
  --white: #FFFFFF;
  --text: #28283A;
  --muted: #737387;
  --line: #E2DFE9;
  --shadow: 0 22px 50px rgba(32, 34, 56, .15);
  --radius: 24px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--sand);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 300;
  padding: 10px 16px; color: var(--ink); background: var(--amber);
  border-radius: 10px; font-weight: 800;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { position: relative; padding: 112px 0; overflow: hidden; scroll-margin-top: var(--header-h); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px; color: var(--forest);
  font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.section-title {
  max-width: 740px; margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 850;
}
.section-copy { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.small-copy { color: var(--muted); font-size: .92rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 14px;
  font-size: .94rem; font-weight: 800; text-align: center;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { color: var(--ink); background: var(--amber); }
.button-primary:hover { background: #ffc453; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--mint-soft); }
.button-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.button-ghost:hover { color: var(--white); background: var(--ink); }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.icon { width: 28px; height: 28px; }
.button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Header (identical on every page) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: rgba(12, 46, 42, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(159, 230, 208, .14);
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--white); font-size: 1.22rem; font-weight: 900; letter-spacing: -.04em;
}
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  color: var(--ink); background: var(--amber);
  border-radius: 12px 12px 12px 3px; transform: rotate(-8deg);
}
.brand-mark svg { width: 22px; height: 22px; transform: rotate(8deg); }
.nav-links { display: flex; align-items: center; gap: 26px; color: rgba(255, 255, 255, .78); font-size: .92rem; font-weight: 700; }
.nav-links a { padding: 6px 0; transition: color .2s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--amber); }
.nav-links a.nav-cta { padding: 10px 18px; color: var(--ink); background: var(--amber); border-radius: 12px; box-shadow: none; }
.nav-links a.nav-cta:hover { color: var(--ink); background: #ffc453; }
.menu-toggle {
  display: none; width: 44px; height: 42px; padding: 0;
  color: var(--white); background: transparent; border: 0;
}
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s 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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(247, 181, 56, .22), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(159, 230, 208, .22), transparent 42%),
    var(--ink);
  isolation: isolate;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center; gap: 56px;
  min-height: min(calc(100vh - var(--header-h)), 760px);
  padding: 96px 0 110px;
}
.hero-brand {
  margin: 0 0 22px; color: var(--amber);
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 900; line-height: .9; letter-spacing: -.07em;
}
.hero h1 { max-width: 700px; font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 850; }
.hero h1 span { color: var(--mint); }
.hero-copy { max-width: 580px; margin: 24px 0 0; color: rgba(255, 255, 255, .78); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .button-light { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); }
.hero .button-light:hover { color: var(--ink); background: var(--white); }
.hero-visual { position: relative; min-height: 500px; }
.hero-orbit {
  position: absolute; top: 50%; left: 50%;
  width: min(440px, 100%); aspect-ratio: 1;
  border: 1px solid rgba(159, 230, 208, .35); border-radius: 50%;
  transform: translate(-50%, -50%); animation: spin 24s linear infinite;
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.hero-orbit::before { top: 3%; left: 23%; background: var(--amber); box-shadow: 0 0 0 9px rgba(247, 181, 56, .18); }
.hero-orbit::after { right: 8%; bottom: 19%; background: var(--mint); box-shadow: 0 0 0 9px rgba(159, 230, 208, .18); }
.orbit-inner {
  position: absolute; top: 50%; left: 50%;
  width: 318px; aspect-ratio: 1;
  border: 1px dashed rgba(247, 181, 56, .4); border-radius: 50%;
  transform: translate(-50%, -50%); animation: spin-reverse 16s linear infinite;
}
.hero-core {
  position: absolute; top: 50%; left: 50%;
  display: grid; place-items: center;
  width: 215px; aspect-ratio: 1; color: var(--ink);
  background: var(--amber);
  border-radius: 39% 61% 48% 52% / 49% 38% 62% 51%;
  transform: translate(-50%, -50%) rotate(-10deg);
  box-shadow: 0 23px 50px rgba(0, 0, 0, .22);
  animation: morph 6s ease-in-out infinite;
}
.hero-core svg { width: 100px; height: 100px; transform: rotate(10deg); }
.float-symbol {
  position: absolute; display: grid; place-items: center;
  width: 67px; height: 67px; color: var(--white);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(159, 230, 208, .28); border-radius: 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .16);
}
.float-symbol svg { width: 32px; height: 32px; }
.symbol-one { top: 13%; left: 4%; animation: float 5s ease-in-out infinite; }
.symbol-two { top: 11%; right: 4%; width: 58px; height: 58px; color: var(--amber); animation: float 6s 1.1s ease-in-out infinite; }
.symbol-three { right: 6%; bottom: 13%; color: var(--mint); animation: float 4.8s .6s ease-in-out infinite; }
.symbol-four { bottom: 11%; left: 11%; width: 52px; height: 52px; color: var(--coral); animation: float 5.7s 1.5s ease-in-out infinite; }
.hero-stripe {
  position: absolute; right: 0; bottom: 0; left: 0; height: 6px;
  background: linear-gradient(90deg, var(--amber), var(--coral), var(--mint));
}

/* ---------- About ---------- */
.about { background: var(--sand); }
.services-preview { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(42px, 7vw, 100px); }
.about-art { position: relative; min-height: 470px; }
.about-shape {
  position: absolute; left: 0; bottom: 0; width: 84%; height: 90%;
  background: var(--forest);
  border-radius: 48% 52% 29% 71% / 57% 35% 65% 43%;
  transform: rotate(-7deg);
}
.about-shape::after {
  content: ""; position: absolute; width: 74%; height: 65%; right: -16%; top: 15%;
  border: 2px solid var(--mint); border-radius: 50%; opacity: .6;
}
.trust-mark {
  position: absolute; top: 21%; left: 13%;
  display: grid; place-items: center; width: 218px; height: 218px;
  color: var(--ink); background: var(--amber);
  border: 11px solid var(--white); border-radius: 50%;
  box-shadow: var(--shadow); transform: rotate(8deg);
}
.trust-mark svg { width: 98px; height: 98px; transform: rotate(-8deg); }
.trust-note {
  position: absolute; right: -2%; bottom: 7%; width: 220px; padding: 22px;
  color: var(--white); background: var(--ink);
  border-radius: 19px 19px 4px 19px; transform: rotate(-4deg); box-shadow: var(--shadow);
}
.trust-note strong { display: block; font-size: 1.05rem; line-height: 1.15; }
.trust-note span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: .8rem; }
.about-text .eyebrow { color: var(--coral); }
.about-lead { max-width: 610px; margin: 24px 0 0; color: var(--ink-2); font-size: 1.22rem; line-height: 1.55; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.principle { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.principle .icon { color: var(--forest); }
.principle strong { display: block; margin-top: 12px; font-size: .97rem; }
.principle span { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; line-height: 1.5; }

/* ---------- Shared service blocks ---------- */
.service-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 52px; }
.service-intro .section-copy { margin-bottom: 4px; }
.service-count {
  flex: 0 0 auto; padding: 9px 15px;
  color: var(--forest); background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
}
.service-name { display: flex; align-items: center; gap: 13px; margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.service-name .icon { flex: 0 0 auto; }
.service-desc { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.service-icon {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 52px; height: 52px; color: var(--forest);
  background: var(--mint-soft); border-radius: 16px;
}
.service-item { transition: transform .25s ease, box-shadow .25s ease; }
.service-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* Section colour themes */
.loans { background: var(--white); }
.insurance { background: var(--sand); }
.investments { background: var(--white); }
.wealth { color: var(--white); background: var(--ink); }
.payments { background: var(--sand); }
.debt { background: var(--white); }
.home-warranty { background: var(--mint-soft); }
.auto-warranty { background: var(--sand); }
.wealth .eyebrow { color: var(--mint); }
.wealth .section-title { color: var(--white); }
.wealth .section-copy { color: rgba(255, 255, 255, .72); }
.wealth .service-count { color: var(--mint); background: rgba(255, 255, 255, .06); border-color: rgba(159, 230, 208, .25); }
.wealth .service-name { color: var(--white); }
.wealth .service-desc { color: rgba(255, 255, 255, .72); }

/* Loans */
.loan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.loan { min-height: 260px; padding: 28px; color: var(--ink); background: var(--mint-soft); border-radius: 24px; transition: transform .25s ease, box-shadow .25s ease; }
.loan:nth-child(3n+2) { background: var(--amber-soft); }
.loan:nth-child(3n) { background: var(--coral-soft); }
.loan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.loan .loan-number { display: block; margin-bottom: 40px; color: var(--ink); font-size: .78rem; font-weight: 800; opacity: .55; }
.loan .icon { width: 36px; height: 36px; margin-bottom: 18px; color: var(--forest); }
.loan .service-desc { color: #465854; }

/* Insurance */
.insurance-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.insurance-item { padding: 32px; background: var(--white); }
.insurance-item .service-icon { margin-bottom: 20px; }

/* Investments */
.investment-stacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.investment { padding: 32px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); }
.investment-label {
  display: inline-block; margin-bottom: 20px; padding: 6px 12px;
  color: var(--forest); background: var(--mint-soft); border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.investment .icon { margin-bottom: 18px; color: var(--forest); }

/* Wealth */
.wealth-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wealth-node { padding: 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(159, 230, 208, .18); border-radius: 24px; transition: transform .25s ease, background .25s ease; }
.wealth-node:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); }
.wealth-dot {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px;
  color: var(--ink); background: var(--amber); border-radius: 50%;
}

/* Payments */
.payment-stream { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.payment { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.payment:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.payment-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.payment .service-icon { color: var(--ink); background: var(--amber-soft); }
.payment-tag {
  padding: 6px 11px; color: var(--ink-2); background: var(--sand-deep); border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}

/* Debt */
.debt-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.debt-step { padding: 32px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); }
.debt-badge {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  color: var(--white); background: var(--coral); border-radius: 50%;
}

/* Home warranty */
.home-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 72px; }
.house-art { position: relative; min-height: 380px; }
.house-roof {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 160px solid transparent; border-right: 160px solid transparent; border-bottom: 120px solid var(--forest);
}
.house-body {
  position: absolute; top: 140px; left: 50%; transform: translateX(-50%);
  width: 270px; height: 210px; background: var(--amber); border-radius: 0 0 14px 14px;
}
.house-window { position: absolute; top: 40px; width: 64px; height: 64px; background: var(--white); border-radius: 10px; }
.window-one { left: 26px; }
.window-two { right: 26px; }
.home-list { display: grid; gap: 16px; }
.home-item { display: flex; align-items: flex-start; gap: 20px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; transition: transform .25s ease, box-shadow .25s ease; }
.home-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Auto warranty */
.auto-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.auto-item { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.auto-item .service-icon { margin-bottom: 20px; }

/* ---------- Why ---------- */
.why { color: var(--white); background: var(--forest); }
.why::before {
  content: ""; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px;
  border: 46px solid rgba(247, 181, 56, .22); border-radius: 50%;
}
.why-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.why .eyebrow { color: var(--amber); }
.why .section-title { color: var(--white); }
.why .section-copy { color: rgba(255, 255, 255, .8); }
.why .why-cta { margin-top: 32px; }
.why-list { display: grid; }
.why-point { display: flex; align-items: flex-start; gap: 22px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.why-point:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.why-number { flex: 0 0 auto; min-width: 46px; color: var(--amber); font-size: 1rem; font-weight: 900; letter-spacing: .04em; }
.why-point h3 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.why-point p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sand-deep); }
.testimonials .eyebrow { color: var(--coral); }
.testimonial-shell {
  margin-top: 48px; padding: 48px; background: var(--white); border-radius: 28px;
  box-shadow: 0 18px 40px rgba(12, 46, 42, .08);
}
.testimonial-stage { position: relative; min-height: 240px; }
.testimonial { display: none; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.testimonial.is-active { display: grid; animation: rise .5s ease both; }
.client-glyph {
  display: grid; place-items: center; width: 84px; height: 84px; flex: 0 0 auto;
  color: var(--forest); background: var(--amber-soft); border-radius: 50%;
}
.client-glyph svg { width: 40px; height: 40px; }
.quote-mark { height: 30px; color: var(--amber); font-size: 4.2rem; font-weight: 900; line-height: 1; }
.quote { margin: 0 0 18px; color: var(--ink); font-size: 1.22rem; font-weight: 600; line-height: 1.6; }
.client-name { font-weight: 900; }
.client-detail { color: var(--muted); font-size: .9rem; }
.rating { display: flex; gap: 4px; margin-top: 12px; color: var(--amber); }
.rating svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.testimonial-dots { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; padding: 0; background: var(--line); border: 0; border-radius: 999px; transition: width .25s ease, background .25s ease; }
.dot.is-active { width: 28px; background: var(--forest); }
.carousel-buttons { display: flex; gap: 10px; }
.circle-button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.circle-button:hover { color: var(--white); background: var(--ink); }
.circle-button svg { width: 20px; height: 20px; }

/* ---------- Services preview (home) ---------- */
.preview-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.preview-card {
  display: flex; flex-direction: column; min-height: 100%; padding: 26px;
  color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.preview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--mint); }
.preview-card .eyebrow { margin-bottom: 14px; font-size: 11px; }
.preview-card h3 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.preview-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.preview-foot .service-count { font-size: .72rem; padding: 6px 11px; }
.preview-foot .icon { width: 22px; height: 22px; color: var(--forest); }

/* ---------- Services page header ---------- */
.page-hero { position: relative; padding: 120px 0 64px; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -200px; right: -160px; width: 460px; height: 460px;
  border: 52px solid rgba(159, 230, 208, .12); border-radius: 50%;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--amber); }
.page-hero .section-title { color: var(--white); font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.page-hero .section-copy { color: rgba(255, 255, 255, .76); }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.service-nav a {
  padding: 10px 17px; color: var(--white);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(159, 230, 208, .25); border-radius: 999px;
  font-size: .88rem; font-weight: 700; transition: background .2s ease, color .2s ease;
}
.service-nav a:hover { color: var(--ink); background: var(--mint); }

/* ---------- Contact ---------- */
.contact { color: var(--white); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 72px; }
.contact .eyebrow { color: var(--amber); }
.contact .section-title { color: var(--white); }
.contact .section-copy { color: rgba(255, 255, 255, .76); }
.contact-details { display: grid; gap: 16px; margin-top: 38px; }
.contact-detail { display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .9); font-size: .95rem; }
.contact-detail .service-icon { width: 46px; height: 46px; color: var(--ink); background: var(--amber); border-radius: 14px; }
.form-panel { position: relative; padding: 38px; color: var(--ink); background: var(--white); border-radius: 28px; box-shadow: 0 25px 60px rgba(0, 0, 0, .25); }
.form-panel h3 { margin: 0 0 24px; font-size: 1.45rem; font-weight: 850; letter-spacing: -.03em; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { color: var(--ink-2); font-size: .82rem; font-weight: 800; }
input, textarea {
  width: 100%; padding: 13px 14px;
  color: var(--ink); background: #f6faf8;
  border: 1px solid #d3ddd8; border-radius: 12px; outline: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus { background: var(--white); border-color: var(--forest); box-shadow: 0 0 0 4px rgba(29, 106, 93, .14); }
textarea { min-height: 120px; resize: vertical; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.form-actions { margin-top: 22px; }

/* ---------- Newsletter ---------- */
.newsletter { color: var(--ink); background: var(--amber); }
.newsletter::before {
  content: ""; position: absolute; right: -150px; top: -240px; width: 520px; height: 520px;
  border: 56px solid rgba(255, 111, 79, .35); border-radius: 50%;
}
.newsletter::after {
  content: ""; position: absolute; bottom: -190px; left: -170px; width: 420px; height: 420px;
  border: 58px solid rgba(29, 106, 93, .18); border-radius: 50%;
}
.newsletter .wrap { position: relative; z-index: 1; }
.newsletter-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.newsletter .eyebrow { color: var(--ink-2); }
.newsletter .section-title { max-width: 680px; }
.newsletter .section-copy { color: var(--ink-2); }
.newsletter-form { margin-top: 44px; padding: 28px; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); }
.newsletter-fields { display: grid; grid-template-columns: 1fr 1.15fr 1fr 1fr; align-items: end; gap: 14px; }
.newsletter .button { width: 100%; }
.newsletter .newsletter-fields > .button { grid-column: 1 / -1; margin-top: 4px; }
.checkbox-field { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 10px; margin-top: 4px; }
.checkbox-field input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--forest); }
.checkbox-field label { font-weight: 600; line-height: 1.4; color: var(--ink); }
.newsletter-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 18px 4px 0; color: var(--ink-2); font-size: .86rem; }
.text-link { color: var(--ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--forest); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .73fr 1.27fr; gap: 80px; }
.faq .eyebrow { color: var(--coral); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; list-style: none; font-size: 1.02rem; font-weight: 800; cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: 0 0 auto; display: grid; place-items: center;
  width: 28px; height: 28px; color: var(--forest);
  border: 1px solid var(--forest); border-radius: 50%;
  font-size: 1.25rem; font-weight: 500; transition: transform .2s ease, color .2s ease, background .2s ease;
}
details[open] summary::after { color: var(--white); background: var(--forest); transform: rotate(45deg); }
details p { max-width: 680px; margin: -4px 45px 22px 0; color: var(--muted); font-size: .94rem; }

/* ---------- Unsubscribe & legal pages ---------- */
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.form-card { padding: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.form-card .card-title { margin: 0; font-size: 1.5rem; font-weight: 850; letter-spacing: -.03em; }
.form-card .card-copy { margin: 14px 0 0; color: var(--muted); font-size: .98rem; }
.unsubscribe-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; margin-top: 28px; }
.legal-card { padding: 52px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.legal-content { color: var(--muted); font-size: .96rem; line-height: 1.75; }
.legal-content > p:first-child { color: var(--ink-2); font-size: 1.04rem; }
.legal-content h3 { margin: 30px 0 8px; color: var(--ink); font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.legal-content p { margin: 0; }
.page-spacer { padding: 88px 0 112px; }
.legal-page-head { padding-bottom: 36px; }

/* ---------- Footer (identical on every page) ---------- */
.footer { color: rgba(255, 255, 255, .72); background: #071f1c; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 56px; padding: 68px 0 46px; }
.footer .brand { font-size: 1.36rem; }
.footer-copy { max-width: 370px; margin: 20px 0 0; font-size: .92rem; line-height: 1.65; }
.footer h3 { margin: 6px 0 18px; color: var(--white); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 12px; font-size: .92rem; }
.footer-links a { width: fit-content; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--amber); transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-link { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-link:hover { color: var(--amber); }

/* ---------- Toast notifications ---------- */
.toast-region {
  position: fixed; right: 20px; bottom: 20px; z-index: 400;
  display: grid; gap: 12px; width: min(390px, calc(100% - 40px));
  pointer-events: none;
}
.toast {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 44px 16px 16px;
  color: var(--white); background: var(--ink);
  border-left: 5px solid var(--mint); border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  pointer-events: auto;
  animation: toast-in .4s cubic-bezier(.2, .8, .2, 1) both;
}
.toast.is-error { border-left-color: var(--coral); }
.toast.is-leaving { animation: toast-out .3s ease both; }
.toast-icon {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 34px; height: 34px; color: var(--ink); background: var(--mint); border-radius: 50%;
}
.toast.is-error .toast-icon { background: var(--coral); color: var(--white); }
.toast-icon svg { width: 18px; height: 18px; }
.toast-body { min-width: 0; }
.toast-title { margin: 0; font-size: .97rem; font-weight: 800; line-height: 1.35; }
.toast-message { margin: 4px 0 0; color: rgba(255, 255, 255, .76); font-size: .88rem; line-height: 1.5; }
.toast-close {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  color: var(--white); background: rgba(255, 255, 255, .08); border: 0; border-radius: 50%;
  font-size: 1.1rem; line-height: 1;
}
.toast-close:hover { background: rgba(255, 255, 255, .18); }

/* ---------- Scroll reveal (only when JavaScript runs) ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .65s ease, translate .65s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
.js .reveal-delay-1 { transition-delay: .12s; }
.js .reveal-delay-2 { transition-delay: .22s; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-17px) rotate(7deg); } }
@keyframes morph {
  0%, 100% { border-radius: 39% 61% 48% 52% / 49% 38% 62% 51%; }
  50% { border-radius: 62% 38% 59% 41% / 35% 56% 44% 65%; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px) scale(.97); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 72px 0 96px; gap: 40px; }
  .hero-visual { min-height: 440px; }
  .loan-grid, .insurance-grid, .investment-stacks, .wealth-path, .payment-stream, .debt-flow, .auto-layout, .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-grid, .contact-grid, .faq-grid, .home-layout { grid-template-columns: 1fr; gap: 56px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .newsletter-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px 20px 22px; background: var(--ink);
    border-bottom: 1px solid rgba(159, 230, 208, .14);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; font-size: 1rem; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--amber); }
  .nav-links a.nav-cta { width: auto; margin-top: 8px; padding: 12px 18px; text-align: center; }
  .principles, .preview-grid { grid-template-columns: 1fr; }
  .service-intro, .preview-head, .newsletter-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .about-art { min-height: 400px; }
  .trust-mark { width: 180px; height: 180px; }
  .trust-mark svg { width: 80px; height: 80px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .page-hero { padding: 104px 0 52px; }
  .hero-grid { padding: 56px 0 84px; }
  .hero-visual { min-height: 360px; }
  .loan-grid, .insurance-grid, .investment-stacks, .wealth-path, .payment-stream, .debt-flow, .auto-layout, .field-grid, .newsletter-fields, .unsubscribe-form { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; gap: 18px; }
  .testimonial-shell { padding: 28px; }
  .testimonial-controls { flex-direction: column-reverse; align-items: flex-start; }
  .form-panel, .form-card { padding: 26px; }
  .legal-card { padding: 28px; }
  .newsletter-form { padding: 20px; }
  .newsletter .newsletter-fields > .button { margin-top: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .house-art { min-height: 320px; }
  .toast-region { right: 16px; left: 16px; bottom: 16px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}
