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

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

:root {
  --c-primary: #13293d;
  --c-secondary: #24405a;
  --c-text: #1b2631;
  --c-accent: #c2410c;
  --c-accent-dark: #9a3412;
  --c-accent-light: #fdba74;
  --c-accent-tint: #fff1e8;
  --c-muted: #52606d;
  --c-sand: #f3f5f7;
  --c-line: #dfe4e9;
  --c-white: #fff;
  --c-footer: #0c1c2b;
  --c-success: #2e7d4f;
  --c-error: #b3261e;
  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-6: 48px; --s-8: 64px; --s-12: 96px;
  --radius-sm: 8px; --radius: 16px; --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(19, 41, 61, .06);
  --shadow-md: 0 10px 30px rgba(19, 41, 61, .10);
  --container: 1200px;
  --header-h: 88px;
  --section-pad: 96px;
  --gap: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1024px) { :root { --section-pad: 64px; --gap: 24px; --header-h: 76px; } }
@media (max-width: 767px) { :root { --section-pad: 48px; --gap: 16px; --header-h: 68px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; padding-top: var(--header-h); font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-accent); text-underline-offset: 3px; }
a:hover { color: var(--c-accent-dark); }
p { margin: 0 0 var(--s-2); }
h1, h2, h3, .h3 { font-family: var(--font-head); color: var(--c-primary); margin: 0 0 var(--s-2); letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: 56px; line-height: 1.1; font-weight: 800; }
h2 { font-size: 40px; line-height: 1.15; font-weight: 700; }
h3, .h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
@media (max-width: 1024px) { h1 { font-size: 46px; } h2 { font-size: 34px; } h3, .h3 { font-size: 21px; } }
@media (max-width: 767px) { body { font-size: 16px; } h1 { font-size: 36px; } h2 { font-size: 28px; } h3, .h3 { font-size: 20px; } }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-accent-light); color: var(--c-primary); }
.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; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.skip-link { position: fixed; left: 16px; top: -120px; z-index: 300; padding: 12px 16px; background: var(--c-primary); color: #fff; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: calc(800px + 48px); }
@media (max-width: 767px) { .container { padding: 0 16px; } }

.section { padding: var(--section-pad) 0; }
.section--tight { padding: var(--s-6) 0; }
.section--sand { background: var(--c-sand); }
.section--navy { background: var(--c-primary); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto var(--s-6); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow { font: 700 14px/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 var(--s-2); }
.lead { font-size: 19px; line-height: 1.6; color: var(--c-muted); }
.muted { color: var(--c-muted); }
@media (max-width: 767px) { .lead { font-size: 17px; } }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-sm); font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn__icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:active { transform: none !important; box-shadow: none !important; }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn--secondary:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-sand); color: var(--c-primary); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--c-primary); transform: translateY(-2px); }
.section--navy .btn:focus-visible, .cta .btn:focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .details-card :focus-visible { outline-color: var(--c-accent-light); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(19, 41, 61, .08); border-bottom-color: var(--c-line); }
@media (min-width: 1025px) { .site-header.is-scrolled .header__inner { height: 68px; } }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-primary); text-decoration: none; }
.logo:hover { color: var(--c-primary); }
.logo__mark { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font: 800 23px/1 var(--font-head); letter-spacing: -.02em; }
.logo__sub { font: 600 11px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }
.logo--light { color: #fff; --logo-accent: var(--c-accent-light); }
.logo--light:hover { color: #fff; }
.logo--light .logo__sub { color: rgba(255, 255, 255, .7); }
.header__actions { display: flex; align-items: center; gap: var(--s-2); }

.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--c-primary); font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active, .has-dropdown.is-open > .nav__link { color: var(--c-primary); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after, .has-dropdown.is-open > .nav__link::after { transform: scaleX(1); }
.nav__chevron { width: 18px; height: 18px; transition: transform .2s; }
.has-dropdown.is-open .nav__chevron { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; z-index: 10; min-width: 270px; max-height: 70vh; overflow: auto; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease), visibility 0s; }
.dropdown__link { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-text); font-weight: 500; text-decoration: none; transition: background-color .15s, color .15s; }
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--c-sand); color: var(--c-primary); }
.dropdown__link[aria-current="page"] { color: var(--c-accent); font-weight: 600; }

