/* Northline Auto Care demo: main stylesheet.
   Tokens map 1:1 to Elementor Global Colors / Global Fonts (see ELEMENTOR-NOTES.md).
   Mobile-first; breakpoints match Elementor: tablet 768px-1024px, desktop 1025px+. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-var-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* Global Colors */
  --c-primary: #12324a;     /* Primary: navy (header text, headings, dark sections) */
  --c-secondary: #e8772e;   /* Secondary: warm orange (decorative accents on dark, logo stripe) */
  --c-text: #1f2a37;        /* Text */
  --c-accent: #c2410c;      /* Accent: buttons and links (5.2:1 on white) */
  --c-accent-hover: #9a3412;
  --c-muted: #52606d;
  --c-surface: #f4f6f8;
  --c-surface-2: #e9eef2;
  --c-border: #dce3e9;
  --c-white: #ffffff;
  --c-dark: #0e2638;
  --c-dark-text: #e6edf3;
  --c-dark-muted: #a9b8c6;
  --c-success: #1f7a4d;
  --c-error: #b42318;
  /* Global Fonts */
  --f-heading: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* 8px spacing scale */
  --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;
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(18, 50, 74, .06), 0 1px 3px rgba(18, 50, 74, .08);
  --shadow: 0 4px 12px rgba(18, 50, 74, .08), 0 2px 4px rgba(18, 50, 74, .05);
  --shadow-lg: 0 16px 40px rgba(18, 50, 74, .14);
  --container: 1200px;
  --gutter: 20px;
  --section-y: 48px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: 200ms;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 64px; --header-h: 76px; } }
@media (min-width: 1025px) { :root { --section-y: 96px; --header-h: 84px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1025px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--t) var(--ease); }
a:hover { color: var(--c-accent-hover); }
h1, h2, h3, h4 { font-family: var(--f-heading); color: var(--c-primary); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 var(--s-2); font-weight: 750; text-wrap: balance; }
h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 28px; }
h3 { font-size: 20px; line-height: 1.3; }
@media (min-width: 768px) { h1 { font-size: 44px; } h2 { font-size: 34px; } h3 { font-size: 21px; } }
@media (min-width: 1025px) { h1 { font-size: 56px; } h2 { font-size: 40px; } h3 { font-size: 22px; } }
p { margin: 0 0 var(--s-2); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: #fbd6bd; color: var(--c-text); }
.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; left: 16px; top: -100px; z-index: 1000; background: var(--c-primary); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; color: #fff; }
main:focus { outline: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }

/* Lenis (recommended base rules) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- buttons ---------- */
.btn { --btn-bg: var(--c-accent); --btn-fg: #fff; --btn-bd: var(--c-accent); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); border: 2px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg); font: 600 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease); white-space: nowrap; }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn:hover { --btn-bg: var(--c-accent-hover); --btn-bd: var(--c-accent-hover); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--secondary { --btn-bg: var(--c-primary); --btn-bd: var(--c-primary); }
.btn--secondary:hover { --btn-bg: var(--c-dark); --btn-bd: var(--c-dark); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-bd: var(--c-border); }
.btn--outline:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-primary); --btn-bd: var(--c-primary); }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--c-primary); --btn-bd: #fff; }
.btn--link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--c-accent); padding-inline: 0; min-height: 0; }
.btn--link:hover { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--c-accent-hover); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .icon { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) { .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; } }

