/* Harborlight Solar demo — main stylesheet (mobile-first).
   Tokens map 1:1 to Elementor Global Colors / Global Fonts (see ELEMENTOR-NOTES.md). */

@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --c-primary: #0E3B5C; --c-secondary: #2C7A7B; --c-text: #1F2933; --c-accent: #F4B43C;
  --c-accent-ink: #10243A; --c-accent-hover: #E9A325;
  --c-muted: #52606D; --c-surface: #F5F8FA; --c-surface-2: #E8F0F4; --c-border: #D9E2EA;
  --c-dark: #0A2A42; --c-white: #FFFFFF; --c-success: #1E7B4F; --c-error: #B42318;
  --f-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.5rem, 1.9rem + 2.2vw, 3.5rem); --fs-h2: clamp(1.875rem, 1.55rem + 1.2vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.2rem + .2vw, 1.375rem); --fs-lead: clamp(1.125rem, 1.08rem + .2vw, 1.25rem);
  --fs-body: clamp(1rem, .98rem + .1vw, 1.0625rem); --fs-small: .875rem; --fs-eyebrow: .8125rem;
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 32px; --s-6: 40px; --s-7: 48px; --s-8: 64px; --s-9: 80px; --s-10: 96px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --sh-sm: 0 1px 2px rgba(10, 42, 66, .06); --sh-md: 0 8px 24px rgba(10, 42, 66, .08); --sh-lg: 0 16px 40px rgba(10, 42, 66, .12);
  --container: 1200px; --gutter: 16px; --section-y: var(--s-7); --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1); --t: 200ms;
  --focus: 0 0 0 3px var(--c-white), 0 0 0 6px var(--c-secondary);
}
@media (min-width: 768px) { :root { --gutter: 24px; --section-y: var(--s-8); --header-h: 80px; } }
@media (min-width: 1025px) { :root { --section-y: var(--s-10); --header-h: 88px; } }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.65; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-primary); line-height: 1.15; margin: 0 0 var(--s-3); letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 var(--s-3); text-wrap: pretty; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t) var(--ease); }
a:hover { color: var(--c-secondary); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 20px; background: var(--c-primary); color: var(--c-white); border-radius: var(--r-md); font-weight: 600; transform: translateY(-200%); transition: transform var(--t) var(--ease); }
.skip-link:focus { transform: none; color: var(--c-white); }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }
[hidden] { display: none !important; }

