/* Kestrelo Auto Works demo — main stylesheet.
   Tokens map 1:1 to Elementor Global Colors / Fonts (see ELEMENTOR-NOTES.md).
   Breakpoints: mobile <=767, tablet 768-1024, desktop >=1025. Mobile-first. */

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

/* ---------- Tokens ---------- */
:root {
  --c-primary: #0E5A8A;
  --c-primary-dark: #0B4A72;
  --c-primary-tint: #E7F0F7;
  --c-secondary: #0F2233;
  --c-secondary-2: #16304A;
  --c-text: #334155;
  --c-muted: #5B6878;
  --c-accent: #F2A33A;
  --c-accent-dark: #D98B1F;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F4F7FA;
  --c-border: #DCE3EA;
  --c-success: #1F7A4D;
  --c-success-tint: #E6F4EC;
  --c-warning-tint: #FDF2E2;
  --c-error: #B42318;
  --c-error-tint: #FDECEA;

  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", 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;
  --section-y: 48px;
  --radius-sm: 8px; --radius: 14px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 34, 51, .06);
  --shadow-md: 0 8px 24px rgba(15, 34, 51, .08);
  --shadow-lg: 0 16px 40px rgba(15, 34, 51, .12);
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
}
@media (min-width: 768px) { :root { --section-y: 64px; --gutter: 24px; } }
@media (min-width: 1025px) { :root { --section-y: 96px; --header-h: 80px; } }