.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--c-primary); cursor: pointer; }
.menu-toggle__bars { position: relative; display: block; width: 24px; height: 16px; margin: 0 auto; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7px; }
.menu-toggle__bars span:nth-child(3) { top: 14px; }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (max-width: 1024px) { .nav { display: none; } .menu-toggle { display: inline-block; } }
@media (max-width: 767px) { .header__cta { display: none; } .logo__sub { display: none; } }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.progress__bar { display: block; width: 100%; height: 100%; background: var(--c-accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(9, 24, 36, .55); opacity: 0; transition: opacity .35s; }
.mobile-menu__panel { position: relative; display: flex; flex-direction: column; gap: var(--s-3); width: min(400px, 100%); height: 100%; padding: 20px 24px 32px; overflow-y: auto; background: var(--c-primary); color: #fff; transform: translateX(100%); transition: transform .35s var(--ease); }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav__item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mobile-nav a, .mobile-nav__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; border: 0; background: none; color: #fff; font: 600 19px/1.3 var(--font-head); text-align: left; text-decoration: none; cursor: pointer; }
.mobile-nav__toggle .icon { transition: transform .2s; }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; margin: 0 0 12px; padding: 0 0 0 16px; border-left: 2px solid rgba(255, 255, 255, .15); }
.mobile-nav__sub a { padding: 9px 0; font: 500 16px/1.3 var(--font-body); color: rgba(255, 255, 255, .85); }
.mobile-nav a[aria-current="page"] { color: var(--c-accent-light); }
.mobile-menu__cta { align-self: flex-start; }
.mobile-menu__contact { display: flex; flex-direction: column; gap: 6px; margin-top: auto; font-size: 15px; }
.mobile-menu__contact a { color: rgba(255, 255, 255, .85); }

/* ---------- Media ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-line); aspect-ratio: 4 / 3; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.media--zoom:hover img, .card--media:hover .media img { transform: scale(1.04); }
.media--square { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.media--hero { box-shadow: var(--shadow-md); }

/* ---------- Hero ---------- */
.hero { padding-top: var(--s-8); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-8); align-items: center; }
.hero h1 { margin-bottom: var(--s-3); }
.page-hero { background: var(--c-sand); padding: var(--s-8) 0; }
.page-hero h1 { font-size: 48px; }
.page-hero--compact .hero__content { max-width: 760px; margin: 0 auto; text-align: center; }
.page-hero--compact .crumbs ol { justify-content: center; }
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .page-hero h1 { font-size: 40px; }
}
@media (max-width: 767px) { .hero { padding-top: var(--s-6); } .page-hero { padding: var(--s-6) 0; } .page-hero h1 { font-size: 34px; } }
.crumbs { margin-bottom: var(--s-2); font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #9aa5ad; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-primary); font-weight: 600; }

.checklist { display: grid; gap: 12px; list-style: none; margin: var(--s-3) 0; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist__icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--c-accent-tint); color: var(--c-accent); stroke-width: 2.5; }
.checklist--inline { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; font-weight: 500; color: var(--c-primary); }

/* ---------- Grids + cards ---------- */
.grid { display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Exactly three items: stay in one row on tablet instead of leaving an orphan card. */
@media (min-width: 768px) and (max-width: 1024px) { .grid--3:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--3:has(> :last-child:nth-child(3)) .card { padding: var(--s-3); } }
@media (max-width: 767px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; height: 100%; padding: var(--s-4); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card p { color: var(--c-muted); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s-3); border-radius: 12px; background: var(--c-accent-tint); color: var(--c-accent); }
.card__icon .icon { width: 28px; height: 28px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-weight: 600; text-decoration: none; }
.card__link .icon { width: 18px; height: 18px; transition: transform .2s; }
.card__link:hover { text-decoration: underline; }
.card__link:hover .icon { transform: translateX(3px); }
.card--media { padding: 0; overflow: hidden; }
.card--media .media { border-radius: 0; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-3) var(--s-4) var(--s-4); }
@media (max-width: 767px) { .card { padding: var(--s-3); } .card__body { padding: var(--s-3); } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__content > p:not(.eyebrow) { color: var(--c-muted); }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: var(--s-4); } .split--reverse .split__media { order: 0; } }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); list-style: none; margin: 0; padding: 0; text-align: center; }
.stat__value { margin: 0 0 4px; font: 800 48px/1 var(--font-head); color: var(--c-primary); font-variant-numeric: tabular-nums; }
.stat__suffix { color: var(--c-accent); }
.stat__label { margin: 0; font-size: 15px; color: var(--c-muted); }
@media (max-width: 1024px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-4); } .stat__value { font-size: 40px; } }

