/*
Theme Name: Aventis Health
Theme URI: https://aventisrcm.com/
Author: Aventis Health
Author URI: https://aventisrcm.com/
Description: A navy-and-gold (Aventis logo palette), colourful healthcare revenue cycle and payer-services theme with 3D animation, hero and footer background video, Shopify-style homepage sections, Services post type with FAQs, blog and contact form. Version 2.2 adds a mega menu with pictures (Appearance > Menus), a floating pill header option, and selectable Showcase / Split / Minimal styles for pages, services and posts. Version 2.4 adds drag-and-drop section ordering, service and Why choose us designs, a video on/off band for every page, Instagram and dynamic footer menus. Customize everything from Appearance > Customize, no code needed.
Version: 2.34.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aventis-health
Tags: custom-colors, custom-logo, custom-menu, featured-images, one-column, two-columns, threaded-comments, translation-ready, blog, business
*/

/* ==========================================================================
   1. Design tokens (colours below are overridden from the Customizer)
   ========================================================================== */
:root {
	--av-primary: #2b4fd8;
	--av-primary-dark: #1c3490;
	--av-ink: #0c1442;
	--av-accent: #14b8a6;
	--av-accent-soft: #e6f8f6;
	--av-accent-ink: #0b6f66;
	--av-violet: #7c3aed;
	--av-violet-soft: #f1eafe;
	--av-rose: #f43f5e;
	--av-rose-soft: #ffe9ed;
	--av-amber: #f59e0b;
	--av-text: #1b2447;
	--av-muted: #5a6486;
	--av-line: #e4e8f5;
	--av-soft: #f5f7ff;
	--av-white: #fff;
	--av-grad: linear-gradient(135deg, var(--av-primary), var(--av-violet));
	--av-grad-2: linear-gradient(135deg, var(--av-accent), var(--av-primary));
	--av-grad-3: linear-gradient(135deg, var(--av-violet), var(--av-rose));
	--av-grad-4: linear-gradient(135deg, var(--av-amber), var(--av-rose));
	--av-radius: 18px;
	--av-shadow: 0 10px 30px rgba(43, 79, 216, 0.1);
	--av-shadow-lg: 0 24px 60px rgba(30, 40, 120, 0.22);
	--av-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--av-header-h: 76px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--av-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--av-text);
	background: var(--av-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--av-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--av-accent-ink); }
h1, h2, h3, h4 { color: var(--av-ink); line-height: 1.2; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(calc(2.1rem * var(--hs-1, 1)), calc(4.4vw * var(--hs-1, 1)), calc(3.4rem * var(--hs-1, 1))); }
h2 { font-size: clamp(calc(1.6rem * var(--hs-2, 1)), calc(3vw * var(--hs-2, 1)), calc(2.3rem * var(--hs-2, 1))); }
h3 { font-size: calc(1.2rem * var(--hs-3, 1)); letter-spacing: -0.01em; }
h4 { font-size: calc(1em * var(--hs-4, 1)); }
h5 { font-size: calc(0.83em * var(--hs-5, 1)); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--av-accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.center-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--av-primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
	font: 700 0.95rem/1 var(--av-font); text-decoration: none; cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--av-primary); color: #fff; box-shadow: 0 8px 20px rgba(11, 60, 93, 0.25); }
.btn-primary:hover { background: var(--av-primary-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--av-primary); border-color: var(--av-primary); }
.btn-ghost:hover { background: var(--av-primary); color: #fff; }
.btn-outline { background: #fff; color: var(--av-primary); border-color: var(--av-line); }
.btn-outline:hover { border-color: var(--av-primary); color: var(--av-primary); }
.btn-light { background: #fff; color: var(--av-primary-dark); }
.btn-light:hover { background: var(--av-accent-soft); color: var(--av-primary-dark); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--av-header-h);
	background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--av-line); transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 60, 93, 0.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { max-height: 48px; width: auto; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--av-primary-dark); }
.brand-mark {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: linear-gradient(135deg, var(--av-primary), var(--av-accent)); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }

.primary-nav { display: flex; align-items: center; gap: 20px; }
.primary-nav .menu, .primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none;
	color: var(--av-text); font-weight: 600; font-size: 0.95rem;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current-menu-ancestor > a { color: var(--av-primary); background: var(--av-accent-soft); }
.primary-nav .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: 0.75em; opacity: 0.7; }

.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 300px; padding: 10px;
	background: #fff; border: 1px solid var(--av-line); border-radius: 14px; box-shadow: var(--av-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.18s ease;
	display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 2px;
}
/* .kb-open (keyboard focus) replaces :focus-within so a mouse click can no longer leave a dropdown stuck open. */
.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children.kb-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .menu-item-has-children.dismissed > .sub-menu,
.primary-nav .menu-item-has-children.dismissed:hover > .sub-menu { opacity: 0; visibility: hidden; pointer-events: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--av-text); font-size: 0.9rem; font-weight: 500; }
.primary-nav .sub-menu a:hover { background: var(--av-accent-soft); color: var(--av-primary); }
.primary-nav .sub-menu .menu-group-label { grid-column: 1 / -1; }
.primary-nav .sub-menu .menu-group-label > a,
.primary-nav .sub-menu li.menu-group-label:not(:has(a)) {
	font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--av-accent-ink); padding: 10px 12px 4px;
}
.primary-nav .sub-menu li.menu-group-label:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--av-line); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--av-line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--av-primary-dark); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle .bars::after { top: 7px; left: 0; right: 0; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }
.sub-toggle { display: none; }