/* ---------- 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); }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--c-text); background: var(--c-surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 768px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-secondary); line-height: 1.15; margin: 0 0 var(--s-2); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
h2, .h2 { font-size: 28px; font-weight: 800; }
h3, .h3 { font-size: 20px; font-weight: 700; }
h4, .h4 { font-size: 18px; font-weight: 700; }
@media (min-width: 768px) { h1 { font-size: 44px; } h2, .h2 { font-size: 32px; } h3, .h3 { font-size: 22px; } }
@media (min-width: 1025px) { h1 { font-size: 52px; } h2, .h2 { font-size: 38px; } h3, .h3 { font-size: 24px; } h4, .h4 { font-size: 19px; } }
p { margin: 0 0 var(--s-2); }
ul, ol { margin: 0; padding: 0; }
.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: 1000; background: var(--c-secondary); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 16px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(800px + var(--gutter) * 2); }
.container-media { max-width: calc(1000px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section-tight { padding-top: var(--s-4); }
.section-alt { background: var(--c-surface-alt); }
.section-dark { background: var(--c-secondary); color: #C9D3DD; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--s-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { margin-bottom: var(--s-4); }
.section-foot { margin-top: var(--s-5); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); margin-bottom: var(--s-2); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.section-head.center .eyebrow { justify-content: center; }
.section-dark .eyebrow { color: #9CC7E6; }
.lead { font-size: 18px; color: var(--c-text); max-width: 640px; }
@media (min-width: 1025px) { .lead { font-size: 19px; } }
.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); } }
.split { display: grid; gap: var(--s-5); align-items: center; }
@media (min-width: 1025px) { .split { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); } .split.reverse > :first-child { order: 2; } }
.media-frame { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-surface-alt); box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons & links ---------- */
.btn { 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 transparent; font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--c-primary); border-color: var(--c-primary); }
.btn-secondary:hover { background: var(--c-primary-tint); color: var(--c-primary-dark); }
.btn-accent { background: var(--c-accent); color: var(--c-secondary); }
.btn-accent:hover { background: #F6B65C; color: var(--c-secondary); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (hover: hover) { .btn-primary:hover, .btn-accent:hover, .btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; color: var(--c-primary); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover .icon, .card-link:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { box-shadow: var(--shadow-md); border-bottom-color: var(--c-border); }
.header-inner { display: flex; align-items: center; gap: var(--s-3); height: var(--header-h); transition: height var(--t-fast) var(--ease); }
.site-header.is-scrolled .header-inner { height: 60px; }
@media (min-width: 1025px) { .site-header.is-scrolled .header-inner { height: 64px; } }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-secondary); flex: none; }
.logo:hover { color: var(--c-secondary); }
.logo-mark { width: 36px; height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-head); }
.logo-name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.logo-sub { font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }
.logo-light { color: #fff; }
.logo-light:hover { color: #fff; }
.logo-light .logo-sub { color: #9FB0C0; }

.main-nav { display: none; margin-left: auto; }
@media (min-width: 1025px) { .main-nav { display: block; } }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font: 600 15px/1 var(--f-body); color: var(--c-secondary); background: none; border: 0; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--c-accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast) var(--ease); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--c-primary); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link[data-current]::after, .nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link[data-current] { color: var(--c-primary); }
.dropdown-caret { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
[aria-expanded="true"] > .dropdown-caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 1025px) { .header-actions { margin-left: var(--s-2); } }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c-secondary); text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--c-primary); }
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }
.header-cta { display: none; }
@media (min-width: 480px) { .header-cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: var(--c-surface-alt); color: var(--c-secondary); border: 1px solid var(--c-border); border-radius: var(--radius-sm); font: 600 15px/1 var(--f-body); cursor: pointer; }
@media (min-width: 1025px) { .menu-toggle { display: none; } }
.menu-toggle-box { position: relative; width: 18px; height: 14px; }
.menu-toggle-box span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform 250ms var(--ease), opacity 150ms var(--ease), top 250ms var(--ease); }
.menu-toggle-box span:nth-child(1) { top: 0; }
.menu-toggle-box span:nth-child(2) { top: 6px; }
.menu-toggle-box span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Dropdown (nav menus + form selects) */
.dropdown { position: relative; }
.dropdown-list { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 240px; max-height: min(70vh, 480px); overflow-y: auto; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow-lg); }
.dropdown-list[hidden] { display: none; }
.dropdown-list.is-open { animation: dd-in .2s var(--ease) both; }
@keyframes dd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html:not(.js) .dropdown-menu:hover > .dropdown-list, html:not(.js) .dropdown-menu:focus-within > .dropdown-list { display: block; }
.dropdown-menu .dropdown-list::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dropdown-wide { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 2px 8px; }
.dropdown-wide[hidden] { display: none; }
.dropdown-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-secondary); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.3; }
.dropdown-list a .icon { width: 18px; height: 18px; color: var(--c-primary); }
.dropdown-list a:hover, .dropdown-list a:focus-visible { background: var(--c-primary-tint); color: var(--c-primary-dark); outline-offset: -2px; }
.dropdown-list a[aria-current="page"] { background: var(--c-primary-tint); color: var(--c-primary-dark); font-weight: 600; }
.dropdown-all { grid-column: 1 / -1; border-top: 1px solid var(--c-border); margin-top: 4px; padding-top: 4px; }
.dropdown-all a { justify-content: space-between; font-weight: 700; color: var(--c-primary); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(15, 34, 51, .45); opacity: 0; transition: opacity 300ms var(--ease); }
.mobile-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-3) var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); transform: translateX(100%); transition: transform 350ms var(--ease); box-shadow: var(--shadow-lg); }
.mobile-menu.is-open .mobile-menu-overlay { opacity: 1; }
.mobile-menu.is-open .mobile-menu-panel { transform: none; }
.m-nav { list-style: none; }
.m-item { border-bottom: 1px solid var(--c-border); }
.m-link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 4px; font: 700 18px/1.2 var(--f-head); color: var(--c-secondary); background: none; border: 0; text-decoration: none; cursor: pointer; text-align: left; }
.m-link .icon { transition: transform var(--t-fast) var(--ease); }
.m-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.m-link[aria-current="page"], .m-link[data-current] { color: var(--c-primary); }
.m-sub { list-style: none; padding: 0 0 12px 8px; }
.m-sub a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-text); text-decoration: none; font-weight: 500; }
.m-sub a:hover, .m-sub a[aria-current="page"] { background: var(--c-primary-tint); color: var(--c-primary-dark); }
.m-footer { margin-top: auto; display: grid; gap: 12px; }
.m-contact { display: flex; align-items: center; gap: 10px; color: var(--c-secondary); text-decoration: none; font-weight: 600; padding: 4px; }
.m-contact .icon { color: var(--c-primary); }
html.menu-open, html.chat-locked { overflow: hidden; }
html.menu-open .demo-notice, html.menu-open .chatbot { visibility: hidden; }