/* ---------- Steps + horizontal scroll ---------- */
.steps { counter-reset: step; }
.step { position: relative; height: 100%; padding: var(--s-4); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.step__num { display: inline-block; margin-bottom: var(--s-2); padding: 4px 12px; border-radius: 999px; background: var(--c-accent-tint); color: var(--c-accent); font: 800 14px/1.4 var(--font-head); letter-spacing: .06em; }
.step p { margin: 0; color: var(--c-muted); }
.hscroll__viewport { overflow: visible; }
.hscroll.is-active { display: flex; align-items: center; min-height: calc(100vh - 68px); overflow: hidden; }
.hscroll.is-active > .container { width: 100%; }
.hscroll.is-active .hscroll__viewport { overflow: visible; }
.hscroll.is-active .steps { display: flex; width: max-content; gap: var(--gap); }
.hscroll.is-active .step { width: 380px; flex: none; }

/* ---------- Testimonials, team ---------- */
.quote { gap: var(--s-2); }
.quote__icon { width: 32px; height: 32px; color: var(--c-accent); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { color: var(--c-text); font-size: 17px; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__by p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.quote__by strong { color: var(--c-primary); }
.quote__by span:not(.avatar) { font-size: 14px; color: var(--c-muted); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--c-primary); color: #fff; font: 700 16px/1 var(--font-head); }
.team-card { text-align: center; }
.team-card .media { margin-bottom: var(--s-2); }
.team-card h3 { margin-bottom: 4px; font-size: 20px; }
.team-card p { margin: 0; color: var(--c-muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__h { margin: 0; font-size: inherit; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); width: 100%; padding: var(--s-3) 0; border: 0; background: none; color: var(--c-primary); font: 700 19px/1.4 var(--font-head); text-align: left; cursor: pointer; }
.faq__q:hover { color: var(--c-accent); }
.faq__icon { width: 22px; height: 22px; color: var(--c-accent); transition: transform .25s var(--ease); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding-bottom: var(--s-3); color: var(--c-muted); }
.js .faq__item:not(.is-open) .faq__a { grid-template-rows: 0fr; }
@media (max-width: 767px) { .faq__q { font-size: 17px; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--c-primary); color: #fff; text-align: center; }
.cta__bg { position: absolute; top: -40px; bottom: -40px; left: 0; right: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta--image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(19, 41, 61, .84); }
.cta__inner { position: relative; z-index: 2; max-width: calc(760px + 48px); }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, .88); }
.cta .btn-row { justify-content: center; }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: var(--s-4) 0; overflow: hidden; }
.marquee__viewport { overflow: hidden; }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; list-style: none; margin: 0; padding: 0 72px 0 24px; }
.marquee.is-running .marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0; gap: 0; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; font: 700 24px/1.3 var(--font-head); color: #fff; white-space: nowrap; }
.marquee.is-running .marquee__item { padding-right: 40px; }
.marquee__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent-light); }
.marquee.is-running .marquee__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__toggle { position: absolute; right: 16px; top: 50%; display: none; place-items: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: var(--c-primary); color: #fff; cursor: pointer; }
.marquee.is-running .marquee__toggle { display: grid; }
.marquee__toggle .icon { width: 18px; height: 18px; }
.marquee__toggle:focus-visible { outline-color: var(--c-accent-light); }
@media (max-width: 767px) { .marquee__item { font-size: 19px; } }

/* ---------- Forms ---------- */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6); align-items: start; }
.contact--form { align-items: center; }
@media (max-width: 1024px) { .contact { grid-template-columns: 1fr; } }
.form-card { padding: 40px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 767px) { .form-card { padding: var(--s-3); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-3); }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--c-primary); }
.req { color: var(--c-accent); }
.field input, .field textarea, .select__button { width: 100%; min-height: 48px; padding: 12px 16px; border: 1.5px solid #c3ccd5; border-radius: var(--radius-sm); background: #fff; color: var(--c-text); font: 400 16px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover, .select__button:hover { border-color: #7d8a96; }
.field input:focus, .field textarea:focus, .select__button:focus, .select.is-open .select__button { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, .2); outline: none; }
.field input:disabled, .field textarea:disabled { opacity: .55; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--c-error); background: #fffafa; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }
.field.is-valid input, .field.is-valid textarea, .field.is-valid .select__button { border-color: var(--c-success); }
.field__error { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--c-error); font-size: 14px; font-weight: 500; }
.field__error .icon { width: 18px; height: 18px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-4); }
.form__note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--c-muted); font-size: 15px; }
.form__note .icon { width: 20px; height: 20px; color: var(--c-accent); }
.form-success { display: flex; gap: var(--s-2); margin-top: var(--s-3); padding: var(--s-3); border: 1px solid #b7dcc4; border-radius: 12px; background: #eaf5ee; color: #1d5636; }
.form-success:focus { outline: 3px solid var(--c-success); outline-offset: 2px; }
.form-success__icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--c-success); color: #fff; stroke-width: 2.5; }
.form-success p { margin: 0; }
.form-success__title { font: 700 18px/1.4 var(--font-head); }