/* ==========================================================================
   5. Hero (video + 3D scene)
   ========================================================================== */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--av-accent-soft); color: var(--av-accent-ink); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; }
.lead { font-size: 1.15rem; color: var(--av-muted); max-width: 640px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--av-line); font-size: 0.85rem; font-weight: 600; color: var(--av-primary); }
.chips li::before { content: "✓"; color: var(--av-accent); margin-right: 8px; font-weight: 800; }
.dash-head { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.dash-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.dash-title { margin-left: 10px; font-size: 0.8rem; font-weight: 700; opacity: 0.8; }
.dash-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #5eead4, #a78bfa); }
.dash-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 22px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.25); }
.dash-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #5eead4, #7c3aed); opacity: 0.95; }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: blob-move 18s ease-in-out infinite alternate; pointer-events: none; }
.blob.b1 { width: 520px; height: 520px; left: -140px; top: -160px; background: var(--av-violet); }
.blob.b2 { width: 480px; height: 480px; right: -120px; bottom: -180px; background: var(--av-accent); animation-delay: -6s; }
.blob.b3 { width: 380px; height: 380px; left: 42%; top: 18%; background: var(--av-rose); opacity: 0.35; animation-delay: -11s; }
@keyframes blob-move { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(70px, 50px) scale(1.18); } }

