/* ==========================================================================
   AutoLink Lubricant – main stylesheet
   Brand: navy + logo blue, amber from the flame mark.
   ========================================================================== */

:root {
    --navy-950: #040d1d;
    --navy-900: #081831;
    --navy-800: #0e2547;
    --navy-700: #16335f;
    --blue-700: #0a4fb8;
    --blue-600: #0f5fd6;
    --blue-500: #2a78f0;
    --blue-100: #e7f0ff;
    --blue-50: #f3f7ff;
    --amber-600: #e08e00;
    --amber-500: #f6a609;
    --amber-400: #ffbf3c;
    --amber-100: #fff3d6;
    --ink: #0b1830;
    --body: #46546b;
    --muted: #6b7a90;
    --line: #e3e8f0;
    --bg: #ffffff;
    --tint: #f4f7fc;
    --white: #ffffff;
    --success: #1fa855;

    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(8, 24, 49, .06);
    --shadow: 0 14px 40px -12px rgba(8, 24, 49, .18);
    --shadow-lg: 0 30px 70px -24px rgba(8, 24, 49, .35);
    --ease: cubic-bezier(.22, 1, .36, 1);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(72px, 9vw, 128px);
    --header-h: 84px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber-400); color: var(--navy-900); }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; border-radius: 8px;
    background: var(--amber-500); color: var(--navy-900); font-weight: 700; transform: translateY(-160%);
    transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15em; color: var(--ink); font-weight: 500; line-height: 1.6; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--amber-400); }
