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

/* ---------- Fonts (self-hosted, variable WOFF2, latin subset) ---------- */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --c-navy: #0B2A3C;      /* Primary */
  --c-teal: #0E6E6A;      /* Secondary */
  --c-ink: #1B2A36;       /* Text */
  --c-amber: #F5A524;     /* Accent */
  --c-amber-dark: #E08E0B;
  --c-muted: #4E5D69;
  --c-sand: #F7F4EE;
  --c-mist: #EAF2F1;
  --c-line: #DCE3E6;
  --c-white: #FFFFFF;
  --c-success: #1F7A4D;
  --c-error: #B42318;
  --focus: var(--c-teal);

  --f-head: "Manrope", 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;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px; --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px; --s-16: 128px;
  --section-y: 96px;
  --gap: 32px;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(11, 42, 60, .08);
  --sh-md: 0 8px 24px rgba(11, 42, 60, .10);
  --sh-lg: 0 24px 48px rgba(11, 42, 60, .16);
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 1024px) { :root { --section-y: 64px; --gap: 24px; --header-h: 72px; } }
@media (max-width: 767px) { :root { --section-y: 48px; --gap: 16px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 18px; line-height: 1.65; color: var(--c-ink); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (max-width: 1024px) { body { font-size: 17px; } }
@media (max-width: 767px) { body { font-size: 16px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-navy); margin: 0 0 var(--s-2); text-wrap: balance; }
h1 { font-size: 56px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.4; font-weight: 700; }
@media (max-width: 1024px) { h1 { font-size: 44px; } h2 { font-size: 34px; } h3 { font-size: 22px; } }
@media (max-width: 767px) { h1 { font-size: 36px; } h2 { font-size: 28px; } h3 { font-size: 20px; } }
p { margin: 0 0 var(--s-2); }
p:last-child { margin-bottom: 0; }
a { color: var(--c-teal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--c-navy); }
strong { font-weight: 650; }
ul, ol { margin: 0; padding: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--c-mist); padding: 2px 8px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
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: absolute; left: 16px; top: -100px; z-index: 2000; background: var(--c-navy); color: #fff; padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { flex: none; }

/* ---------- Layout ---------- */
.container { width: min(100% - 48px, 1200px); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 760px); }
@media (max-width: 767px) { .container, .container--narrow { width: calc(100% - 32px); } }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--c-sand); }
.section--mist { background: var(--c-mist); }
.section + .section:not([class*="section--"]):not(.trust--bar) { padding-top: calc(var(--section-y) * .5); }
.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head h2 { margin-bottom: var(--s-2); }
.section-lead { font-size: 20px; color: var(--c-muted); }
@media (max-width: 767px) { .section-head { margin-bottom: var(--s-4); } .section-lead { font-size: 18px; } }
.eyebrow { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-teal); margin-bottom: var(--s-1); }
.grid { display: grid; gap: var(--gap); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--1 { grid-template-columns: minmax(0, 900px); }
@media (max-width: 1024px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); } }
.section-link { margin-top: var(--s-4); }
.caption { font-size: 14px; color: var(--c-muted); margin-top: var(--s-3); }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-sm); border: 2px solid transparent; font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--primary { background: var(--c-amber); color: var(--c-navy); box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--c-amber-dark); color: var(--c-navy); box-shadow: var(--sh-md); }
.btn--secondary { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--secondary:hover { background: var(--c-navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn--ghost-light:hover { background: #fff; color: var(--c-navy); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -3px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; color: var(--c-teal); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--c-navy); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--c-amber); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--c-line); transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { box-shadow: var(--sh-md); border-bottom-color: transparent; }
.site-header__inner { display: flex; align-items: center; gap: var(--s-3); height: var(--header-h); transition: height .2s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-navy); flex: none; }
.brand__mark { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; color: var(--c-navy); }
.brand__sub { font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-teal); margin-top: 5px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--c-amber); }
.brand--light .brand__mark path:last-child { stroke: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--c-navy); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--r-sm); }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--c-teal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s var(--ease); }
.nav__link:hover, .nav__link.is-active, .nav__link[aria-current="page"] { color: var(--c-teal); }
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__button .icon { transition: transform .2s var(--ease); }
.nav__toggle { display: inline-grid; place-items: center; width: 28px; height: 32px; margin-left: -8px; background: none; border: 0; color: var(--c-navy); cursor: pointer; border-radius: 6px; }
.nav__toggle .icon { transition: transform .2s var(--ease); }
.nav__item.is-open .nav__toggle .icon, .nav__item.is-open .nav__button .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; z-index: 10; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__item.is-open > .dropdown, .no-js .nav__item:hover > .dropdown, .no-js .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__link { display: block; padding: 10px 14px; border-radius: var(--r-sm); color: var(--c-navy); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--c-mist); color: var(--c-teal); }
.dropdown__link[aria-current="page"] { color: var(--c-teal); font-weight: 650; }