/* ---------- sections & grids ---------- */
.section { padding-block: var(--section-y); position: relative; }
.bg-soft { background: var(--c-surface); }
.bg-dark { background: var(--c-dark); color: #DCE6EE; }
.bg-dark h2, .bg-dark h3 { color: var(--c-white); }
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head > :last-child { margin-bottom: 0; }
.section-head p { color: var(--c-muted); font-size: var(--fs-lead); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { font-family: var(--f-body); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-secondary); margin-bottom: var(--s-2); display: inline-flex; align-items: center; gap: var(--s-2); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.eyebrow--light { color: #F8D58D; }
.grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .grid { gap: var(--s-5); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-4); border-radius: var(--r-md); border: 2px solid transparent; font-family: var(--f-head); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-sm); }
.btn--primary { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--primary:hover { background: var(--c-accent-hover); color: var(--c-accent-ink); }
.btn--secondary { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--secondary:hover { background: var(--c-primary); color: var(--c-white); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--c-white); background: transparent; }
.btn--ghost:hover { background: var(--c-white); color: var(--c-primary); border-color: var(--c-white); }
.btn--small { min-height: 40px; padding: 0 var(--s-3); font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn__icon { width: 20px; height: 20px; }
.btn__icon--end { transition: transform var(--t) var(--ease); }
.btn:hover .btn__icon--end { transform: translateX(3px); }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--c-border); background: var(--c-white); color: var(--c-primary); transition: background-color var(--t) var(--ease); }
.icon-btn:hover { background: var(--c-surface-2); }
.icon-btn--light { background: transparent; border-color: rgba(255, 255, 255, .3); color: var(--c-white); width: 36px; height: 36px; }
.icon-btn--light:hover { background: rgba(255, 255, 255, .12); }
.chip { display: inline-flex; align-items: center; flex: none; white-space: nowrap; padding: 4px 12px; border-radius: 999px; background: var(--c-surface-2); color: var(--c-primary); font-size: var(--fs-small); font-weight: 600; }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--c-accent); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- header & nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .98); border-bottom: 1px solid transparent; transition: box-shadow 250ms var(--ease), border-color 250ms var(--ease), background-color 250ms var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); transition: height 250ms var(--ease); }
.site-header.is-scrolled { box-shadow: var(--sh-md); border-color: var(--c-border); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); }
@media (min-width: 1025px) { .site-header.is-scrolled .site-header__inner { height: 68px; } }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-primary); flex: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.logo__sub { font-size: .6875rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--c-secondary); margin-top: 4px; }
.logo--light { color: var(--c-white); }
.logo--light .logo__sub { color: #9FD3D3; }
.logo:hover { color: var(--c-primary); }
.logo--light:hover { color: var(--c-white); }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: .9875rem; color: var(--c-text); text-decoration: none; border-radius: var(--r-sm); }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--c-primary); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.has-dropdown .nav__link { padding-right: 4px; }
.has-dropdown .nav__link::after { right: 4px; }
.nav__toggle { display: inline-grid; place-items: center; width: 28px; height: 32px; margin-right: 4px; border: 0; background: none; border-radius: var(--r-sm); color: var(--c-muted); }
.nav__toggle .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; max-height: min(70vh, 420px); overflow-y: auto; list-style: none; padding: var(--s-2); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms; z-index: 10; }
.nav__dropdown::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.has-dropdown.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sublink { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--c-text); text-decoration: none; font-size: .9375rem; transition: background-color 150ms var(--ease); }
.nav__sublink:hover, .nav__sublink:focus-visible { background: var(--c-surface); color: var(--c-primary); }
.nav__sublink[aria-current="page"] { color: var(--c-primary); font-weight: 600; background: var(--c-surface-2); }
.site-header__cta { display: none; }
.burger { margin-left: auto; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-white); }
.burger__box { position: relative; width: 22px; height: 16px; }
.burger__box span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--c-primary); transition: transform 250ms var(--ease), opacity 200ms var(--ease), top 250ms var(--ease); }
.burger__box span:nth-child(1) { top: 0; } .burger__box span:nth-child(2) { top: 7px; } .burger__box span:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (min-width: 1025px) { .nav { display: block; } .burger { display: none; } .site-header__cta { display: inline-flex; } }
html.no-js .burger { display: none; }
@media (max-width: 1024px) { html.no-js .nav { display: block; overflow-x: auto; } }