.eyebrow__dot { display: none; }
.section-title { font-size: clamp(30px, 4vw, 48px); margin-bottom: .45em; }
.text-gradient {
    background: linear-gradient(100deg, var(--blue-600), var(--blue-500) 45%, var(--amber-500));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--blue-600); --btn-fg: #fff;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border: 1px solid transparent; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 15px; line-height: 1.2;
    letter-spacing: .01em; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--btn-shadow, rgba(15, 95, 214, .6)); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { flex: none; transition: transform .35s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--primary { --btn-bg: var(--blue-600); }
.btn--primary:hover { --btn-bg: var(--blue-700); }
.btn--amber { --btn-bg: var(--amber-500); --btn-fg: var(--navy-900); --btn-shadow: rgba(246, 166, 9, .6); }
.btn--amber:hover { --btn-bg: var(--amber-400); }
.btn--dark { --btn-bg: var(--navy-900); --btn-shadow: rgba(8, 24, 49, .6); }
.btn--dark:hover { --btn-bg: var(--navy-700); }
.btn--glass { --btn-bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); --btn-shadow: rgba(0,0,0,.4); }
.btn--glass:hover { --btn-bg: rgba(255,255,255,.16); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { --btn-fg: var(--blue-600); border-color: var(--blue-600); --btn-shadow: rgba(15,95,214,.25); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--blue-600); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.tag {
    display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
    background: var(--blue-50); color: var(--blue-700); font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
.tag:hover { background: var(--blue-100); }
.tag--light { background: rgba(255,255,255,.1); color: var(--amber-400); border: 1px solid rgba(255,255,255,.18); margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--amber-500)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.72); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; }
.topbar__list li, .topbar__list a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar__list a:hover { color: var(--amber-400); }
.topbar .icon { color: var(--amber-500); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent; transition: box-shadow .35s var(--ease), border-color .35s, transform .45s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(8, 24, 49, .35); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 50px; max-width: 240px; object-fit: contain; clip-path: inset(0 0 5% 0); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list a {
    position: relative; display: block; padding: 10px 14px; border-radius: 999px;
    color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap;
}
.nav__list a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--amber-500); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__list a:hover { color: var(--blue-600); }
.nav__list a:hover::after, .nav__list .is-current > a::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.nav__list .is-current > a, .nav__list .current-menu-item > a { color: var(--blue-600); }
.nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-call { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 15px; }
.header-call__icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--blue-50); color: var(--blue-600); transition: background .3s, color .3s;
}
.header-call:hover .header-call__icon { background: var(--blue-600); color: #fff; }
.header-call__text { display: flex; flex-direction: column; line-height: 1.25; }
.header-call__text small { font-size: 12px; font-weight: 500; color: var(--muted); }

.menu-toggle {
    display: none; position: relative; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line);
    border-radius: 12px; background: #fff;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { position: fixed; inset: 0; z-index: 98; background: rgba(4, 13, 29, .55); backdrop-filter: blur(3px); }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: radial-gradient(1200px 600px at 85% 10%, rgba(42, 120, 240, .35), transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 70%);
    padding: clamp(56px, 8vw, 110px) 0 clamp(90px, 10vw, 140px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__orb--blue { width: 520px; height: 520px; right: -140px; top: -160px; background: var(--blue-600); }
.hero__orb--amber { width: 380px; height: 380px; left: -160px; bottom: -200px; background: var(--amber-600); opacity: .32; }
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__title { max-width: 640px; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.035em; color: #fff; margin-bottom: 22px; }
.hero__title em { font-style: normal; color: var(--amber-400); }
.hero__lead { max-width: 580px; font-size: clamp(16.5px, 1.4vw, 19px); color: rgba(255,255,255,.78); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stats > div { display: flex; flex-direction: column-reverse; padding-right: 12px; }
.hero__stats > div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.12); }
.hero__stats dt { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.35; }
.hero__stats dd { margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); color: #fff; line-height: 1.1; }

.hero__visual { position: relative; }
.hero__visual { display: flex; flex-direction: column; align-items: center; }
.hero__halo { position: absolute; top: 8%; left: 50%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(246,166,9,.22), rgba(42,120,240,.18) 45%, transparent 70%); pointer-events: none; }

/* Fanned stack of the tall (9:16) banners: front card plus two peeking behind. */
.story-deck { position: relative; width: min(100%, 330px); aspect-ratio: 9 / 16; margin-inline: auto; touch-action: pan-y; }
.story-card {
    position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 26px; background: var(--navy-800);
    border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
    transform-origin: 50% 100%; cursor: pointer;
    transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
}
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card[data-pos="0"] { z-index: 3; cursor: default; }
.story-card[data-pos="1"] { z-index: 2; transform: translateX(34%) rotate(7deg) scale(.86); filter: brightness(.55) saturate(.8); }
.story-card[data-pos="2"] { z-index: 1; transform: translateX(-34%) rotate(-7deg) scale(.86); filter: brightness(.55) saturate(.8); }
.story-card[data-pos="1"]:hover, .story-card[data-pos="2"]:hover { filter: brightness(.8); }
.story-card:not([data-pos="0"]):not([data-pos="1"]):not([data-pos="2"]) { opacity: 0; transform: scale(.7); z-index: 0; }

.deck-controls { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.deck-dots { display: flex; gap: 8px; }
.deck-dots button { position: relative; width: 28px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; transition: width .4s var(--ease); }
.deck-dots button.is-active { width: 56px; }
.deck-dots__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--amber-500); transform: scaleX(0); transform-origin: 0 50%; }
.deck-dots button.is-active .deck-dots__fill { animation: deck-progress var(--deck-delay, 5s) linear forwards; }
.story-deck.is-paused ~ .deck-controls .deck-dots button.is-active .deck-dots__fill { animation-play-state: paused; }
@keyframes deck-progress { to { transform: scaleX(1); } }

.deck-btn {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; padding: 0;
    border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; font-size: 18px;
    transition: background .3s, border-color .3s, transform .3s var(--ease), color .3s;
}
.deck-btn:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-900); transform: scale(1.06); }
.deck-btn--light { border-color: var(--line); background: #fff; color: var(--ink); }
.hero__badge {
    position: absolute; z-index: 5; left: 0; bottom: 110px; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px 14px 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
    font-size: 13px; line-height: 1.3;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 16px; }
.hero__badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--amber-100); color: var(--amber-600); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--amber-500); animation: scroll-dot 1.8s var(--ease) infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: clamp(32px, 4vw, 56px); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.75); }
.section--dark .section-title, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.split-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head--tight { grid-template-columns: 1fr auto; margin-bottom: 36px; }
.split-head .section-title { margin: 0; }
.split-head__text p:last-child { margin-bottom: 0; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 48px; }
.category-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm);
    transition: box-shadow .5s var(--ease), border-color .4s, transform .5s var(--ease); transform-style: preserve-3d;
}
.category-card:hover { color: var(--ink); box-shadow: var(--shadow); border-color: transparent; }
.category-card__media { display: block; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--tint); }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.category-card:hover .category-card__media img { transform: scale(1.08); }
.category-card__index {
    position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 99px; background: rgba(8, 24, 49, .75);
    color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; backdrop-filter: blur(6px);
}
.category-card__body { display: flex; flex-direction: column; gap: 2px; padding: 20px 64px 22px 22px; }
.category-card__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; }
.category-card__meta { font-size: 13.5px; color: var(--muted); }
.category-card__arrow {
    position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 40px; height: 40px;
    border-radius: 50%; background: var(--blue-50); color: var(--blue-600); transition: background .35s, color .35s, transform .45s var(--ease);
}
.category-card:hover .category-card__arrow { background: var(--amber-500); color: var(--navy-900); transform: rotate(-45deg); }