/* ---------- Breadcrumb, page hero ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; color: var(--c-muted); margin-bottom: var(--s-3); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #9AA6B2; }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-secondary); font-weight: 500; }
.page-hero { background: linear-gradient(180deg, var(--c-surface-alt), #fff); padding-block: var(--s-6) var(--s-6); border-bottom: 1px solid var(--c-border); }
@media (min-width: 1025px) { .page-hero { padding-block: var(--s-10) var(--s-10); } }
.page-hero h1 { max-width: 820px; }
.page-hero-split .split-media { max-width: 640px; }
.post-hero { border-bottom: 0; padding-bottom: var(--s-4); }
.post-media { margin-bottom: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); margin-bottom: var(--s-2); }
.tag { display: inline-block; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--c-primary-tint); color: var(--c-primary-dark); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 0; }

/* ---------- Home hero ---------- */
.hero { padding-block: var(--s-6) var(--s-8); background: linear-gradient(180deg, var(--c-surface-alt) 0%, #fff 100%); }
@media (min-width: 1025px) { .hero { padding-block: var(--s-10) var(--s-12); } }
.hero h1 { font-size: 38px; }
@media (min-width: 768px) { .hero h1 { font-size: 48px; } }
@media (min-width: 1025px) { .hero h1 { font-size: 56px; } }
.hero .btn-row { margin-block: var(--s-4); }
.hero-media { position: relative; }
.hero-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14px; color: var(--c-secondary); }
.hero-badge strong { display: block; font-family: var(--f-head); font-size: 18px; }
.hero-badge .icon { width: 28px; height: 28px; color: var(--c-accent); }
@media (min-width: 1025px) { .hero-badge { left: -24px; bottom: 32px; } }

/* Check lists */
.list-check, .list-alert, .list-dot, .icon-list { list-style: none; display: grid; gap: 12px; }
.list-check li, .list-alert li, .list-dot li { position: relative; padding-left: 32px; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-success-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A4D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.list-alert li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-warning-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B25E00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }
.list-dot li::before { content: ""; position: absolute; left: 8px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; column-gap: var(--s-4); } }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list .icon { color: var(--c-primary); margin-top: 3px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-size: 15px; font-weight: 500; color: var(--c-secondary); }
.checks-inline li { display: inline-flex; align-items: center; gap: 8px; }
.checks-inline .icon { width: 18px; height: 18px; color: var(--c-success); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 1025px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--s-3) var(--s-2); }
.stat-number { display: block; font-family: var(--f-head); font-weight: 800; font-size: 36px; line-height: 1.1; color: var(--c-primary); font-variant-numeric: tabular-nums; }
@media (min-width: 1025px) { .stat-number { font-size: 44px; } }
.stat-label { display: block; margin-top: 6px; font-size: 15px; color: var(--c-muted); }
.stats-band { background: #fff; border-block: 1px solid var(--c-border); }
.section-dark .stat-number { color: #fff; }
.section-dark .stat-label { color: #AEBBC8; }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.card-body { padding: var(--s-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
@media (min-width: 1025px) { .card-body { padding: var(--s-4); } }
.card-body > :last-child { margin-bottom: 0; }
.card-body h3, .card-body h2 { margin-bottom: 4px; }
.card-body p { margin: 0; }
.card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-surface-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card-link .stretched { color: inherit; text-decoration: none; }
.card-link .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link .stretched:focus-visible { outline: none; }
.card-link:has(.stretched:focus-visible) { outline: 3px solid var(--c-accent); outline-offset: 2px; }
@media (hover: hover) {
  .card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D5E0; }
  .card-link:hover .card-media img { transform: scale(1.04); }
  .card-link:hover h3 a, .card-link:hover h2 a { color: var(--c-primary); }
}
.icon-card .card-body { gap: 10px; }
.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--c-primary-tint); color: var(--c-primary); margin-bottom: 8px; }
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge.is-success { background: var(--c-success-tint); color: var(--c-success); }
.icon-badge.is-warning { background: var(--c-warning-tint); color: #B25E00; }
.icon-badge.is-error { background: var(--c-error-tint); color: var(--c-error); }

/* Feature list (why us) */
.feature-list { list-style: none; display: grid; gap: var(--s-3); margin-block: var(--s-4); }
.feature-list li { display: flex; gap: var(--s-2); }
.feature-list h3 { font-size: 18px; margin-bottom: 4px; }
.feature-list p { margin: 0; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: var(--s-3); background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-2); border-radius: 50%; background: var(--c-secondary); color: #fff; font: 800 18px/1 var(--f-head); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; }
.steps-vertical { display: grid; gap: var(--s-3); }

/* Marquee */
.marquee-section { padding-block: var(--s-6); border-block: 1px solid var(--c-border); background: #fff; overflow: hidden; }
.marquee-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: var(--s-3); }
.marquee-head h2 { font-size: 22px; margin: 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.marquee.is-running .marquee-track { flex-wrap: nowrap; width: max-content; }
.marquee-track li { padding: 10px 20px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); font: 700 16px/1.2 var(--f-head); color: var(--c-secondary); background: var(--c-surface-alt); white-space: nowrap; }

/* Testimonials */
.quote-card { padding: var(--s-4) var(--s-3); gap: var(--s-2); }
.stars { display: flex; gap: 2px; color: var(--c-accent); }
.stars .icon { width: 18px; height: 18px; }
.quote-card blockquote { margin: 0; font-size: 17px; color: var(--c-secondary); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 15px; }
.quote-card figcaption strong { display: block; color: var(--c-secondary); }
.quote-card figcaption span { color: var(--c-muted); font-size: 14px; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-secondary); color: #fff; font: 700 15px/1 var(--f-head); letter-spacing: .02em; }
.avatar::before { content: attr(data-initials); }
.avatar-lg { width: 72px; height: 72px; font-size: 22px; background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); }

