﻿/* ============================================
   Ascora Design System
   Global styles — reusable across all pages
   ============================================ */


/* ============================================
   BASE RESET
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
body { background: #FAFDFF; color: #1a1a1a; overflow-x: hidden; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
strong, b { font-weight: 600; }


/* ============================================
   FONT
   ============================================ */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../framework/fonts/Figtree-VariableFont_wght.ttf') format('truetype');
}


/* ============================================
   TOKENS
   Colors, spacing, radius, shadows
   ============================================ */

:root {
  /* Font */
  --font: 'Figtree', sans-serif;

  /* Primary */
  --color-primary: #007EE6;
  --color-primary-dark: #0066B8;
  --color-primary-gradient: linear-gradient(135deg, #007EE6, #0066B8);

  /* Secondary */
  --color-secondary: #FF9A14;
  --color-secondary-dark: #E56200;
  --color-secondary-gradient: linear-gradient(135deg, #FF9A14, #E56200);

  /* Text */
  --color-text-heading: #002645;
  --color-text-body: #2A343C;
  --color-text-subtitle: #8496AE;

  /* Background */
  --color-bg-darkest: #01192F;
  --color-bg-darker: linear-gradient(135deg, #01192F, #01396F);
  --color-bg-dark: linear-gradient(135deg, #01396F, #015EB7);
  --color-bg-light: #DAECFB;
  --color-bg-lighter: #ECF5FD;
  --color-bg-lightest: #FAFDFF;

  /* Stroke */
  --color-stroke-dark: #7B899E;
  --color-stroke-medium: #CED6E3;
  --color-stroke-light: #E8ECF2;

  /* Padding */
  --padding-4: 4px;
  --padding-8: 8px;
  --padding-12: 12px;
  --padding-16: 16px;
  --padding-24: 24px;
  --padding-32: 32px;
  --padding-48: 48px;
  --padding-64: 64px;

  /* Border radius */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 4px 16px -8px rgba(1, 47, 91, 0.3);
  --shadow-sm: 0 4px 40px -16px rgba(1, 47, 91, 0.3);
  --shadow-md: 0 8px 100px -40px rgba(0, 38, 69, 0.4);
  --shadow-lg: 0 8px 200px -60px rgba(0, 38, 69, 0.5);
}


/* ============================================
   TYPOGRAPHY
   Colors, alignment, scale, and text styles
   ============================================ */

/* Text colors */
.text-heading { color: var(--color-text-heading) !important; }
.text-body { color: var(--color-text-body) !important; }
.text-subtitle { color: var(--color-text-subtitle) !important; }
.text-white { color: #ffffff !important; }
.text-light { color: var(--color-bg-light) !important; }
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-yellow { color: #FFBB46 !important; }
.text-gradient {  font-family: var(--font) !important; background: linear-gradient(135deg, #FF9A14, #E56200); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Text alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
@media (max-width: 768px) { .mobile-left { text-align: left !important; } }

/* Heading wrap */
.heading-wrap { max-width: 650px; margin: 0 auto; }
.heading-wrap-2 { max-width: 750px; margin: 0 auto; }
@media (max-width: 768px) { .heading-wrap .heading-wrap-2{ max-width: 100%; } }
.heading-wrap > .text-overline-xs,
.heading-wrap-2 > .text-overline-xs { display: block; margin-bottom: 12px; }

/* Display & headings — clamp for fluid responsive scaling */
.text-display { font-family: var(--font) !important; font-weight: 800; font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.02em; line-height: 0.9; }
.text-h1 { font-family: var(--font) !important; font-weight: 800; font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -0.02em; line-height: 0.95; }
.text-h2 { font-family: var(--font) !important; font-weight: 800; font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -0.02em; line-height: 1.05; }
.text-h3 { font-family: var(--font) !important; font-weight: 800; font-size: clamp(22px, 2.5vw, 36px); letter-spacing: -0.01em; line-height: 1.1; }
.text-h4 { font-family: var(--font) !important; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.01em; line-height: 1.2; }
.text-h5 { font-family: var(--font) !important; font-weight: 600; font-size: clamp(18px, 1.4vw, 18px); letter-spacing: -0.01em; line-height: 1.4; }

/* Body — fixed px */
.text-body-lg { font-family: var(--font) !important; font-weight: 400; font-size: 18px; letter-spacing: 0; line-height: 1.5; }
.text-body { font-family: var(--font) !important; font-weight: 400; font-size: 16px; letter-spacing: 0; line-height: 1.6; }
.text-body-sm { font-family: var(--font) !important; font-weight: 400; font-size: 14px; letter-spacing: 0; line-height: 1.6; }

/* UI text */
.text-button { font-family: var(--font) !important; font-weight: 600; font-size: 16px; letter-spacing: 0.01em; line-height: 1; text-decoration: none; }
.text-label { font-family: var(--font) !important; font-weight: 500; font-size: 14px; letter-spacing: 0.01em; line-height: 1.4; }
.text-caption { font-family: var(--font) !important; font-weight: 400; font-size: 14px; letter-spacing: 0.01em; line-height: 1.4; color: var(--color-stroke-dark); }
.text-overline { font-family: var(--font) !important; font-weight: 500; font-size: 14px; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; }
.text-overline-xs { font-family: var(--font) !important; font-weight: 500; font-size: 12px; letter-spacing: 0.1em; line-height: 1.6; text-transform: uppercase; }
.text-quote { font-family: var(--font) !important; font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: 0; line-height: 1.4; }


/* ============================================
   LAYOUT
   Sections, containers, flex, and grid
   ============================================ */

/* Sections */
.asc-section { padding: 100px 0; }
.asc-section-tight { padding: 24px 0 !important; }
.asc-section-tight-top { padding: 0 0 100px 0 !important; }
@media (max-width: 1024px) { .asc-section { padding: 80px 0; } }
@media (max-width: 768px) {
    .asc-section { padding: 60px 0; }
    .asc-section-tight { padding: 16px 0 !important; }
    .asc-section-tight-top { padding-top: 0 0 60px 0 !important; }
    .asc-section-full { padding: 60px 0 !important; }
}


.asc-section-full { min-height: 90vh; display: flex; align-items: center; padding: 100px 0; }
.asc-section-logos { padding: 64px 0; }

/* Container */
.asc-container { max-width: 1440px; margin: 0 auto; padding: 0 80px; }
@media (max-width: 1024px) { .asc-container { padding: 0 48px; } }
@media (max-width: 768px) { .asc-container { padding: 0 16px; } }

/* Flex utilities */
.stack { display: flex; flex-direction: column; }
.inline { display: flex; align-items: left; flex-wrap: wrap; }
.inline-row { display: flex; flex-direction: row !important; align-items: flex-start; flex-wrap: wrap; }
@media (max-width: 768px) { .inline { flex-direction: column; } }
@media (max-width: 768px) { .stack-mobile-row { flex-direction: row !important; align-items: center; } }
.self-start { align-self: flex-start; }
.flex-1 { flex: 1; min-width: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.grid-item-divided { border-bottom: 1px solid var(--color-stroke-light); align-items: center; }
.grid-item-divided:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-item-divided:last-child { border-bottom: none; } }
@media (max-width: 768px) { .grid-3-col-2-mobile { grid-template-columns: 1fr 1fr; } }
/* Stackable scroll */
.stack-section { position: relative; }
.stack-item { position: sticky; top: 0; }


/* ============================================
   SPACING
   Gap scale — fluid clamp
   ============================================ */

.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: clamp(16px, 2vw, 24px); }
.gap-32 { gap: clamp(20px, 2.5vw, 32px); }
.gap-48 { gap: clamp(24px, 3.5vw, 48px); }
.gap-64 { gap: clamp(32px, 4.5vw, 64px); }
.gap-80 { gap: clamp(40px, 5.5vw, 80px); }
.gap-100 { gap: clamp(48px, 7vw, 100px); }


/* ============================================
   ANIMATIONS
   Scroll-triggered entrance animations.
   JS adds .in class when element enters viewport.
   Use .anim-delay-* for staggered groups.
   ============================================ */

.anim { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-fast { opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s ease; }
.anim-slow { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim.in, .anim-fast.in, .anim-slow.in { opacity: 1; transform: translateY(0); }
.anim-fade { opacity: 0; transition: opacity 0.6s ease; }
.anim-fade.in { opacity: 1; }
.anim-scale { opacity: 0; transform: scale(0.97); transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-scale.in { opacity: 1; transform: scale(1); }
.anim-delay-1 { transition-delay: 100ms; }
.anim-delay-2 { transition-delay: 200ms; }
.anim-delay-3 { transition-delay: 300ms; }
.anim-delay-4 { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) { .anim, .anim-fast, .anim-slow, .anim-fade, .anim-scale { transition: none; opacity: 1; transform: none; } }


/* ============================================
   BACKGROUNDS
   Reusable section and card background themes
   ============================================ */

.graphic-bg-light { background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-lightest) 100%); }
.graphic-bg-lighter { background: var(--color-bg-lighter); }
.graphic-bg-dark { background: var(--color-bg-dark); }
.graphic-bg-darkest { background: var(--color-bg-darkest); }
.graphic-bg-darker { position: relative; background: url('../img/2026/graphics/bg_section.webp') center/cover no-repeat; }
.graphic-bg-darker::before { content: ''; position: absolute; inset: 0; background: rgba(1, 25, 47, 0.8); pointer-events: none; }
.graphic-bg-darker > * { position: relative; z-index: 1; }
.graphic-bg-radial { background: radial-gradient(ellipse at 50% 70%, #D7E9F4 0%, #FFFFFF 100%); }
.graphic-bg-radial-right { background: radial-gradient(ellipse 45% 55% at 75% 50%, #D7E9F4 0%, #FFFFFF 100%); }
@media (max-width: 768px) { .graphic-bg-radial-right { background: radial-gradient(ellipse 70% 40% at 50% 50%, #D7E9F4 0%, #FFFFFF 100%); } }
.graphic-bg-glass { background: rgba(211, 236, 248, 0.2); border-radius: var(--radius-16); position: relative; }
.graphic-bg-glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #F7F9FB, #45758C); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }


/* ============================================
   CARDS
   Base styles, sizes, and hover effects
   ============================================ */

.card-light { background: var(--color-bg-lightest); box-shadow: var(--shadow-sm); border-radius: var(--radius-16); }
a.card-light,
a.card-light:visited,
a.card-light:hover { text-decoration: none; color: inherit; }
.card-dark { background: var(--color-bg-darker); box-shadow: var(--shadow-lg); border-radius: var(--radius-16); }
.card-xs { padding: 12px; }
.card-sm { padding: 16px; }
.card-md { padding: 24px; }
.card-lg { padding: 40px 32px; }
.card-lg-spacious { padding: 64px 48px; }
@media (max-width: 1024px) { .card-xs { padding: 8px; } .card-sm { padding: 12px; } .card-md { padding: 16px; } .card-lg { padding: 24px; } }
@media (max-width: 768px) { .card-xs { padding: 8px; } .card-sm { padding: 12px; } .card-md { padding: 16px; } .card-lg { padding: 24px; } .card-lg-spacious { padding: 64px 16px; } }
.card-hover { transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-xs); }
.no-shadow { box-shadow: none !important; }


/* ============================================
   IMAGES
   Reusable image containers, overlays, cards
   ============================================ */

/* Image container — pair with inline background-image style */
.img-container { background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: var(--radius-24); }

/* Image overlays */
.img-overlay-fill { position: relative; }
.img-overlay-fill::after { content: ''; position: absolute; inset: 0; background: rgba(1,57,111,0.94); }
.img-overlay-fade { position: relative; }
.img-overlay-fade::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(180deg, rgba(1,47,91,0) 0%, rgba(1,47,91,1.0) 100%); transition: height 0.5s ease; }
.img-overlay-fade:hover::after { height: 100%; }

/* Image cards */
.img-card { flex: 1; min-height: 400px; border-radius: var(--radius-16); overflow: hidden; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.img-card-content { position: absolute; bottom: 0; left: 0; padding: var(--padding-24); z-index: 1; }
@media (max-width: 1024px) { .img-card { min-width: calc(50% - 8px); } }
@media (max-width: 768px) { .img-card { min-width: 100%; } }

/* Feature page full-width image */
.feature-img-full { width: 100%; height: auto; border-radius: var(--radius-16); display: block; box-shadow: var(--shadow-md); }


/* ============================================
   FEATURES
   Reusable feature layout patterns
   ============================================ */

/* Feature container — side by side content + image */
.feature-container { display: flex; align-items: center; border-radius: var(--radius-24); }
.feature-container-reverse { flex-direction: row-reverse; }
.feature-content { flex: 1; }
.feature-img { flex: 1; }
.feature-img img { width: 100%; height: auto; border-radius: var(--radius-16); display: block; }
@media (max-width: 768px) { .feature-container, .feature-container-reverse { flex-direction: column; } }
.feature-card-img { overflow: hidden; border-radius: var(--radius-12) var(--radius-12) 0 0; height: auto; }
.feature-card-img img { width: 100%; height: auto; display: block; }

/* Feature sticky scroll — left scrolls, right image stays sticky */
.feature-scroll-wrap { display: flex; gap: 80px; align-items: flex-start; }
.feature-scroll-left { flex: 1; display: flex; flex-direction: column; }
.feature-scroll-block { min-height: 100vh; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0; }
.feature-scroll-block h3 { max-width: 380px; }
.feature-scroll-right { flex: 1; position: sticky; top: 40px; height: 100vh; display: flex; align-items: center; }
.feature-scroll-right img { width: 100%; border-radius: var(--radius-16); transition: opacity 0.4s ease; }
.feature-mobile-img { display: none; width: 100%; border-radius: var(--radius-16); margin-top: 24px; }
@media (max-width: 768px) {
  .feature-scroll-wrap { flex-direction: column; gap: 0; }
  .feature-scroll-left { flex: none; width: 100%; }
  .feature-scroll-block { min-height: unset; height: auto; padding: 48px 0; border-bottom: 1px solid var(--color-stroke-light); }
  .feature-scroll-block:last-child { border-bottom: none; }
  .feature-scroll-block h3 { max-width: 100%; }
  .feature-scroll-right { display: none; }
  .feature-mobile-img { display: block; }
}


/* ============================================
   COMPONENTS
   Reusable content patterns
   ============================================ */

/* Quote card */
.quote-container { width: 60%; padding: 0 40px 64px 64px; }
@media (max-width: 768px) { .quote-container { width: 80%; padding: 0 20px 40px 20px; } }

/* Logo marquee */
.logo-marquee { display: flex; align-items: center; justify-content: space-between; width: 100%; overflow: hidden; }
.logo-marquee img { height: 40px; flex-shrink: 0; filter: brightness(0) invert(1); }
@media (max-width: 768px) { .logo-marquee { justify-content: flex-start; gap: var(--padding-32); } .logo-marquee img { height: 28px; } .logo-marquee.marquee-active { animation: marquee 20s linear infinite; width: max-content; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* Screenshot card with play button */
.screenshot-card { position: relative; overflow: hidden; border-radius: var(--radius-24); box-shadow: 0 24px 80px -16px rgba(0,0,0,0.15), 0 40px 100px -20px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.hero-poster { position: relative; display: block !important; width: 100% !important; margin: 0; padding: 0; border: none; background: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.hero-poster img { width: 100% !important; height: auto !important; display: block !important; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: var(--radius-full); background: rgba(1,25,47,0.75); background: color-mix(in srgb, var(--color-bg-darkest) 75%, transparent); outline: 4px solid color-mix(in srgb, var(--color-bg-darkest) 30%, transparent); outline-offset: 0; backdrop-filter: blur(4px); box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--color-bg-darkest) 45%, transparent); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, transform 0.3s ease, outline 0.3s ease, box-shadow 0.3s ease; pointer-events: none; }
.hero-poster:hover .play-btn, .hero-poster:focus-visible .play-btn { background: rgba(0,126,230,0.9); background: color-mix(in srgb, var(--color-primary) 90%, transparent); transform: translate(-50%, calc(-50% - 4px)) scale(1.08); outline: 4px solid color-mix(in srgb, var(--color-primary) 25%, transparent); outline-offset: 0; box-shadow: 0 20px 40px -10px color-mix(in srgb, var(--color-primary) 55%, transparent); }
.play-btn svg { width: 32px; height: 32px; fill: #ffffff; margin-left: 2px; }

/*Video*/
.hero-video { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 9; width: 100%; min-height: clamp(160px, 45vw, 220px); }
.hero-video wistia-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
@media (max-width: 768px) { .hero-video { width: 90vw; margin: auto; border-radius: 24px; } }


/* ============================================
   UI COMPONENTS
   Buttons, icons, pills, lists
   ============================================ */
/* Buttons */
.btn-primary-orange { padding: var(--padding-16) var(--padding-32); border-radius: var(--radius-8); border: none; cursor: pointer; background: var(--color-secondary-gradient); color: #ffffff; }
.btn-primary-orange:hover { box-shadow: var(--shadow-xs); filter: brightness(1.08); text-decoration: none; }
.btn-primary-orange:active { box-shadow: var(--shadow-xs); filter: brightness(0.92); text-decoration: none; }
.btn-primary-orange:focus { outline: 3px solid rgba(255,154,20,0.4); }
.btn-primary-orange:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary-blue { padding: var(--padding-16) var(--padding-32); border-radius: var(--radius-8); border: none; cursor: pointer; background: var(--color-primary-gradient); color: #ffffff; }
.btn-primary-blue:hover { box-shadow: var(--shadow-xs); filter: brightness(1.08); text-decoration: none; }
.btn-primary-blue:active { box-shadow: var(--shadow-xs); filter: brightness(0.92); text-decoration: none; }
.btn-primary-blue:focus { outline: 3px solid rgba(0,126,230,0.4); }
.btn-primary-blue:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-outline-light { padding: var(--padding-16) var(--padding-32); border-radius: var(--radius-8); border: 1px solid var(--color-stroke-dark); background: transparent; color: var(--color-text-body); cursor: pointer; }
.btn-outline-light:hover { background: var(--color-bg-lightest); text-decoration: none; }
.btn-outline-light:active { background: var(--color-bg-lightest); text-decoration: none; }
.btn-outline-light:focus { outline: 3px solid rgba(0,126,230,0.4); }
.btn-outline-light:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-outline-dark { padding: var(--padding-16) var(--padding-32); border-radius: var(--radius-8); border: 1px solid var(--color-stroke-medium); background: transparent; color: #ffffff; cursor: pointer; }
.btn-outline-dark:hover { background: rgba(255,255,255,0.10); border-color: var(--color-stroke-dark); text-decoration: none; }
.btn-outline-dark:active { background: rgba(255,255,255,0.15); border-color: var(--color-stroke-dark); text-decoration: none; }
.btn-outline-dark:focus { outline: 3px solid rgba(0,126,230,0.4); }
.btn-outline-dark:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-text { padding: 0; border: none; background: transparent; color: var(--color-primary); cursor: pointer; }
.btn-text:hover { color: var(--color-primary-dark); text-decoration: none !important; }
.btn-text:active { color: var(--color-primary-dark); text-decoration: none !important; }
.btn-text:focus { outline: 3px solid rgba(0,126,230,0.4); }
.btn-text:disabled { opacity: 0.4; cursor: not-allowed; }
/*.card-light:hover .btn-text { text-decoration: none !important; }*/

.btn-text-muted { color: var(--color-text-body); }
.btn-text-muted:hover { color: var(--color-text-heading); }

.btn-primary-dark { color: white !important; padding: var(--padding-16) var(--padding-32); border-radius: var(--radius-8); border: none; cursor: pointer; background: var(--color-text-heading); color: #ffffff; }
.btn-primary-dark:hover { box-shadow: var(--shadow-xs); filter: brightness(1.3); text-decoration: none; }
.btn-primary-dark:active { box-shadow: var(--shadow-xs); filter: brightness(0.85); text-decoration: none; }
.btn-primary-dark:focus { outline: 3px solid rgba(1,25,47,0.4); }
.btn-primary-dark:disabled { opacity: 0.4; cursor: not-allowed; }

/* Icons */
.icon-sm { width: 16px; height: 16px; color: var(--color-primary); position: relative; top: 1px; }
.icon-md { width: 24px; height: 24px; color: var(--color-primary); }
.icon-lg { width: 32px; height: 32px; color: var(--color-primary); }
.icon-xl { width: 64px; height: 64px; color: var(--color-primary); }
.icon-sm-top { position: relative; top: 2px; }
.icon-sm-box { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-8); }
.icon-md-box { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-12); }
.icon-lg-box { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-12); }
.icon-xs-circle { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-full); }
.icon-sm-circle { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-full); }
.icon-md-circle { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-full); }
.icon-lg-circle { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-light); border-radius: var(--radius-full); }
.icon-sm-circle-dark { flex-shrink: 0; background: color-mix(in srgb, var(--color-bg-light) 10%, transparent); color: var(--color-primary); font-family: var(--font); font-weight: 600; font-size: 13px; }
.icon-md-circle-blue { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-dark); border-radius: var(--radius-full); }

/* Pills */
.pill-label-light { display: inline-flex; align-items: center; padding: var(--padding-4) var(--padding-12); background: var(--color-bg-lighter); border: 1px solid var(--color-bg-light); border-radius: var(--radius-full); color: var(--color-primary); }
.pill-label-dark { display: inline-flex; align-items: center; padding: var(--padding-4) var(--padding-12); background: rgba(218,236,251,0.1); border: 1px solid rgba(218,236,251,0.2); border-radius: var(--radius-full); color: var(--color-bg-light); }

/* Compact tag */
.tag { display: inline-flex; align-self: flex-start; align-items: center; padding: var(--padding-4) var(--padding-12); background: var(--color-bg-light); border-radius: var(--radius-full); color: var(--color-primary); font-family: var(--font); font-weight: 500; font-size: 13px; }

/* Lists */
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list-item { display: flex; align-items: center; }


/* =============================================
   PAGE-SPECIFIC STYLES
   Styles below are specific to individual pages.
   Move each block to a page CSS file when scaling.
   ============================================= */


/* ─── HOMEPAGE — hero slideshow ─────────────── */
.hero-bg { background-image: url('../img/2026/graphics/bg_hero.webp'); }
.hero-slideshow { position: relative; border-radius: var(--radius-24); overflow: hidden; box-shadow: 0 16px 80px -16px rgba(0,0,0,0.6); }
.hero-slide { position: absolute; inset: 0; min-height: 500px; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(1,47,91,0) 0%, rgba(1,47,91,1.0) 100%); pointer-events: none; }
.hero-slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--padding-24); z-index: 1; }
.hero-slide-dots { position: absolute; top: 16px; right: 16px; z-index: 2; }
.hero-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s ease, width 0.3s ease; }
.hero-dot.active { background: #ffffff; width: 24px; }
@media (max-width: 768px) {
    .hero-slideshow { width: 100%; min-height: 320px; }
    .hero-slide { min-height: 320px; }
}
@media (max-width: 768px) {
    .inline.items-center { align-items: stretch; }
}

/* ─── HOMEPAGE — social proof logos ─────────── */
.logo-row img { filter: brightness(0) invert(1); }


/* ─── Testimonial ─────────────────── */
.testimonial-carpark { background-image: url('../img/2026/graphics/testimonial_carpark.webp'); }
@media (max-width: 768px) { .testimonial-carpark { background-image: url('../img/2026/graphics/testimonial_carpark_mobile.webp'); } }

.testimonial-ecodrain { background-image: url('../img/2026/graphics/testimonial_ecodrain.webp'); }
@media (max-width: 768px) { .testimonial-ecodrain { background-image: url('../img/2026/graphics/testimonial_ecodrain_mobile.webp'); } }

.testimonial-plumbingbros { background-image: url('../img/2026/graphics/testimonial_ecodrain.webp'); }
@media (max-width: 768px) { .testimonial-plumbingbros { background-image: url('../img/2026/graphics/testimonial_ecodrain_mobile.webp'); } }

.testimonial-dustyfabrication { background-image: url('../img/2026/graphics/testimonial_dustyfabrication.webp'); }
@media (max-width: 768px) { .testimonial-dustyfabrication { background-image: url('../img/2026/graphics/testimonial_dustyfabrication_mobile.webp'); } }

.testimonial-harbourcity { background-image: url('../img/2026/graphics/testimonial_harbourcity.webp'); }
@media (max-width: 768px) { .testimonial-harbourcity { background-image: url('../img/2026/graphics/testimonial_harbourcity_mobile.webp'); } }

.testimonial-jfmaintenance { background-image: url('../img/2026/graphics/testimonial_jfmaintenance.webp'); }
@media (max-width: 768px) { .testimonial-jfmaintenance { background-image: url('../img/2026/graphics/testimonial_jfmaintenance_mobile.webp'); } }

.testimonial-kissmygrass { background-image: url('../img/2026/graphics/testimonial_kissmygrass.webp'); }
@media (max-width: 768px) { .testimonial-kissmygrass { background-image: url('../img/2026/graphics/testimonial_kissmygrass_mobile.webp'); } }

.testimonial-quantumfire { background-image: url('../img/2026/graphics/testimonial_quantumfire.webp'); }
@media (max-width: 768px) { .testimonial-quantumfire { background-image: url('../img/2026/graphics/testimonial_quantumfire_mobile.webp'); } }

.testimonial-radielectrical { background-image: url('../img/2026/graphics/testimonial_radielectrical.webp'); }
@media (max-width: 768px) { .testimonial-radielectrical { background-image: url('../img/2026/graphics/testimonial_radielectrical_mobile.webp'); } }

.testimonial-rescueu { background-image: url('../img/2026/graphics/testimonial_rescueu.webp'); }
@media (max-width: 768px) { .testimonial-rescueu { background-image: url('../img/2026/graphics/testimonial_rescueu_mobile.webp'); } }

.testimonial-richardlock { background-image: url('../img/2026/graphics/testimonial_richardlock.webp'); }
@media (max-width: 768px) { .testimonial-richardlock { background-image: url('../img/2026/graphics/testimonial_richardlock_mobile.webp'); } }

.quote_ceo { background-image: url('../img/2026/graphics/quote_ceo.webp'); }
@media (max-width: 768px) { .quote_ceo { background-image: url('../img/2026/graphics/quote_ceo_mobile.webp'); } }

/* ─── CTA SECTION — shared across pages ─────── */
.cta-bg { background-image: url('../img/2026/graphics/cta_bg.webp'); padding: 120px 24px; }
@media (max-width: 768px) { .cta-bg { padding: 64px 16px; } }
.cta-overlay { position: relative; overflow: hidden; }
.cta-overlay::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 500px at var(--light-x, 50%) var(--light-y, 50%), rgba(1,57,111,0.6) 0%, rgba(1,25,47,0.95) 60%); z-index: 1; pointer-events: none; }
.cta-overlay > * { position: relative; z-index: 2; }


/* ─── BACKGROUND IMAGES — add new ones here ─── */
.img-card-electrical { background-image: url('../img/2026/graphics/electrical.webp'); }
.img-card-plumbing { background-image: url('../img/2026/graphics/plumbing.webp'); }
.img-card-fire { background-image: url('../img/2026/graphics/fire.webp'); }
.img-card-construction { background-image: url('../img/2026/graphics/construction.webp'); }

/* ─── CATEGORY HEADERS — industries directory page ─── */
.category-header { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--color-stroke-light); margin-top: 56px; margin-bottom: 24px; }
.category-header:first-child { margin-top: 0; }
.category-num { background: var(--color-bg-light); color: var(--color-primary); padding: 6px 14px; border-radius: var(--radius-4); font-family: var(--font); font-weight: 600; font-size: 16px; }
.category-header .text-overline-xs { font-size: 14px; }

/* ============================================
   TESTIMONIALS PAGE
   Carousel, autoplay toggle, success story cards
   ============================================ */

/* Visually-hidden utility — used by carousel JS-generated nav labels, do not rename */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================
   TESTIMONIALS PAGE
   Carousel, autoplay toggle, success story cards
   ============================================ */

/* Visually-hidden utility — used by carousel JS-generated nav labels, do not rename */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* Testimonial card — background/padding/radius come from card-light + card-lg */
.tt-quote-icon { width: 40px; height: 40px; }
.tt-attr-img { width: 48px; height: 48px; flex: 0 0 48px; border-radius: var(--radius-full); background: var(--color-bg-light); padding: 6px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-stroke-light); }
.tt-attr-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Autoplay toggle — id/classes referenced by carousel JS, do not rename */
.tt-autoplay-wrap { display: flex; justify-content: center; }
.tt-autoplay-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 20px auto 0; font-family: var(--font) !important; font-size: 12px; font-weight: 500; color: var(--color-text-heading); background: var(--color-bg-lightest); border: 1px solid var(--color-stroke-medium); border-radius: var(--radius-full); padding: 8px 16px; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.tt-autoplay-toggle:hover { background: var(--color-text-heading); color: var(--color-bg-lightest); border-color: var(--color-text-heading); }
.tt-autoplay-toggle:focus { outline: none; }
.tt-autoplay-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-full); color: var(--color-primary); }
.tt-autoplay-toggle .fas { font-size: 11px; }

/* Owl Carousel nav restyle — plugin-generated markup, classes fixed by the library */
.owl-carousel { position: relative;}
.owl-nav { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; margin-top: 0; }
.owl-nav .owl-prev,
.owl-nav .owl-next { background-color: var(--color-bg-lightest); color: var(--color-text-heading); border: 1px solid var(--color-stroke-medium); border-radius: var(--radius-full)!important; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; pointer-events: auto; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; box-shadow: var(--shadow-xs); }
.owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover { background-color: var(--color-text-heading); color: var(--color-bg-lightest); border-color: var(--color-text-heading); }
.owl-nav .owl-prev:focus,
.owl-nav .owl-next:focus { outline: none; }
.owl-nav .owl-prev:focus-visible,
.owl-nav .owl-next:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-full) !important; color: var(--color-primary); }
.owl-dots .owl-dot:focus { outline: none; }
.owl-dots .owl-dot:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-4); }
.owl-nav .owl-prev { margin-left: -20px !important; }
.owl-nav .owl-next { margin-right: -20px !important; }
.owl-nav .fas { font-size: 16px; }
.owl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.owl-dots .owl-dot span { display: block; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-stroke-medium); transition: background-color 0.15s, width 0.15s, border-radius 0.15s; }
.owl-dots .owl-dot.active span { background: var(--color-primary); width: 28px; border-radius: var(--radius-4); }
.owl-theme .owl-dots .owl-dot span { display: block; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-stroke-medium) !important; transition: background-color 0.15s, width 0.15s, border-radius 0.15s; }
.owl-theme .owl-dots .owl-dot.active span { background: var(--color-primary) !important; width: 28px; border-radius: var(--radius-4); }