/* ---------- Why choose ---------- */
.why { overflow: hidden; }
.why__lines {
    position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background: radial-gradient(700px 400px at 0% 100%, rgba(246,166,9,.18), transparent 60%), radial-gradient(600px 400px at 100% 0%, rgba(42,120,240,.3), transparent 60%);
}
.why__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.value-cards { display: grid; gap: 18px; list-style: none; }
.value-card {
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; padding: 28px;
    border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.value-card:hover { background: rgba(255,255,255,.08); border-color: rgba(246,166,9,.5); transform: translateX(8px); }
.value-card__icon { grid-row: span 2; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: linear-gradient(140deg, var(--amber-400), var(--amber-600)); color: var(--navy-900); }
.value-card h3 { margin: 4px 0 0; font-size: 22px; }
.value-card p { margin: 0; font-size: 15px; }

/* ---------- Media frames ---------- */
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); background: var(--tint); }
.media-frame img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.media-frame--tall { aspect-ratio: 4 / 4.8; }

/* ---------- Testimonials ---------- */
.testimonials__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.testimonials__media { position: relative; }
.rating-chip {
    position: absolute; right: -20px; bottom: 36px; display: flex; flex-direction: column; gap: 6px; max-width: 230px;
    padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.4;
}
.rating-chip__stars, .quote__stars { display: inline-flex; gap: 2px; color: var(--amber-500); }
.quote-slider { position: relative; display: grid; min-height: 290px; }
.quote { grid-area: 1 / 1; margin: 0; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--tint); border: 1px solid var(--line); opacity: 0; visibility: hidden; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote__mark { display: inline-flex; color: var(--amber-500); margin-bottom: 12px; }
.quote blockquote { margin: 0 0 24px; }
.quote blockquote p { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.quote figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 16px; }
.quote-nav { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.quote-count { font-family: var(--font-display); font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.quote-count [data-quote-current] { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--amber-500), var(--amber-400)); padding: clamp(44px, 6vw, 70px) 0; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,255,255,.18); }
.cta-band__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 760px; font-size: clamp(24px, 3vw, 38px); color: var(--navy-900); }

/* ---------- About + FAQ ---------- */
.about-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 28px 0 32px; }
.feature-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; transition: border-color .3s, transform .4s var(--ease); }
.feature-list li:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.feature-list .icon { flex: none; color: var(--blue-600); }

.accordion { display: grid; gap: 12px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .4s var(--ease); }
.accordion__item.is-open { border-color: transparent; box-shadow: var(--shadow); }
.accordion__heading { margin: 0; font-size: inherit; }
.accordion__trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 24px;
    border: 0; background: none; text-align: left; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.4;
}
.accordion__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); transition: transform .45s var(--ease), background .3s, color .3s; }
.accordion__item.is-open .accordion__icon { transform: rotate(135deg); background: var(--amber-500); color: var(--navy-900); }
.accordion__panel { overflow: hidden; }
.accordion__content { padding: 0 24px 22px; }
.accordion__content p:last-child { margin: 0; }

/* ---------- Statement ---------- */
.statement { padding: clamp(60px, 8vw, 110px) 0; background: #fff; border-top: 1px solid var(--line); }
.statement__text { max-width: 1060px; margin: 0 auto; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.8vw, 50px); line-height: 1.25; letter-spacing: -.025em; color: var(--ink); }
.statement__text strong { color: var(--blue-600); }
.statement__text .word { display: inline-block; }

/* ---------- Clients + form ---------- */
.clients-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin-top: 28px; }
.logo-grid li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.logo-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-grid img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.logo-grid li:hover img { filter: none; opacity: 1; }