/* Team */
.team-card { align-items: center; text-align: center; padding: var(--s-4) var(--s-3); gap: 6px; }
.team-card h3 { font-size: 18px; margin: 10px 0 0; }
.team-card p { margin: 0; color: var(--c-muted); font-size: 15px; }
.note { font-size: 14px; color: var(--c-muted); margin-top: var(--s-3); }

/* Accordion */
.accordion { display: grid; gap: 12px; }
.accordion-item { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.accordion-heading { margin: 0; font-size: 17px; }
.accordion-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--s-2); padding: 18px 20px; background: none; border: 0; text-align: left; font: 700 17px/1.35 var(--f-head); color: var(--c-secondary); cursor: pointer; }
.accordion-trigger:hover { color: var(--c-primary); }
.accordion-trigger:focus-visible { outline-offset: -3px; }
.accordion-icon { transition: transform var(--t-fast) var(--ease); color: var(--c-primary); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease); }
.accordion-panel > .accordion-panel-inner { overflow: hidden; padding: 0 20px; }
.accordion-trigger[aria-expanded="true"] + .accordion-panel, .accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.is-open .accordion-panel-inner { padding-bottom: 18px; }
html:not(.js) .accordion-panel { grid-template-rows: 1fr; }
html:not(.js) .accordion-panel-inner { padding-bottom: 18px; }
.accordion-panel-inner p:last-child { margin-bottom: 0; }
.faq-groups { display: grid; gap: var(--s-6); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--c-secondary); color: #C9D3DD; padding-block: var(--s-8); }
.cta-band-bg { position: absolute; inset: -40px 0; background: url("/assets/images/engine-belt-drive-1200.webp") center / cover no-repeat; opacity: .16; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-secondary) 15%, rgba(15, 34, 51, .4)); }
.cta-inner { position: relative; display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 1025px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-inner .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 560px; font-size: 18px; }

/* Content + aside */
.content-aside { display: grid; gap: var(--s-6); }
@media (min-width: 1025px) { .content-aside { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); align-items: start; gap: var(--s-8); } }
.prose { font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: var(--s-6); }
.prose h3 { font-size: 20px; margin-top: var(--s-4); }
.prose > :first-child, .prose > .prose-section:first-child > h2 { margin-top: 0; }
.prose ul, .prose ol { margin-bottom: var(--s-3); }
.prose ol { padding-left: 24px; display: grid; gap: 8px; }
.prose ol li::marker { font-weight: 700; color: var(--c-primary); }
.prose a { font-weight: 600; }
.prose strong { color: var(--c-secondary); }
.service-prose .prose-section + .prose-section { border-top: 1px solid var(--c-border); padding-top: var(--s-2); margin-top: var(--s-5); }
.service-prose .prose-section h2 { margin-top: var(--s-3); }
.aside-card { padding: var(--s-4); background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--radius); display: grid; gap: var(--s-3); }
@media (min-width: 1025px) { .aside-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card h2 { margin: 0; }
.aside-call { text-align: center; font-weight: 600; }
.back-link { margin-top: var(--s-5); }
.back-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }

