/* Agappe Diagnostics 鈥?corporate Magento-like layout */

*,
*::before,
*::after {
	box-sizing: border-box;
}

.ag-wrap {
	width: min(100% - 2rem, var(--ag-max));
	margin-inline: auto;
}

.ag-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.ag-main {
	flex: 1;
}

/* ---------- Header ---------- */
.ag-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--ag-white);
	box-shadow: 0 1px 0 var(--ag-border);
}

.ag-topbar {
	background: #1d2127;
	color: #e8ebf0;
	font-size: 0.78rem;
}

.ag-topbar a {
	color: #e8ebf0;
	text-decoration: none;
}

.ag-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.45rem 0;
	flex-wrap: wrap;
}

.ag-topbar-left {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.ag-topbar-right {
	display: flex;
	align-items: center;
}

.ag-topbar-sep {
	opacity: 0.45;
}

.ag-country {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	padding: 0.12rem 0.45rem 0.12rem 0.35rem;
	border-radius: 2px;
}

.ag-flag-in {
	width: 16px;
	height: 11px;
	flex: 0 0 16px;
	background:
		linear-gradient(#ff9933 0 33%, #fff 33% 66%, #138808 66% 100%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
	position: relative;
}

.ag-flag-in::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 4px;
	margin: -2px 0 0 -2px;
	border-radius: 50%;
	background: #000080;
}

.ag-country-select {
	background: transparent;
	border: 0;
	color: #e8ebf0;
	padding: 0;
	font: inherit;
	cursor: default;
	appearance: none;
	-webkit-appearance: none;
	padding-right: 0.9rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23e8ebf0' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
}

.ag-header-main {
	background: var(--ag-white);
	border-bottom: 1px solid #eceff3;
}

.ag-header-inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: var(--ag-header-h);
}

.ag-logo {
	height: 48px;
	width: auto;
}

.ag-logo-link img {
	height: 48px;
	width: auto;
}

.ag-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

.ag-menu {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ag-menu > li {
	position: relative;
}

.ag-menu > li > a {
	display: block;
	padding: 0.65rem 0.55rem;
	color: var(--ag-dark);
	font-size: 0.9rem;
	font-weight: 500;
	border-radius: 3px;
}

.ag-menu > li > a:hover,
.ag-menu > li.current-menu-item > a,
.ag-menu > li.current-menu-ancestor > a {
	color: var(--ag-red);
}

/* Mega-ish products dropdown */
.ag-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 280px;
	max-height: 70vh;
	overflow: auto;
	background: var(--ag-white);
	border: 1px solid var(--ag-border);
	box-shadow: var(--ag-shadow);
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	z-index: 50;
	columns: 1;
}

.ag-menu > li:hover > .sub-menu,
.ag-menu > li:focus-within > .sub-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-width: 420px;
}

.ag-menu .sub-menu a {
	display: block;
	padding: 0.45rem 1rem;
	color: var(--ag-text);
	font-size: 0.85rem;
	font-weight: 500;
}

.ag-menu .sub-menu a:hover {
	background: var(--ag-light);
	color: var(--ag-red);
}

.ag-nav-tools {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-left: 0.5rem;
}

.ag-search-toggle {
	background: transparent;
	border: 1px solid var(--ag-border);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--ag-dark);
}

.ag-search-panel {
	border-top: 1px solid var(--ag-border);
	background: var(--ag-light);
	padding: 0.85rem 0;
}

.ag-search-form {
	display: flex;
	gap: 0.5rem;
}

.ag-search-form input {
	flex: 1;
	border: 1px solid var(--ag-border);
	padding: 0.7rem 0.9rem;
	font: inherit;
	border-radius: var(--ag-radius);
}

.ag-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
	margin-left: auto;
}

.ag-nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ag-dark);
}