/* ---------- mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(10, 42, 66, .5); opacity: 0; transition: opacity 300ms var(--ease); }
.mobile-menu__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--c-white); box-shadow: var(--sh-lg); transform: translateX(100%); transition: transform 400ms cubic-bezier(.2, .8, .2, 1); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--gutter); border-bottom: 1px solid var(--c-border); }
.mobile-menu__nav { padding: var(--s-3) var(--gutter); flex: 1; }
.mnav { list-style: none; }
.mnav__item { border-bottom: 1px solid var(--c-border); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mnav__link { display: block; flex: 1; padding: 14px 0; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: var(--c-primary); text-decoration: none; }
.mnav__link[aria-current="page"] { color: var(--c-secondary); }
.mnav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-sm); color: var(--c-primary); }
.mnav__toggle .icon { transition: transform 200ms var(--ease); }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav__sub { list-style: none; padding: 0 0 var(--s-3) var(--s-3); }
.mnav__sub a { display: block; padding: 8px 0; color: var(--c-text); text-decoration: none; }
.mnav__sub a[aria-current="page"] { color: var(--c-secondary); font-weight: 600; }
.mobile-menu__foot { display: grid; gap: var(--s-3); padding: var(--s-4) var(--gutter) var(--s-5); background: var(--c-surface); }
.mobile-menu__contact { display: flex; align-items: center; gap: var(--s-2); color: var(--c-primary); font-weight: 500; text-decoration: none; }
html.scroll-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(88vh, 820px); padding-block: var(--s-9) var(--s-8); color: var(--c-white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 42, 66, .92) 0%, rgba(10, 42, 66, .78) 45%, rgba(10, 42, 66, .35) 100%); }
.hero__inner { max-width: calc(var(--container) + 2 * var(--gutter)); }
.hero__title { color: var(--c-white); max-width: 15ch; margin-bottom: var(--s-4); }
.hero__lead { max-width: 56ch; font-size: var(--fs-lead); color: #E3ECF3; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); font-size: var(--fs-small); color: #E3ECF3; }
.hero__trust li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__trust .icon { width: 20px; height: 20px; color: var(--c-accent); }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-white) 100%); padding-block: var(--s-6) var(--s-7); border-bottom: 1px solid var(--c-border); }
.page-hero__grid { display: grid; gap: var(--s-5); align-items: center; }
.page-hero__text { max-width: 720px; }
.page-hero__lead { font-size: var(--fs-lead); color: var(--c-muted); max-width: 60ch; }
.page-hero__meta { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--c-muted); font-size: var(--fs-small); }
.page-hero__meta .icon { width: 18px; height: 18px; }
@media (min-width: 1025px) { .page-hero { padding-block: var(--s-8) var(--s-9); } .page-hero--media .page-hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); } }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-small); color: var(--c-muted); margin-bottom: var(--s-4); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--c-border); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-primary); font-weight: 500; }

/* ---------- media ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-xl); background: var(--c-surface-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }

/* ---------- stats ---------- */
.section--stats { padding-block: var(--s-7); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
@media (min-width: 1025px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--s-4); border-radius: var(--r-lg); background: var(--c-white); border: 1px solid var(--c-border); text-align: center; }
.stat__value { font-family: var(--f-head); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 700; color: var(--c-primary); margin: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { margin: var(--s-2) 0 0; color: var(--c-muted); font-size: var(--fs-small); }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.card > :last-child, .card__body > :last-child { margin-bottom: 0; }
.card p { color: var(--c-muted); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-md); background: var(--c-surface-2); color: var(--c-secondary); margin-bottom: var(--s-4); }
.card__title { margin-bottom: var(--s-2); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-2); font-weight: 600; text-decoration: none; color: var(--c-primary); }
.card__link .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.card__link:hover .icon { transform: translateX(3px); }
.card--image { padding: 0; overflow: hidden; }
.card--image .card__media { border-radius: 0; }
.card--image .card__media img { transition: transform 400ms var(--ease); }
.card--image:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-4); }
.card--image .card__link::after { content: ""; position: absolute; inset: 0; }
.card__meta { font-size: var(--fs-small); color: var(--c-secondary); font-weight: 600; margin-bottom: var(--s-2); }
.card--area { padding: var(--s-4); }
.card--area .card__icon { width: 44px; height: 44px; margin-bottom: var(--s-3); }
.bg-soft .card { border-color: transparent; box-shadow: var(--sh-sm); }

/* pinned intro layout (Services) */
.pin-layout { display: grid; gap: var(--s-6); }
.pin-layout__sticky > :last-child { margin-bottom: 0; }
.pin-layout__sticky p { color: var(--c-muted); font-size: var(--fs-lead); }
@media (min-width: 1025px) { .pin-layout { grid-template-columns: 4fr 7fr; gap: var(--s-8); align-items: start; } }

/* ---------- split ---------- */
.split { display: grid; gap: var(--s-6); align-items: center; }
.split__text > :last-child { margin-bottom: 0; }
.split__text > p { color: var(--c-muted); }
@media (min-width: 1025px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s-9); } .split--reverse .split__media { order: -1; } }
.check-list { list-style: none; display: grid; gap: var(--s-2); margin: 0 0 var(--s-3); }
.check-list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.check-list__icon { width: 22px; height: 22px; margin-top: 2px; color: var(--c-secondary); padding: 3px; border-radius: 50%; background: var(--c-surface-2); }
.num-list { padding-left: 1.25rem; margin: 0 0 var(--s-3); display: grid; gap: var(--s-2); }
.quote { position: relative; margin: var(--s-4) 0; padding: var(--s-4) var(--s-4) var(--s-4) var(--s-8); background: var(--c-surface); border-radius: var(--r-lg); border-left: 4px solid var(--c-accent); }
.quote p { margin: 0; font-family: var(--f-head); font-size: 1.125rem; font-weight: 500; color: var(--c-primary); line-height: 1.5; }
.quote__icon { position: absolute; left: var(--s-4); top: var(--s-4); width: 24px; height: 24px; color: var(--c-accent); }
.bg-soft .quote { background: var(--c-white); }