.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15.5px; color: var(--c-navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--c-teal); }
.header-phone:hover { color: var(--c-teal); }
.menu-toggle { display: none; position: relative; z-index: 60; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; cursor: pointer; place-items: center; }
.burger { display: block; position: relative; width: 20px; height: 14px; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 6px; } .burger span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (max-width: 1199px) { .header-phone:not(.header-phone--block) { display: none; } }
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 479px) { .header-cta { display: none; } .brand__name { font-size: 19px; } .brand__mark { width: 40px; height: 40px; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 45; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(11, 42, 60, .5); opacity: 0; transition: opacity .3s var(--ease); }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); padding: calc(var(--header-h) + 16px) 24px 32px; background: #fff; box-shadow: var(--sh-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 24px; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-nav { list-style: none; }
.mobile-nav > li { border-bottom: 1px solid var(--c-line); }
.mobile-nav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0; font-family: var(--f-head); font-size: 19px; font-weight: 700; color: var(--c-navy); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.mobile-nav__link.is-active, .mobile-nav__link[aria-current="page"] { color: var(--c-teal); }
.mobile-nav__toggle .icon { transition: transform .25s var(--ease); }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; padding: 0 0 12px 12px; }
.js .mobile-nav__sub { display: none; }
.js .mobile-nav__toggle[aria-expanded="true"] + .mobile-nav__sub { display: block; }
.mobile-nav__sub a { display: block; padding: 10px 0; color: var(--c-ink); text-decoration: none; font-size: 17px; }
.mobile-nav__sub a[aria-current="page"] { color: var(--c-teal); font-weight: 650; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 12px; }
.header-phone--block { justify-content: center; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--r-sm); }
@media (min-width: 1025px) { .mobile-menu { display: none; } }
.no-js .mobile-menu { position: static; visibility: visible; pointer-events: auto; }
.no-js .mobile-menu__backdrop { display: none; }
.no-js .mobile-menu__panel { position: static; transform: none; width: auto; padding: 16px 24px; box-shadow: none; border-bottom: 1px solid var(--c-line); }
html.menu-open, html.is-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero--cover { color: #fff; display: flex; align-items: center; min-height: 460px; padding-block: 96px; isolation: isolate; overflow: hidden; background: var(--c-navy); }
.hero--home { min-height: min(720px, calc(100vh - var(--header-h))); min-height: min(720px, calc(100svh - var(--header-h))); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 42, 60, .92) 0%, rgba(11, 42, 60, .78) 42%, rgba(11, 42, 60, .25) 100%); }
@media (max-width: 767px) { .hero--cover { min-height: 0; padding-block: 64px; } .hero--home { padding-block: 80px; } .hero--cover::before { background: linear-gradient(180deg, rgba(11, 42, 60, .82) 0%, rgba(11, 42, 60, .9) 100%); } }
.hero__inner { position: relative; }
.hero__content { max-width: 660px; }
.hero--cover h1 { color: #fff; }
.hero--cover .eyebrow, .cta-band .eyebrow { color: var(--c-amber); }
.hero__lead { font-size: 20px; line-height: 1.6; margin-bottom: var(--s-4); }
.hero--cover .hero__lead { color: rgba(255, 255, 255, .9); }
@media (max-width: 767px) { .hero__lead { font-size: 18px; } }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: var(--s-3); font-size: 15px; }
.hero--cover .hero__note { color: rgba(255, 255, 255, .88); }
.hero__note .icon { color: var(--c-amber); }
.hero__meta { font-size: 15px; color: var(--c-muted); font-weight: 600; }
.hero--cover :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .trust--bar :focus-visible { --focus: var(--c-amber); }
.breadcrumbs { margin-bottom: var(--s-3); font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.breadcrumbs a { color: inherit; }
.hero--cover .breadcrumbs { color: rgba(255, 255, 255, .85); }
.hero--cover .breadcrumbs a { color: #fff; }
.hero--split, .hero--article, .hero--plain { background: var(--c-sand); padding-block: 80px; }
.hero--split .breadcrumbs, .hero--article .breadcrumbs, .hero--plain .breadcrumbs { color: var(--c-muted); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.hero__figure img, .hero__wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.hero--article .hero__content { max-width: 760px; }
.hero__wide { margin: var(--s-6) 0 0; }
.hero__wide img { aspect-ratio: 16 / 9; }
@media (max-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero--split, .hero--article, .hero--plain { padding-block: 56px; } }

/* ---------- Trust ---------- */
.trust--bar { background: var(--c-navy); color: #fff; padding-block: 48px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 3px solid var(--c-amber); }
.stat__value { font-family: var(--f-head); font-weight: 800; font-size: 40px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__label { color: rgba(255, 255, 255, .85); font-size: 16px; }
.trust__caption { margin-top: var(--s-3); font-size: 13px; color: rgba(255, 255, 255, .7); }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 767px) { .stat__value { font-size: 32px; } }
.trust--cards { padding-block: 48px; background: var(--c-sand); }
.trust-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.trust-card { display: flex; gap: 12px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.trust-card .icon { color: var(--c-teal); }
.trust-card strong { display: block; font-family: var(--f-head); color: var(--c-navy); font-size: 17px; }
.trust-card span span { font-size: 15px; color: var(--c-muted); line-height: 1.5; }
@media (max-width: 1024px) { .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .trust-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: 16.5px; }
.card--image { overflow: hidden; display: flex; flex-direction: column; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-mist); }
.card__media img, .gallery__media img, .post-card__media img, .person__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.card:hover .card__media img, .gallery__item:hover img, .post-card:hover .post-card__media img { transform: scale(1.04); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body p { margin: 0; }
.card__body .link-arrow { margin-top: auto; padding-top: 4px; }
.card--icon { padding: 32px; }
.card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 14px; background: var(--c-mist); color: var(--c-teal); }
.card--list { padding: 28px; }
.card__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.section--sand .card { box-shadow: none; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 4px 0 var(--s-2); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.checklist .icon { color: var(--c-teal); margin-top: 2px; }
.card .checklist { font-size: 15.5px; color: var(--c-ink); margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split--single { grid-template-columns: minmax(0, 760px); }
.split__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4 / 3; background: var(--c-mist); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body > p { color: var(--c-ink); }
.split__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: var(--s-3); }
@media (max-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split--reverse .split__media { order: 0; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: var(--gap); counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 32px 28px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.section--sand .step { border-color: transparent; }
.step__num { display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 12px; margin-bottom: 20px; border-radius: 14px; background: var(--c-navy); color: var(--c-amber); font-family: var(--f-head); font-weight: 800; font-size: 20px; }
.step h3 { font-size: 21px; }
.step p { color: var(--c-muted); font-size: 16.5px; }
@media (max-width: 1024px) { .steps--3, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .steps--3, .steps--4 { grid-template-columns: minmax(0, 1fr); } }
/* Horizontal scroll (desktop, JS + motion only; otherwise the grid above) */
.hscroll.is-hscroll { overflow: hidden; margin-inline: calc((100vw - min(100vw - 48px, 1200px)) / -2); padding-inline: calc((100vw - min(100vw - 48px, 1200px)) / 2); }
.hscroll.is-hscroll .steps { display: flex; width: max-content; gap: 32px; }
.hscroll.is-hscroll .step { width: 400px; min-height: 280px; }

/* ---------- Testimonials ---------- */
.reviews { align-items: stretch; }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.review__stars { display: flex; gap: 2px; color: var(--c-amber); }
.review__stars .icon { fill: currentColor; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--c-ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.review figcaption strong { display: block; font-family: var(--f-head); color: var(--c-navy); }
.review figcaption span span { color: var(--c-muted); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-navy); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 15px; flex: none; }
.grid--1.reviews { grid-template-columns: minmax(0, 760px); }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: var(--s-5); }
.cta-inline__note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--c-muted); }
.cta-inline__note .icon { color: var(--c-teal); }

/* ---------- FAQ / accordion ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.faq-layout .section-link { grid-column: 2; margin-top: 0; }
@media (max-width: 1024px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .faq-layout .section-link { grid-column: 1; margin-top: var(--s-4); } }
.accordion { border-top: 1px solid var(--c-line); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__heading { margin: 0; font-size: inherit; }
.accordion__trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--c-navy); }
.accordion__trigger:hover { color: var(--c-teal); }
.accordion__icon { transition: transform .25s var(--ease); color: var(--c-teal); }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(180deg); }
.accordion__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s var(--ease); }
.accordion__body { overflow: hidden; padding: 0 4px; color: var(--c-muted); }
.accordion__body p:last-child { padding-bottom: 20px; }
.accordion--ready .accordion__item:not(.is-open) .accordion__panel { grid-template-rows: 0fr; }
.accordion--ready .accordion__item:not(.is-open) .accordion__body { visibility: hidden; transition: visibility 0s linear .3s; }
.faq-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.faq-nav { list-style: none; display: grid; gap: 4px; }
.faq-nav a { display: block; padding: 8px 12px; border-left: 2px solid var(--c-line); color: var(--c-navy); text-decoration: none; font-weight: 600; }
.faq-nav a:hover { border-color: var(--c-teal); color: var(--c-teal); }
.faq-group + .faq-group { margin-top: var(--s-6); }
.faq-group__title { font-size: 22px; margin-bottom: 8px; }
.faq-group .accordion__trigger { font-size: 17px; }
@media (max-width: 1024px) { .faq-columns { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--c-navy); color: #fff; padding-block: var(--section-y); text-align: center; }
.cta-band__media { position: absolute; inset: -40px 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 42, 60, .8); }
.cta-band__content { max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 19px; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-4); }
.cta-band__note { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-3) !important; font-size: 15px !important; color: rgba(255, 255, 255, .85) !important; }
.cta-band__note .icon { color: var(--c-amber); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 40px; }
@media (max-width: 767px) { .form-card { padding: 24px 20px; } }
.form-card .section-head { margin-bottom: var(--s-4); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin-bottom: 8px; }
.form-grid__full { grid-column: 1 / -1; }
@media (max-width: 767px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { margin-bottom: 16px; position: relative; }
.field__label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; color: var(--c-navy); }
.req { color: var(--c-error); margin-left: 3px; }
.field__input { display: block; width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--c-ink); background: #fff; border: 1.5px solid #A9B7BF; border-radius: var(--r-sm); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
textarea.field__input { min-height: 120px; resize: vertical; }
.field__input::placeholder { color: #6B7882; }
.field__input:hover { border-color: var(--c-muted); }
.field__input:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(14, 110, 106, .25); }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .2); }
.field__input:disabled { background: var(--c-mist); cursor: not-allowed; }
.field__help { margin: 6px 0 0; font-size: 14px; color: var(--c-muted); }
.field__error { margin: 6px 0 0; font-size: 14px; color: var(--c-error); font-weight: 500; }
.field__error:empty { display: none; }
.field.is-valid .field__input { border-color: var(--c-success); }
.form-privacy { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--c-muted); }
.form-privacy .icon { color: var(--c-teal); margin-top: 2px; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .icon { color: var(--c-success); margin: 0 auto 16px; }
.form-success:focus { outline: none; }
.info-list { list-style: none; display: grid; gap: 20px; margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item > .icon { color: var(--c-teal); background: var(--c-mist); border-radius: 12px; padding: 10px; width: 44px; height: 44px; }
.info-item h3 { font-size: 17px; margin-bottom: 2px; }
.info-item p { margin: 0; font-size: 15.5px; color: var(--c-muted); }
.info-item .info-item__value { color: var(--c-navy); font-weight: 600; font-size: 16.5px; }
.aside-quote { margin: 0; padding: 24px; background: var(--c-sand); border-radius: var(--r-md); }
.aside-quote .icon { color: var(--c-amber); margin-bottom: 8px; fill: currentColor; stroke: none; }
.aside-quote blockquote { margin: 0 0 12px; font-size: 17px; color: var(--c-ink); }
.aside-quote figcaption { font-size: 14px; font-weight: 600; color: var(--c-muted); }

/* Custom select (listbox) */
.select { position: relative; }
.select__button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.select__value.is-placeholder { color: #6B7882; }
.select__icon { color: var(--c-teal); transition: transform .2s var(--ease); }
.select.is-open .select__icon { transform: rotate(180deg); }
.select__list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; padding: 6px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--sh-lg); max-height: 264px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.select.is-open .select__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.select__list:focus { outline: none; }
.select__option { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; font-size: 16px; }
.select__option:hover, .select__option.is-active { background: var(--c-mist); }
.select__option.is-active { box-shadow: inset 0 0 0 2px var(--c-teal); }
.select__option[aria-selected="true"] { color: var(--c-teal); font-weight: 600; }
.select__check { opacity: 0; color: var(--c-teal); }
.select__option[aria-selected="true"] .select__check { opacity: 1; }
.no-js .select__list { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; }

/* ---------- Gallery, areas, marquee, team, options ---------- */
.gallery__item { margin: 0; }
.gallery__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--c-mist); }
.gallery__item figcaption { margin-top: 12px; font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--c-navy); }
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.area { padding: 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.area h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.area h3 .icon { color: var(--c-teal); }
.area ul { list-style: none; display: grid; gap: 6px; font-size: 16px; color: var(--c-muted); }
@media (max-width: 1024px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.marquee { background: var(--c-teal); color: #fff; overflow: hidden; padding-block: 18px; }
.marquee__track { display: flex; width: max-content; }
.marquee ul { display: flex; list-style: none; gap: 40px; padding-right: 40px; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 18px; white-space: nowrap; }
.marquee .icon { color: var(--c-amber); }
@media (prefers-reduced-motion: reduce) { .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; } .marquee ul + ul { display: none; } .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 0 24px; } }
.person { text-align: left; }
.person__media { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); margin-bottom: 20px; background: var(--c-mist); }
.person h3 { margin-bottom: 2px; }
.person__role { color: var(--c-teal); font-weight: 600; font-size: 15.5px; margin-bottom: 10px; }
.person p:not(.person__role) { color: var(--c-muted); font-size: 16.5px; }
.option { position: relative; padding: 32px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.option--recommended { border: 2px solid var(--c-teal); box-shadow: var(--sh-md); }
.option__badge { display: inline-block; padding: 4px 12px; margin-bottom: 16px; border-radius: var(--r-pill); background: var(--c-mist); color: var(--c-teal); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.option--recommended .option__badge { background: var(--c-amber); color: var(--c-navy); }
.option p:not(.option__badge) { color: var(--c-muted); font-size: 16.5px; }

/* ---------- Checklist page, prose, posts, aside ---------- */
.checklist-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.checklist-intro .section-head h2 { font-size: 34px; }
.checklist-card { padding: 32px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.checklist-card .checklist { gap: 14px; }
@media (max-width: 1024px) { .checklist-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; } .checklist-intro .section-head h2 { font-size: 28px; } }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 28px; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 32px 0 8px; }
.prose ul { padding-left: 1.3em; margin: 0 0 var(--s-2); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--c-teal); }
@media (max-width: 767px) { .prose { font-size: 17px; } .prose h2 { font-size: 24px; margin-top: 36px; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-mist); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-teal); }
.post-card h3 { font-size: 21px; margin: 0; }
.post-card h3 a { color: var(--c-navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--c-teal); text-decoration: underline; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--c-muted); font-size: 16.5px; margin: 0; }
.post-card .link-arrow { margin-top: auto; }
.aside-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px; background: var(--c-sand); border-radius: var(--r-lg); }
.aside-card .aside-quote { background: #fff; }
.section--sand .aside-card { background: #fff; }
.section--sand .aside-card .aside-quote { background: var(--c-sand); }
@media (max-width: 1024px) { .aside-card { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, .82); padding: 80px 0 32px; font-size: 16px; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.site-footer a:hover { color: var(--c-amber); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; }
.footer-col--brand p { margin-top: 20px; max-width: 340px; }
.footer-demo { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer-col__title { font-family: var(--f-head); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { color: var(--c-amber); margin-top: 1px; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 20px; }
.social-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.social-link:hover { border-color: var(--c-amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .72); }
.footer-bottom p { margin: 0; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .site-footer { padding: 56px 0 120px; } }

/* ---------- Chatbot (demo-only extra) ---------- */
.chatbot__launcher { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--c-navy); color: #fff; box-shadow: var(--sh-lg); cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.chatbot__launcher:hover { transform: translateY(-2px); background: var(--c-teal); }
.chatbot__launcher[aria-expanded="true"] { background: var(--c-teal); }
.chatbot__badge { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--c-amber); color: var(--c-navy); font-size: 12px; font-weight: 800; border: 2px solid #fff; }
.chatbot__window { position: fixed; right: 24px; bottom: 100px; z-index: 70; display: flex; flex-direction: column; width: 380px; height: min(580px, calc(100vh - 140px)); height: min(580px, calc(100dvh - 140px)); background: #fff; border-radius: 20px; box-shadow: var(--sh-lg); border: 1px solid var(--c-line); overflow: hidden; transform-origin: bottom right; }
.chatbot__window[hidden] { display: none; }
.chatbot__header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--c-navy); color: #fff; }
.chatbot__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-amber); color: var(--c-navy); flex: none; }
.chatbot__titles h2 { margin: 0; font-size: 17px; color: #fff; }
.chatbot__titles p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .8); }
.chatbot__label { margin-left: auto; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.chatbot__close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.chatbot__close:hover { background: rgba(255, 255, 255, .14); }
.chatbot__header :focus-visible { --focus: var(--c-amber); }
.chatbot__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--c-sand); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 4px; color: var(--c-ink); }
.msg--user { align-self: flex-end; background: var(--c-navy); color: #fff; border-bottom-right-radius: 4px; }
.msg a { font-weight: 600; }
.chatbot__typing { display: flex; gap: 4px; align-self: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; border-bottom-left-radius: 4px; }
.chatbot__typing span:not(.sr-only) { width: 7px; height: 7px; border-radius: 50%; background: var(--c-muted); animation: typing 1s ease-in-out infinite; }
.chatbot__typing span:nth-child(3) { animation-delay: .15s; } .chatbot__typing span:nth-child(4) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chatbot__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 4px; background: #fff; border-top: 1px solid var(--c-line); }
.chip { padding: 6px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--c-teal); background: #fff; color: var(--c-teal); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.chip:hover { background: var(--c-teal); color: #fff; }
.chatbot__form { display: flex; gap: 8px; padding: 12px 16px 16px; background: #fff; }
.chatbot__form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 15px; border: 1.5px solid #A9B7BF; border-radius: var(--r-pill); }
.chatbot__form input:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(14, 110, 106, .25); }
.chatbot__send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-amber); color: var(--c-navy); cursor: pointer; flex: none; }
.chatbot__send:hover { background: var(--c-amber-dark); }
@media (max-width: 767px) {
  .chatbot__launcher { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .chatbot__window { left: 12px; right: 12px; bottom: 84px; width: auto; height: min(560px, calc(100dvh - 110px)); }
}

/* ---------- Demo notice (demo-only extra) ---------- */
.demo-notice { position: fixed; left: 24px; bottom: 24px; z-index: 65; width: min(360px, calc(100vw - 120px)); padding: 18px 20px; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-amber); border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.demo-notice[hidden] { display: none; }
.demo-notice p { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--c-navy); line-height: 1.45; }
.demo-notice__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) { .demo-notice { left: 12px; right: 84px; bottom: 16px; width: auto; padding: 14px 16px; } .demo-notice p { font-size: 14px; } }