.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.bg-video.is-playing { opacity: 0.65; }
.video-failed .bg-video { display: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 20, 66, 0.9) 0%, rgba(12, 20, 66, 0.55) 55%, rgba(76, 29, 149, 0.4) 100%); }
.video-toggle { position: absolute; right: 24px; bottom: 20px; z-index: 5; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); color: #fff; font: 700 0.78rem var(--av-font); cursor: pointer; }
.video-toggle:hover { background: rgba(255, 255, 255, 0.25); }
.video-toggle[aria-pressed="true"] .vt-pause, .video-toggle[aria-pressed="false"] .vt-play { display: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; padding: 88px 0 120px; color: #fff; background: linear-gradient(135deg, #0c1442 0%, #1c2a8c 48%, #4c1d95 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(calc(2.6rem * var(--hs-1, 1)), calc(6vw * var(--hs-1, 1)), calc(4.2rem * var(--hs-1, 1))); line-height: 1.04; margin-bottom: 22px; }
.hero .lead { color: rgba(255, 255, 255, 0.84); font-size: 1.2rem; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; backdrop-filter: blur(8px); }
.hero .btn-row { margin: 32px 0 28px; }
.hero .chips li { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #fff; backdrop-filter: blur(6px); }
.hero .chips li::before { color: #5eead4; }
.grad-text { background: linear-gradient(90deg, #5eead4, #a78bfa, #fda4af, #5eead4); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 8s linear infinite; }
@keyframes grad-shift { to { background-position: 220% 0; } }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(94, 234, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); } }

/* 3D scene: JS rotates .stage-inner toward the pointer (and sways when idle) */
.stage3d { position: relative; perspective: 1500px; min-height: 480px; display: grid; place-items: center; }
.stage-inner { position: relative; width: min(100%, 540px); height: 420px; transform-style: preserve-3d; will-change: transform; transform: rotateX(6deg) rotateY(-14deg); }
.plate { position: absolute; inset: 36px 16px 30px; padding: 26px; border-radius: 26px; color: #fff; background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07)); border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 40px 80px rgba(5, 8, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); backdrop-filter: blur(14px); transform: translateZ(0); }
.gcard { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.96); color: var(--av-ink); box-shadow: 0 24px 50px rgba(5, 8, 40, 0.45); animation: float-y 6s ease-in-out infinite; }
.gcard strong { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.gcard span:not(.gicon) { display: block; font-size: 0.78rem; font-weight: 600; color: var(--av-muted); }
.gicon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--av-grad); color: #fff; flex: none; }
.gc-2 .gicon { background: var(--av-grad-2); }
.gc-3 .gicon { background: var(--av-grad-3); }
.gc-1 { top: -8px; left: 40px; translate: 0 0 120px; }
.gc-2 { top: 40%; right: -34px; translate: 0 0 160px; animation-delay: -2s; }
.gc-3 { bottom: -12px; left: 10%; translate: 0 0 100px; animation-delay: -4s; }
@keyframes float-y { 50% { transform: translateY(-12px); } }

.cube { position: absolute; width: 84px; height: 84px; transform-style: preserve-3d; animation: cube-spin 16s linear infinite; }
.cube i { position: absolute; inset: 0; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.5); background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: 0.92; }
.cube i:nth-child(1) { transform: translateZ(42px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(42px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(42px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(42px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(42px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(42px); }
.cube-1 { --c1: #a78bfa; --c2: #f43f5e; top: -34px; right: 10%; translate: 0 0 200px; }
.cube-2 { --c1: #5eead4; --c2: #2b4fd8; width: 56px; height: 56px; bottom: 6%; right: -6px; translate: 0 0 140px; animation-duration: 11s; animation-direction: reverse; }
.cube-2 i { transform-origin: center; }
.cube-2 i:nth-child(1) { transform: translateZ(28px); }
.cube-2 i:nth-child(2) { transform: rotateY(180deg) translateZ(28px); }
.cube-2 i:nth-child(3) { transform: rotateY(90deg) translateZ(28px); }
.cube-2 i:nth-child(4) { transform: rotateY(-90deg) translateZ(28px); }
.cube-2 i:nth-child(5) { transform: rotateX(90deg) translateZ(28px); }
.cube-2 i:nth-child(6) { transform: rotateX(-90deg) translateZ(28px); }
@keyframes cube-spin { to { transform: rotateX(360deg) rotateY(360deg); } }
.ring { position: absolute; left: 50%; top: 52%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: conic-gradient(from 0deg, #5eead4, #a78bfa, #f43f5e, #f59e0b, #5eead4); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); opacity: 0.8; translate: 0 0 -70px; animation: ring-spin 14s linear infinite; }
@keyframes ring-spin { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }

/* ==========================================================================
   6. Sections, cards, grids
   ========================================================================== */
.section { padding: 88px 0; }
.section-soft { background: var(--av-soft); }
.section-dark { background: linear-gradient(135deg, var(--av-primary-dark), var(--av-primary)); color: #dbe8f1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--av-muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9cfde; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius);
	padding: 28px; text-decoration: none; color: var(--av-text); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card:hover { transform: translateY(-5px); box-shadow: var(--av-shadow-lg); border-color: var(--av-accent); color: var(--av-text); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--av-muted); font-size: 0.97rem; flex: 1; }
.card-link { font-weight: 700; font-size: 0.92rem; color: var(--av-primary); text-decoration: none; margin-top: 8px; }
a.card:hover .card-link, .card-link:hover { color: var(--av-accent-ink); }
.icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--av-accent-soft); color: var(--av-accent-ink); margin-bottom: 18px; flex: none; }
.tag { display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--av-soft); color: var(--av-accent-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.service-card.is-hidden { display: none; }

.feature { padding: 8px 4px; }
.feature p { color: var(--av-muted); font-size: 0.97rem; }

.stats-band { background: var(--av-primary); color: #fff; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.stat span { color: #bcd3e3; font-size: 0.92rem; font-weight: 500; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 0; }
.steps li { position: relative; padding: 28px; border-radius: var(--av-radius); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.steps p { color: #c3d7e5; font-size: 0.95rem; margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--av-accent); color: #fff; font-weight: 800; margin-bottom: 16px; }

.chip-filter { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0 0 40px; }
.chip-filter button, .chip-filter a { display: inline-block; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--av-line); background: #fff; color: var(--av-primary); font: 700 0.9rem var(--av-font); text-decoration: none; cursor: pointer; }
.chip-filter .is-active, .chip-filter button:hover, .chip-filter a:hover { background: var(--av-primary); color: #fff; border-color: var(--av-primary); }
.empty-note { text-align: center; color: var(--av-muted); padding: 32px 0; }

/* Post cards */
.post-card { padding: 0; overflow: hidden; }
.post-thumb { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--av-primary), var(--av-accent)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-placeholder { display: grid; place-items: center; height: 100%; color: rgba(255, 255, 255, 0.85); }
.thumb-placeholder svg { width: 54px; height: 54px; }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 a { color: var(--av-primary-dark); text-decoration: none; }
.post-body h3 a:hover { color: var(--av-accent-ink); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--av-muted); font-size: 0.82rem; margin-bottom: 10px; }
.post-meta .tag { margin: 0; }

/* ==========================================================================
   7. Inner pages
   ========================================================================== */
.page-hero { padding: 64px 0 56px; background: radial-gradient(700px 300px at 90% 0%, var(--av-accent-soft), transparent 70%), var(--av-soft); border-bottom: 1px solid var(--av-line); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { margin-bottom: 0; }
.center-text .lead { margin-left: auto; margin-right: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--av-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--av-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--av-primary); }
.breadcrumbs .current { color: var(--av-primary); font-weight: 600; }
.byline { color: var(--av-muted); font-size: 0.92rem; margin: 0; }

.entry-content { font-size: 1.05rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--av-accent); color: var(--av-muted); font-size: 1.1rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--av-line); text-align: left; }
.entry-content th { background: var(--av-soft); }
.post-image { margin: 0 0 32px; }
.post-image img { width: 100%; border-radius: 18px; }
.post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--av-soft); text-decoration: none; font-size: 0.85rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.nav-links a, .nav-links span { padding: 9px 16px; border: 1px solid var(--av-line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.nav-links .current { background: var(--av-primary); color: #fff; border-color: var(--av-primary); }

.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--av-line); border-radius: var(--av-radius); padding: 26px; box-shadow: var(--av-shadow); margin-bottom: 20px; }
.side-card h3 { margin-bottom: 14px; }
.check-list, .side-links { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--av-line); font-size: 0.97rem; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--av-accent-soft); color: var(--av-accent-ink); font-size: 0.75rem; font-weight: 800; display: grid; place-items: center; }
.side-links li { border-bottom: 1px solid var(--av-line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 9px 0; text-decoration: none; font-weight: 500; font-size: 0.95rem; }

.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.service-side { position: sticky; top: calc(var(--av-header-h) + 24px); }
.cta-card { background: linear-gradient(160deg, var(--av-primary), var(--av-primary-dark)); border: 0; color: #d4e4ef; }
.cta-card h3 { color: #fff; }
.cta-card .icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.benefit-grid { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-grid li { display: flex; gap: 12px; padding: 16px 18px; background: var(--av-soft); border-radius: 12px; font-weight: 600; font-size: 0.97rem; }
.tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--av-accent); color: #fff; font-size: 0.8rem; }

.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--av-line); border-radius: 14px; overflow: hidden; }
.faq-item[open] { border-color: var(--av-accent); box-shadow: var(--av-shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--av-primary-dark); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--av-accent-soft); color: var(--av-accent-ink); font-size: 1.2rem; transition: transform 0.2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 6px; color: var(--av-muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: center; }
.info-list .icon { margin: 0; width: 46px; height: 46px; }
.info-list .icon img { width: 26px; height: 26px; object-fit: contain; display: block; }
.info-list a { display: block; }
.info-list li { align-items: flex-start; }
.info-list strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--av-muted); }
.map-embed iframe { width: 100%; height: 280px; border: 0; border-radius: 16px; }
.form-card { background: #fff; border: 1px solid var(--av-line); border-radius: 22px; padding: 36px; box-shadow: var(--av-shadow-lg); }
.form-card h2 { font-size: 1.5rem; }

/* Forms */
.contact-form p { margin: 0 0 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.88rem; color: var(--av-primary-dark); }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
	width: 100%; padding: 13px 16px; border: 1px solid #cfdbe6; border-radius: 12px; background: #fff;
	font: 500 1rem var(--av-font); color: var(--av-text); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--av-accent); box-shadow: 0 0 0 4px var(--av-accent-soft); }
textarea { resize: vertical; min-height: 130px; }
.av-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { padding: 12px 16px; border-radius: 12px; background: #fff8e6; border: 1px solid #f3dfa5; color: #6b5311; font-size: 0.88rem; }
.form-note { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.form-note-success { background: #e6f7ee; color: #14683b; border: 1px solid #b6e4c9; }
.form-note-error { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c1c1; }

/* ==========================================================================
   8. Footer stage (video) with CTA and footer columns
   ========================================================================== */
.footer-stage { position: relative; overflow: hidden; isolation: isolate; color: #c9d0f5; background: linear-gradient(135deg, #0c1442, #2b1a7a 55%, #4c1d95); }
.stage-bg { position: absolute; inset: 0; z-index: -1; }
.footer-stage.has-video .stage-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 66, 0.5), rgba(12, 20, 66, 0.92)); }
.footer-stage .bg-video.is-playing { opacity: 0.8; }

.cta-band { position: relative; padding: 104px 0 80px; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-band h2 { color: #fff; font-size: clamp(calc(2rem * var(--hs-2, 1)), calc(4.8vw * var(--hs-2, 1)), calc(3.5rem * var(--hs-2, 1))); max-width: 860px; margin: 0 0 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.86); font-size: 1.2rem; margin: 0; }
.cta-band .btn { padding: 17px 36px; font-size: 1.05rem; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.35); }

.site-footer { position: relative; background: rgba(8, 12, 44, 0.55); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.14); color: #b9c2ee; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.site-footer a { color: #b9c2ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand-link { color: #fff; }
.site-footer .brand-name { color: #fff; }
.footer-menu, .footer-contact, .social-links { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-contact li { margin-bottom: 10px; }
.footer-brand p { margin: 16px 0; max-width: 340px; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 800; font-size: 0.8rem; }
.social-links a:hover { background: var(--av-grad); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 20px 0 56px; font-size: 0.85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom p { margin: 0; }
.footer-stage .video-toggle { bottom: 14px; }

/* ==========================================================================
   9. Motion (reveal uses the individual translate/rotate properties so it never
   fights the JS tilt, which uses transform)
   ========================================================================== */
.js [data-reveal] { opacity: 0; translate: 0 30px; rotate: 1 0 0 8deg; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), rotate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].in { opacity: 1; translate: 0 0; rotate: 1 0 0 0deg; }
.js [data-reveal][data-tilt].in { transition: transform 0.15s ease-out, box-shadow 0.25s ease, border-color 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal] { opacity: 1; translate: none; rotate: none; }
}
.no-3d .cube, .no-3d .ring { display: none; }
.no-3d .stage-inner { transform: none !important; }
.no-3d .gcard { animation: none; }

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1020px) {
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4, .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-grid, .about-grid, .contact-grid, .service-layout { grid-template-columns: 1fr; gap: 40px; }
	.service-side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.hero-visual { max-width: 560px; }
	.fc-1 { right: 0; }
	.fc-2 { left: 0; }
}

@media (max-width: 900px) {
	.site-header { backdrop-filter: none; background: #fff; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed; top: var(--av-header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 20px 24px 40px; background: #fff; overflow-y: auto; display: none;
	}
	.nav-open .primary-nav { display: flex; }
	.nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--av-line); }
	.primary-nav .menu > li > a { padding: 16px 4px; font-size: 1.05rem; background: none !important; }
	.primary-nav .menu-item-has-children > a::after { display: none; }
	.primary-nav .menu-item-has-children { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
	.primary-nav .sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: var(--av-soft); border-radius: 10px; font-size: 1rem; cursor: pointer; color: var(--av-primary); }
	.primary-nav .sub-menu { position: static; grid-column: 1 / -1; display: none; grid-template-columns: 1fr; min-width: 0; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px 8px; }
	.primary-nav .menu-item-has-children.open > .sub-menu { display: grid; }
	.primary-nav .menu-item-has-children:hover > .sub-menu { opacity: 1; }
	.nav-cta { width: 100%; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.section { padding: 64px 0; }
	.hero { padding: 48px 0 72px; }
	.grid-3, .grid-4, .steps, .benefit-grid, .form-row { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.form-card { padding: 24px; }
	.dash-row { grid-template-columns: 100px 1fr; }
	.float-card { display: none; }
}

/* ==========================================================================
   11. Colourful components (announcement, marquee, panels, tabs, 3D tilt)
   ========================================================================== */
.announce-bar { background: linear-gradient(90deg, var(--av-violet), var(--av-primary) 50%, var(--av-accent)); color: #fff; font-size: 0.86rem; font-weight: 600; }
.announce-inner { display: flex; justify-content: center; align-items: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; text-align: center; flex-wrap: wrap; }
.announce-bar a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.announce-bar a:hover { color: #fff; opacity: 0.85; }

.btn-primary { background: var(--av-grad); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.38); }
.btn-primary:hover { background: var(--av-grad); filter: brightness(1.08); box-shadow: 0 16px 38px rgba(124, 58, 237, 0.5); }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.4); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-light { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }

.brand-mark { background: var(--av-grad); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4); }
.primary-nav .menu > li > a:hover, .primary-nav .menu > li.current-menu-item > a, .primary-nav .menu > li.current-menu-ancestor > a { background: var(--av-violet-soft); color: var(--av-violet); }
.primary-nav .sub-menu a:hover { background: var(--av-violet-soft); color: var(--av-violet); }

/* Inner page heroes */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-bottom: 0; padding: 72px 0 64px; background: linear-gradient(120deg, var(--av-ink), var(--av-primary-dark) 55%, var(--av-violet)); }
.page-hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -120px; top: -180px; border-radius: 50%; background: var(--av-accent); filter: blur(90px); opacity: 0.45; z-index: -1; }
.page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; left: -100px; bottom: -200px; border-radius: 50%; background: var(--av-rose); filter: blur(90px); opacity: 0.3; z-index: -1; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.84); }
.page-hero .eyebrow { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a, .page-hero .byline, .page-hero .post-meta { color: rgba(255, 255, 255, 0.75); }
.page-hero .breadcrumbs .current { color: #fff; }
.page-hero .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Section heads with a gradient underline */
.section-head h2::after { content: ""; display: block; width: 72px; height: 5px; margin: 18px auto 0; border-radius: 99px; background: var(--av-grad); }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: rgba(255, 255, 255, 0.8); }
.section-mesh { background: radial-gradient(700px 320px at 8% 0%, var(--av-violet-soft), transparent 70%), radial-gradient(700px 320px at 95% 100%, var(--av-accent-soft), transparent 70%), #fff; }
.section-soft { background: linear-gradient(180deg, var(--av-soft), #fff); }

/* Coloured icon tiles */
.icon { box-shadow: none; }
.ic-c1, .ic-c2, .ic-c3, .ic-c4, .ic-c5 { color: #fff; }
.ic-c1 { background: var(--av-grad); box-shadow: 0 10px 24px rgba(43, 79, 216, 0.35); }
.ic-c2 { background: var(--av-grad-2); box-shadow: 0 10px 24px rgba(20, 184, 166, 0.35); }
.ic-c3 { background: var(--av-grad-3); box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35); }
.ic-c4 { background: var(--av-grad-4); box-shadow: 0 10px 24px rgba(244, 63, 94, 0.35); }
.ic-c5 { background: linear-gradient(135deg, var(--av-primary), var(--av-accent)); box-shadow: 0 10px 24px rgba(20, 184, 166, 0.3); }

/* Scrolling strip */
.marquee { overflow: hidden; padding: 20px 0; background: #fff; border-bottom: 1px solid var(--av-line); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 7px; }
.marquee li { white-space: nowrap; padding: 9px 22px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.92rem; }
.mq-1 { background: var(--av-grad); }
.mq-2 { background: var(--av-grad-2); }
.mq-3 { background: var(--av-grad-3); }
.mq-4 { background: var(--av-grad-4); }
.mq-5 { background: linear-gradient(135deg, var(--av-accent), var(--av-violet)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Three big panels */
.panels, .exc-grid, .grid { perspective: 1400px; }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.panel { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: 36px; border-radius: 26px; color: #fff; text-decoration: none; transform-style: preserve-3d; box-shadow: var(--av-shadow-lg); }
.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.32), transparent 42%), radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.25), transparent 50%); pointer-events: none; }
.panel-1 { background: linear-gradient(150deg, var(--av-primary), var(--av-violet)); }
.panel-2 { background: linear-gradient(150deg, var(--av-accent), var(--av-primary)); }
.panel-3 { background: linear-gradient(150deg, var(--av-violet), var(--av-rose)); }
.panel > * { position: relative; }
.panel-label { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.78rem; font-weight: 700; margin-bottom: 22px; }
.panel h3 { color: #fff; font-size: 1.8rem; margin-bottom: 14px; }
.panel p { color: rgba(255, 255, 255, 0.9); flex: 1; }
.panel-stats { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.panel-stats li { padding: 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.26); transform: translateZ(34px); }
.panel-stats strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.panel-stats span { display: block; margin-top: 4px; font-size: 0.72rem; line-height: 1.3; opacity: 0.9; }
.panel-link { font-weight: 800; transform: translateZ(24px); }

/* Tilt + glare */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.38), transparent 55%); z-index: 3; }
.is-tilting > .tilt-glare { opacity: 1; }
.is-tilting { box-shadow: 0 32px 70px rgba(30, 40, 120, 0.32) !important; }

/* Video tabs */
.slides { position: relative; overflow: hidden; isolation: isolate; padding: 100px 0; color: #fff; background: linear-gradient(135deg, #0c1442, #2b1a7a 60%, #4c1d95); }
.slides-bg { position: absolute; inset: 0; z-index: -1; }
.slides .bg-video.is-playing { opacity: 0.55; }
.slides-wrap { display: grid; grid-template-columns: 330px 1fr; gap: 32px; align-items: stretch; }
.slide-tabs { display: flex; flex-direction: column; gap: 12px; }
.slide-tabs button { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); color: #fff; font: 700 1.02rem var(--av-font); cursor: pointer; transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease; }
.slide-tabs button:hover { background: rgba(255, 255, 255, 0.16); }
.slide-tabs button[aria-selected="true"] { background: #fff; color: var(--av-ink); transform: translateX(10px); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38); }
.tab-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--av-grad-3); color: #fff; font-weight: 800; }
.slide-panel { height: 100%; padding: 46px; border-radius: 26px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.24); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.slide-panel:not([hidden]) { animation: slide-in 0.55s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(18px) rotateX(8deg); } to { opacity: 1; transform: none; } }
.slide-panel h3 { color: #fff; font-size: clamp(calc(1.7rem * var(--hs-3, 1)), calc(3.2vw * var(--hs-3, 1)), calc(2.5rem * var(--hs-3, 1))); margin-bottom: 14px; }
.slide-panel p { max-width: 560px; font-size: 1.18rem; color: rgba(255, 255, 255, 0.9); }
.slide-stats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slide-stats li { padding: 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }
.slide-stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; background: linear-gradient(90deg, #5eead4, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-stats span { display: block; margin-top: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.86); }

/* Excellence + why cards */
.exc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.exc-card, .why-card { position: relative; overflow: hidden; padding: 34px; border-radius: 22px; background: #fff; border: 1px solid var(--av-line); box-shadow: var(--av-shadow); }
.exc-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; opacity: 0.13; background: var(--av-grad); }
.exc-2::after { background: var(--av-grad-2); }
.exc-3::after { background: var(--av-grad-3); }
.exc-4::after { background: var(--av-grad-4); }
.exc-card p, .why-card p { color: var(--av-muted); margin: 0; }
.why-card { padding: 28px; border-top: 5px solid var(--av-primary); }
.why-2 { border-top-color: var(--av-accent); }
.why-3 { border-top-color: var(--av-violet); }
.why-4 { border-top-color: var(--av-rose); }

/* Cards: colourful hover */
a.card:hover { border-color: var(--av-violet); }
.card-link { color: var(--av-violet); }
a.card:hover .card-link, .card-link:hover { color: var(--av-primary); }
.tag { background: var(--av-violet-soft); color: var(--av-violet); }
.post-card:nth-child(3n+1) .post-thumb { background: var(--av-grad); }
.post-card:nth-child(3n+2) .post-thumb { background: var(--av-grad-2); }
.post-card:nth-child(3n) .post-thumb { background: var(--av-grad-3); }

/* Counters band */
.stats-band { position: relative; overflow: hidden; padding: 60px 0; background: linear-gradient(120deg, var(--av-primary), var(--av-violet) 55%, var(--av-rose)); }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 15% 0%, rgba(255, 255, 255, 0.22), transparent 70%); }
.stats-grid { position: relative; }
.stat strong { font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.stat span { color: rgba(255, 255, 255, 0.9); }

.faq-item[open] { border-color: var(--av-violet); }
.faq-item summary::after { background: var(--av-violet-soft); color: var(--av-violet); }

/* Responsive additions */
@media (max-width: 1020px) {
	.panels { grid-template-columns: 1fr; }
	.panel { min-height: 0; }
	.slides-wrap { grid-template-columns: 1fr; }
	.slide-tabs { flex-direction: row; flex-wrap: wrap; }
	.slide-tabs button { flex: 1 1 calc(50% - 12px); }
	.slide-tabs button[aria-selected="true"] { transform: none; }
	.stage3d { min-height: 420px; }
	.gc-1 { left: 0; }
	.gc-2 { right: 0; }
}
@media (max-width: 680px) {
	.hero { padding: 56px 0 84px; }
	.exc-grid { grid-template-columns: 1fr; }
	.slide-tabs button { flex-basis: 100%; }
	.slide-panel { padding: 28px; }
	.slide-stats, .panel-stats { grid-template-columns: 1fr; }
	.stage3d { min-height: 340px; }
	.stage-inner { height: 320px; }
	.ring, .cube-2 { display: none; }
	.gcard { padding: 10px 14px 10px 10px; }
	.gcard strong { font-size: 1.15rem; }
	.cta-band { padding: 72px 0 56px; }
	.video-toggle { right: 12px; }
}

/* ==========================================================================
   12. Brand palette: navy and gold (from the Aventis logo)
   The Customizer colours (Colours & 3D) override the tokens below.
   ========================================================================== */
:root {
	--av-primary: #0d2b84;
	--av-primary-dark: #0a1f63;
	--av-ink: #00104c;
	--av-accent: #efba4a;
	--av-accent-soft: #fdf5e0;
	--av-accent-ink: #8a5a1f;
	--av-violet: #ab702a;
	--av-violet-soft: #f8eddc;
	--av-rose: #eca24b;
	--av-rose-soft: #fdf0df;
	--av-amber: #f6e589;
	--av-text: #16204f;
	--av-muted: #59628a;
	--av-line: #e7e4da;
	--av-soft: #faf7ef;
	--av-gold-light: #f6e589;
	--av-gold-grad: linear-gradient(135deg, #f6e589 0%, #efba4a 48%, #ab702a 100%);
	--av-navy-grad: linear-gradient(135deg, #0d2b84 0%, #00104c 100%);
	--av-grad: linear-gradient(135deg, var(--av-accent), var(--av-violet));
	--av-grad-2: linear-gradient(135deg, var(--av-primary), var(--av-ink));
	--av-grad-3: linear-gradient(135deg, var(--av-violet), var(--av-rose));
	--av-grad-4: linear-gradient(135deg, var(--av-amber), var(--av-accent));
	--av-shadow: 0 10px 30px rgba(13, 43, 132, 0.1);
	--av-shadow-lg: 0 24px 60px rgba(0, 16, 76, 0.24);
}

/* Logo */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { display: block; height: 56px; width: auto; max-width: 100%; }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-logo img { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)); }
.logo-words { display: flex; flex-direction: column; line-height: 1.05; }
.logo-main { font-weight: 800; font-size: 1.7rem; letter-spacing: 0.04em; background: linear-gradient(90deg, #ab702a, #f6e589 45%, #efba4a 70%, #ab702a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 5px; color: #e9cd7e; }

/* Announcement bar, buttons */
.announce-bar { background: linear-gradient(90deg, #ab702a, #efba4a 38%, #f6e589 62%, #efba4a 85%, #ab702a); color: var(--av-ink); }
.announce-bar a, .announce-bar a:hover { color: var(--av-ink); }
.btn-primary { background: var(--av-gold-grad); background-size: 140% 100%; color: var(--av-ink); box-shadow: 0 12px 28px rgba(239, 186, 74, 0.42); }
.btn-primary:hover { background: var(--av-gold-grad); color: var(--av-ink); filter: brightness(1.06); box-shadow: 0 16px 36px rgba(239, 186, 74, 0.55); }
.site-header .nav-cta { box-shadow: 0 8px 20px rgba(171, 112, 42, 0.3); }
.btn-light, .cta-band .btn-light { background: var(--av-gold-grad); color: var(--av-ink); }
.btn-light:hover, .cta-band .btn-light:hover { background: var(--av-gold-grad); color: var(--av-ink); filter: brightness(1.06); }
.cta-band .btn { box-shadow: 0 0 0 6px rgba(239, 186, 74, 0.22), 0 18px 40px rgba(0, 0, 0, 0.4); }
.btn-glass { border-color: rgba(246, 229, 137, 0.55); }
.btn-glass:hover { background: rgba(239, 186, 74, 0.2); }

/* Hero */
.hero { background: linear-gradient(135deg, #00104c 0%, #0a1f63 52%, #14297a 100%); }
.hero-overlay { background: linear-gradient(100deg, rgba(0, 16, 76, 0.9) 0%, rgba(0, 16, 76, 0.55) 55%, rgba(10, 31, 99, 0.4) 100%); }
.blob.b1 { background: var(--av-accent); opacity: 0.32; }
.blob.b2 { background: #1e46c8; opacity: 0.5; }
.blob.b3 { background: var(--av-violet); opacity: 0.3; }
.grad-text { background-image: linear-gradient(90deg, #f6e589, #efba4a, #fff3bd, #f6e589); }
.hero .chips li::before { color: var(--av-gold-light); }
.hero .eyebrow, .page-hero .eyebrow { border-color: rgba(246, 229, 137, 0.4); }
.pulse-dot { background: var(--av-accent); box-shadow: 0 0 0 0 rgba(239, 186, 74, 0.7); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(239, 186, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 186, 74, 0); } }
.plate { border-color: rgba(246, 229, 137, 0.4); box-shadow: 0 40px 80px rgba(0, 6, 40, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.bar i { background: linear-gradient(90deg, #ab702a, #efba4a, #f6e589); }
.dash-bars i { background: linear-gradient(180deg, #f6e589, #ab702a); }
.gicon { background: var(--av-navy-grad); color: var(--av-gold-light); }
.cube-1 { --c1: #f6e589; --c2: #ab702a; }
.cube-2 { --c1: #efba4a; --c2: #0d2b84; }
.ring { background: conic-gradient(from 0deg, #f6e589, #efba4a, #ab702a, #eca24b, #f6e589); }

/* Inner page headers */
.page-hero { background: linear-gradient(120deg, #00104c, #0a1f63 60%, #1b2f80); border-bottom: 4px solid var(--av-accent); }

/* Light sections */
.section-mesh { background: radial-gradient(700px 320px at 8% 0%, rgba(13, 43, 132, 0.08), transparent 70%), radial-gradient(700px 320px at 95% 100%, var(--av-accent-soft), transparent 70%), #fff; }
.card-link { color: var(--av-primary); }
.card-link:hover { color: var(--av-violet); }
.tag { background: var(--av-accent-soft); color: var(--av-accent-ink); }
.step-num, .tick { color: var(--av-ink); }
.section-head h2::after { background: var(--av-gold-grad); }

/* Icon tiles */
.ic-c1 { background: var(--av-navy-grad); color: var(--av-gold-light); box-shadow: 0 10px 24px rgba(13, 43, 132, 0.35); }
.ic-c2 { background: var(--av-gold-grad); color: var(--av-ink); box-shadow: 0 10px 24px rgba(239, 186, 74, 0.45); }
.ic-c3 { background: linear-gradient(135deg, #ab702a, #7a4a12); color: #fff; box-shadow: 0 10px 24px rgba(171, 112, 42, 0.4); }
.ic-c4 { background: linear-gradient(135deg, #1b3fae, #0d2b84); color: var(--av-gold-light); box-shadow: 0 10px 24px rgba(13, 43, 132, 0.35); }
.ic-c5 { background: linear-gradient(135deg, #f6e589, #eca24b); color: var(--av-ink); box-shadow: 0 10px 24px rgba(236, 162, 75, 0.4); }

/* Scrolling strip */
.mq-1 { background: var(--av-navy-grad); color: var(--av-gold-light); }
.mq-2 { background: var(--av-gold-grad); color: var(--av-ink); }
.mq-3 { background: linear-gradient(135deg, #1b3fae, #0d2b84); color: #fff; }
.mq-4 { background: linear-gradient(135deg, #ab702a, #7a4a12); color: #fff; }
.mq-5 { background: linear-gradient(135deg, #f6e589, #efba4a); color: var(--av-ink); }

/* Three panels: navy, gold, navy-bronze */
.panel-1 { background: linear-gradient(150deg, #1b3fae, #00104c); }
.panel-2 { background: linear-gradient(150deg, #f6e589, #efba4a 55%, #ab702a); color: var(--av-ink); }
.panel-2 h3, .panel-2 p, .panel-2 .panel-link { color: var(--av-ink); }
.panel-2 .panel-label { background: rgba(0, 16, 76, 0.12); border-color: rgba(0, 16, 76, 0.3); color: var(--av-ink); }
.panel-2 .panel-stats li { background: rgba(255, 255, 255, 0.42); border-color: rgba(0, 16, 76, 0.18); color: var(--av-ink); }
.panel-2 .panel-stats span { color: var(--av-ink); }
.panel-3 { background: linear-gradient(150deg, #0a1f63, #00104c 45%, #6b4217); }
.panel-1 .panel-stats strong, .panel-3 .panel-stats strong { color: var(--av-gold-light); }
.is-tilting { box-shadow: 0 32px 70px rgba(0, 16, 76, 0.34) !important; }

/* Video tabs */
.slides { background: linear-gradient(135deg, #00104c, #0a1f63 60%, #14297a); }
.tab-num { background: var(--av-gold-grad); color: var(--av-ink); }
.slide-stats strong { background-image: linear-gradient(90deg, #f6e589, #efba4a); }
.slide-panel { border-color: rgba(246, 229, 137, 0.3); }

/* Numbers band */
.stats-band { background: linear-gradient(120deg, #0d2b84, #00104c 72%); border-top: 3px solid var(--av-accent); border-bottom: 3px solid var(--av-accent); }
.stat strong { background: linear-gradient(90deg, #f6e589, #efba4a); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }

/* Footer */
.footer-stage { background: linear-gradient(135deg, #00104c, #0a1f63 60%, #14297a); }
.footer-stage.has-video .stage-bg::after { background: linear-gradient(180deg, rgba(0, 16, 76, 0.5), rgba(0, 16, 76, 0.93)); }
.site-footer { background: rgba(0, 8, 44, 0.6); border-top-color: rgba(239, 186, 74, 0.4); color: #b9c2ee; }
.site-footer h3 { color: var(--av-gold-light); }
.site-footer a:hover { color: var(--av-gold-light); }
.social-links a { background: rgba(239, 186, 74, 0.16); color: var(--av-gold-light); }
.social-links a:hover { background: var(--av-accent); color: var(--av-ink); }
.video-toggle { border-color: rgba(246, 229, 137, 0.5); }

@media (max-width: 900px) {
	.brand-logo img { height: 44px; }
}