/* ---------- Buttons ---------- */
.ag-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.7rem 1.25rem;
	background: var(--ag-red);
	color: var(--ag-white) !important;
	font-weight: 650;
	font-size: 0.9rem;
	border: 0;
	border-radius: var(--ag-radius);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

.ag-btn:hover {
	background: var(--ag-red-dark);
	transform: translateY(-1px);
}

.ag-btn-sm {
	padding: 0.5rem 0.95rem;
	font-size: 0.82rem;
}

.ag-btn-outline {
	background: transparent;
	border: 1px solid var(--ag-white);
}

.ag-btn-outline:hover {
	background: var(--ag-white);
	color: var(--ag-red) !important;
}

.ag-btn-contact {
	white-space: nowrap;
	border-radius: 3px;
	padding: 0.55rem 1.15rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* ---------- Hero carousel (Agappe 1:1) ---------- */
.ag-hero {
	position: relative;
	background: #0b1b2b;
}

.ag-hero-carousel {
	position: relative;
	min-height: clamp(420px, 62vw, 640px);
	overflow: hidden;
}

.ag-hero-carousel .ag-carousel-track {
	position: relative;
	height: clamp(420px, 62vw, 640px);
}

.ag-hero-carousel .ag-carousel-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.85s ease, visibility 0.85s;
}

.ag-hero-carousel .ag-carousel-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.ag-hero-media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 35%;
	transform: scale(1.02);
	transition: transform 8s ease;
}

.ag-hero-carousel .ag-carousel-slide.is-active .ag-hero-media {
	transform: scale(1);
}

.ag-hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 20, 36, 0.15) 0%, rgba(8, 20, 36, 0.05) 35%, rgba(8, 20, 36, 0.45) 100%),
		linear-gradient(90deg, rgba(8, 20, 36, 0.35) 0%, rgba(8, 20, 36, 0.08) 42%, transparent 65%);
}



.ag-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(2.75rem, 6vw, 4.5rem);
}

.ag-hero-copy,
.ag-hero-center {
	text-align: left;
	color: #fff;
	max-width: 560px;
}

.ag-hero-title {
	margin: 0 0 1.15rem;
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
	opacity: 0;
	transform: translateY(22px);
}

.ag-btn-learn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	padding: 0.72rem 1.35rem;
	border: 1.5px solid rgba(255, 255, 255, 0.95);
	color: #fff !important;
	background: transparent;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.25s ease, color 0.25s ease;
	opacity: 0;
	transform: translateY(22px);
}

.ag-btn-learn:hover {
	background: #fff;
	color: #0b1b2b !important;
}

.ag-hero-carousel .ag-carousel-slide.is-active .ag-hero-title,
.ag-hero-carousel .ag-carousel-slide.is-active .ag-btn-learn {
	opacity: 1;
	transform: translateY(0);
	animation: agFadeUp 0.75s ease both;
}

.ag-hero-carousel .ag-carousel-slide.is-active .ag-hero-title {
	animation-delay: 0.08s;
}