.form-card { padding: clamp(26px, 3.5vw, 44px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card__title { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 6px; }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 14px; margin-top: 22px; }
.wpcf7 form > p { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.wpcf7 form > p > .wpcf7-form-control-wrap:has(textarea), .wpcf7 form > p > .wpcf7-form-control-wrap:first-child { grid-column: 1 / -1; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 form .row { margin: 0; }
.wpcf7 form br { display: none; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select, .search-box input {
    width: 100%; min-height: 54px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 14px;
    background: var(--tint); color: var(--ink); font: inherit; font-size: 15.5px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.wpcf7 textarea { height: 150px; min-height: 120px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .search-box input:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(42,120,240,.14); }
.wpcf7 [type="submit"] {
    width: 100%; min-height: 54px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--blue-600); color: #fff;
    font: inherit; font-weight: 700; cursor: pointer; transition: background .3s, transform .35s var(--ease), box-shadow .35s;
}
.wpcf7 [type="submit"]:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(15,95,214,.6); }
.wpcf7-spinner { margin: 10px auto 0; display: block; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #c62828; }
.wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: radial-gradient(900px 400px at 90% 0%, rgba(42,120,240,.38), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950));
    padding: clamp(64px, 8vw, 116px) 0 clamp(64px, 7vw, 100px);
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero__glow { position: absolute; left: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; background: var(--amber-600); filter: blur(90px); opacity: .25; z-index: -1; }
.page-hero__inner > * { max-width: 920px; }
.page-hero__title { font-size: clamp(36px, 5.4vw, 68px); color: #fff; letter-spacing: -.035em; margin-bottom: 18px; }
.page-hero__title--article { font-size: clamp(30px, 4.2vw, 54px); }
.page-hero__intro { max-width: 680px; font-size: clamp(16.5px, 1.4vw, 19px); color: rgba(255,255,255,.75); margin: 0; }
.page-hero--compact { padding: 26px 0; }
.page-hero--compact .breadcrumb { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--amber-400); }
.breadcrumb [aria-current] { color: var(--amber-400); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: rgba(255,255,255,.72); font-size: 14.5px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-intro__media { position: relative; }
.experience-badge {
    position: absolute; right: -24px; bottom: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 168px; height: 168px; border-radius: 50%; background: var(--amber-500); color: var(--navy-900); text-align: center;
    box-shadow: 0 24px 50px -20px rgba(224,142,0,.8); border: 8px solid #fff;
}
.experience-badge__num { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; }
.experience-badge__label { font-size: 13px; font-weight: 700; line-height: 1.3; max-width: 100px; margin-top: 6px; }

.stats-band { background: var(--navy-900); padding: clamp(44px, 6vw, 72px) 0; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 22px; border-left: 2px solid var(--amber-500); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: #fff; }
.stat__label { color: rgba(255,255,255,.66); font-size: 15px; }

.ceo-card { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.ceo-card__aside { text-align: center; }
.ceo-card__photo { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 1 / 1; background: var(--tint); margin-bottom: 18px; box-shadow: var(--shadow-sm); position: sticky; top: 120px; }
.ceo-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-card__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); }
.ceo-card__role { margin: 0; color: var(--muted); font-size: 14.5px; }
.ceo-card__mark { position: absolute; right: clamp(24px, 4vw, 56px); top: clamp(24px, 4vw, 48px); color: var(--amber-500); opacity: .25; }
.ceo-card__mark .icon { width: 90px; height: 90px; }
.ceo-card__sign { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); }
.ceo-card__sign span { display: block; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cert-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); border: 1px solid var(--line); aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.cert-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert-card:hover img { transform: scale(1.06); }
.cert-card__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.cert-card:hover .cert-card__zoom, .product-detail__frame:hover .cert-card__zoom { transform: none; opacity: 1; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.search-box { position: relative; }
.search-box input { padding-right: 54px; background: #fff; }
.search-box button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--blue-600); color: #fff; transition: background .3s; }
.search-box button:hover { background: var(--blue-700); }
.search-wide { max-width: 620px; margin: 0 auto 44px; }
.sidebar-card { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.sidebar-card__title { font-size: 18px; margin-bottom: 14px; }
.sidebar-card--dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent; color: rgba(255,255,255,.75); }
.sidebar-card--dark .sidebar-card__title { color: #fff; }
.sidebar-card--dark p { font-size: 15px; }
.sidebar-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: #25d366; color: #fff; }
.cat-list { list-style: none; display: grid; gap: 4px; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--body); font-weight: 600; font-size: 15px; transition: background .25s, color .25s, padding .3s var(--ease); }
.cat-list a:hover { background: var(--tint); color: var(--blue-600); padding-left: 16px; }
.cat-list a.is-active { background: var(--blue-600); color: #fff; }
.cat-list__count { min-width: 30px; padding: 2px 8px; border-radius: 99px; background: var(--tint); color: var(--muted); font-size: 12.5px; text-align: center; }
.cat-list a.is-active .cat-list__count { background: rgba(255,255,255,.2); color: #fff; }
.cat-list .icon { color: var(--muted); }

.chip-row { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.results-bar p { margin: 0; }
.results-bar strong { color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease), border-color .4s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tint); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 20px; }
.product-card__title { margin: 0; font-size: 16.5px; line-height: 1.4; font-weight: 600; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--blue-600); }
.product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }

.pagination { margin-top: 48px; }
.pagination .nav-links, .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; transition: background .25s, color .25s, border-color .25s; }
.pagination a.page-numbers:hover { border-color: var(--blue-600); color: var(--blue-600); }
.pagination .page-numbers.current { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }

.empty-state { max-width: 560px; margin: 20px auto; padding: 48px 32px; text-align: center; border-radius: var(--radius-lg); background: var(--tint); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-detail__media { position: sticky; top: calc(var(--header-h) + 24px); }
.product-detail__frame { position: relative; display: block; overflow: hidden; border-radius: var(--radius-xl); background: var(--tint); border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.product-detail__frame img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.product-detail__frame:hover img { transform: scale(1.04); }
.product-detail__title { font-size: clamp(28px, 3.4vw, 42px); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 26px; }
.trust-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #eaf8ef; color: #17733c; font-weight: 600; font-size: 14px; }

/* ---------- Blog ---------- */
.feature-post { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; overflow: hidden; margin-bottom: 56px; border-radius: var(--radius-xl); background: var(--navy-900); color: rgba(255,255,255,.75); box-shadow: var(--shadow-lg); }
.feature-post__media { display: block; overflow: hidden; min-height: 380px; }
.feature-post__media img { width: 100%; height: 115%; object-fit: cover; }
.feature-post__body { padding: clamp(28px, 4vw, 56px); align-self: center; }
.feature-post__title { font-size: clamp(24px, 2.6vw, 34px); }
.feature-post__title a { color: #fff; }
.feature-post__title a:hover { color: var(--amber-400); }
.feature-post .post-card__meta { color: rgba(255,255,255,.6); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__cat { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 99px; background: var(--amber-500); color: var(--navy-900); font-size: 12px; font-weight: 700; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.post-card__title { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.post-card__title a:hover { color: var(--blue-600); background-size: 100% 2px; }
.post-card__excerpt { font-size: 15px; margin-bottom: 18px; }
.post-card .link-arrow { margin-top: auto; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(32px, 5vw, 64px); align-items: start; padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.article__hero { margin: 0 0 36px; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.article__hero img { width: 100%; }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.mini-posts { list-style: none; display: grid; gap: 14px; }
.mini-posts a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--ink); }
.mini-posts img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.mini-posts strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; transition: color .25s; }
.mini-posts small { color: var(--muted); font-size: 12.5px; }
.mini-posts a:hover strong { color: var(--blue-600); }
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.share-row a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--ink); transition: background .3s, color .3s; }
.share-row a:hover { background: var(--blue-600); color: #fff; }

.prose { color: var(--body); font-size: 17px; line-height: 1.8; }
.prose--narrow { max-width: 820px; margin-inline: auto; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: clamp(20px, 2vw, 24px); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--blue-600); }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose blockquote { margin: 1.8em 0; padding: 20px 26px; border-left: 4px solid var(--amber-500); border-radius: 0 var(--radius) var(--radius) 0; background: var(--tint); color: var(--ink); font-size: 1.05em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--tint); color: var(--ink); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.prose .wp-block-image img { margin: 0; }
.comments-wrap { margin-top: 48px; }

/* ---------- Contact ---------- */
.support-note { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 99px; background: var(--amber-100); color: var(--navy-900); font-weight: 600; font-size: 15px; }
.support-note .icon { color: var(--amber-600); }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.contact-card { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--body); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.contact-card h3 { font-size: 18px; margin: 18px 0 6px; }
.contact-card p { margin: 0; font-size: 15px; word-break: break-word; }
.contact-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-50); color: var(--blue-600); transition: background .3s, color .3s; }
.contact-card:hover .contact-card__icon { background: var(--blue-600); color: #fff; }
.contact-card--wa .contact-card__icon, .contact-card--wa:hover .contact-card__icon { background: #25d366; color: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: stretch; }
.map-card { overflow: hidden; min-height: 420px; border-radius: var(--radius-xl); background: var(--tint); box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- 404 ---------- */
.not-found { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 12vw, 160px) 0; background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; text-align: center; }
.not-found__inner { max-width: 720px; }
.not-found__drop { display: inline-flex; color: var(--amber-500); margin-bottom: 18px; }
.not-found .page-hero__intro { margin: 0 auto 28px; }
.not-found__search { max-width: 520px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: rgba(255,255,255,.66); padding-top: clamp(56px, 7vw, 90px); font-size: 15.5px; }
.site-footer__glow { position: absolute; right: -200px; top: -200px; z-index: -1; width: 600px; height: 600px; border-radius: 50%; background: var(--blue-600); filter: blur(140px); opacity: .25; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding-bottom: clamp(44px, 6vw, 70px); margin-bottom: clamp(44px, 6vw, 70px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta__title { max-width: 720px; margin: 0; font-size: clamp(28px, 3.6vw, 46px); color: #fff; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: 14px; background: #fff; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; }
.footer-tagline { margin: 0 0 10px; color: var(--amber-400); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; }
.footer-title { margin-bottom: 20px; font-size: 17px; color: #fff; }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a { position: relative; color: rgba(255,255,255,.7); transition: color .3s, padding .3s var(--ease); }
.footer__links a:hover { color: var(--amber-400); padding-left: 6px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.footer-contact .icon { margin-top: 3px; color: var(--amber-500); }
.footer-contact a { color: rgba(255,255,255,.8); word-break: break-word; }
.footer-contact a:hover { color: var(--amber-400); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); color: #fff; transition: background .3s, border-color .3s, color .3s, transform .35s var(--ease); }
.footer-social a:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 88px; z-index: 90; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .35s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 160px; z-index: 89; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--navy-900); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, visibility .35s, transform .35s var(--ease), background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-600); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; background: rgba(4, 13, 29, .92); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(1000px, 100%); max-height: 88vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; }

/* ---------- Motion: initial states only when GSAP is running ---------- */
.js-anim [data-reveal], .js-anim [data-stagger] > *, .js-anim [data-hero-item], .js-anim [data-hero-visual] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-anim [data-reveal], .js-anim [data-stagger] > *, .js-anim [data-hero-item], .js-anim [data-hero-visual] { opacity: 1; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .header-call__text { display: none; }
    .nav__list a { padding: 10px 11px; font-size: 14.5px; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
    :root { --header-h: 74px; }
    .menu-toggle { display: block; }
    .header-call { display: none; }
    .nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; width: min(380px, 88vw); flex-direction: column; justify-content: flex-start;
        padding: 96px 24px 32px; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto;
        transform: translateX(105%); visibility: hidden; transition: transform .55s var(--ease), visibility .55s;
    }
    .nav.is-open { transform: none; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__list a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
    .nav__list a::after { display: none; }
    .nav__list a:hover, .nav__list .is-current > a { background: var(--tint); }
    .nav__mobile-extra { display: grid; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
    .nav__mobile-contact { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); font-weight: 700; }
    /* backdrop-filter would make the header the containing block of the fixed drawer */
    .site-header { z-index: 101; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-open .site-header { transform: none; }
    .site-header .menu-toggle { position: relative; z-index: 102; }
    .hero__inner, .why__inner, .testimonials__inner, .about-faq, .clients-contact, .about-intro, .product-detail, .contact-layout { grid-template-columns: 1fr; }
    .hero__visual { width: 100%; margin-top: 12px; }
    .hero__title { max-width: none; }
    .hero__badge { left: calc(50% - 280px); }
    .split-head { grid-template-columns: 1fr; align-items: start; }
    .split-head--tight { grid-template-columns: 1fr auto; align-items: end; }
    .testimonials__media { max-width: 560px; }
    .shop-layout, .article-layout { grid-template-columns: 1fr; }
    .shop-sidebar, .article-sidebar, .product-detail__media { position: static; }
    .shop-sidebar .sidebar-card:not(.sidebar-card--dark) { display: none; }
    .shop-sidebar .sidebar-card--dark { display: none; }
    .chip-row { display: flex; }
    .article-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ceo-card { grid-template-columns: 1fr; }
    .ceo-card__aside { display: grid; grid-template-columns: 120px 1fr; gap: 4px 18px; align-items: center; text-align: left; }
    .ceo-card__photo { grid-row: span 2; margin: 0; position: static; }
    .ceo-card__name { align-self: end; }
    .ceo-card__role { align-self: start; }
    .cert-grid, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .post-grid, .product-grid, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-post { grid-template-columns: 1fr; }
    .feature-post__media { min-height: 0; aspect-ratio: 16 / 9; }
    .experience-badge { right: 12px; }
    .rating-chip { right: 12px; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }

    /* Mobile header: no top bar, compact logo, call + menu buttons grouped on the right. */
    :root { --header-h: 64px; }
    .topbar { display: none; }
    .site-header__inner { gap: 12px; }
    .brand img { height: 34px; max-width: 168px; }
    .site-header__actions { margin-left: auto; gap: 8px; }
    .header-cta { display: none; }
    .header-call { display: flex; }
    .header-call__text { display: none; }
    .header-call__icon { width: 44px; height: 44px; background: var(--blue-600); color: #fff; }
    .menu-toggle { width: 44px; height: 44px; border-radius: 50%; border-color: var(--line); }
    .menu-toggle span { left: 13px; right: 13px; }
    .menu-toggle span:nth-child(1) { top: 15px; }
    .menu-toggle span:nth-child(2) { top: 21px; }
    .menu-toggle span:nth-child(3) { top: 27px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .nav { padding-top: 84px; }

    /* Mobile hero: heading → banner stack → buttons → compact stats. The intro paragraph is hidden. */
    .hero { padding: 28px 0 44px; text-align: center; }
    .hero__inner { display: flex; flex-direction: column; gap: 0; }
    .hero__copy { display: contents; }
    .hero__copy > .eyebrow { order: 1; justify-content: center; margin-bottom: 10px; font-size: 11.5px; letter-spacing: .12em; }
    .hero__title { order: 2; font-size: clamp(30px, 8.6vw, 38px); margin: 0 auto 22px; max-width: 340px; }
    .hero__lead { display: none; }
    .hero__visual { order: 3; margin: 0; }
    .hero__actions { order: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
    .hero__actions .btn { min-height: 50px; padding: 12px 10px; font-size: 14.5px; gap: 8px; }
    .hero__stats { order: 5; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; padding: 16px 4px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.04); }
    .hero__stats > div, .hero__stats > div + div { padding: 0 4px; align-items: center; }
    .hero__stats > div + div { border-left: 1px solid rgba(255,255,255,.1); }
    .hero__stats dd { font-size: 21px; }
    .hero__stats dt { font-size: 10.5px; line-height: 1.3; }
    .hero__scroll, .hero__halo { display: none; }
    .hero__badge { display: none; }
    .story-deck { width: min(56vw, 230px); }
    .story-card { border-radius: 20px; }
    .story-card[data-pos="1"] { transform: translateX(30%) rotate(6deg) scale(.86); }
    .story-card[data-pos="2"] { transform: translateX(-30%) rotate(-6deg) scale(.86); }
    .deck-controls { margin-top: 16px; gap: 12px; }
    .deck-controls .deck-btn { width: 40px; height: 40px; font-size: 16px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .category-card__body { padding: 14px 14px 16px; }
    .category-card__name { font-size: 15.5px; }
    .category-card__arrow { display: none; }
    .feature-list { grid-template-columns: 1fr; }
    .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wpcf7 form > p { grid-template-columns: 1fr; }
    .post-grid, .product-grid, .product-grid--4, .article-sidebar, .contact-cards { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; }
    .value-card { grid-template-columns: 1fr; padding: 22px; }
    .value-card__icon { grid-row: auto; }
    .rating-chip { position: static; max-width: none; margin-top: 16px; }
    .experience-badge { width: 130px; height: 130px; bottom: 18px; border-width: 6px; }
    .experience-badge__num { font-size: 36px; }
    .split-head--tight { grid-template-columns: 1fr; }
    .wa-float { right: 16px; bottom: 84px; width: 56px; height: 56px; }
    .to-top { right: 22px; bottom: 150px; }
}