/* ---------- 404 ---------- */
.notfound { padding-block: 96px; background: var(--c-sand); }
.notfound__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.notfound__art { position: relative; text-align: center; }
.notfound__number { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(120px, 20vw, 220px); line-height: 1; letter-spacing: -0.04em; color: var(--c-navy); }
.notfound__sun { position: absolute; top: -12px; right: 12%; color: var(--c-amber); }
.notfound__sun .icon { width: 72px; height: 72px; }
.notfound__lead { font-size: 19px; color: var(--c-muted); }
.notfound__path { font-size: 15px; color: var(--c-muted); }
.notfound__links-title { font-size: 18px; margin: 40px 0 12px; }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
@media (max-width: 1024px) { .notfound__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: left; } .notfound__art { text-align: left; } .notfound__sun { right: auto; left: 70%; } }

/* ---------- Animation states (progressive enhancement) ----------
   Content is visible by default. Elements are hidden only when JS runs (html.js), motion is allowed,
   and the 3s safety timer hasn't fired (html.anim-off). GSAP then reveals them. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.anim-off) [data-animate="hero"],
  .js:not(.anim-off) [data-animate="fade-up"] { opacity: 0; transform: translateY(24px); }
  .js:not(.anim-off) [data-animate="fade-in"],
  .js:not(.anim-off) [data-fx="text-split"] { opacity: 0; }
  .js:not(.anim-off) [data-fx="image-reveal"] { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1025px) {
  .js:not(.anim-off) [data-fx="image-reveal"] { opacity: 1; clip-path: inset(0 100% 0 0); }
}
.split-word { display: inline-block; will-change: transform; }

@media (hover: none) { .card:hover, .post-card:hover, .btn:hover { transform: none; } .card:hover .card__media img, .gallery__item:hover img, .post-card:hover .post-card__media img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .chatbot, .demo-notice, .scroll-progress, .preloader, .cta-band__media { display: none !important; } }
.post-card--compact .post-card__body { padding: 28px; }
.posts-section--compact .section-head { margin-bottom: var(--s-4); }
/* Closed lists fade out but must not catch clicks while fading. */
.select__list, .dropdown { pointer-events: none; }
.select.is-open .select__list, .nav__item.is-open > .dropdown, .no-js .nav__item:hover > .dropdown, .no-js .select__list { pointer-events: auto; }