.ag-hero-carousel .ag-carousel-slide.is-active .ag-btn-learn {
	animation-delay: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
	.ag-hero-carousel .ag-carousel-slide.is-active .ag-hero-title,
	.ag-hero-carousel .ag-carousel-slide.is-active .ag-btn-learn {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

.ag-values {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ag-purpose {
	margin-top: 1.75rem;
	font-weight: 600;
	color: var(--ag-dark);
}

.ag-timeline {
	display: grid;
	gap: 1rem;
}

.ag-timeline article {
	padding: 1.1rem 1.25rem;
	border-left: 3px solid var(--ag-red);
	background: #fff;
	box-shadow: var(--ag-shadow);
}

.ag-timeline h3 {
	margin: 0 0 0.35rem;
	color: var(--ag-red);
	font-size: 1rem;
}

.ag-timeline p {
	margin: 0;
	color: var(--ag-muted);
	line-height: 1.55;
}

.ag-hero-carousel .ag-carousel-slide.is-active .ag-hero-title {
	animation-delay: 0.1s;
}

.ag-hero-carousel .ag-carousel-slide.is-active .ag-btn-learn {
	animation-delay: 0.28s;
}

@keyframes agFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Dark capability strip under hero 鈥?matches Agappe original */
.ag-capability-bar {
	background: #3a3f48;
	color: #fff;
}

.ag-capability-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	min-height: 78px;
}

.ag-capability-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 1.05rem 1rem;
	text-decoration: none;
	color: #f3f5f8;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, color 0.2s ease;
}

.ag-capability-item:last-child {
	border-right: 0;
}

.ag-capability-item:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.ag-capability-icon {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	background: center / 28px no-repeat;
	opacity: 0.95;
}

.ag-icon-rd {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M9 3h6v2H9z'/%3E%3Cpath d='M10 5v5.2c0 .5-.2 1-.6 1.3L6.2 14.6A4.2 4.2 0 0 0 9.2 22h5.6a4.2 4.2 0 0 0 3-7.4l-3.2-3.1c-.4-.3-.6-.8-.6-1.3V5'/%3E%3Cpath d='M9.5 11h5'/%3E%3C/svg%3E");
}

.ag-icon-mfg {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9c.3.6.9 1 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E");
}

.ag-icon-global {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");
}

.ag-capability-label {
	font-size: 0.98rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.ag-hero-dots {
	bottom: 1rem !important;
	right: 1.25rem;
	left: auto !important;
	transform: none !important;
	justify-content: flex-end;
}

/* Partnerships: collage left + copy right */
.ag-partnerships {
	padding-top: 3.25rem;
}

.ag-partnerships-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
	gap: 2.5rem 3rem;
	align-items: center;
	margin-bottom: 2.75rem;
}

.ag-partner-collage {
	position: relative;
	min-height: 320px;
}

.ag-blob {
	position: absolute;
	display: block;
	background-size: cover;
	background-position: center;
	box-shadow: 0 12px 32px rgba(27, 31, 42, 0.16);
}

.ag-blob-1 {
	width: 46%;
	aspect-ratio: 1;
	left: 0;
	top: 18%;
	border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
}

.ag-blob-2 {
	width: 58%;
	aspect-ratio: 1;
	left: 28%;
	top: 0;
	z-index: 2;
	border-radius: 50%;
}

.ag-blob-3 {
	width: 42%;
	aspect-ratio: 1;
	right: 0;
	bottom: 4%;
	z-index: 1;
	border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
}

.ag-partnerships-copy h2 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	line-height: 1.2;
	color: #1e2a44;
	font-weight: 700;
}

.ag-partnerships-copy p {
	margin: 0;
	font-size: 1.05rem;
	color: #6b7385;
	line-height: 1.55;
	max-width: 28rem;
}

.ag-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	font-weight: 700;
	color: #f3b4bd;
	margin: 0 0 0.5rem;
}

.ag-kicker {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ag-red);
	margin: 0 0 0.65rem;
}

.ag-section-head.ag-center {
	text-align: center;
	margin-inline: auto;
}

.ag-region-tabs {
	display: inline-flex;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.25rem;
	background: #eef2f7;
	border-radius: 999px;
}

.ag-region-tabs button {
	border: 0;
	background: transparent;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	color: var(--ag-muted);
	cursor: pointer;
}

.ag-region-tabs button.is-active {
	background: var(--ag-white);
	color: var(--ag-red);
	box-shadow: 0 2px 8px rgba(27, 31, 42, 0.08);
}

.ag-two-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.ag-feature-card {
	background: var(--ag-light);
	border: 1px solid var(--ag-border);
	padding: 1.75rem;
}

.ag-feature-card h3 {
	margin: 0 0 0.65rem;
	font-size: 1.25rem;
}

.ag-feature-card a {
	color: var(--ag-red);
	font-weight: 700;
	text-decoration: none;
}