/* ---------- process ---------- */
.steps-wrap { position: relative; }
.steps { list-style: none; display: grid; gap: var(--s-4); counter-reset: step; }
.step { position: relative; padding: var(--s-4); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.bg-soft .step { border-color: transparent; box-shadow: var(--sh-sm); }
.step__num { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s-3); border-radius: 50%; background: var(--c-primary); color: var(--c-white); font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--c-surface); }
.step p { color: var(--c-muted); margin: 0; }
.steps__line { display: none; }
@media (min-width: 768px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) {
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .steps-wrap--line .steps__line { display: block; position: absolute; left: 12.5%; right: 12.5%; top: calc(var(--s-4) + 23px); width: 75%; height: 4px; overflow: visible; z-index: 0; }
  .steps-wrap--line .steps__line path { stroke: var(--c-accent); stroke-width: 3; stroke-linecap: round; fill: none; }
  .steps-wrap--line .step { background: transparent; border: 0; box-shadow: none; padding: var(--s-4) var(--s-3); text-align: center; }
  .steps-wrap--line .step__num { margin-inline: auto; }
}

/* ---------- testimonials ---------- */
.testimonial { position: relative; margin: 0; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); background: var(--c-white); border-radius: var(--r-lg); border: 1px solid var(--c-border); }
.bg-soft .testimonial { border-color: transparent; box-shadow: var(--sh-sm); }
.testimonial__mark { width: 32px; height: 32px; color: var(--c-accent); }
.testimonial__quote { margin: 0; flex: 1; }
.testimonial__quote p { margin: 0; color: var(--c-text); font-size: 1.0625rem; }
.testimonial__person { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--c-border); }
.testimonial__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial__name { font-size: 1rem; margin: 0; }
.testimonial__meta { margin: 2px 0 0; font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- faq ---------- */
.faq-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1025px) { .faq-layout { grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; } }
.faq { display: grid; gap: var(--s-3); }
.faq__item { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.faq__item.is-open { box-shadow: var(--sh-md); border-color: transparent; }
.faq__heading { margin: 0; font-size: 1.0625rem; }
.faq__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4); text-align: left; border: 0; background: none; color: var(--c-primary); font-family: var(--f-head); font-weight: 600; border-radius: var(--r-lg); }
.faq__chev { transition: transform 250ms var(--ease); color: var(--c-secondary); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 250ms var(--ease), visibility 0s; }
.faq__inner { overflow: hidden; padding: 0 var(--s-4); }
.faq__inner > :first-child { margin-top: 0; }
.faq__inner > :last-child { margin-bottom: var(--s-4); }
.faq__inner p { color: var(--c-muted); }
html.js .faq__item:not(.is-open) .faq__a { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 250ms var(--ease), visibility 0s linear 250ms; }
.section--faq > .container > .btn-row { justify-content: flex-end; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cta__bg { position: absolute; inset: -40px 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 42, 66, .86); }
.cta__inner { max-width: 840px; }
.cta__inner p { font-size: var(--fs-lead); color: #DCE6EE; }
.cta .btn-row { justify-content: center; }
.cta h2 { color: var(--c-white); }

/* ---------- gallery / posts ---------- */
.gallery__item { margin: 0; }
.gallery__item .media { border-radius: var(--r-lg); }
.gallery__item img { transition: transform 400ms var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-3); }
.gallery__title { font-size: 1.0625rem; margin: 0; }
.post-card__meta { font-size: var(--fs-small); color: var(--c-secondary); font-weight: 600; margin-bottom: var(--s-2); }

/* ---------- prose ---------- */
.prose { max-width: 760px; margin-inline: auto; font-size: 1.0625rem; }
.prose h2 { margin-top: var(--s-6); }
.prose h3 { margin-top: var(--s-5); }
.prose > :first-child { margin-top: 0; }
.prose ul.check-list { margin-block: var(--s-3) var(--s-4); }
.prose .media { margin-block: var(--s-5); }

