:root {
  --ink: #17202a;
  --muted: #5c6672;
  --line: #d9e0e7;
  --paper: #f8f6f1;
  --white: #ffffff;
  --navy: #17324d;
  --teal: #227c7a;
  --gold: #b98534;
  --mist: #e9f1f0;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
  --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(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 231, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 850;
  background: var(--navy);
  border-radius: 50%;
}

.brand strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: #2e3a45;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 8px 0;
  white-space: nowrap;
}

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

.lang-toggle,
.call-link,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
}

.lang-toggle {
  width: 48px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
}

.call-link {
  padding: 0 17px;
  color: var(--white);
  background: var(--teal);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 246, 241, 0.98) 0%, rgba(248, 246, 241, 0.9) 34%, rgba(248, 246, 241, 0.3) 64%, rgba(248, 246, 241, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(23, 50, 77, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 660px;
  color: var(--navy);
  font-size: clamp(2.35rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #33414f;
  font-size: clamp(1.02rem, 1.7vw, 1.23rem);
}

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

.btn {
  min-width: 156px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn.primary {
  color: var(--white);
  background: var(--navy);
}

.btn.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(23, 50, 77, 0.22);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 42px 0 0;
}

.hero-proof div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(217, 224, 231, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
}

.hero-proof dt {
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: normal;
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro .eyebrow {
  color: var(--teal);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading.compact {
  display: block;
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact .eyebrow {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.section-heading.compact h2 {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(2.05rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.section-note {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.14rem;
  line-height: 1.24;
}

.intro-copy {
  color: #34404b;
  font-size: 1.04rem;
}

.intro-copy p {
  margin: 0 0 18px;
}

.advisor {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(320px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0;
}

.advisor-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.advisor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.advisor-content p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.advisor-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.advisor-points span {
  padding: 10px 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.services-band,
.process-band,
.case-band {
  background: var(--white);
}

.service-grid,
.client-list,
.case-grid,
.insight-list,
.process-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}

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

.service-grid article,
.client-list article,
.case-card,
.insight-card,
.process-grid article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-grid article {
  min-height: 238px;
  padding: 26px;
}

.service-grid h3,
.process-grid h3 {
  font-size: 1.28rem;
}

.service-grid p,
.process-grid p {
  font-size: 1rem;
  line-height: 1.55;
}

.services-band .service-grid article,
.case-card,
.process-grid article {
  background: #fbfcfc;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--teal);
  background: var(--mist);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.service-grid p,
.client-list p,
.process-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.clients {
  background: linear-gradient(180deg, var(--paper), #f2f6f5);
}

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

.client-list article {
  min-height: 188px;
  padding: 24px;
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(26px, 6vw, 82px);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.trust-content p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.carrier-cloud a {
  display: inline-flex;
  padding: 13px 16px;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  color: #273643;
  background: var(--white);
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(23, 32, 42, 0.05);
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.carrier-cloud a:hover {
  color: var(--teal);
  transform: translateY(-1px);
}

.carrier-card.manulife {
  border-left-color: #007a3d;
  background: linear-gradient(90deg, rgba(0, 122, 61, 0.1), #ffffff 46%);
}

.carrier-card.sunlife {
  border-left-color: #f7c948;
  background: linear-gradient(90deg, rgba(247, 201, 72, 0.18), #ffffff 46%);
}

.carrier-card.canadalife {
  border-left-color: #b21f2d;
  background: linear-gradient(90deg, rgba(178, 31, 45, 0.1), #ffffff 46%);
}

.carrier-card.equitable {
  border-left-color: #214f8f;
  background: linear-gradient(90deg, rgba(33, 79, 143, 0.1), #ffffff 46%);
}

.carrier-card.ia {
  border-left-color: #005daa;
  background: linear-gradient(90deg, rgba(0, 93, 170, 0.1), #ffffff 46%);
}

.carrier-card.cpp {
  border-left-color: #5b6570;
  background: linear-gradient(90deg, rgba(91, 101, 112, 0.12), #ffffff 46%);
}

.carrier-card.foresters {
  border-left-color: #3f7f45;
  background: linear-gradient(90deg, rgba(63, 127, 69, 0.12), #ffffff 46%);
}

.carrier-card.bmo {
  border-left-color: #d71920;
  background: linear-gradient(90deg, rgba(215, 25, 32, 0.1), #ffffff 46%);
}

.carrier-card:hover {
  border-color: currentColor;
}

.carrier-logo {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.carrier-logo.manulife {
  background: #007a3d;
}

.carrier-logo.sunlife {
  color: #4b3300;
  background: #f7c948;
  border-radius: 50%;
}

.carrier-logo.canadalife {
  background: #b21f2d;
}

.carrier-logo.equitable {
  background: #214f8f;
}

.carrier-logo.ia {
  background: #005daa;
  border-radius: 50%;
}

.carrier-logo.cpp {
  background: #5b6570;
}

.carrier-logo.foresters {
  background: #3f7f45;
  border-radius: 50% 50% 45% 45%;
}

.carrier-logo.bmo {
  background: #d71920;
}

.carrier-cloud span {
  font-weight: 850;
  line-height: 1.2;
}

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

.case-card {
  overflow: hidden;
  min-height: 250px;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
}

.case-card summary {
  display: grid;
  min-height: 250px;
  align-content: start;
  padding: 26px;
  cursor: pointer;
  list-style: none;
}

.case-card summary::-webkit-details-marker {
  display: none;
}

.case-card summary p {
  margin: 12px 0 0;
  color: var(--muted);
}

.case-detail {
  display: grid;
  gap: 18px;
  padding: 0 26px 26px;
  border-top: 1px solid var(--line);
}

.case-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--teal);
  background: var(--mist);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.case-block {
  margin-top: 18px;
}

.case-block strong {
  display: block;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.case-block p {
  margin: 6px 0 0;
  color: var(--muted);
}

.case-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  position: relative;
  padding-left: 20px;
  color: #33414f;
  font-size: 0.96rem;
}

.case-points li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.case-card[open] {
  box-shadow: 0 18px 35px rgba(23, 32, 42, 0.08);
}

.insights {
  background: linear-gradient(180deg, #f2f6f5, var(--paper));
}

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

.insight-card {
  min-height: 190px;
  padding: 0;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(23, 32, 42, 0.08);
}

.insight-card summary {
  display: grid;
  min-height: 190px;
  align-content: start;
  padding: 24px;
  cursor: pointer;
  list-style: none;
}

.insight-card summary::-webkit-details-marker {
  display: none;
}

.insight-tag {
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 9px;
  color: var(--teal);
  background: var(--mist);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.insight-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.insight-card summary p {
  display: -webkit-box;
  min-height: 3.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.read-more {
  align-self: end;
  width: fit-content;
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
}

.read-more::after {
  content: " +";
}

.insight-card[open] .read-more::after {
  content: " -";
}

.insight-detail {
  display: grid;
  gap: 12px;
  padding: 0 24px 24px;
  border-top: 1px solid var(--line);
}

.insight-detail p {
  margin: 16px 0 0;
  color: #44515d;
  font-size: 0.98rem;
}

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

.process-grid article {
  padding: 28px;
}

.process-grid strong {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 2.2rem;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 520px);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  background: #17324d;
  color: var(--white);
}

.contact h2,
.contact .eyebrow {
  color: var(--white);
}

.contact p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  width: fit-content;
  color: #f5d79b;
  font-weight: 800;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 26px;
}

.qr-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.qr-card span {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #33414f;
  font-weight: 740;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
}

.contact-form textarea {
  resize: vertical;
}

.form-extra {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 750;
  color: #596575;
}

.form-status.is-success {
  color: #2e7d65;
}

.form-status.is-error {
  color: #a64035;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.btn.full {
  width: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(18px, 5vw, 76px);
  color: #66707b;
  background: #101820;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.ai-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  font-size: 0.95rem;
}

.ai-chat-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 172px;
  min-height: 190px;
  padding: 20px 16px 42px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.22);
  font-weight: 850;
  line-height: 1.18;
  text-align: center;
  overflow: hidden;
  animation: aiCardFloat 3s ease-in-out infinite;
}

.ai-chat-toggle::before {
  content: "";
  display: block;
  width: 78px;
  height: 64px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 28% 44%, var(--white) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 44%, var(--white) 0 6px, transparent 7px),
    radial-gradient(circle at 72% 44%, var(--white) 0 6px, transparent 7px),
    linear-gradient(135deg, #2f9fb3, #42b7c4);
  border-radius: 12px 12px 12px 4px;
  box-shadow: 34px 20px 0 -6px #85898e;
}

.ai-chat-toggle::after {
  content: "AI";
  position: absolute;
  right: -1px;
  bottom: 0;
  left: -1px;
  display: grid;
  min-height: 34px;
  place-items: center;
  color: var(--navy);
  background: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.ai-chat-toggle span {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.16;
}

.ai-chat.is-open .ai-chat-toggle {
  display: none;
}

@keyframes aiCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.ai-chat-panel[hidden] {
  display: none !important;
}

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: grid;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.22);
}

.ai-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: var(--navy);
}

.ai-chat-head strong,
.ai-chat-head small {
  display: block;
}

.ai-chat-head small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.35;
}

.ai-chat-head button {
  width: 32px;
  height: 32px;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.ai-chat-notice {
  padding: 12px 16px;
  color: #526070;
  background: #f3f6f7;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.55;
}

.ai-chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  max-height: 350px;
  overflow-y: auto;
  padding: 16px;
  background: #fbfcfc;
}

.ai-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.ai-message.assistant {
  justify-self: start;
  color: #25313f;
  background: #edf3f2;
}

.ai-message.user {
  justify-self: end;
  color: var(--white);
  background: var(--teal);
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.ai-chat-form textarea {
  min-height: 44px;
  max-height: 120px;
  padding: 10px 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-chat-form button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}

.ai-chat-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.ai-lead-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(34, 124, 122, 0.35);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 50, 77, 0.08);
}

.ai-lead-card strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

.ai-lead-card p {
  margin: 0;
  color: #526070;
  font-size: 0.84rem;
  line-height: 1.5;
}

.ai-lead-form {
  display: grid;
  gap: 9px;
}

.ai-lead-form label {
  display: grid;
  gap: 4px;
  color: #33414f;
  font-size: 0.82rem;
  font-weight: 760;
}

.ai-lead-form input,
.ai-lead-form select,
.ai-lead-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
}

.ai-lead-form input[name="website"] {
  position: absolute;
  left: -9999px;
}

.ai-lead-form button {
  min-height: 40px;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}

.ai-lead-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.ai-lead-form small {
  min-height: 1.3em;
  color: #526070;
  font-weight: 750;
}

.ai-lead-form small.is-success {
  color: #2e7d65;
}

.ai-lead-form small.is-error {
  color: #a64035;
}




@media (max-width: 1180px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 260px;
    min-width: 260px;
  }

  .main-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(248, 246, 241, 0.98), rgba(248, 246, 241, 0.82) 58%, rgba(248, 246, 241, 0.22));
  }

  .section-heading,
  .advisor,
  .trust,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-grid,
  .insight-list,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

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

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

  .header-actions {
    width: 100%;
  }

  .call-link {
    flex: 1;
  }

  .hero {
    min-height: 760px;
    align-items: start;
  }

  .hero-image {
    height: 48%;
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 246, 241, 0.1) 0%, rgba(248, 246, 241, 0.7) 35%, rgba(248, 246, 241, 1) 50%, rgba(248, 246, 241, 1) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 300px 18px 0;
    padding: 0 0 48px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.65rem);
  }

  .section-heading.compact h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-proof,
  .service-grid,
  .advisor,
  .case-grid,
  .insight-list,
  .client-list,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .advisor-photo {
    max-width: 330px;
    margin: 0 auto;
  }

  .qr-grid {
    grid-template-columns: 1fr;
    max-width: 230px;
  }

  .carrier-cloud {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .service-grid article,
  .case-card,
  .insight-card,
  .client-list article,
  .process-grid article {
    min-height: auto;
  }

  .ai-chat {
    right: 14px;
    bottom: 14px;
  }

  .ai-chat-panel {
    right: -2px;
    bottom: 58px;
    max-height: calc(100vh - 92px);
  }

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