.ag-promo {
	position: relative;
	min-height: 360px;
	background-size: cover;
	background-position: center;
	color: #fff;
	display: flex;
	align-items: center;
}

.ag-promo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(8, 20, 36, 0.78), rgba(8, 20, 36, 0.35));
}

.ag-promo-inner {
	position: relative;
	z-index: 1;
	padding: 3rem 0;
	max-width: 640px;
}

.ag-promo .ag-kicker {
	color: #f7c9d0;
}

/* Carousel chrome */
.ag-carousel {
	position: relative;
}

.ag-carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ag-dark);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--ag-shadow);
}

.ag-carousel-nav:hover {
	background: var(--ag-red);
	color: var(--ag-white);
}

.ag-prev {
	left: 12px;
}

.ag-next {
	right: 12px;
}

.ag-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	z-index: 5;
}

.ag-carousel-dots button {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
}

.ag-carousel-dots button.is-active {
	background: var(--ag-red);
	width: 22px;
	border-radius: 999px;
}

.ag-products-carousel .ag-carousel-dots button,
.ag-news-carousel .ag-carousel-dots button {
	background: #c5cad6;
}

.ag-products-carousel .ag-carousel-dots,
.ag-news-carousel .ag-carousel-dots {
	position: static;
	margin-top: 1.25rem;
}

/* ---------- Sections ---------- */
.ag-section {
	padding: 4rem 0;
}

.ag-section.ag-bg,
.ag-bg {
	background: var(--ag-light);
}

.ag-section-head {
	text-align: center;
	margin-bottom: 2rem;
}

.ag-section-head h2 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--ag-dark);
}

.ag-section-head p {
	margin: 0;
	color: var(--ag-muted);
}

.ag-section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	text-align: left;
	gap: 1rem;
}

.ag-link-more {
	font-weight: 650;
	white-space: nowrap;
}

/* Products carousel */
.ag-products-carousel .ag-carousel-viewport,
.ag-news-carousel .ag-carousel-viewport {
	overflow: hidden;
}

.ag-products-track,
.ag-news-track {
	display: flex;
	transition: transform 0.45s ease;
	will-change: transform;
}

.ag-product-card,
.ag-news-card {
	flex: 0 0 25%;
	padding: 0 0.55rem;
	min-width: 0;
}

.ag-product-card-link,
.ag-news-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--ag-white);
	border: 1px solid var(--ag-border);
	border-radius: 6px;
	overflow: hidden;
	color: inherit;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ag-product-card-link:hover,
.ag-news-card-link:hover {
	border-color: #d7b0b7;
	box-shadow: var(--ag-shadow);
	color: inherit;
}

.ag-product-card-img,
.ag-news-card-img {
	aspect-ratio: 4 / 3;
	background: var(--ag-light);
	overflow: hidden;
}

.ag-product-card-img img,
.ag-news-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ag-product-card-link:hover img,
.ag-news-card-link:hover img {
	transform: scale(1.04);
}

.ag-product-card-body,
.ag-news-card-body {
	padding: 1rem 1.05rem 1.15rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.ag-product-card h3,
.ag-news-card h3 {
	margin: 0;
	font-size: 1.05rem;
	color: var(--ag-dark);
	line-height: 1.3;
}

.ag-product-card p,
.ag-news-card p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--ag-muted);
}

.ag-product-cat {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ag-red);
}

.ag-meta {
	font-size: 0.8rem;
	color: var(--ag-silver);
}

.ag-products-grid,
.ag-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.ag-products-grid .ag-product-card,
.ag-news-grid .ag-news-card {
	flex: none;
	padding: 0;
}

/* Video */
.ag-video-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 2rem;
	align-items: center;
}

.ag-video-player {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
	box-shadow: var(--ag-shadow);
}

.ag-video-poster {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	display: grid;
	place-items: center;
}

