/* =========================================================
   Plan Wise Capital — A Statement of Financial Services
   Navy / teal / coral editorial theme over Bootstrap 5
   ========================================================= */

:root {
  --navy: #06283d;
  --navy-deep: #031f31;
  --teal: #087f83;
  --teal-dark: #04686d;
  --coral: #ff7466;
  --cream: #fbf4ea;
  --paper: #fffaf3;
  --sand: #f0dfc6;
  --ink: #08263a;
  --muted: #53646e;
  --line: rgba(8, 38, 58, 0.16);
  --white-line: rgba(255, 255, 255, 0.22);
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

em {
  color: var(--coral);
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.site-container {
  max-width: 1240px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  height: 78px;
  background: var(--navy-deep);
  color: white;
  transition: box-shadow 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  box-shadow: 0 8px 32px rgba(3, 31, 49, 0.18);
}

.site-header .navbar > .site-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: inherit;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  color: var(--coral);
  font-size: 1rem;
  line-height: 1;
  transform: rotate(45deg);
}

.brand-mark i {
  transform: rotate(-45deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.72;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--coral);
}

.site-header .navbar-collapse {
  grid-column: 2;
}

.site-header .navbar-nav .nav-link {
  position: relative;
  padding-inline: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  font-weight: 500;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus,
.site-header .navbar-nav .nav-link.active {
  color: white;
}

.site-header .navbar-nav .nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--coral);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  background: #ff9186;
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.site-header .navbar-toggler {
  justify-self: end;
  border: 0;
  color: white;
  box-shadow: none;
}

.mobile-menu {
  width: min(430px, 100%);
  background: var(--navy-deep);
  color: white;
}

.mobile-menu .offcanvas-header {
  padding: 26px;
}

.mobile-menu .offcanvas-body {
  padding: 18px 26px 30px;
}

.mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  border-bottom: 1px solid var(--white-line);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
}

.mobile-links a:hover,
.mobile-links a.active {
  color: var(--coral);
}

.mobile-links a i {
  font-size: 0.9rem;
}

/* ===== Shared type ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section-label::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-label.label-light {
  color: #a9ebdf;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.about-intro h2,
.impact-copy h2,
.process-intro h2,
.faq-intro h2,
.contact-intro h2,
.newsletter-intro h2,
.panel-intro h2,
.cta-strip h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

/* ===== Buttons ===== */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 23px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button i {
  transition: transform 180ms ease;
}

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

.button:hover i {
  transform: translateX(3px);
}

.button:disabled {
  opacity: 0.65;
  transform: none;
}

.button-primary {
  background: var(--teal);
  color: white;
}

.button-primary:hover {
  background: var(--teal-dark);
  color: white;
}

.button-light {
  background: white;
  color: var(--navy);
}

.button-light:hover {
  color: var(--navy);
}

.button-coral {
  background: var(--coral);
  color: var(--navy-deep);
}

.button-coral:hover {
  background: #ff9186;
  color: var(--navy-deep);
}

.button-outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link span {
  width: 25px;
  height: 1px;
  background: var(--coral);
  transition: width 180ms ease;
}

.text-link:hover span {
  width: 38px;
}

/* ===== Hero (home) ===== */
.hero {
  position: relative;
  margin-top: 78px;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(8, 127, 131, 0.19) 1px, transparent 1px);
  background-position: 91% 22%;
  background-size: 18px 18px;
  content: "";
  -webkit-mask-image: linear-gradient(to left, #000, transparent 46%);
  mask-image: linear-gradient(to left, #000, transparent 46%);
}

.hero-art {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  overflow: hidden;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(251, 244, 234, 0.88) 10%, transparent 38%);
  content: "";
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
}

.hero-inner {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-block: 84px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(670px, 58%);
}

.hero h1 {
  max-width: 670px;
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
}

.hero-intro {
  max-width: 550px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  position: relative;
  margin-top: 78px;
  padding: 92px 0 78px;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-position: 88% 30%;
  background-size: 18px 18px;
  content: "";
  -webkit-mask-image: linear-gradient(to left, #000, transparent 52%);
  mask-image: linear-gradient(to left, #000, transparent 52%);
}

.page-hero::after {
  position: absolute;
  top: -120px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03);
  content: "";
}

.page-hero .site-container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
}