.select { position: relative; }
.select__button { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; }
.select__value { color: var(--c-muted); }
.select.has-value .select__value { color: var(--c-text); }
.select__chevron { width: 20px; height: 20px; color: var(--c-muted); transition: transform .2s; }
.select.is-open .select__chevron { transform: rotate(180deg); }
.select__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; max-height: 240px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease); }
.select.is-open .select__list { opacity: 1; transform: none; }
.select__list:focus { outline: none; }
.select__option { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; }
.select__option.is-active { background: var(--c-sand); }
.select__option[aria-selected="true"] { color: var(--c-accent); font-weight: 600; }
.select__check { width: 18px; height: 18px; opacity: 0; }
.select__option[aria-selected="true"] .select__check { opacity: 1; }

.details-card { padding: 40px; border-radius: var(--radius); background: var(--c-primary); color: rgba(255, 255, 255, .9); }
.details-card h2 { color: #fff; }
.details { display: grid; gap: var(--s-3); list-style: none; margin: var(--s-3) 0; padding: 0; }
.details li { display: flex; gap: 14px; }
.details li > .icon { color: var(--c-accent-light); margin-top: 2px; }
.details li div { display: flex; flex-direction: column; }
.details__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent-light); }
.details a { color: #fff; }
@media (max-width: 767px) { .details-card { padding: var(--s-3); } }

.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; transition: background-color .2s, border-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.social .icon { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.nf { text-align: center; }
.nf__code { margin: 0 0 var(--s-2); font: 800 200px/1 var(--font-head); letter-spacing: -.05em; color: var(--c-primary); }
.nf__code span { color: var(--c-accent); }
.nf__path { color: var(--c-muted); word-break: break-all; }
.nf__path code { padding: 2px 8px; border-radius: 6px; background: var(--c-sand); color: var(--c-primary); font-size: 15px; }
.nf .btn-row { justify-content: center; }
.nf__links { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.nf__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.nf__links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.nf__links a:hover { text-decoration: underline; }
.nf__links .icon { width: 18px; height: 18px; }
@media (max-width: 767px) { .nf__code { font-size: 128px; } }

/* ---------- Footer ---------- */
.site-footer { padding-top: 80px; background: var(--c-footer); color: rgba(255, 255, 255, .78); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: var(--s-4); padding-bottom: var(--s-6); }
.footer__brand p { max-width: 340px; margin: var(--s-2) 0 var(--s-3); }
.footer__brand .footer__tagline { margin-bottom: 0; color: var(--c-accent-light); font: 700 16px/1.4 var(--font-head); }
.footer__title { margin-bottom: var(--s-2); font: 700 16px/1.3 var(--font-head); color: #fff; letter-spacing: 0; }
.footer__title--small { margin-bottom: 12px; font-size: 14px; }
.footer__links, .footer__contact { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact .icon { width: 20px; height: 20px; color: var(--c-accent-light); margin-top: 2px; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px var(--s-3); padding-top: var(--s-3); padding-bottom: var(--s-3); border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__licence { display: inline-block; margin-left: 8px; color: rgba(255, 255, 255, .6); }
.footer__top { display: inline-flex; align-items: center; gap: 6px; }
.footer__top .icon { width: 18px; height: 18px; }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-4); } .site-footer { padding-top: var(--s-6); padding-bottom: 88px; } }

/* ---------- Demo extras: preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3); background: #fff; color: var(--c-primary); transition: opacity .4s ease, visibility .4s; }
html.show-preloader .preloader { display: flex; animation: preloader-failsafe .4s ease 2.4s forwards; }
.preloader__mark { width: 72px; height: 72px; animation: preloader-logo .4s ease both; }
.preloader__line { width: 160px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--c-line); }
.preloader__bar { display: block; width: 100%; height: 100%; background: var(--c-accent); transform: scaleX(0); transform-origin: left; animation: preloader-bar .9s var(--ease) .1s forwards; }
.preloader.is-leaving { opacity: 0; visibility: hidden; }
@keyframes preloader-logo { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes preloader-bar { to { transform: scaleX(1); } }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Demo extras: notice (bottom-left) ---------- */
.demo-notice { position: fixed; left: 24px; bottom: 24px; z-index: 70; width: min(360px, calc(100vw - 48px - 72px)); padding: 20px; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: 12px; box-shadow: 0 12px 40px rgba(19, 41, 61, .18); }
.demo-notice__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 700 15px/1.3 var(--font-head); color: var(--c-primary); }
.demo-notice__title .icon { width: 20px; height: 20px; color: var(--c-accent); }
.demo-notice__text { margin: 0 0 var(--s-2); font-size: 15px; line-height: 1.5; }
.demo-notice__actions { display: flex; flex-wrap: wrap; gap: 8px; }
html.js .demo-notice { opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
html.js .demo-notice.is-visible { opacity: 1; visibility: visible; transform: none; }
html.notice-dismissed .demo-notice { display: none; }
@media (max-width: 767px) { .demo-notice { left: 12px; bottom: 12px; width: calc(100vw - 24px - 72px); padding: 14px; } .demo-notice__text { font-size: 14px; } }

/* ---------- Demo extras: chatbot (bottom-right) ---------- */
.chatbot__launcher { position: fixed; right: 24px; bottom: 24px; z-index: 75; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--c-accent); color: #fff; box-shadow: 0 10px 30px rgba(194, 65, 12, .35); cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.chatbot__launcher:hover { background: var(--c-accent-dark); transform: translateY(-2px); }
.chatbot__launcher .icon { width: 28px; height: 28px; }
.chatbot__badge { position: absolute; top: -2px; right: -2px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: var(--c-primary); color: #fff; font: 700 12px/1 var(--font-body); }
.chatbot.is-seen .chatbot__badge { display: none; }
.chatbot__panel { position: fixed; right: 24px; bottom: 96px; z-index: 76; display: flex; flex-direction: column; width: 380px; height: min(600px, calc(100vh - 140px)); overflow: hidden; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(19, 41, 61, .25); opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.chatbot.is-open .chatbot__panel { opacity: 1; transform: none; }
.chatbot__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--c-primary); color: #fff; }
.chatbot__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: var(--c-primary); }
.chatbot__mark { width: 28px; height: 28px; }
.chatbot__meta { flex: 1; min-width: 0; }
.chatbot__title { margin: 0; font: 700 16px/1.3 var(--font-head); }
.chatbot__status { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .78); }
.chatbot__label { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.icon-btn--light { width: 36px; height: 36px; }
.chatbot__list { display: flex; flex: 1; flex-direction: column; gap: 10px; margin: 0; padding: 16px; overflow-y: auto; list-style: none; background: #f7f9fb; overscroll-behavior: contain; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--c-primary); color: #fff; border-bottom-right-radius: 4px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa5ad; animation: typing 1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chatbot__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--c-line); }
.chip { padding: 6px 12px; border: 1.5px solid var(--c-primary); border-radius: 999px; background: #fff; color: var(--c-primary); font: 600 14px/1.2 var(--font-body); cursor: pointer; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--c-primary); color: #fff; }
.chatbot__form { display: flex; gap: 8px; padding: 12px 16px 16px; }
.chatbot__form input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1.5px solid #c3ccd5; border-radius: 999px; font: 400 15px/1.4 var(--font-body); }
.chatbot__form input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(194, 65, 12, .2); outline: none; }
.chatbot__send { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 50%; background: var(--c-accent); color: #fff; cursor: pointer; }
.chatbot__send:hover { background: var(--c-accent-dark); }
.chatbot__send .icon { width: 20px; height: 20px; }
.no-js .chatbot { display: none; }
@media (max-width: 767px) {
  .chatbot__launcher { right: 12px; bottom: 12px; width: 56px; height: 56px; }
  .chatbot__panel { left: 12px; right: 12px; bottom: 80px; width: auto; height: min(560px, calc(100vh - 110px)); }
}

/* ---------- Animation pre-states (progressive enhancement) ----------
   Content is visible by default. Only once JS is running (html.js) are animated elements hidden
   until animations.js takes over (fx-ready). fx-failsafe (3s timeout) or reduced motion reveals all. */
html.js:not(.fx-ready):not(.fx-failsafe):not(.reduced-motion) [data-animate]:not([data-animate="counter"]),
html.js:not(.fx-ready):not(.fx-failsafe):not(.reduced-motion) [data-fx="text-split"],
html.js:not(.fx-ready):not(.fx-failsafe):not(.reduced-motion) [data-fx="image-reveal"] { opacity: 0; }
html.fx-failsafe:not(.fx-ready) [data-animate],
html.fx-failsafe:not(.fx-ready) [data-fx] { opacity: 1 !important; visibility: visible !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; }
  .card:hover, .btn:hover { transform: none; }
}

/* ---------- Ridgeline additions ---------- */
@media (min-width: 1025px) and (max-width: 1240px) { .nav__link { padding: 10px 9px; font-size: 15px; } .nav__link::after { left: 9px; right: 9px; } .header__inner { gap: var(--s-2); } }
.post-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-2); color: var(--c-muted); font-size: 15px; font-weight: 500; }
.post-meta .icon { width: 18px; height: 18px; color: var(--c-accent); }
.card__meta { margin: 0 0 8px; color: var(--c-accent); font-size: 14px; font-weight: 600; }
.loc-card h3 { margin-bottom: 8px; }
.loc-card p { margin-bottom: 8px; }
.loc-card__phone { display: flex; align-items: center; gap: 8px; }
.loc-card__phone .icon { width: 18px; height: 18px; color: var(--c-accent); }
.loc-card__phone a { color: var(--c-primary); font-weight: 600; text-decoration: none; }
.loc-card__phone a:hover { color: var(--c-accent); text-decoration: underline; }
.checklist--two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 767px) { .checklist--two { grid-template-columns: 1fr; } }
.location__content h3 { margin-top: var(--s-4); }
.details-card .btn { margin-top: var(--s-1); }
.details__shops-title { margin: var(--s-4) 0 12px; color: #fff; font-size: 17px; }
.details-shops { display: grid; gap: 8px; list-style: none; margin: 0 0 var(--s-3); padding: 0; font-size: 15px; }
.details-shops li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.details-shops a { color: #fff; text-decoration: none; }
.details-shops a:hover { color: var(--c-accent-light); text-decoration: underline; }
.container--prose { max-width: calc(760px + 48px); }
.prose h2 { margin: var(--s-6) 0 12px; font-size: 28px; }
.prose p { color: var(--c-text); font-size: 18px; line-height: 1.75; }
.prose .lead { color: var(--c-muted); font-size: 20px; }
@media (max-width: 767px) { .prose h2 { font-size: 23px; } .prose p { font-size: 17px; } }
.footer__legal { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