.ag-video-play {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 0;
	background: var(--ag-red);
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 10px 30px rgba(200, 16, 46, 0.45);
}

.ag-video-play span {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 0 10px 18px;
	border-color: transparent transparent transparent #fff;
	margin-left: 4px;
}

.ag-video-frame {
	position: absolute;
	inset: 0;
}

.ag-video-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.ag-video-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	gap: 0.5rem;
	padding: 0.65rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	z-index: 3;
}

.ag-video-controls button {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	padding: 0.35rem 0.7rem;
	border-radius: 3px;
	cursor: pointer;
	font: inherit;
	font-size: 0.8rem;
}

.ag-video-player.is-fullscreen {
	position: fixed;
	inset: 0;
	z-index: 9999;
	aspect-ratio: auto;
	border-radius: 0;
}

/* Pillars / Make in India */
.ag-pillars {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}

.ag-pillar {
	background: var(--ag-white);
	border: 1px solid var(--ag-border);
	border-top: 3px solid var(--ag-red);
	padding: 1.25rem 1.1rem;
	border-radius: 4px;
}

.ag-pillar h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	color: var(--ag-dark);
}

.ag-pillar p {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	color: var(--ag-muted);
}

.ag-pillar a {
	font-weight: 650;
	font-size: 0.88rem;
}

/* Stats */
.ag-stats {
	background: linear-gradient(120deg, var(--ag-dark) 0%, #2a3142 100%);
	color: var(--ag-white);
	padding: 2.75rem 0;
}

.ag-stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: center;
}

.ag-stat strong {
	display: block;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 750;
	color: #fff;
	line-height: 1.1;
}

.ag-stat span {
	display: block;
	margin-top: 0.35rem;
	color: #b8c0d0;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.8rem;
}

/* Categories */
.ag-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.85rem;
}

.ag-cat-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.1rem 1rem;
	background: var(--ag-white);
	border: 1px solid var(--ag-border);
	border-radius: 4px;
	color: inherit;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ag-cat-card:hover {
	border-color: var(--ag-red);
	box-shadow: var(--ag-shadow);
	transform: translateY(-2px);
	color: inherit;
}

.ag-cat-name {
	font-weight: 700;
	color: var(--ag-dark);
	font-size: 0.95rem;
}

.ag-cat-count {
	font-size: 0.8rem;
	color: var(--ag-silver);
}

/* Teaser strips */
.ag-teaser-strips {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.ag-teaser {
	display: block;
	padding: 3.5rem 0;
	color: var(--ag-white);
	background-size: cover;
	background-position: center;
	position: relative;
}

.ag-teaser::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(27, 31, 42, 0.72);
}

.ag-teaser .ag-wrap {
	position: relative;
	z-index: 1;
}

.ag-teaser h2 {
	margin: 0 0 0.5rem;
	font-size: 1.75rem;
}

.ag-teaser p {
	margin: 0 0 1.1rem;
	max-width: 28rem;
	color: #d7dbe4;
}

