/* =========================================================
   ASK Systems – design system (loaded after bootstrap.min.css)
   Brand colours come from the logo: navy (Ashoka chakra)
   and saffron. Mobile-first: base styles target phones,
   media queries add tablet/desktop refinements.
   ========================================================= */
:root {
  --navy: #0E2A47;
  --navy-2: #163A5F;
  --navy-3: #0B1F35;
  --saffron: #F07A1A;
  --saffron-2: #E06A10;
  --saffron-ink: #B9530B;      /* saffron for text on white (AA) */
  --saffron-tint: #FFF4EA;
  --ink: #1B2430;
  --muted: #5B6675;
  --line: #E4E7EC;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;
  --bg-navy-tint: #EEF3F8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 4px 16px rgba(14, 42, 71, .06);
  --shadow-hover: 0 2px 4px rgba(14, 42, 71, .08), 0 12px 28px rgba(14, 42, 71, .10);
  --font-head: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 64px;
  --bs-primary: #0E2A47;
  --bs-primary-rgb: 14, 42, 71;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); font-size: 1rem; line-height: 1.65; overflow-x: hidden; padding-bottom: 60px; }
@media (min-width: 992px) { body { padding-bottom: 0; } :root { --header-h: 78px; } }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 { font-family: var(--font-head); color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); }
h2, .h2 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.25rem); }
h3, .h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
p { margin-bottom: 1rem; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--saffron-ink); }
img { max-width: 100%; height: auto; }
.text-muted { color: var(--muted) !important; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; color: #fff; }
.container { padding-left: 16px; padding-right: 16px; }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 500; border-radius: var(--radius-sm); padding: .7rem 1.25rem; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; min-height: 52px; }
.btn-accent { background: var(--saffron); border: 1px solid var(--saffron); color: var(--navy); font-weight: 700; }
.btn-accent:hover, .btn-accent:focus { background: var(--saffron-2); border-color: var(--saffron-2); color: var(--navy); }
.btn-navy, .btn-ask { background: var(--navy); border: 1px solid var(--navy); color: #fff; }
.btn-navy:hover, .btn-ask:hover { background: var(--navy-2); color: #fff; }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-wa { background: #1F9D55; border: 1px solid #1F9D55; color: #fff; }
.btn-wa:hover { background: #17803f; color: #fff; }
.btn-link-light { color: #fff; text-decoration: none; padding-left: .25rem; padding-right: .25rem; }
.btn-link-light:hover { color: var(--saffron); }
.link-arrow { font-family: var(--font-head); font-weight: 500; color: var(--navy); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow span[aria-hidden] { transition: transform .2s; }
.link-arrow:hover { color: var(--saffron-ink); }
.link-arrow:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- topbar + header ---------- */
.topbar { background: var(--navy-3); color: #C9D3DF; font-size: .85rem; }
.topbar .container { min-height: 40px; }
.topbar-info { display: flex; gap: 1.5rem; }
.topbar a, .topbar span { color: #C9D3DF; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--saffron); }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(14,42,71,.08); }
.site-header .navbar { min-height: var(--header-h); padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.brand-text small { font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.navbar-toggler { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar-nav .nav-link { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--saffron-ink); }
.navbar-collapse { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.navbar-nav .dropdown-menu { border: 0; padding: 0 0 .5rem 1rem; box-shadow: none; }
.dropdown-item { padding: .6rem .75rem; border-radius: 6px; font-size: .95rem; color: var(--ink); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--bg-navy-tint); color: var(--navy); }
.nav-cta { padding: 1rem 0 1.25rem; }
.nav-cta .btn { width: 100%; }
@media (min-width: 992px) {
  .brand img { width: 52px; height: 52px; }
  .brand-text strong { font-size: 1.3rem; }
  .navbar-collapse { max-height: none; overflow: visible; }
  .navbar-nav { gap: .35rem; }
  .navbar-nav .nav-link { border: 0; padding: .5rem .75rem !important; position: relative; }
  .navbar-nav .nav-link.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 2px; background: var(--saffron); border-radius: 2px; }
  .navbar-nav .dropdown-menu { padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); min-width: 240px; margin-top: .5rem; }
  .nav-cta { padding: 0 0 0 .75rem; }
  .nav-cta .btn { width: auto; }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-sm { padding: 40px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #DCE4EE; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .step h3 { color: var(--navy); }
@media (min-width: 992px) { .section { padding: 96px 0; } .section-sm { padding: 64px 0; } }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-ink); margin-bottom: .6rem; display: inline-flex; gap: .5rem; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--saffron); display: inline-block; }
.section-navy .eyebrow { color: var(--saffron); }
.section-lead { color: var(--muted); font-size: 1.05rem; margin-top: .75rem; }
.section-navy .section-lead { color: #C9D3DF; }
@media (min-width: 992px) { .section-head { margin-bottom: 3rem; } }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0 0 1rem; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #9AA4B2; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.crumbs.on-dark, .crumbs.on-dark a { color: #C9D3DF; }
.crumbs.on-dark li[aria-current] { color: #fff; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 32px 0 36px; }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero p.lead { color: var(--muted); max-width: 720px; font-size: 1.05rem; margin: 0; }
@media (min-width: 992px) { .page-hero { padding: 56px 0 60px; } }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,53,.78) 0%, rgba(11,31,53,.88) 100%); }
.hero-inner { position: relative; padding: 56px 0 48px; max-width: 760px; }
.hero .eyebrow { color: var(--saffron); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 3.4vw, 3.4rem); margin-bottom: 1rem; }
.hero p { color: #DCE4EE; font-size: 1.05rem; max-width: 620px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-ctas .btn { flex: 1 1 200px; }
.hero-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .5rem; color: #DCE4EE; font-size: .95rem; }
.hero-points i { color: var(--saffron); margin-right: .5rem; }
@media (min-width: 768px) {
  .hero-media::after { background: linear-gradient(90deg, rgba(11,31,53,.92) 0%, rgba(11,31,53,.78) 45%, rgba(11,31,53,.25) 100%); }
  .hero-inner { padding: 110px 0 100px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-points { grid-template-columns: repeat(3, auto); gap: 1.5rem; }
}
@media (min-width: 1200px) { .hero-inner { padding: 140px 0 130px; } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 1.25rem 1rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: var(--navy); }
.stat span { font-size: .85rem; color: var(--muted); }
.stats-overlap { margin-top: -36px; position: relative; z-index: 2; box-shadow: var(--shadow); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } .stat { padding: 1.75rem 1rem; } }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.p-card, .b-card, .f-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; height: 100%; }
.p-card:hover, .b-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: #D5DAE2; }
.p-card-media, .b-card-media { display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.b-card-media { aspect-ratio: 16 / 9; }
.p-card-media img, .b-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-card-media img, .b-card:hover .b-card-media img { transform: scale(1.04); }
.p-card-body, .b-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.p-card-body p, .b-card-body p { color: var(--muted); font-size: .95rem; }
.p-card-body .link-arrow, .b-card-body .link-arrow { margin-top: auto; }
.p-card-title, .b-card-title { font-size: 1.15rem; margin-bottom: .5rem; }
.p-card-title a, .b-card-title a { color: var(--navy); text-decoration: none; }
.p-card-title a:hover, .b-card-title a:hover { color: var(--saffron-ink); }
.b-card-meta { font-size: .8rem; color: var(--muted) !important; margin-bottom: .5rem; }
.b-card-meta span { color: var(--saffron-ink); font-weight: 600; }
.b-card-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9AA4B2; font-size: 2rem; }
.f-card { padding: 1.5rem; }
.f-card h3 { font-size: 1.1rem; margin: .9rem 0 .4rem; }
.f-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.f-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--saffron-tint); color: var(--saffron-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.section-navy .f-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-navy .f-card p { color: #C9D3DF; }
.section-navy .f-icon { background: rgba(240,122,26,.15); color: var(--saffron); }

/* ---------- split media/text ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.reverse .split-media { order: 2; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.check-list li { padding-left: 1.9rem; position: relative; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: .1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--saffron-tint); color: var(--saffron-ink); font-size: .7rem; display: flex; align-items: center; justify-content: center; }
.section-navy .check-list li::before { background: rgba(240,122,26,.18); color: var(--saffron); }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; display: inline-flex; gap: .45rem; align-items: center; }
.pill-list li i { color: var(--saffron-ink); }

/* ---------- process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 4rem; position: relative; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 1.25rem; top: 1.15rem; font-family: var(--font-head); font-weight: 700; color: var(--saffron-ink); }
.step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { padding: 3.5rem 1.25rem 1.5rem; } .step::before { top: 1.25rem; } }

/* ---------- clients ---------- */
.logo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: center; }
.logo-row img { max-height: 56px; width: auto; margin: 0 auto; display: block; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-row img:hover { filter: none; opacity: 1; }
@media (min-width: 768px) { .logo-row { grid-template-columns: repeat(6, 1fr); gap: 2rem; } }

/* ---------- CTA band ---------- */
.cta-band { padding: 40px 0; }
.cta-band-inner { background: var(--navy); color: #DCE4EE; border-radius: var(--radius); padding: 2rem 1.5rem; display: grid; gap: 1.5rem; position: relative; overflow: hidden; }
.cta-band-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(240,122,26,.12); }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; position: relative; z-index: 1; }
.cta-actions .btn { flex: 1 1 200px; }
@media (min-width: 992px) { .cta-band { padding: 72px 0; } .cta-band-inner { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 3rem; } .cta-actions { justify-content: flex-end; } .cta-actions .btn { flex: 0 0 auto; } }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 992px) { .form-card { padding: 2.25rem; } }
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.form-label .req { color: #B42318; }
.form-control, .form-select { min-height: 48px; border-radius: var(--radius-sm); border-color: #CDD3DC; font-size: 1rem; }
textarea.form-control { min-height: 120px; }
.form-control:focus, .form-select:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(22,58,95,.15); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #B42318; }
.form-help { font-size: .8rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: .9rem 1rem; margin-top: 1rem; font-size: .95rem; }
.form-status.ok { background: #ECFDF3; color: #05603A; border: 1px solid #ABEFC6; }
.form-status.err { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

/* ---------- contact tiles ---------- */
.contact-tiles { display: grid; gap: .75rem; }
.contact-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
a.contact-tile:hover { border-color: var(--navy-2); box-shadow: var(--shadow); color: var(--ink); }
.contact-tile .f-icon { flex: 0 0 48px; }
.contact-tile strong { display: block; font-family: var(--font-head); color: var(--navy); }
.contact-tile span { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius); display: block; }
@media (min-width: 992px) { .map-frame { height: 420px; } }

/* ---------- FAQ accordion ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 500; color: var(--navy); padding: 1rem 1.15rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--bg-navy-tint); color: var(--navy); }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(240,122,26,.35); }
.faq .accordion-body { color: var(--muted); }

/* ---------- product page ---------- */
.p-hero { padding: 24px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.p-hero .split { gap: 1.5rem; }
.p-hero h1 { margin-bottom: .75rem; }
.p-hero .lead { color: var(--muted); font-size: 1.05rem; }
.p-hero-ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.p-hero-ctas .btn { flex: 1 1 160px; }
@media (min-width: 576px) { .p-hero-ctas .btn { flex: 0 0 auto; } }
@media (min-width: 992px) { .p-hero { padding: 40px 0 72px; } }
.p-hero[data-tone="warm"] { background: #FBF7F2; }
.p-hero[data-tone="cool"] { background: #F1F5F9; }
.p-hero[data-tone="dark"] { background: var(--navy); color: #DCE4EE; border: 0; }
.p-hero[data-tone="dark"] h1 { color: #fff; }
.p-hero[data-tone="dark"] .lead, .p-hero[data-tone="dark"] .crumbs, .p-hero[data-tone="dark"] .crumbs a { color: #C9D3DF; }
.p-hero[data-tone="dark"] .crumbs li[aria-current] { color: #fff; }
.p-hero[data-tone="dark"] .btn-outline-navy { color: #fff; border-color: rgba(255,255,255,.7); }
.p-hero[data-tone="dark"] .btn-outline-navy:hover { background: #fff; color: var(--navy); }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--saffron); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 992px) { .gallery-main { aspect-ratio: 5 / 4; } }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 40%; background: var(--bg-soft); font-weight: 600; color: var(--navy); font-family: var(--font-head); }
@media (max-width: 575.98px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; padding-bottom: .25rem; } .spec-table td { padding-top: .25rem; } }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.quick-quote { background: var(--navy); color: #DCE4EE; border-radius: var(--radius); padding: 1.5rem; }
.quick-quote h2, .quick-quote h3 { color: #fff; font-size: 1.2rem; }
.quick-quote .btn { width: 100%; margin-top: .6rem; }
.jump-nav { display: flex; gap: .5rem; overflow-x: auto; padding: .75rem 0; scrollbar-width: none; }
.jump-nav::-webkit-scrollbar { display: none; }
.jump-nav a { flex: 0 0 auto; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .875rem; }
.jump-nav a:hover { border-color: var(--navy); color: var(--navy); }
.jump-wrap { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }

/* ---------- blog ---------- */
.featured-post { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.featured-post .fp-media { aspect-ratio: 16/9; background: var(--bg-soft); }
.featured-post .fp-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post .fp-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); }
.featured-post h2 a { color: var(--navy); text-decoration: none; }
@media (min-width: 992px) { .featured-post { grid-template-columns: 1.25fr 1fr; } .featured-post .fp-media { aspect-ratio: auto; min-height: 380px; } .featured-post .fp-body { padding: 2.5rem; } }
.filter-bar { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; min-height: 40px; display: inline-flex; align-items: center; }
.chips a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-box { position: relative; }
.search-box input { padding-left: 2.6rem; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
@media (min-width: 992px) { .filter-bar { flex-direction: row; justify-content: space-between; align-items: center; } .search-box { width: 320px; } }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; list-style: none; padding: 0; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); background: #fff; }
.pager [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.article-head { padding: 28px 0 24px; }
.article-head h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.75rem); max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.article-meta i { color: var(--saffron-ink); margin-right: .35rem; }
.article-hero { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 2rem; }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.article-layout { display: grid; gap: 2rem; }
@media (min-width: 992px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; } }
.prose { font-size: 1.0625rem; line-height: 1.8; max-width: 760px; overflow-wrap: break-word; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin: 2.25rem 0 .9rem; }
.prose h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); margin: 1.75rem 0 .65rem; }
.prose h4 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose img { border-radius: var(--radius-sm); height: auto; margin: 1rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; }
.prose th { background: var(--bg-soft); }
.prose blockquote { border-left: 4px solid var(--saffron); padding: .25rem 0 .25rem 1rem; color: var(--muted); font-style: italic; }
.prose a { color: var(--navy-2); text-decoration: underline; }
.prose figure { margin: 1.25rem 0; }
.prose iframe { max-width: 100%; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.toc summary { font-family: var(--font-head); font-weight: 700; color: var(--navy); cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.toc ol { margin: .75rem 0 0; padding-left: 1.2rem; font-size: .95rem; }
.toc li { margin-bottom: .35rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--saffron-ink); text-decoration: underline; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.share a, .share button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); background: #fff; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; background: #fff; }
.side-box h2 { font-size: 1.05rem; margin-bottom: .75rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border: 0; }
.side-links a { display: block; padding: .6rem 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.side-links a:hover { color: var(--saffron-ink); }

/* ---------- about ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.5rem 2.5rem; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--saffron); }
.timeline strong { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--muted); }
@media (min-width: 992px) {
  .timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .timeline::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .timeline li { padding: 2.25rem 0 0; }
  .timeline li::before { left: 0; top: 0; }
}
.founder-card { display: grid; gap: 1.5rem; align-items: center; }
.founder-card img { border-radius: var(--radius); width: 100%; max-width: 380px; aspect-ratio: 3/4; object-fit: cover; }
.founder-card blockquote { font-size: 1.15rem; font-family: var(--font-head); color: var(--navy); border-left: 4px solid var(--saffron); padding-left: 1rem; margin: 1rem 0; }
@media (min-width: 992px) { .founder-card { grid-template-columns: 380px 1fr; gap: 3.5rem; } }
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.cert-grid button { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; aspect-ratio: 3/4; }
.cert-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cert-grid button:hover img { transform: scale(1.03); }
@media (min-width: 576px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .cert-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(11,31,53,.85); }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; display: block; margin: 0 auto; border-radius: var(--radius-sm); background: #fff; }
.lightbox-close { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-3); color: #C9D3DF; padding: 56px 0 0; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #C9D3DF; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #9FB0C4; }
.brand-footer img { background: #fff; border-radius: 10px; padding: 3px; }
.footer-tag { font-family: var(--font-head); color: var(--saffron); margin: 1rem 0 .5rem; font-weight: 500; }
.footer-h { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .1rem; }
.footer-links a { display: inline-block; padding: .35rem 0; }
.footer-contact { font-style: normal; display: grid; gap: .85rem; }
.footer-contact > a, .footer-contact > span { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--saffron); margin-top: .3rem; width: 16px; }
.social { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: .5rem; }
.social a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.25rem 0; display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; color: #9FB0C4; text-align: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---------- floating actions + mobile bar ---------- */
.float-actions { position: fixed; right: 16px; bottom: 76px; z-index: 1020; display: flex; flex-direction: column; gap: .6rem; }
@media (min-width: 992px) { .float-actions { bottom: 24px; right: 24px; } }
.fab-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: 1.4rem; text-decoration: none; }
.fab-wa { background: #1F9D55; display: none; }
.fab-top { background: var(--navy); font-size: 1rem; width: 44px; height: 44px; align-self: flex-end; }
.fab-btn:hover { color: #fff; transform: translateY(-2px); }
@media (min-width: 992px) { .fab-wa { display: inline-flex; } }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(14,42,71,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 56px; font-family: var(--font-head); font-weight: 500; color: var(--navy); text-decoration: none; font-size: .95rem; }
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar a .fa-whatsapp { color: #1F9D55; font-size: 1.15rem; }
.mobile-bar a.is-primary { background: var(--saffron); color: var(--navy); font-weight: 700; border: 0; }

/* ---------- reveal animation (only when JS + motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 72px 0; }
.nf .code { font-family: var(--font-head); font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; color: var(--bg-navy-tint); line-height: 1; -webkit-text-stroke: 2px var(--navy); }

/* ---------- admin login ---------- */
.ask-admin-login { background: var(--bg-soft); padding: 16px; }
.ask-admin-login .login-box { max-width: 420px; margin: 8vh auto; background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- utilities ---------- */
.mt-section { margin-top: 3rem; }
.rounded-ask { border-radius: var(--radius); }
.small-note { font-size: .85rem; color: var(--muted); }