/* ---------- text callout ---------- */
.text-block { max-width: 840px; margin-inline: auto; }
.text-block > :last-child { margin-bottom: 0; }
.text--callout .text-block { padding: var(--s-5); background: var(--c-white); border: 1px solid var(--c-border); border-left: 4px solid var(--c-accent); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
@media (min-width: 768px) { .text--callout .text-block { padding: var(--s-7); } }
.text-block p { color: var(--c-muted); }

/* ---------- forms ---------- */
.contact-layout, .estimator-layout { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1025px) { .contact-layout, .estimator-layout { grid-template-columns: 5fr 7fr; gap: var(--s-8); } }
.contact-layout__info > p, .estimator-layout__intro > p { color: var(--c-muted); }
.contact-list { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.contact-item { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact-item__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-md); background: var(--c-surface-2); color: var(--c-secondary); }
.contact-item__title { font-size: 1rem; margin: 0 0 2px; }
.contact-item p { margin: 0; color: var(--c-muted); }
.contact-item a { font-weight: 600; }
.form.card:hover { transform: none; box-shadow: var(--sh-md); border-color: var(--c-border); }
.form { padding: var(--s-5); box-shadow: var(--sh-md); }
@media (min-width: 768px) { .form { padding: var(--s-6); } }
.form__grid { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field__label { font-weight: 600; font-size: .9375rem; color: var(--c-primary); padding: 0; }
.field__req { color: var(--c-error); }
.field input, .field textarea, .field select, .select__button { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-sm); background: var(--c-white); color: var(--c-text); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover, .select__button:hover { border-color: #AFC0CE; }
.field input:focus, .field textarea:focus, .field select:focus, .select__button:focus-visible { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(44, 122, 123, .25); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .select__button { border-color: var(--c-error); }
.field.is-valid input, .field.is-valid textarea, .field.is-valid .select__button { border-color: var(--c-success); }
.field__error { margin: 0; font-size: var(--fs-small); color: var(--c-error); font-weight: 500; }
.field input:disabled, .field textarea:disabled { background: var(--c-surface); cursor: not-allowed; }
.field--checks { gap: var(--s-2); }
.check { display: flex; align-items: center; gap: var(--s-2); cursor: pointer; padding: 6px 0; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #AFC0CE; border-radius: 6px; background: var(--c-white); color: transparent; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.check__box .icon { width: 16px; height: 16px; }
.check input:checked + .check__box { background: var(--c-secondary); border-color: var(--c-secondary); color: var(--c-white); }
.check input:focus-visible + .check__box { box-shadow: var(--focus); }
.form__submit { margin-top: var(--s-4); }
.form__note { display: flex; gap: var(--s-2); align-items: flex-start; margin: var(--s-4) 0 0; font-size: var(--fs-small); color: var(--c-muted); }
.form__note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--c-secondary); }
.form__success { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); background: #E7F5EE; color: var(--c-success); }
.form__success p { margin: 0; color: #145236; }
.form__success:focus { outline: none; box-shadow: var(--focus); }

/* custom select (built by dropdown.js from a native <select>) */
.select { position: relative; }
.select__native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.select__button { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); text-align: left; cursor: pointer; }
.select__button .icon { width: 20px; height: 20px; color: var(--c-muted); transition: transform 200ms var(--ease); }
.select__button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.select__value.is-placeholder { color: #6B7785; }
.select__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 240px; overflow-y: auto; list-style: none; padding: 6px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms; }
.select--up .select__list { top: auto; bottom: calc(100% + 6px); transform: translateY(-6px); }
.select.is-open .select__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.select__option { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.select__option .icon { width: 18px; height: 18px; color: var(--c-secondary); visibility: hidden; }
.select__option[aria-selected="true"] { font-weight: 600; color: var(--c-primary); }
.select__option[aria-selected="true"] .icon { visibility: visible; }
.select__option.is-active { background: var(--c-surface-2); }

/* ---------- marquee ---------- */
.marquee-band { background: var(--c-primary); color: var(--c-white); padding-block: var(--s-4); overflow: hidden; }
.marquee-band__inner { display: flex; align-items: center; gap: var(--s-5); }
.marquee-band__label { flex: none; margin: 0; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; gap: var(--s-6); padding-right: var(--s-6); list-style: none; }
.marquee__list li { display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap; font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; }
.marquee__list .icon { width: 18px; height: 18px; color: var(--c-accent); }
@media (max-width: 767px) { .marquee-band__inner { flex-direction: column; align-items: flex-start; gap: var(--s-2); } }
@media (prefers-reduced-motion: reduce) { .marquee { mask-image: none; } .marquee__track { width: auto; } .marquee__list { flex-wrap: wrap; gap: var(--s-2) var(--s-5); } .marquee__list[aria-hidden="true"] { display: none; } }
html.no-js .marquee__list[aria-hidden="true"], html.anim-off .marquee__list[aria-hidden="true"] { display: none; }
html.no-js .marquee__list, html.anim-off .marquee__list { flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
html.no-js .marquee__track, html.anim-off .marquee__track { width: auto; }

/* ---------- 404 ---------- */
.not-found { text-align: center; min-height: 70vh; display: flex; align-items: center; background: radial-gradient(ellipse at top, var(--c-surface-2), var(--c-white) 60%); }
.not-found__inner { max-width: 760px; }
.not-found__code { font-family: var(--f-head); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: 1; margin: 0 0 var(--s-3); color: var(--c-primary); letter-spacing: -.04em; background: linear-gradient(180deg, var(--c-primary) 30%, var(--c-secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.not-found .eyebrow { justify-content: center; }
.not-found__lead { font-size: var(--fs-lead); color: var(--c-muted); }
.not-found__path { font-size: var(--fs-small); color: var(--c-muted); word-break: break-all; }
.not-found__path code { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 6px; background: var(--c-surface-2); color: var(--c-primary); font-size: .875rem; }
.not-found .btn-row { justify-content: center; }
.not-found__sub { font-size: 1.125rem; margin-top: var(--s-7); }
.not-found__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.not-found__links a { display: inline-flex; padding: 8px 16px; border: 1px solid var(--c-border); border-radius: 999px; text-decoration: none; font-weight: 500; background: var(--c-white); transition: border-color var(--t) var(--ease), transform var(--t) var(--ease); }
.not-found__links a:hover { border-color: var(--c-secondary); transform: translateY(-2px); }

/* ---------- footer ---------- */
.site-footer { background: var(--c-dark); color: #B9C8D5; padding-top: var(--s-8); font-size: .9375rem; }
.site-footer a { color: #DCE6EE; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); text-decoration: underline; }
.site-footer__grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s-7); } }
.site-footer__tagline { color: var(--c-white); font-family: var(--f-head); font-weight: 600; margin-top: var(--s-4); }
.site-footer__title { color: var(--c-white); font-size: 1rem; margin-bottom: var(--s-3); }
.site-footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: var(--s-2); align-items: flex-start; }
.site-footer__contact .icon { width: 20px; height: 20px; color: var(--c-accent); margin-top: 3px; }
.social { list-style: none; display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .18); transition: background-color var(--t) var(--ease), transform var(--t) var(--ease); }
.social a:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-4) var(--s-9); border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-small); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; gap: var(--s-4); }
@media (min-width: 1025px) { .site-footer__bottom { padding-bottom: var(--s-4); } }

/* ---------- preloader (demo extra) ---------- */
.preloader { display: none; }
html.is-preloading { overflow: hidden; }
html.is-preloading .preloader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--c-white); }
.preloader__inner { display: grid; justify-items: center; gap: var(--s-3); }
.preloader__mark { width: 64px; height: 64px; animation: preloader-in .6s var(--ease) both; }
.preloader__name { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; color: var(--c-primary); animation: preloader-in .6s .1s var(--ease) both; }
.preloader__line { width: 160px; height: 3px; border-radius: 3px; background: var(--c-surface-2); overflow: hidden; }
.preloader__line span { display: block; height: 100%; background: var(--c-accent); transform: scaleX(0); transform-origin: 0 50%; animation: preloader-line .9s .1s cubic-bezier(.4, 0, .2, 1) forwards; }
.preloader.is-leaving { opacity: 0; transition: opacity .35s var(--ease); }
@keyframes preloader-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes preloader-line { to { transform: scaleX(1); } }