/* ---------- header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress__bar { display: block; height: 100%; background: var(--c-secondary); transform: scaleX(0); transform-origin: 0 50%; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); transition: box-shadow var(--t) var(--ease), background-color var(--t) var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 50, 74, .10); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); }
.topbar { display: none; background: var(--c-primary); color: var(--c-dark-text); font-size: 14px; }
.topbar__inner { display: flex; gap: var(--s-4); align-items: center; height: 40px; }
.topbar p { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar p:last-child { margin-left: auto; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar a:hover { color: #fbd6bd; }
.topbar .icon { width: 16px; height: 16px; color: var(--c-secondary); }
@media (min-width: 1025px) { .topbar { display: block; } }
.header__inner { display: flex; align-items: center; gap: var(--s-3); height: var(--header-h); transition: height 250ms var(--ease); }
.site-header.is-scrolled .header__inner { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-primary); flex: none; }
.logo:hover { color: var(--c-primary); }
.logo__mark { width: 40px; height: 40px; transition: transform var(--t) var(--ease); }
.site-header.is-scrolled .logo__mark { transform: scale(.9); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font: 800 20px/1.05 var(--f-heading); letter-spacing: -0.02em; }
.logo__sub { font: 600 11px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }
.logo--light .logo__mark { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.logo--light { color: #fff; } .logo--light:hover { color: #fff; } .logo--light .logo__sub { color: var(--c-dark-muted); }
.nav { display: none; margin-inline: auto; }
@media (min-width: 1025px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: block; padding: 10px 12px; color: var(--c-primary); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease); }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--c-accent); }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__item--dropdown .nav__link { padding-right: 2px; }
.nav__item--dropdown .nav__link::after { right: 2px; }
.nav__toggle { display: grid; place-items: center; width: 28px; height: 36px; border: 0; background: none; color: var(--c-primary); cursor: pointer; border-radius: 6px; }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__toggle:hover { color: var(--c-accent); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; max-height: min(70vh, 480px); overflow-y: auto; list-style: none; padding: 8px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 0s linear 180ms; z-index: 10; }
.dropdown::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
html.gsap-ui .dropdown { transition: none; }
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--c-text); text-decoration: none; font-size: 15px; font-weight: 500; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--c-surface); color: var(--c-accent); outline-offset: -2px; }
.dropdown a[aria-current="page"] { color: var(--c-accent); font-weight: 600; background: var(--c-surface); }
.header__actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
@media (min-width: 1025px) { .header__actions { margin-left: 0; } }
.header__phone { display: none; align-items: center; gap: 8px; color: var(--c-primary); text-decoration: none; font-weight: 700; font-size: 15px; }
.header__phone .icon { width: 18px; height: 18px; color: var(--c-accent); }
@media (min-width: 768px) and (max-width: 1024px) { .header__phone { display: inline-flex; } }
@media (min-width: 1280px) { .header__phone { display: inline-flex; } }
.header__actions > .btn { display: none; }
@media (min-width: 768px) { .header__actions > .btn { display: inline-flex; } }
.burger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-primary); font: 600 15px var(--f-body); cursor: pointer; }
.burger:hover { border-color: var(--c-primary); }
@media (min-width: 1025px) { .burger { display: none; } }
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; 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: 6px; } .burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { top: 6px; 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: 6px; transform: rotate(-45deg); }
@media (max-width: 399px) { .burger__label { display: none; } .logo__sub { display: none; } }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(14, 38, 56, .5); }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); border-bottom: 1px solid var(--c-border); position: sticky; top: 0; background: #fff; z-index: 1; }
.logo--sm .logo__mark { width: 36px; height: 36px; }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-primary); cursor: pointer; }
.mnav { list-style: none; padding: 8px var(--gutter); }
.mnav > li { border-bottom: 1px solid var(--c-surface-2); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mnav__link { display: block; flex: 1; padding: 14px 0; color: var(--c-primary); text-decoration: none; font: 700 18px var(--f-heading); }
.mnav__link[aria-current="page"] { color: var(--c-accent); }
.mnav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--c-surface); border-radius: var(--radius-sm); color: var(--c-primary); cursor: pointer; }
.mnav__toggle .icon { transition: transform var(--t) var(--ease); }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav__sub { list-style: none; padding: 0 0 12px 12px; }
.mnav__sub a { display: block; padding: 10px 12px; color: var(--c-text); text-decoration: none; border-left: 2px solid var(--c-border); }
.mnav__sub a:hover, .mnav__sub a[aria-current="page"] { color: var(--c-accent); border-left-color: var(--c-accent); }
.mobile-menu__foot { margin-top: auto; padding: var(--s-3) var(--gutter) var(--s-4); display: grid; gap: 12px; background: var(--c-surface); }
.mobile-menu__foot p { display: flex; gap: 8px; align-items: center; margin: 4px 0 0; font-size: 14px; color: var(--c-muted); }
.mobile-menu__foot p .icon { width: 18px; height: 18px; flex: none; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); }
.bg-white { background: var(--c-white); }
.bg-light { background: var(--c-surface); }
.bg-dark { background: var(--c-dark); color: var(--c-dark-text); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead, .bg-dark p { color: var(--c-dark-text); }
.bg-dark a:not(.btn) { color: #fbd6bd; }
.section-head { max-width: 760px; margin-bottom: var(--s-6); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head .lead:last-child { margin-bottom: 0; }
.section-foot { margin-top: var(--s-5); display: flex; justify-content: center; }
.section-foot .btn-row { margin-top: 0; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--s-2); font: 700 13px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .eyebrow::before { display: none; }
.bg-dark .eyebrow, .eyebrow--light { color: var(--c-secondary); }
.lead { font-size: 18px; color: var(--c-muted); line-height: 1.6; }
@media (min-width: 1025px) { .lead { font-size: 19px; } }

/* checklist */
.checklist { list-style: none; display: grid; gap: 10px; margin: var(--s-3) 0 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; color: var(--c-success); flex: none; margin-top: 2px; }
.checklist--sm { gap: 6px; font-size: 15px; margin-top: var(--s-2); }
.checklist--sm .icon { width: 18px; height: 18px; margin-top: 3px; }
.checklist--inline { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 500; font-size: 15px; }