/* Pricing list */
.price-list { list-style: none; display: grid; gap: 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.price-list li { display: flex; justify-content: space-between; gap: var(--s-2); padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.price-list li:last-child { border-bottom: 0; }
.price-list span:first-child { font-weight: 600; color: var(--c-secondary); }
.price-list span:last-child { color: var(--c-primary-dark); font-weight: 700; text-align: right; }

/* Info / callout block */
.callout { display: grid; gap: var(--s-4); padding: var(--s-4); background: var(--c-primary-tint); border-radius: var(--radius); }
@media (min-width: 1025px) { .callout { grid-template-columns: 1.5fr 1fr; align-items: center; padding: var(--s-6); } .callout .btn-row { justify-content: flex-end; } }
.callout h2 { margin-bottom: 12px; }
.callout p { margin: 0; }

/* Rating summary */
.rating-summary { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: var(--s-3); padding: 16px 20px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.rating-score { font: 800 40px/1 var(--f-head); color: var(--c-secondary); }
.rating-summary p { margin: 0; font-size: 15px; color: var(--c-muted); }
.rating-summary strong { color: var(--c-secondary); display: block; }
.review-meta { font-size: 14px; color: var(--c-muted); }

/* Report mock (digital inspections) */
.report { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; max-width: 560px; }
.report-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--c-secondary); color: #fff; font-weight: 600; font-size: 15px; }
.report-head .icon { color: var(--c-accent); }
.report-list { list-style: none; max-height: 320px; overflow-y: auto; }
.report-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 20px; border-bottom: 1px solid var(--c-border); font-size: 15px; color: var(--c-secondary); }
.report-actions { display: flex; gap: 8px; padding: 16px 20px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-red { background: var(--c-error-tint); color: var(--c-error); }
.status-amber { background: var(--c-warning-tint); color: #8A4B00; }
.status-green { background: var(--c-success-tint); color: var(--c-success); }
.caption { font-size: 14px; color: var(--c-muted); margin-top: 12px; }

/* Pin layout */
.pin-layout { display: grid; gap: var(--s-5); }
@media (min-width: 1025px) { .pin-layout { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; } }

/* Area cards */
.area-card .card-body { gap: 6px; }
.area-card .tag { align-self: flex-start; }

/* Forms */
.form-card { position: relative; z-index: 2; padding: var(--s-4) var(--s-3); background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .form-card { position: relative; z-index: 2; padding: var(--s-5); } }
.form-grid { display: grid; gap: var(--s-3); }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field-label { font-weight: 600; font-size: 15px; color: var(--c-secondary); }
.field-control, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--f-body); color: var(--c-secondary); background: #fff; border: 1px solid #B8C4D0; border-radius: var(--radius-sm); transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.field textarea { min-height: 128px; resize: vertical; }
.field-control:hover, .field input:hover, .field textarea:hover { border-color: #8A9AAB; }
.field-control:focus-visible, .field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(14, 90, 138, .22); }
.field.is-invalid .field-control, .field.is-invalid input, .field.is-invalid textarea { border-color: var(--c-error); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field-error { display: none; align-items: center; gap: 6px; font-size: 14px; color: var(--c-error); font-weight: 500; }
.field.is-invalid .field-error { display: flex; }
.field.is-valid .field-control, .field.is-valid input { border-color: var(--c-success); }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check-field input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-primary); flex: none; }
.form-alert { display: none; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--c-error-tint); color: var(--c-error); font-weight: 600; font-size: 15px; }
.form-alert.is-visible { display: block; }
.form-success { text-align: center; padding: var(--s-4) var(--s-2); }
.form-success .icon-badge { width: 64px; height: 64px; margin-inline: auto; }
.form-success .icon-badge .icon { width: 32px; height: 32px; }
.form-note { font-size: 14px; color: var(--c-muted); margin: 0; }
.dropdown-select .dropdown-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; text-align: left; }
.dropdown-select .dropdown-list { width: 100%; min-width: 0; max-height: 280px; }
.dropdown-select [role="option"] { padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; color: var(--c-secondary); font-size: 15px; }
.dropdown-select [role="option"]:hover, .dropdown-select [role="option"].is-active { background: var(--c-primary-tint); }
.dropdown-select [role="option"][aria-selected="true"] { font-weight: 700; color: var(--c-primary-dark); }
.dropdown-select [role="option"][aria-selected="true"]::after { content: " ✓"; }
.dropdown-value.is-placeholder { color: var(--c-muted); }
.contact-grid { display: grid; gap: var(--s-4); }
@media (min-width: 1025px) { .contact-grid { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.contact-card { padding: var(--s-4) var(--s-3); background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--radius); display: grid; gap: var(--s-3); }
.contact-list { list-style: none; display: grid; gap: var(--s-3); }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon-badge { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-list strong { display: block; color: var(--c-secondary); font-size: 15px; }
.contact-list a, .contact-list span { color: var(--c-text); overflow-wrap: anywhere; }
.contact-list li > span:last-child { min-width: 0; }
.contact-grid > * { min-width: 0; }

/* Guides */
.filter-bar { position: relative; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: var(--s-4); }
.filter-bar .dropdown { min-width: 260px; }
.guide-card[hidden] { display: none; }
.card-body > .tag { align-self: flex-start; }
.guide-facts { display: grid; gap: 12px; margin: 8px 0 4px; }
.guide-facts dt { font-weight: 700; font-size: 14px; color: var(--c-secondary); }
.guide-facts dd { margin: 2px 0 0; font-size: 15px; }

/* Social & footer */
.site-footer { background: var(--c-secondary); color: #AEBBC8; font-size: 15px; }
.footer-grid { display: grid; gap: var(--s-5); 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.6fr 1fr 1fr 1.4fr; } }
.footer-brand p { margin: var(--s-3) 0; max-width: 340px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: var(--s-2); letter-spacing: .01em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #D5DEE7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .icon { color: var(--c-accent); margin-top: 3px; width: 18px; height: 18px; }
.social { display: flex; gap: 10px; list-style: none; }
.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-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.social .icon { width: 18px; height: 18px; }
.contact-card .social a { color: var(--c-primary); border-color: var(--c-border); background: #fff; }
.contact-card .social a:hover { background: var(--c-primary-tint); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: var(--s-3); padding-bottom: calc(var(--s-3) + 72px); font-size: 14px; }
@media (min-width: 768px) { .footer-bottom-inner { padding-bottom: var(--s-3); } }
.footer-bottom-inner p { margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; list-style: none; }

/* ---------- 404 ---------- */
.nf { padding-block: var(--s-8) var(--s-10); text-align: center; background: linear-gradient(180deg, var(--c-surface-alt), #fff); }
.nf-number { display: block; font: 800 clamp(96px, 22vw, 200px)/1 var(--f-head); color: var(--c-primary); letter-spacing: -0.04em; margin-bottom: var(--s-2); text-shadow: 0 12px 30px rgba(14, 90, 138, .18); }
.nf .eyebrow { justify-content: center; }
.nf h1 { margin-inline: auto; max-width: 640px; }
.nf p { margin-inline: auto; max-width: 560px; }
.nf-path { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 15px; color: var(--c-muted); }
html:not(.js) .nf-path { display: none; }
.nf-path code { padding: 2px 8px; background: #fff; border: 1px solid var(--c-border); border-radius: 6px; color: var(--c-secondary); word-break: break-all; }
.nf .btn-row { justify-content: center; margin-block: var(--s-4); }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin-top: var(--s-2); }
.nf-links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; color: var(--c-secondary); text-decoration: none; font-weight: 600; }
.nf-links a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- Preloader (demo-only) ---------- */
.preloader { display: none; position: fixed; inset: 0; z-index: 2000; place-items: center; background: #fff; }
html.show-preloader .preloader { display: grid; }
html.show-preloader { overflow: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 14px; }
.preloader .logo-mark { width: 56px; height: 56px; animation: pre-fade .6s var(--ease) both; }
.preloader-name { font: 800 18px/1 var(--f-head); color: var(--c-secondary); animation: pre-fade .6s .1s var(--ease) both; }
.preloader-bar { width: 140px; height: 3px; border-radius: 3px; background: var(--c-border); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 100%; background: var(--c-primary); transform-origin: left; animation: pre-bar .9s var(--ease) both; }
.preloader.is-leaving { opacity: 0; transition: opacity 350ms var(--ease); }
@keyframes pre-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pre-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Demo notice (demo-only) ---------- */
.demo-notice { display: none; position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 88px; max-width: 360px; padding: 16px 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 15px; }
html:not(.js) .demo-notice { display: block; }
html:not(.js) [data-demo-dismiss] { display: none; }
.demo-notice.is-visible { display: block; animation: notice-in .4s var(--ease) both; }
.demo-notice.is-leaving { animation: notice-out .3s var(--ease) both; }
@media (min-width: 768px) { .demo-notice { left: 24px; right: auto; bottom: 24px; } }
.demo-notice-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A4B00; }
.demo-notice-label .icon { width: 16px; height: 16px; }
.demo-notice-text { margin: 0 0 12px; color: var(--c-secondary); font-weight: 500; line-height: 1.5; }
.demo-notice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@keyframes notice-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes notice-out { to { opacity: 0; transform: translateY(16px); } }

/* ---------- Chatbot (demo-only) ---------- */
.chatbot { position: fixed; right: 16px; bottom: 16px; z-index: 160; }
@media (min-width: 768px) { .chatbot { 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-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.chat-launcher:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.chat-launcher .icon { width: 26px; height: 26px; grid-area: 1 / 1; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.chat-icon-close { opacity: 0; transform: rotate(-90deg); }
.chat-launcher[aria-expanded="true"] .chat-icon-open { opacity: 0; transform: rotate(90deg); }
.chat-launcher[aria-expanded="true"] .chat-icon-close { opacity: 1; transform: none; }
.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: var(--c-secondary); font: 700 12px/1 var(--f-body); border: 2px solid #fff; }
.chat-badge[hidden] { display: none; }
.chat-window { position: fixed; right: 16px; left: 16px; bottom: 88px; display: flex; flex-direction: column; max-height: min(620px, calc(100dvh - 120px)); background: #fff; border: 1px solid var(--c-border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: bottom right; }
.chat-window[hidden] { display: none; }
.chat-window.is-open { animation: chat-in .3s var(--ease) both; }
.chat-window.is-closing { animation: chat-out .2s var(--ease) both; }
@media (min-width: 768px) { .chat-window { left: auto; right: 24px; bottom: 96px; width: 380px; } }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chat-out { to { opacity: 0; transform: translateY(12px) scale(.97); } }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--c-secondary); color: #fff; }
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-accent); color: var(--c-secondary); flex: none; }
.chat-avatar .icon { width: 20px; height: 20px; }
.chat-heading { flex: 1; min-width: 0; }
.chat-title { margin: 0; font-size: 16px; color: #fff; }
.chat-status { margin: 0; font-size: 13px; color: #B9C6D3; display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #3CCB7F; }
.chat-label { padding: 3px 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.chat-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, .12); }
.chat-messages { flex: 1; min-height: 220px; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--c-surface-alt); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: msg-in .25s var(--ease) both; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-border); border-bottom-left-radius: 4px; color: var(--c-secondary); }
.chat-msg.user { align-self: flex-end; background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg a { font-weight: 600; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9AA6B2; animation: typing 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--c-border); }
.chat-quick button { padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--c-primary); background: #fff; color: var(--c-primary); font: 600 14px/1.2 var(--f-body); cursor: pointer; }
.chat-quick button:hover { background: var(--c-primary-tint); }
.chat-form { display: flex; gap: 8px; padding: 12px 16px 16px; }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid #B8C4D0; border-radius: var(--radius-pill); font: 400 15px var(--f-body); color: var(--c-secondary); }
.chat-form input:focus-visible { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(14, 90, 138, .22); }
.chat-send { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; cursor: pointer; flex: none; }
.chat-send:hover { background: var(--c-primary-dark); }
.chat-send .icon { width: 18px; height: 18px; }

/* ---------- Animation states (progressive enhancement) ----------
   Content is visible by default. Only when JS runs (html.js), motion is allowed and
   GSAP has not failed (no .anim-fallback), animated elements start hidden. */
html.js:not(.anim-fallback):not(.reduced-motion) [data-animate] { opacity: 0; }
html.js:not(.anim-fallback):not(.reduced-motion) [data-fx="image-reveal"] { clip-path: inset(100% 0 0 0); }
html.js:not(.anim-fallback):not(.reduced-motion) [data-fx="text-split"] { opacity: 0; }
html.anim-fallback [data-animate], html.anim-fallback [data-fx] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

@media print { .site-header, .chatbot, .demo-notice, .preloader, .cta-band { display: none !important; } }