.page-hero > .site-container > p {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crumbs a:hover {
  color: var(--coral);
}

.crumbs i {
  font-size: 0.52rem;
  color: var(--coral);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-chips span {
  padding: 9px 16px;
  border: 1px solid var(--white-line);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ===== Request paths ===== */
.request-paths {
  padding: 72px 0 82px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.request-heading {
  margin-bottom: 32px;
}

.request-heading .section-label {
  margin-bottom: 8px;
}

.request-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.path-list {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-item {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 230px;
  padding: 28px 24px 22px;
  border-right: 1px solid var(--line);
}

.path-item:last-child {
  border-right: 0;
}

.path-icon {
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 1.55rem;
}

.path-item h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.path-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.path-item > span {
  align-self: end;
  width: max-content;
  margin-top: 22px;
  color: var(--coral);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== About (teal) ===== */
.about-section {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background: var(--teal);
  color: white;
}

.about-section::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.035), 0 0 0 70px rgba(255, 255, 255, 0.025);
  content: "";
}

.about-section .site-container {
  position: relative;
  z-index: 1;
}

.about-intro h2 {
  max-width: 510px;
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
}

.about-intro h2 em {
  color: #b9eee7;
}

.about-intro > p {
  max-width: 510px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.76);
}

.about-principles {
  border-top: 1px solid var(--white-line);
}

.principle {
  display: grid;
  grid-template-columns: 42px 52px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--white-line);
}

.principle-num {
  padding-top: 5px;
  color: #b9eee7;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.principle-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--teal);
  font-size: 1.1rem;
}

.principle h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== Impact metrics ===== */
.impact-section {
  padding: 94px 0;
  background: var(--cream);
}

.impact-copy h2 {
  max-width: 560px;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.impact-copy p {
  max-width: 650px;
  margin: 23px 0 0;
  color: var(--muted);
}

.metric-row {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-row > div {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-row strong {
  color: var(--teal);
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.metric-row span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== Sections ===== */
.services-section,
.why-section,
.faq-section,
.process-section,
.newsletter-section,
.panel-section {
  padding: 110px 0;
}

.services-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  max-width: 710px;
  font-size: clamp(2rem, 3.4vw, 2.5rem);
}

.section-heading p,
.why-heading p {
  max-width: 470px;
  margin: 0 0 6px;
  color: var(--muted);
}

/* service tabs */
.service-tabs {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-tabs > div {
  display: flex;
}

.service-tab {
  position: relative;
  width: 100%;
  min-height: 250px;
  padding: 25px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.service-tab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-tab-top > i {
  color: var(--teal);
  font-size: 1.7rem;
}

.service-tab-top small {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.55;
}

.service-tab > strong {
  display: block;
  padding-right: 25px;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.service-tab > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.service-tab-arrow {
  position: absolute;
  right: 21px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 180ms ease;
}

.service-tab-arrow i {
  font-size: 0.75rem;
}

.service-tab:hover .service-tab-arrow {
  transform: translateX(4px);
}

.service-tab.active.coral,
.service-tab.coral:hover {
  background: var(--coral);
}

.service-tab.active.teal,
.service-tab.teal:hover {
  background: var(--teal);
  color: white;
}

.service-tab.active.navy,
.service-tab.navy:hover {
  background: var(--navy);
  color: white;
}

.service-tab.active.sand,
.service-tab.sand:hover {
  background: var(--sand);
}

.service-tab.active.teal p,
.service-tab.teal:hover p,
.service-tab.active.navy p,
.service-tab.navy:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.service-tab.active.teal i,
.service-tab.teal:hover i,
.service-tab.active.navy i,
.service-tab.navy:hover i {
  color: white;
}

/* service detail */
.service-detail {
  margin-top: 42px;
  padding: 54px;
  background: var(--navy);
  color: white;
  scroll-margin-top: 110px;
}

.service-detail-intro h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.service-detail-intro > p {
  max-width: 420px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.68);
}

.subservice-list {
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.subservice-list > div {
  display: flex;
}

.subservice-list button {
  width: 100%;
  min-height: 142px;
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  gap: 14px;
  align-items: start;
  padding: 22px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  background: transparent;
  color: white;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.subservice-list button:hover {
  background: var(--coral);
  color: var(--navy-deep);
}

.subservice-list button > i:first-child {
  color: #9de3dc;
  font-size: 1.15rem;
}

.subservice-list button:hover > i:first-child {
  color: var(--navy);
}

.subservice-list button > i:last-child {
  font-size: 0.72rem;
  opacity: 0.72;
}

.subservice-list strong,
.subservice-list small {
  display: block;
}

.subservice-list strong {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
}

.subservice-list small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.45;
}

.subservice-list button:hover small {
  color: rgba(3, 31, 49, 0.7);
}

/* ===== Process ===== */
.process-section {
  background: var(--cream);
}

.process-intro {
  position: sticky;
  top: 120px;
}

.process-intro h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

.process-intro > p {
  margin: 24px 0 30px;
  color: var(--muted);
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  gap: 24px;
  align-items: start;
  padding: 37px 0;
  border-bottom: 1px solid var(--line);
}

.process-step > strong {
  color: var(--coral);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.process-step p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.process-step > i {
  color: var(--teal);
  font-size: 0.95rem;
}

/* ===== Why (navy) ===== */
.why-section {
  background: var(--navy);
  color: white;
}

.why-heading {
  margin-bottom: 60px;
}

.why-heading .section-label {
  color: #9de3dc;
}

.why-heading h2 {
  margin: 0;
  color: white;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.why-heading h2 em {
  color: var(--coral);
}

.why-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.why-grid {
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.why-item {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.why-number {
  display: block;
  margin-bottom: 44px;
  color: #9de3dc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.why-item > i {
  display: block;
  margin-bottom: 26px;
  color: var(--coral);
  font-size: 2rem;
}

.why-item h3 {
  max-width: 300px;
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.why-item p {
  max-width: 340px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--paper);
}

.faq-intro h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

.faq-intro > p {
  margin: 24px 0 30px;
  color: var(--muted);
}

.faq-accordion {
  border-top: 1px solid var(--line);
}

.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-accordion .accordion-button {
  padding: 25px 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--teal-dark);
}

.faq-accordion .accordion-button::after {
  width: 16px;
  height: 16px;
  background-size: 16px;
  filter: invert(42%) sepia(82%) saturate(493%) hue-rotate(133deg);
}

.faq-accordion .accordion-body {
  padding: 0 45px 27px 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ===== Contact (coral) ===== */
.contact-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: var(--coral);
}

.contact-section::after {
  position: absolute;
  top: 60px;
  right: -130px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(8, 38, 58, 0.14);
  border-radius: 50%;
  content: "";
}

.contact-section .site-container {
  position: relative;
  z-index: 1;
}

.contact-intro .section-label {
  color: var(--navy);
}

.contact-intro h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.contact-intro > p {
  max-width: 480px;
  margin: 24px 0 36px;
  color: rgba(8, 38, 58, 0.76);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.91rem;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

.contact-list i {
  width: 19px;
  text-align: center;
}

.contact-form-wrap {
  padding: 46px;
  background: var(--paper);
}

.form-title {
  margin-bottom: 30px;
}

.form-title > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-title h3,
.newsletter-form h3,
.panel-form h3 {
  margin: 6px 0 4px;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.form-title p,
.newsletter-form > p,
.panel-form > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ===== Forms ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

form .row {
  margin: 0 -0.5rem;
}

.form-label {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-control,
.form-select {
  min-height: 45px;
  border: 0;
  border-bottom: 1px solid rgba(8, 38, 58, 0.28);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  box-shadow: none;
}

textarea.form-control {
  min-height: 95px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  border-bottom-width: 2px;
  background-color: transparent;
  color: var(--ink);
  box-shadow: none;
}

.form-control::placeholder {
  color: #8b969b;
}

.form-select:disabled {
  opacity: 0.55;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #c0392b;
  background-image: none;
}

.invalid-feedback {
  font-size: 0.74rem;
}

.contact-form-wrap .button,
.newsletter-form .button,
.panel-form .button {
  align-self: flex-start;
  margin-top: 8px;
  border: 0;
}

.form-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.form-result {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  padding: 15px 18px;
  border-left: 3px solid var(--teal);
  background: rgba(8, 127, 131, 0.08);
  color: var(--teal-dark);
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-result.err {
  border-left-color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  color: #a6301f;
}

.form-result i {
  margin-top: 3px;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  padding-left: 0;
  color: var(--muted);
}

.consent .form-check-input {
  position: static;
  float: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  border-radius: 2px;
  accent-color: var(--teal);
}

.consent .form-check-input:checked {
  background-color: var(--teal);
  border-color: var(--teal);
}

.consent .form-check-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.consent .invalid-feedback {
  grid-column: 2;
}

.unsubscribe-link {
  align-self: flex-start;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: underline;
}

.unsubscribe-link:hover {
  color: var(--teal-dark);
}

/* ===== Newsletter ===== */
.newsletter-section {
  background: var(--cream);
}

.newsletter-shell {
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-intro h2 {
  max-width: 610px;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

.newsletter-intro > p {
  max-width: 580px;
  margin: 24px 0 30px;
  color: var(--muted);
}

.newsletter-intro ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.newsletter-intro li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.newsletter-intro li i {
  margin-top: 3px;
  color: var(--teal);
  font-size: 1rem;
}

.newsletter-form {
  padding-left: 50px;
  border-left: 1px solid var(--line);
}

.newsletter-form > p {
  margin-bottom: 26px;
}

/* ===== Standalone panels (subscribe / unsubscribe pages) ===== */
.panel-section {
  background: var(--cream);
}

.panel-form {
  padding: 46px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.panel-intro h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.panel-intro > p {
  margin: 24px 0 0;
  color: var(--muted);
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.panel-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

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

.panel-list strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.panel-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.note-box {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  background: #f7e9d9;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.note-box a {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* ===== Legal pages ===== */
.legal-section {
  padding: 96px 0;
  background: var(--paper);
}

.legal-toc {
  position: sticky;
  top: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.legal-toc h4 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-toc a:hover {
  color: var(--teal-dark);
}

.legal-meta {
  margin: 0 0 28px;
  padding: 17px;
  border-left: 3px solid var(--coral);
  background: #f7e9d9;
  color: var(--muted);
  font-size: 0.8rem;
}

.legal-meta span {
  margin: 0 5px;
  color: var(--coral);
}

.legal-meta a,
.legal-copy a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.legal-copy {
  color: var(--muted);
  font-size: 0.93rem;
}

.legal-copy h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  scroll-margin-top: 110px;
}

.legal-copy h2:first-of-type {
  margin-top: 0;
}

.legal-copy p {
  margin: 0 0 13px;
}

.legal-copy ul {
  margin: 0 0 15px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-copy strong {
  color: var(--ink);
}

/* ===== CTA strip ===== */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 54px;
  background: var(--navy);
  color: white;
}

.cta-strip h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.cta-strip p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 75px 0 26px;
  background: var(--navy-deep);
  color: white;
}

.footer-grid {
  padding-bottom: 52px;
  border-bottom: 1px solid var(--white-line);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: #a7dcd7;
  font-family: var(--display);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-align: left;
}

.footer-grid a:hover {
  color: white;
}

.footer-brand > p {
  max-width: 285px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.81rem;
}

.footer-connect a,
.footer-connect span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-connect i {
  width: 14px;
  margin-top: 4px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 25px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom a:hover {
  color: white;
}

.footer-bottom i {
  font-size: 0.7rem;
}

.footer-disclaimer {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.68rem;
  line-height: 1.7;
}

/* ===== Modals ===== */
.modal-backdrop.show {
  opacity: 0.78;
  background: var(--navy-deep);
}

.modal-content {
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(3, 31, 49, 0.3);
}

.modal-body {
  position: relative;
  padding: 46px;
}

.modal-close {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--navy);
  filter: invert(1);
  opacity: 1;
}

.modal-body h2 {
  max-width: calc(100% - 60px);
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.modal-intro {
  margin: 0 0 24px;
  color: var(--muted);
}

.modal-notice {
  margin: 24px 0;
  padding: 17px;
  border-left: 3px solid var(--coral);
  background: #f7e9d9;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ===== Toast ===== */
.toast-container {
  z-index: 2000;
}

.site-toast {
  width: min(430px, calc(100vw - 40px));
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: white;
  box-shadow: 0 15px 45px rgba(3, 31, 49, 0.28);
  font-size: 0.87rem;
}

.site-toast .toast-body {
  padding: 17px 20px;
}

.site-toast .fa-circle-check {
  color: #9de3dc;
  font-size: 1.1rem;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .hero-copy {
    width: 62%;
  }

  .hero-art {
    width: 57%;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar > .site-container {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .hero-inner {
    min-height: 520px;
    align-items: flex-start;
    padding-top: 75px;
    padding-bottom: 440px;
  }

  .hero-copy {
    width: 100%;
    max-width: 690px;
  }

  .hero-intro {
    max-width: 620px;
  }

  .hero-art {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 430px;
  }

  .hero-art::after {
    background: linear-gradient(180deg, var(--cream) 0%, rgba(251, 244, 234, 0.52) 20%, transparent 48%);
  }

  .path-item:nth-child(2) {
    border-right: 0;
  }

  .path-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-intro,
  .legal-toc {
    position: static;
  }

  .legal-toc {
    margin-bottom: 26px;
  }

  .why-heading .section-label {
    margin-bottom: 0;
  }

  .why-item {
    min-height: auto;
  }

  .newsletter-form {
    padding-top: 50px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-detail {
    padding: 40px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header.is-scrolled {
    height: 67px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

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

  .brand small {
    font-size: 0.49rem;
  }

  .hero,
  .page-hero {
    margin-top: 67px;
  }

  .hero-inner {
    min-height: 480px;
    padding-top: 55px;
    padding-bottom: 400px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 20px;
    margin-top: 27px;
  }

  .hero-art {
    height: 385px;
  }

  .page-hero {
    padding: 64px 0 56px;
  }

  .request-paths,
  .about-section,
  .impact-section,
  .services-section,
  .process-section,
  .why-section,
  .faq-section,
  .contact-section,
  .newsletter-section,
  .panel-section,
  .legal-section {
    padding: 78px 0;
  }

  .request-heading h2 {
    margin-top: 4px;
  }

  .path-item,
  .path-item:nth-child(2) {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .path-item:last-child {
    border-bottom: 0;
  }

  .principle {
    grid-template-columns: 35px 1fr;
  }

  .principle-icon {
    display: none;
  }

  .metric-row > div {
    min-height: 105px;
    padding: 20px;
  }

  .section-heading h2,
  .about-intro h2,
  .impact-copy h2,
  .process-intro h2,
  .faq-intro h2,
  .contact-intro h2,
  .newsletter-intro h2,
  .panel-intro h2,
  .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .service-tab {
    min-height: 220px;
  }

  .service-detail {
    margin-inline: -17px;
    padding: 42px 22px;
  }

  .subservice-list button {
    min-height: 125px;
  }

  .process-step {
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .process-step > i {
    display: none;
  }

  .why-grid {
    border-left: 0;
  }

  .why-item {
    padding-inline: 0;
    border-right: 0;
  }

  .contact-form-wrap,
  .panel-form {
    margin-inline: -17px;
    padding: 35px 22px;
  }

  .cta-strip {
    padding: 34px 22px;
  }

  .newsletter-shell {
    padding-top: 0;
    padding-bottom: 0;
    border-top: 0;
    border-bottom: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 18px;
  }

  .modal-body {
    padding: 40px 22px 28px;
  }
}

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

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

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