/* Success stories band */
.tt-stories { padding: 80px 32px; background: var(--color-bg-lighter); border-radius: var(--radius-24); margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  .owl-dots .owl-dot span { transition: none; }
}
@media (max-width: 980px) {
  .owl-nav .owl-prev { margin-left: 8px; }
  .owl-nav .owl-next { margin-right: 8px; }
}

/* ============================================
   CASE STUDY PAGES
   Chapter tags, pain lists, stat grids, pull quotes
   ============================================ */

.chapter-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 16px; }

.pain-list { list-style: none; margin: 0 0 24px; padding: 0; max-width: 880px; }
.pain-list li { position: relative; padding: 16px 0 16px 32px; border-top: 1px solid var(--color-stroke-light); font-size: 16.5px; color: var(--color-text-body); line-height: 1.6; }
.pain-list li:last-child { border-bottom: 1px solid var(--color-stroke-light); }
.pain-list li::before { content: ''; position: absolute; left: 0; top: 25px; width: 16px; height: 2px; background: var(--color-primary); border-radius: 2px; }
.pain-list li strong { color: var(--color-text-heading); font-weight: 600; }

.text-link { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; font-weight: 500; transition: color 0.15s; }
.text-link:hover { color: var(--color-primary-dark); }

.avatar-initials { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-full); background: var(--color-primary-gradient); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: var(--font); font-weight: 600; font-size: 15px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font); font-weight: 800; font-size: clamp(28px, 3vw, 36px); color: var(--color-primary); letter-spacing: -0.02em; }
.stat-label { font-family: var(--font); font-size: 14px; color: var(--color-text-subtitle); margin-top: 4px; line-height: 1.4; }
@media (max-width: 768px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.pull-quote-section { background: var(--color-bg-lighter); border-radius: var(--radius-24); padding: 64px 48px; text-align: center; }
.pull-quote-text { font-family: var(--font); font-weight: 400; font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; color: var(--color-text-heading); max-width: 800px; margin: 0 auto 24px; }
@media (max-width: 768px) { .pull-quote-section { padding: 40px 24px; } }

/* Icon circle color variants */
.icon-xs-circle-red { background: #FDE2E2; }

/* Divided list rows */
.list-divider { padding-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--color-stroke-light); }
.list-divider:last-child { border-bottom: none; }
.list-divider-red { border-bottom-color: #FAE5E5; }
.list-box-red { background: #FEF2F2; border-radius: var(--radius-16); padding: 12px 28px; }
.list-box-light { background: var(--color-bg-lighter); border-radius: var(--radius-16); padding: 12px 28px; }

/* Top divider */
.divider-top { padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--color-stroke-light); }

/* ─── FAQs ─── */
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 20px; line-height: 1; color: var(--color-primary); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 16px; }

.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media (max-width:1024px){.grid-4{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.grid-4{grid-template-columns:1fr}}
.timeline-rail{position:relative;max-width:980px;margin:0 auto}
.timeline-rail::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:2px;background:#E5E7EB;transform:translateX(-1px)}
.timeline-row{display:grid;grid-template-columns:1fr 60px 1fr;align-items:center;gap:16px;padding:14px 0;position:relative}
.timeline-dot{grid-column:2;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid #007EE6;margin:0 auto;position:relative;z-index:2}.timeline-row.timeline-left>.timeline-card{grid-column:1;text-align:right}
.timeline-row.timeline-right>.timeline-card{grid-column:3;text-align:left}
@media (max-width:980px){.timeline-rail::before{left:18px}.timeline-row{grid-template-columns:36px 1fr;gap:14px}.timeline-row .timeline-dot{grid-column:1}.timeline-row.timeline-left>.timeline-card,.timeline-row.timeline-right>.timeline-card{grid-column:2;text-align:left}}