.ag-teaser-equipment {
	background-image: linear-gradient(120deg, #1b1f2a, #3a1520), url("../images/products/mispa-cxl-pro.jpg");
	background-blend-mode: multiply;
}

.ag-teaser-reagents {
	background-image: linear-gradient(120deg, #1b1f2a, #15253a), url("../images/products/mispa-plus.jpg");
	background-blend-mode: multiply;
}

/* Privilege */
.ag-privilege-inner {
	min-height: 280px;
	background-size: cover;
	background-position: center;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.ag-privilege-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(200, 16, 46, 0.88), rgba(27, 31, 42, 0.55));
}

.ag-privilege-copy {
	position: relative;
	z-index: 1;
	padding: 2.5rem;
	color: #fff;
	max-width: 480px;
}

.ag-privilege-copy h2 {
	margin: 0 0 0.6rem;
	font-size: 2rem;
}

.ag-privilege-copy p {
	margin: 0 0 1.1rem;
	color: #f3d4da;
}

/* Split */
.ag-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.ag-split-media img {
	width: 100%;
	border-radius: 8px;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.ag-split-copy h2 {
	margin-top: 0;
	color: var(--ag-dark);
}

/* Careers CTA */
.ag-careers-cta {
	background: var(--ag-red);
	color: #fff;
	text-align: center;
	padding: 3.25rem 0;
}

.ag-careers-cta h2 {
	margin: 0 0 0.5rem;
	font-size: 1.85rem;
}

.ag-careers-cta p {
	margin: 0 0 1.2rem;
	color: #f7d0d7;
}

.ag-careers-cta .ag-btn {
	background: #fff;
	color: var(--ag-red) !important;
}

.ag-careers-cta .ag-btn:hover {
	background: var(--ag-light);
}

/* Page hero */
.ag-page-hero {
	background: linear-gradient(120deg, var(--ag-dark), #2e3545);
	color: #fff;
	padding: 2.75rem 0;
}

.ag-page-hero h1 {
	margin: 0 0 0.4rem;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.ag-page-hero p {
	margin: 0;
	color: #c5cad6;
	max-width: 42rem;
}

.ag-page-hero .ag-eyebrow {
	color: #f3b4bd;
}

.ag-prose {
	max-width: 48rem;
	line-height: 1.75;
	color: var(--ag-text);
}

.ag-prose h2,
.ag-prose h3 {
	color: var(--ag-dark);
}

.ag-single-layout,
.ag-product-layout {
	display: grid;
	gap: 1.75rem;
}

.ag-single-media img,
.ag-product-media img {
	width: 100%;
	border-radius: 8px;
	object-fit: cover;
	max-height: 420px;
}

.ag-product-layout {
	grid-template-columns: 0.9fr 1.1fr;
	align-items: start;
}

.ag-feature-list,
.ag-spec-list {
	padding-left: 1.1rem;
	color: var(--ag-muted);
}

.ag-cat-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.5rem;
}

.ag-cat-filter a {
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--ag-border);
	border-radius: 999px;
	font-size: 0.82rem;
	color: var(--ag-text);
	background: var(--ag-white);
}

.ag-cat-filter a:hover {
	border-color: var(--ag-red);
	color: var(--ag-red);
}

.ag-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.ag-contact-form {
	display: grid;
	gap: 0.85rem;
	background: var(--ag-light);
	padding: 1.5rem;
	border-radius: 8px;
	border: 1px solid var(--ag-border);
}

.ag-contact-form label {
	display: grid;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.88rem;
}

.ag-contact-form input,
.ag-contact-form textarea {
	border: 1px solid var(--ag-border);
	padding: 0.65rem 0.75rem;
	font: inherit;
	border-radius: var(--ag-radius);
	background: #fff;
}

.ag-form-note {
	margin: 0;
	font-size: 0.8rem;
	color: var(--ag-silver);
	font-weight: 400;
}

.ag-pagination {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
}

.ag-pagination .nav-links,
.ag-pagination .page-numbers {
	display: flex;
	gap: 0.35rem;
	list-style: none;
	padding: 0;
}

.ag-pagination a,
.ag-pagination span {
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ag-border);
	border-radius: 4px;
	color: var(--ag-dark);
	padding: 0 0.5rem;
}

.ag-pagination .current {
	background: var(--ag-red);
	border-color: var(--ag-red);
	color: #fff;
}

/* Footer */
.ag-footer {
	background: var(--ag-dark);
	color: #c5cad6;
	padding-top: 3rem;
}

.ag-footer a {
	color: #e8ebf0;
}

.ag-footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr;
	gap: 2.25rem;
	padding-bottom: 2.5rem;
}

.ag-footer-logo {
	height: 44px;
	width: auto;
	margin-bottom: 0.85rem;
	filter: brightness(1.05);
}