/* hero */
.hero { padding-block: var(--s-6) var(--s-8); }
@media (min-width: 1025px) { .hero { padding-block: var(--s-10) var(--s-12); } .hero--page { padding-block: var(--s-8) var(--s-10); } }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1025px) { .hero--has-media .hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); } }
.hero--page:not(.hero--has-media) .hero__content, .hero--simple .hero__content { max-width: 780px; }
.hero--simple .hero__content { margin-inline: auto; text-align: center; }
.hero h1 { margin-bottom: var(--s-3); }
.hero .lead { max-width: 620px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin: var(--s-3) 0 0; font-size: 14px; color: var(--c-muted); }
.hero__note .icon { width: 18px; height: 18px; color: var(--c-accent); }
.hero__media { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero--home .hero__img { aspect-ratio: 5 / 4; }
.hero__badge { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
@media (min-width: 1025px) { .hero__badge { left: -24px; bottom: 32px; } }
.hero__badge .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #fdeee4; color: var(--c-accent); fill: currentColor; flex: none; }
.hero__badge p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.hero__badge strong { font: 800 20px var(--f-heading); color: var(--c-primary); }
.hero__badge span { font-size: 14px; color: var(--c-muted); }
.breadcrumbs { margin-bottom: var(--s-3); font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "/"; color: #9aa7b3; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--c-primary); font-weight: 600; }

/* stats */
.stats { padding-block: var(--s-6); }
.stats__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 1025px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.stat .icon { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: var(--radius); background: #fdeee4; color: var(--c-accent); }
.bg-dark .stat .icon { background: rgba(232, 119, 46, .14); color: var(--c-secondary); }
.stat__value { margin: 0; font: 800 28px/1.1 var(--f-heading); color: var(--c-primary); font-variant-numeric: tabular-nums; }
.bg-dark .stat__value { color: #fff; }
@media (min-width: 1025px) { .stat__value { font-size: 34px; } }
.stat__label { margin: 0; font-size: 14px; color: var(--c-muted); line-height: 1.4; }
.bg-dark .stat__label { color: var(--c-dark-muted); }

/* grids & cards */
.grid { display: grid; gap: var(--s-3); 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--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease); }
.bg-white .card { background: #fff; }
.bg-light .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card--linked:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-2); }
.card--post .card__media { aspect-ratio: 16 / 9; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card--linked:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-3); }
.card__body > p:last-of-type { margin-bottom: 0; }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--s-2); border-radius: var(--radius); background: #fdeee4; color: var(--c-accent); flex: none; }
.card__icon .icon { width: 26px; height: 26px; }
.card__meta { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.card__title { margin-bottom: 10px; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:hover { color: var(--c-accent); }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.card__price { margin: -4px 0 10px; font: 700 15px var(--f-body); color: var(--c-accent); }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-2); font-weight: 600; font-size: 15px; color: var(--c-accent); }
.card__more .icon { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.card--linked:hover .card__more .icon { transform: translateX(4px); }
.card--link .card__body { flex-direction: row; gap: var(--s-2); align-items: flex-start; flex-wrap: wrap; }
.card--link .card__icon { margin-bottom: 0; width: 44px; height: 44px; }
.card--link .card__body > :not(.card__icon) { flex: 1 1 calc(100% - 64px); }
.card--link .card__more { flex-basis: 100%; padding-left: 60px; padding-top: 4px; }

/* split */
.split__grid { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 1025px) { .split__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } .split--image-left .split__media { order: -1; } }
@media (max-width: 1024px) { .split__media { order: -1; } }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__caption { margin: 12px 0 0; font-size: 14px; color: var(--c-muted); }
.split__content .prose { margin-top: var(--s-2); }

/* steps */
.steps__grid { list-style: none; display: grid; gap: var(--s-3); counter-reset: step; }
@media (min-width: 768px) { .steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .steps__grid--3 { grid-template-columns: repeat(3, 1fr); } .steps__grid--4 { grid-template-columns: repeat(4, 1fr); } .steps__grid--5 { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: var(--s-3); background: #fff; border-radius: var(--radius); border: 1px solid var(--c-border); }
.bg-light .step { border-color: transparent; box-shadow: var(--shadow-sm); }
.step__num { display: block; margin-bottom: var(--s-2); font: 800 14px var(--f-heading); letter-spacing: .08em; color: var(--c-accent); }
.step__title { margin-bottom: 8px; }
.step p:last-child { margin-bottom: 0; }
.bg-dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }

/* testimonials */
.reviews-summary { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin: calc(var(--s-3) * -1) 0 var(--s-5); color: var(--c-muted); font-weight: 600; }
.reviews-summary .stars { margin: 0; }
.review { margin: 0; display: flex; flex-direction: column; padding: var(--s-3); background: #fff; border-radius: var(--radius); border: 1px solid var(--c-border); }
.bg-light .review { border-color: transparent; box-shadow: var(--shadow-sm); }
.review blockquote { margin: 0 0 var(--s-3); flex: 1; }
.review blockquote p { margin: 0; font-size: 16px; line-height: 1.65; }
.review figcaption { display: flex; gap: 12px; align-items: center; }
.review figcaption strong { display: block; color: var(--c-primary); font-size: 15px; }
.review figcaption span span, .review figcaption > span:last-child > span { display: block; font-size: 14px; color: var(--c-muted); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; font: 700 15px var(--f-heading); flex: none; }
.stars { display: flex; gap: 2px; margin: 0 0 var(--s-2); }
.stars .icon { width: 18px; height: 18px; color: #c7cfd6; fill: currentColor; stroke: none; }
.stars .on .icon { color: #d97706; }

/* faq */
.faq__grid { display: grid; gap: var(--s-5); }
@media (min-width: 1025px) { .faq__grid { grid-template-columns: 2fr 3fr; gap: var(--s-8); align-items: start; } .faq__intro { position: sticky; top: calc(var(--header-h) + 72px); } }
.faq__list { display: grid; gap: 12px; }
.faq__list--narrow { max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.bg-light .faq__item { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 18px var(--s-3); cursor: pointer; list-style: none; font: 700 17px/1.4 var(--f-heading); color: var(--c-primary); border-radius: var(--radius); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-accent); }
.faq__chev { width: 20px; height: 20px; flex: none; transition: transform var(--t) var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__answer { padding: 0 var(--s-3) var(--s-3); color: var(--c-muted); }
.faq__answer p:last-child { margin-bottom: 0; }

/* cta band */
.cta { padding-block: var(--s-8); }
.cta__inner { display: grid; gap: var(--s-3); align-items: center; }
@media (min-width: 1025px) { .cta__inner { grid-template-columns: 1.6fr 1fr; } .cta .btn-row { justify-content: flex-end; margin-top: 0; } }
.cta h2 { margin-bottom: 8px; }
.cta__text p:last-child { margin-bottom: 0; }

/* contact & forms */
.contact__grid { display: grid; gap: var(--s-6); }
@media (min-width: 1025px) { .contact__grid { grid-template-columns: 5fr 6fr; gap: var(--s-8); align-items: start; } }
.contact__list { list-style: none; display: grid; gap: var(--s-3); margin: var(--s-4) 0; }
.contact__list li { display: flex; gap: var(--s-2); align-items: flex-start; }
.contact__list .icon { width: 44px; height: 44px; padding: 11px; border-radius: var(--radius); background: #fdeee4; color: var(--c-accent); flex: none; }
.contact__label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.contact__list a, .contact__list span { font-weight: 600; color: var(--c-primary); text-decoration: none; }
.contact__list a:hover { color: var(--c-accent); text-decoration: underline; }
.hours { padding: var(--s-3); border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.bg-light .hours { border-color: transparent; box-shadow: var(--shadow-sm); }
.hours h3 { font-size: 18px; margin-bottom: 12px; }
.hours dl { margin: 0; display: grid; gap: 8px; }
.hours dl div { display: flex; justify-content: space-between; gap: var(--s-2); padding-bottom: 8px; border-bottom: 1px dashed var(--c-border); font-size: 15px; }
.hours dt { color: var(--c-muted); } .hours dd { margin: 0; font-weight: 600; color: var(--c-primary); text-align: right; }
.hours__note { margin: 12px 0 0; font-size: 14px; color: var(--c-muted); }
.form-card { padding: var(--s-3); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--c-border); }
@media (min-width: 768px) { .form-card { padding: var(--s-5); } }
.form-card__title { font-size: 24px; margin-bottom: 8px; }
.form-card__text { color: var(--c-muted); }
.form__required-note { font-size: 14px; color: var(--c-muted); }
.form__grid { display: grid; gap: var(--s-2) var(--s-3); }
@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; }
.field label { font-weight: 600; font-size: 15px; color: var(--c-primary); }
.req { color: var(--c-error); }
.field input, .field textarea, .field select, .cselect__button { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--f-body); color: var(--c-text); background: #fff; border: 1.5px solid #c5cfd8; border-radius: var(--radius-sm); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: #7b8794; }
.field input:hover, .field textarea:hover, .cselect__button:hover { border-color: #8d9aa6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
.field input:disabled, .field textarea:disabled { background: var(--c-surface); cursor: not-allowed; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid .cselect__button { border-color: var(--c-error); background: #fffafa; }
.field.is-valid input, .field.is-valid textarea, .field.is-valid .cselect__button { border-color: var(--c-success); }
.field__help { margin: 0; font-size: 13px; color: var(--c-muted); }
.field__error { margin: 0; font-size: 14px; font-weight: 500; color: var(--c-error); }
.form__summary { margin: var(--s-2) 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecea; color: var(--c-error); font-weight: 500; font-size: 15px; }
.form .btn--block { margin-top: var(--s-3); }
.form__privacy { margin: 12px 0 0; font-size: 13px; color: var(--c-muted); text-align: center; }
.form-success { text-align: center; padding: var(--s-4) var(--s-2); }
.form-success:focus { outline: none; }
.form-success__icon { width: 56px; height: 56px; margin: 0 auto var(--s-2); color: var(--c-success); }

/* custom select (progressive enhancement of a native <select>) */
.cselect { position: relative; }
.cselect select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cselect__button { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; }
.cselect__button .icon { width: 18px; height: 18px; flex: none; color: var(--c-muted); transition: transform var(--t) var(--ease); }
.cselect__button[aria-expanded="true"] { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
.cselect__button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.cselect__button:focus-visible { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
.cselect__value.is-placeholder { color: #7b8794; }
.cselect__list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 264px; overflow-y: auto; list-style: none; padding: 6px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.cselect__list[hidden] { display: none; }
.cselect__option { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 6px; cursor: pointer; font-size: 15px; }
.cselect__option .icon { width: 16px; height: 16px; color: var(--c-accent); visibility: hidden; }
.cselect__option[aria-selected="true"] { font-weight: 600; color: var(--c-primary); }
.cselect__option[aria-selected="true"] .icon { visibility: visible; }
.cselect__option.is-active { background: var(--c-surface); color: var(--c-accent); }

/* prose */
.prose { font-size: 17px; }
.prose h2 { font-size: 28px; margin-top: var(--s-6); }
.prose h3 { font-size: 22px; margin-top: var(--s-5); }
.prose h4 { font-size: 18px; margin-top: var(--s-4); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 var(--s-2); display: grid; gap: 6px; }
.prose li::marker { color: var(--c-accent); }
.prose blockquote { margin: var(--s-4) 0; padding: var(--s-2) var(--s-3); border-left: 4px solid var(--c-secondary); background: var(--c-surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 500; color: var(--c-primary); }
.prose blockquote p { margin: 0; }
.prose-section .prose > :first-child { margin-top: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: var(--s-3); font-size: 14px; color: var(--c-muted); font-weight: 500; }
.article-meta span + span::before { content: "·"; margin-right: 20px; color: #9aa7b3; }
.article-figure { margin: 0 0 var(--s-4); }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }

/* team */
.member { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); }
.bg-light .member { border-color: transparent; box-shadow: var(--shadow-sm); }
.member__media { aspect-ratio: 1; background: var(--c-surface-2); overflow: hidden; }
.member__media img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: var(--s-3); }
.member__body h3 { margin-bottom: 4px; }
.member__role { font-size: 14px; font-weight: 700; color: var(--c-accent); letter-spacing: .02em; }
.member__body p:last-child { margin-bottom: 0; font-size: 15px; color: var(--c-muted); }

/* tags */
.tags__grid { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tag span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .tags__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1025px) { .tags__grid--4 { grid-template-columns: repeat(4, 1fr); } .tags__grid--5 { grid-template-columns: repeat(5, 1fr); } .tags__grid--6 { grid-template-columns: repeat(6, 1fr); } }
.tag { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 16px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); color: var(--c-primary); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), color var(--t) var(--ease); }
.bg-light .tag { border-color: transparent; box-shadow: var(--shadow-sm); }
.tag .icon { width: 18px; height: 18px; color: var(--c-accent); flex: none; }
a.tag:hover { border-color: var(--c-accent); color: var(--c-accent); box-shadow: var(--shadow); }
.tags__note { text-align: center; margin: var(--s-4) auto 0; max-width: 680px; color: var(--c-muted); font-size: 15px; }

/* gallery */
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery__item figcaption { margin-top: 10px; font-size: 14px; color: var(--c-muted); }

/* guides */
.guides__filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin: calc(var(--s-3) * -1) auto var(--s-5); max-width: 520px; }
.guides__filter label { font-weight: 600; color: var(--c-primary); }
.guides__filter .cselect, .guides__filter select { flex: 1 1 240px; }
.guides__filter select { min-height: 48px; padding: 0 12px; border: 1.5px solid #c5cfd8; border-radius: var(--radius-sm); font: inherit; }
.guide { display: flex; gap: var(--s-2); padding: var(--s-3); background: #fff; border-radius: var(--radius); border: 1px solid var(--c-border); }
.bg-light .guide { border-color: transparent; box-shadow: var(--shadow-sm); }
.guide[hidden] { display: none; }
.guide .card__icon { width: 48px; height: 48px; }
.guide p:last-child { margin-bottom: 0; font-size: 15px; color: var(--c-muted); }
.guide .card__title { font-size: 18px; }
.guides__empty { text-align: center; color: var(--c-muted); margin-top: var(--s-3); }

/* 404 */
.notfound { padding-block: var(--s-8) var(--s-12); }
.notfound__inner { max-width: 720px; margin-inline: auto; text-align: center; }
.notfound__code { margin: 0; font: 800 clamp(96px, 22vw, 180px)/1 var(--f-heading); letter-spacing: -0.05em; color: var(--c-primary); background: linear-gradient(180deg, var(--c-primary) 55%, var(--c-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound h1 { margin-top: var(--s-2); }
.notfound__path { font-size: 15px; color: var(--c-muted); word-break: break-all; }
.notfound__path code { padding: 2px 8px; border-radius: 6px; background: var(--c-surface-2); color: var(--c-primary); font-size: 14px; }
.notfound__links-title { margin-top: var(--s-6); font-size: 20px; }
.notfound__links { list-style: none; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: var(--s-2); text-align: left; }
.notfound__links a { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); color: var(--c-primary); font-weight: 600; text-decoration: none; transition: box-shadow var(--t) var(--ease), color var(--t) var(--ease); }
.notfound__links a:hover { color: var(--c-accent); box-shadow: var(--shadow); }
.notfound__links .icon { width: 18px; height: 18px; color: var(--c-accent); }

/* footer */
.site-footer { background: var(--c-dark); color: var(--c-dark-muted); font-size: 15px; }
.footer__grid { display: grid; gap: var(--s-5) var(--s-4); padding-block: var(--s-8) var(--s-6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; } }
.footer__brand p { margin: var(--s-3) 0; max-width: 340px; }
.footer__title { margin-bottom: var(--s-2); font: 700 15px var(--f-heading); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--c-dark-text); text-decoration: none; }
.site-footer a:hover { color: #fbd6bd; text-decoration: underline; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--c-secondary); }
.social { list-style: none; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.social a:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer__bottom-inner { display: grid; gap: 8px; padding-block: var(--s-3); }
@media (min-width: 1025px) { .footer__bottom-inner { grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; } }
.footer__bottom p { margin: 0; }
.footer__disclaimer { color: #8ea0b1; }
.footer__legal { list-style: none; display: flex; gap: 20px; }

/* ---------- demo-only extras ---------- */
/* preloader: only rendered visible while html.is-preloading (set by the inline head script on first load) */
.preloader { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: #fff; }
html.is-preloading .preloader { display: grid; }
html.is-preloading, html.is-preloading body { overflow: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.preloader__mark { width: 56px; height: 56px; animation: preload-fade 600ms var(--ease) both; }
.preloader__name { margin: 0; font: 700 16px var(--f-heading); color: var(--c-primary); letter-spacing: -0.01em; animation: preload-fade 600ms 120ms var(--ease) both; }
.preloader__bar { position: relative; width: 140px; height: 3px; border-radius: 3px; background: var(--c-surface-2); overflow: hidden; }
.preloader__bar span { position: absolute; inset: 0; background: var(--c-accent); transform-origin: 0 50%; animation: preload-bar 900ms 100ms var(--ease) both; }
@keyframes preload-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes preload-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* chatbot */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 150; }
@media (min-width: 768px) { .chat { right: 24px; bottom: 24px; } }
.chat__launcher { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform var(--t) var(--ease), background-color var(--t) var(--ease); }
.chat__launcher:hover { transform: translateY(-2px); background: var(--c-dark); }
.chat__launcher .icon { width: 26px; height: 26px; }
.chat__launcher-close { display: none; }
.chat.is-open .chat__launcher-icon { display: none; }
.chat.is-open .chat__launcher-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: 11px; background: var(--c-accent); color: #fff; font: 700 12px var(--f-body); border: 2px solid #fff; }
.chat__badge[hidden] { display: none; }
.chat__window { 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: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(14, 38, 56, .25); border: 1px solid var(--c-border); overflow: hidden; transform-origin: bottom right; }
.chat__window[hidden] { display: none; }
.chat__header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--c-primary); color: #fff; }
.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__heading { flex: 1; min-width: 0; }
.chat__title { margin: 0; font: 700 16px var(--f-heading); color: #fff; }
.chat__status { margin: 0; font-size: 13px; color: var(--c-dark-muted); }
.chat__label { display: inline-block; padding: 1px 8px; margin-right: 4px; border-radius: var(--radius-pill); background: var(--c-secondary); color: var(--c-dark); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.chat__close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.chat__close:hover { background: rgba(255, 255, 255, .2); }
.chat__close .icon { width: 20px; height: 20px; }
.chat__messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--c-surface); overscroll-behavior: contain; }
.chat__messages:focus-visible { outline-offset: -3px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; word-wrap: break-word; }
.msg p { margin: 0; }
.msg--bot { align-self: flex-start; background: #fff; color: var(--c-text); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.msg--user { align-self: flex-end; background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.msg a { font-weight: 600; }
.msg--typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa7b3; animation: typing 1.1s infinite ease-in-out; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid var(--c-border); background: #fff; }
.chip { flex: none; padding: 7px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--c-border); background: #fff; color: var(--c-primary); font: 600 14px var(--f-body); cursor: pointer; transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background-color var(--t) var(--ease); }
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); background: #fff7f2; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--c-border); background: #fff; }
.chat__form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1.5px solid #c5cfd8; border-radius: var(--radius-pill); font: 400 15px var(--f-body); }
.chat__form input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, .18); }
.chat__send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-accent); color: #fff; cursor: pointer; flex: none; }
.chat__send:hover { background: var(--c-accent-hover); }
.chat__send .icon { width: 20px; height: 20px; }

/* demo notice (bottom-left) */
.demo-notice { position: fixed; left: 16px; bottom: 16px; z-index: 140; width: min(360px, calc(100vw - 104px)); padding: 16px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--c-border); border-left: 4px solid var(--c-secondary); box-shadow: var(--shadow-lg); font-size: 14px; }
@media (min-width: 768px) { .demo-notice { left: 24px; bottom: 24px; } }
.demo-notice[hidden] { display: none; }
.demo-notice__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 700 15px var(--f-heading); color: var(--c-primary); }
.demo-notice__title .icon { width: 18px; height: 18px; color: var(--c-accent); }
.demo-notice__text { margin: 0 0 12px; color: var(--c-muted); line-height: 1.5; }
.demo-notice__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 380px) { .demo-notice__actions .btn { flex: 1 1 100%; } }

/* ---------- motion: progressive enhancement ---------- */
html.js [data-animate] { opacity: 0; }
html.js [data-animate="fade-up"] { transform: translateY(24px); }
html.js [data-animate="fade-left"] { transform: translateX(-24px); }
html.js [data-animate="fade-right"] { transform: translateX(24px); }
html.js [data-animate="scale-in"] { transform: scale(.97); }
html.reveal-all [data-animate], html.no-anim [data-animate] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-animate] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scroll-progress { display: none; }
}