/* ---------- demo notice (demo extra, bottom-left) ---------- */
.demo-notice { position: fixed; left: 16px; bottom: 16px; z-index: 150; width: min(360px, calc(100vw - 104px)); display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-3); padding: var(--s-3); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.demo-notice.is-visible { opacity: 1; transform: none; }
.demo-notice.is-leaving { opacity: 0; transform: translateY(16px); transition-duration: .25s; }
.demo-notice__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #FFF4DD; color: #8A5A00; }
.demo-notice__icon .icon { width: 20px; height: 20px; }
.demo-notice__text { margin: 0; font-size: .9375rem; font-weight: 500; color: var(--c-primary); align-self: center; line-height: 1.45; }
.demo-notice__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 768px) { .demo-notice { left: 24px; bottom: 24px; padding: var(--s-4); } }

/* ---------- chatbot (demo extra, bottom-right) ---------- */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 160; }
@media (min-width: 768px) { .chat { right: 24px; bottom: 24px; } }
.chat__launcher { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--c-primary); color: var(--c-white); box-shadow: var(--sh-lg); transition: transform var(--t) var(--ease), background-color var(--t) var(--ease); }
.chat__launcher:hover { transform: translateY(-2px); background: #144A72; }
.chat__launcher .icon { width: 26px; height: 26px; }
.chat__icon-close { display: none; }
.chat.is-open .chat__icon-open { display: none; }
.chat.is-open .chat__icon-close { display: block; }
.chat__badge { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--c-accent); color: var(--c-accent-ink); font-size: .75rem; font-weight: 700; border: 2px solid var(--c-white); }
.chat__panel { position: absolute; right: 0; bottom: 76px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--c-white); border-radius: var(--r-xl); box-shadow: 0 24px 64px rgba(10, 42, 66, .22); overflow: hidden; transform-origin: bottom right; opacity: 0; transform: scale(.96) translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.chat.is-open .chat__panel { opacity: 1; transform: none; }
.chat__head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4); background: var(--c-primary); color: var(--c-white); }
.chat__avatar { flex: none; }
.chat__mark { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.chat__who { flex: 1; min-width: 0; }
.chat__title, .chat__status { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { .chat__head { flex-wrap: wrap; row-gap: 4px; } .chat__who { flex: 1 1 calc(100% - 120px); } .chat__demo { order: 5; margin-left: 56px; } }
.chat__title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 1rem; }
.chat__status { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: #CFE0EC; }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.chat__demo { flex: none; padding: 3px 8px; border-radius: 999px; background: rgba(244, 180, 60, .18); color: #FCD98F; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chat__messages { flex: 1; overflow-y: auto; padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); background: var(--c-surface); overscroll-behavior: contain; }
.chat__msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.5; animation: msg-in .3s var(--ease) both; }
.chat__msg p { margin: 0; }
.chat__msg--bot { align-self: flex-start; background: var(--c-white); color: var(--c-text); border-bottom-left-radius: 4px; box-shadow: var(--sh-sm); }
.chat__msg--user { align-self: flex-end; background: var(--c-primary); color: var(--c-white); border-bottom-right-radius: 4px; }
.chat__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat__links a { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--c-surface-2); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.chat__typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 12px 14px; background: var(--c-white); border-radius: 16px; border-bottom-left-radius: 4px; box-shadow: var(--sh-sm); }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: #94A3B1; animation: typing 1s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; } .chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px); } }
.chat__chips { display: flex; gap: var(--s-2); padding: var(--s-2) var(--s-3); overflow-x: auto; border-top: 1px solid var(--c-border); background: var(--c-white); }
.chip--button { border: 1px solid var(--c-border); background: var(--c-white); white-space: nowrap; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.chip--button:hover { background: var(--c-surface-2); border-color: var(--c-secondary); }
.chat__form { display: flex; gap: var(--s-2); padding: var(--s-3); border-top: 1px solid var(--c-border); }
.chat__form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); }
.chat__form input:focus { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(44, 122, 123, .25); }
.chat__send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-md); background: var(--c-accent); color: var(--c-accent-ink); transition: background-color var(--t) var(--ease); }
.chat__send:hover { background: var(--c-accent-hover); }
.chat__send .icon { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .chat__msg { animation: none; } }

/* ---------- animation states (progressive enhancement) ----------
   Content is visible by default. Elements are hidden only when JS is on, motion is allowed
   and GSAP has not failed (html.anim-off is set by the 3s safety timeout). */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.anim-off) [data-animate]:not([data-animate="counter"]) { opacity: 0; }
  html.js:not(.anim-off) [data-fx="text-split"] { opacity: 0; }
  html.js:not(.anim-off) [data-fx="image-reveal"] img { clip-path: inset(100% 0 0 0); }
  html.js:not(.anim-off) [data-fx="svg-draw"] path { stroke-dasharray: 1; stroke-dashoffset: 1; }
}
html.anim-off [data-animate], html.anim-off [data-fx], html.anim-off [data-fx] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.anim-off [data-fx="svg-draw"] path { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
.split-word { display: inline-block; will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