.ag-footer-tagline {
	color: #f3b4bd;
	font-weight: 650;
}

.ag-footer h4 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 1rem;
}

.ag-offices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.ag-offices p {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
}

.ag-footer-menu {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.ag-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1rem 0;
	font-size: 0.85rem;
}

.ag-footer-bottom p {
	margin: 0;
}

/* Reveal */
[data-ag-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-ag-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ag-product-card,
	.ag-news-card {
		flex-basis: 33.333%;
	}

	.ag-pillars {
		grid-template-columns: repeat(3, 1fr);
	}

	.ag-cat-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	

	.ag-nav-toggle {
		display: flex;
	}

	.ag-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		padding: 0.75rem 1rem 1.25rem;
		border-bottom: 1px solid var(--ag-border);
		box-shadow: var(--ag-shadow);
	}

	.ag-nav.is-open {
		display: flex;
	}

	.ag-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.ag-menu > li:hover > .sub-menu,
	.ag-menu > li:focus-within > .sub-menu {
		position: static;
		display: grid;
		min-width: 0;
		box-shadow: none;
		border: 0;
		background: var(--ag-light);
	}

	.ag-nav-tools {
		margin: 0.75rem 0 0;
		justify-content: flex-start;
	}

	.ag-header-main {
		position: relative;
	}

	.ag-video-layout,
	.ag-split,
	.ag-product-layout,
	.ag-contact-grid,
	.ag-footer-grid,
	.ag-teaser-strips {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.ag-products-grid,
	.ag-news-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ag-product-card,
	.ag-news-card {
		flex-basis: 50%;
	}

	.ag-pillars {
		grid-template-columns: 1fr 1fr;
	}

	.ag-cat-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ag-two-cards {
		grid-template-columns: 1fr;
	}

	.ag-hero-overlay {
		padding-bottom: 2.5rem;
		align-items: flex-end;
		padding-top: 4rem;
	}

	.ag-capability-inner {
		grid-template-columns: 1fr;
	}

	.ag-capability-item {
		justify-content: flex-start;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding: 0.95rem 0.35rem;
	}

	.ag-capability-item:last-child {
		border-bottom: 0;
	}

	.ag-partnerships-layout {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.ag-partner-collage {
		min-height: 280px;
		max-width: 420px;
		margin-inline: auto;
	}

	.ag-hero-carousel,
	.ag-hero-carousel .ag-carousel-track {
		min-height: clamp(480px, 88vw, 620px);
		height: clamp(480px, 88vw, 620px);
	}
}

@media (max-width: 640px) {
	.ag-products-grid,
	.ag-news-grid,
	.ag-stats-row,
	.ag-pillars,
	.ag-cat-grid,
	.ag-offices {
		grid-template-columns: 1fr;
	}

	.ag-product-card,
	.ag-news-card {
		flex-basis: 100%;
	}

	.ag-carousel-nav {
		width: 34px;
		height: 34px;
		font-size: 1.2rem;
	}

	.ag-section {
		padding: 2.75rem 0;
	}
}


/* DiagnoVanta identity and SEO breadcrumbs */
.ag-brand .custom-logo { height: 48px; width: auto; }
.ag-footer .custom-logo { height: 44px; width: auto; margin-bottom: 0.85rem; }
.ag-brand-text,
.ag-footer-brand {
	display: inline-flex;
	align-items: center;
	color: inherit;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.1;
}
.ag-brand-text:hover,
.ag-footer-brand:hover { color: inherit; }
.ag-footer-brand { margin-bottom: 12px; color: #fff; }
.ag-breadcrumbs {
	margin-top: 14px;
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #687386;
}
.ag-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ag-breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.ag-breadcrumbs li + li::before { content: "/"; color: #a0a8b5; }
.ag-breadcrumbs a { color: inherit; }
.ag-breadcrumbs [aria-current="page"] { color: #30394a; }
