/* ===== Mont (same as original) ===== */
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-ThinItalic.otf') format('opentype'); font-weight: 100; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-ExtraLight.otf') format('opentype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-ExtraLightItalic.otf') format('opentype'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Light.otf') format('opentype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-RegularItalic.otf') format('opentype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Book.otf') format('opentype'); font-weight: 450; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-BookItalic.otf') format('opentype'); font-weight: 450; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-SemiBoldItalic.otf') format('opentype'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Heavy.otf') format('opentype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-HeavyItalic.otf') format('opentype'); font-weight: 800; font-style: italic; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-Black.otf') format('opentype'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Mont'; src: url('../fonts/Mont-BlackItalic.otf') format('opentype'); font-weight: 900; font-style: italic; }

/* ===== Design Tokens (same as original) ===== */
:root {
	--forest:       #14432a;
	--forest-mid:   #1e6b3a;
	--forest-light: #2d9050;
	--sage:         #4a7c59;
	--leaf:         #6aaa72;
	--mint:         #e8f5ec;
	--gold:         #c4922a;
	--gold-light:   #e8c06a;
	--gold-pale:    #fdf6e7;
	--cream:        #faf8f4;
	--white:        #ffffff;
	--off-white:    #f5f3ef;
	--dark:         #0f1e14;
	--charcoal:     #243020;
	--text:         #2c3e2d;
	--text-muted:   #6b7c6e;
	--border:       rgba(20,67,42,0.1);
	--border-mid:   rgba(20,67,42,0.18);
	--shadow-xs:    0 1px 4px rgba(14,30,20,0.06);
	--shadow-sm:    0 2px 12px rgba(14,30,20,0.08);
	--shadow-md:    0 8px 32px rgba(14,30,20,0.12);
	--shadow-lg:    0 20px 60px rgba(14,30,20,0.16);
	--shadow-xl:    0 32px 80px rgba(14,30,20,0.22);
	--r-xs:  6px;
	--r-sm:  10px;
	--r-md:  16px;
	--r-lg:  24px;
	--r-xl:  40px;
	--r-full: 999px;
	--font-display: 'Mont', Georgia, serif;
	--font-body:    'Mont', sans-serif;
	--section-pad: 100px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--cream);
	overflow-x: hidden;
	line-height: 1.6;
}
img {
	max-width: 100%;
	display: block;
}
a {
	text-decoration: none;
	color: inherit;
}
section {
	position: relative;
}

/* ===== Utility ===== */
.container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 28px;
}
.section-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--gold-pale);
	color: var(--gold);
	border: 1px solid rgba(196,146,42,0.25);
	padding: 5px 14px;
	border-radius: var(--r-full);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.section-title {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.5vw, 2.8rem);
	font-weight: 700;
	color: var(--dark);
	line-height: 1.15;
	margin-bottom: 16px;
}
.section-title em {
	font-style: italic;
	color: var(--forest-light);
}
.section-subtitle {
	font-size: 1rem;
	color: var(--text-muted);
	max-width: 560px;
	line-height: 1.75;
}
.section-header {
	margin-bottom: 20px;
}
.section-header.center {
	text-align: center;
}
.section-header.center .section-subtitle {
	margin: 0 auto;
}

/* ===== Buttons (reused) ===== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--r-sm);
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
}
.btn-primary {
	background: var(--forest);
	color: var(--white);
	box-shadow: 0 4px 16px rgba(20,67,42,0.28);
}
.btn-primary:hover {
	background: var(--forest-mid);
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(20,67,42,0.38);
}
.btn-secondary {
	background: transparent;
	color: var(--forest);
	border: 1.5px solid rgba(20,67,42,0.35);
}
.btn-secondary:hover {
	background: var(--forest);
	color: var(--white);
	transform: translateY(-2px);
	border-color: var(--forest);
}
.btn-gold {
	background: var(--gold);
	color: var(--white);
	box-shadow: 0 4px 16px rgba(196,146,42,0.32);
}
.btn-gold:hover {
	background: #b07f24;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196,146,42,0.42);
}
.btn-outline-white {
	background: rgba(255,255,255,0.12);
	color: var(--white);
	border: 1.5px solid rgba(255,255,255,0.35);
	backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
	background: rgba(255,255,255,0.22);
	transform: translateY(-2px);
}

/* ===== Navigation (reused, adapted) ===== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: all 0.3s ease;
	background: transparent;
	border: none;
}
.header .nav li a {
	color: white;
}
.header .nav-logo span {
	color: white;
	font-weight: 600;
}
.header.scrolled {
	background: rgba(250,248,244,0.96);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 2px 20px rgba(14,30,20,0.06);
}
.header.scrolled .nav li a {
	color: var(--dark);
}
.header.scrolled .nav-logo span {
	color: var(--forest-mid);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 28px;
	height: 72px;
}
.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--dark);
	text-decoration: none;
}
.nav-logo img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}
.nav-logo .logo-long {
	display: inline;
}
.nav-logo .logo-short {
	display: none;
}

.nav-logo img.nupap {
	height: 50px;
	width: 50px;
	filter: drop-shadow(0 0 25px #8dda00);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 20px;
	list-style: none;
	margin-right: 20px;
}
.nav-links a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	position: relative;
	transition: color 0.2s;
	letter-spacing: 0.01em;
}
.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--forest-light);
	transition: width 0.25s ease;
	border-radius: 2px;
}
.nav-links a:hover {
	color: var(--forest);
}
.nav-links a:hover::after {
	width: 100%;
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--dark);
	font-size: 1.2rem;
	padding: 6px;
	border-radius: 6px;
	transition: background 0.2s;
}
.hamburger:hover {
	background: var(--mint);
}
.header .hamburger {
    color: white;
}

.header.scrolled .hamburger,
body.page-dashboard .header .hamburger {
    color: var(--dark);
}

.mobile-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 290px;
	height: 100%;
	height: 100dvh;
	background: var(--white);
	background-color: #ffffff;
	z-index: 1100;
	transform: translateX(-100%);
	transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
	box-shadow: 4px 0 40px rgba(0,0,0,0.14);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	will-change: transform;
	isolation: isolate;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.mobile-sidebar.active {
	transform: translateX(0);
}
.mobile-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid var(--border);
}
.mobile-sidebar-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--dark);
}
.mobile-sidebar-logo img {
	width: 34px;
}
.mobile-close {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 1rem;
	padding: 6px;
	border-radius: 6px;
	transition: all 0.2s;
}
.mobile-close:hover {
	background: var(--mint);
	color: var(--dark);
}
.mobile-nav-menu {
	display: flex;
	flex-direction: column;
	padding: 16px 12px;
	gap: 2px;
	flex: 1;
}
.mobile-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--r-sm);
	color: var(--text);
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.2s;
	text-decoration: none;
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
	background: var(--mint);
	color: var(--forest);
}
.mobile-nav-item i {
	width: 18px;
	text-align: center;
	font-size: 0.9rem;
}
.mobile-overlay {
	position: fixed;
	inset: 0;
	height: 100dvh; /* match sidebar height fix */
	background: rgba(0,0,0,0.45);
	z-index: 1050;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
	overscroll-behavior: contain;
}
.mobile-overlay.active {
	opacity: 1;
	pointer-events: all;
}
.mobile-login-btn {
	margin: 12px;
	background: var(--forest);
	color: var(--white);
	padding: 13px;
	border-radius: var(--r-sm);
	text-align: center;
	font-weight: 700;
	font-size: 0.875rem;
	cursor: pointer;
}

body.page-dashboard .header {
    background: rgba(250, 248, 244, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(14, 30, 20, 0.06);
}

body.page-dashboard .header .nav li a {
    color: var(--dark);
}

body.page-dashboard .header .nav-logo span {
    color: var(--forest-mid);
}

/* ===== Hero Section (new) ===== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--dark);
	overflow: hidden;
	position: relative;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 70% 40%, rgba(30,107,58,0.4) 0%, transparent 60%),
		radial-gradient(ellipse 50% 50% at 20% 80%, rgba(196,146,42,0.12) 0%, transparent 60%),
		radial-gradient(ellipse 40% 40% at 85% 85%, rgba(20,67,42,0.6) 0%, transparent 70%);
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
	pointer-events: none;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	max-width: 1320px;
	margin: 0 auto;
	padding: 80px 28px;
	position: relative;
	z-index: 1;
}
.hero-text {
	display: flex;
	flex-direction: column;
}
.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(196,146,42,0.15);
	color: var(--gold-light);
	border: 1px solid rgba(196,146,42,0.3);
	padding: 6px 14px;
	border-radius: var(--r-full);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 24px;
	width: fit-content;
}
.hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 4.8vw, 3.8rem);
	font-weight: 700;
	color: var(--white);
	line-height: 1.08;
	margin-bottom: 0.5rem;
}
.hero-title em {
	font-style: italic;
	color: var(--gold-light);
}
.hero-subtitle {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.808);
	line-height: 1.78;
	margin-bottom: 20px;
	max-width: 460px;
}
.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	z-index: 1000;
}
.hero-visual {
	position: relative;
	animation: fadeInRight 0.8s ease 0.2s both;
}
.hero-image-frame {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 3/4;
	max-height: 520px;
}
.hero-image-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom center;
}
.hero-image-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20,67,42,0.85) 0%, transparent 50%);
}

.hero-visual img.nupap {
	position: absolute;
	top: -90px;
	left: -80px;
	width: 120%;
	height: 120%;
	object-fit: cover;
	z-index: -10;
	filter: drop-shadow(0 0 15px #ffffff);
}
.hero-image-frame img:not(.nupap) {
  transform: scale(0.60);
  transform-origin: 350px bottom;
}

/* Name badge at bottom of image */
.hero-name-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 24px; z-index: 2;
}
.hero-name-badge h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.hero-name-badge p { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 3px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ===== Floating cards (same) ===== */
.float-card {
	position: absolute;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(12px);
	border-radius: var(--r-md);
	padding: 12px 16px;
	box-shadow: 0 12px 40px rgba(0,0,0,0.18);
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(255,255,255,0.5);
	z-index: 10;
	min-width: 170px;
}
.float-card:nth-child(1) {
	top: 40px;
	right: 150px;
	animation: float 5s ease-in-out infinite;
}
.float-card:nth-child(2) {
	bottom: 120px;
	left: -100px;
	animation: float 5s ease-in-out 0.6s infinite;
}
.float-card-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
}
.float-card-icon.gold {
	background: rgba(196,146,42,0.15);
	color: var(--gold);
}
.float-card-icon.green {
	background: rgba(30,107,58,0.12);
	color: var(--forest-mid);
}
.float-card-icon.blue {
	background: rgba(25,118,210,0.1);
	color: #1976d2;
}
.float-card-icon.orange {
	background: rgba(245,124,0,0.1);
	color: #e07b00;
}
.float-card-text .label {
	font-size: 10px;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1;
}
.float-card-text .value {
	font-size: 12px;
	font-weight: 700;
	color: var(--dark);
	line-height: 1.3;
	margin-top: 2px;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(32px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* ─── About Section ──────────────────────────────────────────────────────────── */
.about {
	padding: var(--section-pad) 0;
	background: var(--white);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 80px;
	align-items: center;
}

.about-image {
	position: relative;
}

.about-image-main {
	border-radius: var(--r-lg);
	overflow: hidden;
	height: 500px;
	background: var(--mint);
	box-shadow: var(--shadow-lg);
}
.about-image-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-reg-card {
	position: absolute;
	bottom: -24px;
	right: -24px;
	background: var(--white);
	border-radius: var(--r-md);
	padding: 18px 20px;
	box-shadow: var(--shadow-md);
	border: 1px solid var(--border);
}
.about-reg-card .reg-row {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	color: var(--text-muted);
	padding: 4px 0;
	border-bottom: 1px solid var(--border);
}
.about-reg-card .reg-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.about-reg-card i {
	color: var(--forest-mid);
	font-size: 0.75rem;
	flex-shrink: 0;
}
.about-reg-card strong {
	color: var(--dark);
	font-weight: 700;
}

.about-text p {
	font-size: 0.975rem;
	color: var(--text-muted);
	line-height: 1.82;
	margin-bottom: 16px;
}

.about-pillars {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 28px;
}
.pillar {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--white);
	border-radius: var(--r-sm);
	padding: 14px;
	border: 1px solid rgba(30,107,58,0.08);
	transition: all 0.2s ease;
}
.pillar:hover {
	background: var(--mint);
	box-shadow: var(--shadow-sm);
}
.pillar-icon {
	width: 34px;
	height: 34px;
	background: rgba(30,107,58,0.12);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--forest-mid);
	font-size: 0.9rem;
	flex-shrink: 0;
}
.pillar-text .title {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--dark);
}
.pillar-text .desc {
	font-size: 0.75rem;
	color: var(--text-muted);
	line-height: 1.5;
	margin-top: 2px;
}

/* ─── Technology Section ─── */
.tech {
	padding: var(--section-pad) 0;
	background: var(--cream);
}

/* Fade-up animation for card transitions */
@keyframes techFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tech-card-animate {
    animation: techFadeUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tech-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.tech-header-left {
    flex: 1;
    min-width: 280px;
}
.tech-header-right {
    max-width: 460px;
    padding-top: 10px;
}

/* Grid container for pagination */
.tech-grid-wrapper {
    overflow: hidden;
}
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Each technology card */
.tech-card {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1 / 1.1;
    display: block;
    transition: opacity 0.25s ease;
}
.tech-card-hidden {
    display: none !important;
}
.tech-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,25,15,0.78) 30%, rgba(10,25,15,0.15) 70%, transparent 100%);
    z-index: 1;
}
.tech-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(196,146,42,0.85);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--r-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
}
.tech-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tech-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.tech-card-text h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2px;
}
.tech-card-text p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Empty state */
.tech-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 20px;
    border: 1.5px dashed var(--border-mid);
    border-radius: var(--r-lg);
    background: rgba(20,67,42,0.03);
}
.tech-empty-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--mint);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--forest-light);
    margin: 0 auto 20px;
}
.tech-empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    color: var(--dark); margin-bottom: 8px;
}
.tech-empty-state p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Footer */
.tech-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
}
.btn-outline-tech {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
    border-radius: var(--r-sm);
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}
.btn-outline-tech:hover {
    background: var(--forest);
    color: #fff;
}
.tech-pagination {
    display: flex;
    gap: 10px;
}
.tech-pagination-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border-mid);
    background: var(--white);
    color: var(--dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-xs);
}
.tech-pagination-btn:hover {
    background: var(--forest);
    color: #fff;
    border-color: var(--forest);
}

/* Responsive */
@media (max-width: 800px) {
	.hero-visual img.nupap {
		left: 0;
	}
    .tech-header {
        gap: 0.5rem;
    }
    .tech-header-left h2.section-title {
        margin-bottom: 0;
    }
    .tech-header-right p.section-subtitle {
        padding-top: 0;
    }
    .tech-header-right {
        padding-top: 0;
        margin-bottom: 1rem;
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .tech-header {
        flex-direction: column;
    }
    .tech-header-left {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .tech-header-right {
        max-width: 100%;
        text-align: center;
    }
    /* JS controls visibility; grid just needs 1 column */
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .tech-footer {
        gap: 1rem;
    }
    .btn-outline-tech {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .tech-pagination {
        justify-content: center;
    }
}

/* ─── Achievements Section ──────────────────────────────────────────────────── */
.achievements {
    padding: var(--section-pad) 0;
    background: linear-gradient(160deg, #091810 0%, #0d2218 45%, #07150f 100%);
    overflow: hidden;
    position: relative;
}

.ach-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.ach-bg-orb--1 {
    width: 600px; height: 600px;
    top: -160px; right: -160px;
    background: radial-gradient(circle, rgba(196,146,42,0.10) 0%, transparent 70%);
}
.ach-bg-orb--2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, rgba(45,125,50,0.12) 0%, transparent 70%);
}
/* Windowed dot ellipsis — add to your achievements CSS */
.ach-dot-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0 2px;
    pointer-events: none;
    user-select: none;
}

/* Smaller edge dots (first/last jump dots) */
.ach-dot.ach-dot--sm {
    width: 6px;
    height: 6px;
    opacity: 0.45;
    transform: scale(0.85);
}

.ach-dot.ach-dot--sm:hover {
    opacity: 0.8;
    transform: scale(1);
}

/* ── Featured Carousel ───────────────────────────────────────── */
.ach-featured {
    margin-top: 56px;
    position: relative;
}

.ach-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 480px;   /* locks the row to exactly the image height */
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    transition: box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.07);
}
.ach-slide.active { display: grid; }
.ach-slide:hover { box-shadow: 0 40px 100px rgba(0,0,0,0.6); }

/* Image panel */
.ach-slide-img {
    position: relative;
    height: 480px;          /* fixed — no stretching from tall images */
    min-height: 0;          /* override any inherited min-height */
    max-height: 480px;
    background: #0a1a0f;
    overflow: hidden;
}
.ach-slide-img img {
    width: 100%; height: 100%;
    object-fit: contain;    /* show full image, no cropping */
    object-position: center center;
    display: block;
    transition: transform 0.6s ease;
}
.ach-slide:hover .ach-slide-img img { transform: scale(1.04); }
.ach-slide-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: rgba(196,146,42,0.2);
}
.ach-slide-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(10,20,14,0.9) 100%),
                linear-gradient(to top, rgba(10,20,14,0.6) 0%, transparent 50%);
}
.ach-img-count {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: #fff; font-size: 0.72rem; font-weight: 600;
    padding: 5px 11px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; gap: 5px;
}
.ach-year-stamp {
    position: absolute; bottom: 20px; left: 20px;
    font-size: 5.5rem; font-weight: 900;
    color: rgba(255, 255, 255, 0.281);
    font-style: italic; line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none; user-select: none;
    font-family: var(--font-display, Georgia, serif);
}

/* Info panel */
.ach-slide-info {
    background: linear-gradient(135deg, #0f2318 0%, #0d1e14 100%);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.ach-slide-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(196,146,42,0.12);
    color: var(--gold-light, #c4922a);
    border: 1px solid rgba(196,146,42,0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.07em;
    width: fit-content; margin-bottom: 18px;
}
.ach-slide-title {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.85rem; font-weight: 700;
    color: #fff; line-height: 1.25;
    margin-bottom: 16px;
}
.ach-slide-desc {
    color: rgba(255,255,255,0.58);
    font-size: 0.9rem; line-height: 1.75;
    margin-bottom: 24px;
}
.ach-slide-divider {
    width: 48px; height: 2px;
    background: linear-gradient(90deg, var(--gold-light, #c4922a), transparent);
    margin-bottom: 24px;
}
.ach-slide-awardee {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 28px;
}
.ach-awardee-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(196,146,42,0.15);
    border: 1px solid rgba(196,146,42,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-light, #c4922a); font-size: 1.1rem;
    flex-shrink: 0;
}
.ach-awardee-name {
    font-size: 0.88rem; font-weight: 700; color: #fff;
    margin-bottom: 3px;
}
.ach-awardee-pos {
    font-size: 0.75rem; color: rgba(255,255,255,0.45);
    line-height: 1.4;
}
.ach-slide-meta {
    display: flex; align-items: center; justify-content: space-between;
}
.ach-slide-meta > span:first-child {
    font-size: 0.78rem; color: rgba(255,255,255,0.4);
    display: flex; align-items: center; gap: 6px;
}
.ach-view-link {
    font-size: 0.78rem; font-weight: 600;
    color: var(--gold-light, #c4922a);
    display: flex; align-items: center; gap: 5px;
    transition: gap 0.2s;
}
.ach-slide:hover .ach-view-link { gap: 9px; }

/* Controls */
.ach-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-top: 24px;
}
.ach-ctrl-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 0.85rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.ach-ctrl-btn:hover {
    background: rgba(196,146,42,0.2);
    border-color: rgba(196,146,42,0.4);
}
.ach-ctrl-dots { display: flex; align-items: center; gap: 7px; }
.ach-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none; cursor: pointer;
    padding: 0; transition: all 0.25s;
}
.ach-dot.active {
    background: var(--gold-light, #c4922a);
    width: 22px; border-radius: 4px;
}

/* ── Secondary Cards Grid ────────────────────────────────────── */
.ach-grid-section { margin-top: 64px; }
.ach-grid-label {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 32px;
}
.ach-grid-label span {
    font-size: 0.72rem; font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 0.12em;
    white-space: nowrap;
}
.ach-grid-label::after {
    content: '';
    flex: 1; height: 1px;
    background: rgba(255,255,255,0.08);
}

.ach-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ach-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
    animation-delay: var(--delay, 0s);
}
.ach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(0,0,0,0.35);
    border-color: rgba(196,146,42,0.25);
}
.ach-card-thumb {
    height: 190px;
    background-color: #0a1a0f;
    background-size: cover; background-position: center;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.ach-card-thumb-icon { font-size: 3rem; color: rgba(196,146,42,0.2); }
.ach-card-thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,20,12,0.75) 0%, transparent 60%);
}
.ach-card:hover .ach-card-thumb-overlay {
    background: linear-gradient(to top, rgba(10,20,12,0.8) 0%, rgba(196,146,42,0.08) 100%);
}

.ach-card-body { padding: 18px 20px 20px; }
.ach-card-cat {
    font-size: 0.68rem; font-weight: 700;
    color: var(--gold-light, #c4922a);
    text-transform: uppercase; letter-spacing: 0.08em;
    display: block; margin-bottom: 8px;
}
.ach-card-title {
    font-size: 0.95rem; font-weight: 700;
    color: #fff; margin-bottom: 8px; line-height: 1.35;
}
.ach-card-desc {
    font-size: 0.78rem; color: rgba(255,255,255,0.48);
    line-height: 1.65; margin-bottom: 16px;
}
.ach-card-footer {
    display: flex; align-items: center; justify-content: space-between;
}
.ach-card-date {
    font-size: 0.72rem; color: rgba(255,255,255,0.32);
    display: flex; align-items: center; gap: 5px;
}
.ach-card-arrow {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(196,146,42,0.1);
    border: 1px solid rgba(196,146,42,0.2);
    color: var(--gold-light, #c4922a);
    font-size: 0.65rem;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.ach-card:hover .ach-card-arrow {
    background: rgba(196,146,42,0.25);
    transform: translateX(2px);
}

/* ── Empty state ─────────────────────────────────────────────── */
.ach-empty {
    text-align: center; padding: 80px 20px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    margin-top: 48px;
}
.ach-empty-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(196,146,42,0.08);
    border: 1px solid rgba(196,146,42,0.15);
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: rgba(196,146,42,0.3);
}
.ach-empty h3 { color: rgba(255,255,255,0.5); font-size: 1.2rem; margin-bottom: 8px; }
.ach-empty p  { color: rgba(255,255,255,0.3); font-size: 0.88rem; }

/* ══════════════════════════════════════════════════════════════
   AWARD DETAIL MODAL — Premium Split Design
   ══════════════════════════════════════════════════════════════ */
.aw-modal {
    display: none;
    position: fixed; inset: 0; z-index: 3000;
    justify-content: center; align-items: center;
    padding: 24px;
}
.aw-modal.active { display: flex; }

.aw-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(5,14,8,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.aw-modal-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    width: 100%;
    max-width: 920px;
    max-height: 88vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.07);
    animation: awModalIn 0.3s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes awModalIn {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close button */
.aw-modal-x {
    position: absolute; top: 16px; right: 16px; z-index: 20;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.aw-modal-x:hover {
    background: rgba(229,57,53,0.7);
    color: #fff; border-color: transparent;
}

/* ── Gallery (left) ──────────────────────────────────────────── */
.aw-modal-gallery {
    position: relative;
    background: #060e08;
    overflow: hidden;
    /* Fixed height ensures no resize when navigating images */
    height: 100%;
    min-height: 460px;    /* fallback for very small content */
}
.aw-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;         /* fills the fixed column/gallery */
    min-height: 460px;    /* consistent minimum */
}
.aw-gallery-track img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;    /* show full image, no cropping */
    object-position: center center;
    opacity: 0;
    transition: opacity 0.45s ease;
}
.aw-gallery-track img.active { opacity: 1; }
.aw-gallery-track .aw-no-image {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.2);
    font-size: 3.5rem;
}
.aw-gallery-track .aw-no-image span {
    font-size: 0.8rem; letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Nav arrows */
.aw-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 0.8rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 5; transition: background 0.2s;
}
.aw-gallery-nav:hover { background: rgba(0,0,0,0.75); }
.aw-gallery-nav--prev { left: 12px; }
.aw-gallery-nav--next { right: 12px; }
.aw-gallery-nav[style*="display:none"] { display: none !important; }

/* Dots */
.aw-gallery-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 5;
}
.aw-gallery-dots .aw-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none; cursor: pointer; padding: 0;
    transition: all 0.22s;
}
.aw-gallery-dots .aw-dot.active {
    background: var(--gold-light, #c4922a);
    width: 20px; border-radius: 4px;
}

/* Counter */
.aw-gallery-counter {
    position: absolute; top: 14px; left: 14px;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.75); font-size: 0.72rem; font-weight: 600;
    padding: 4px 10px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    z-index: 5;
}

/* ── Info panel (right) ──────────────────────────────────────── */
.aw-modal-info {
    background: linear-gradient(160deg, #101e14 0%, #0c1910 100%);
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
}
.aw-modal-info::-webkit-scrollbar { width: 4px; }
.aw-modal-info::-webkit-scrollbar-track { background: transparent; }
.aw-modal-info::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.aw-modal-info-inner {
    padding: 44px 36px;
    height: 100%;
    display: flex; flex-direction: column;
    overflow: hidden;
}
.aw-modal-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(196,146,42,0.12);
    color: var(--gold-light, #c4922a);
    border: 1px solid rgba(196,146,42,0.25);
    padding: 5px 13px; border-radius: 20px;
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    width: fit-content; margin-bottom: 18px;
}
.aw-modal-title {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.6rem; font-weight: 700;
    color: #fff; line-height: 1.25;
    margin-bottom: 14px;
}
.aw-modal-date {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,0.38);
    font-size: 0.78rem; margin-bottom: 24px;
}
.aw-modal-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 24px;
}
.aw-modal-desc {
    color: rgba(255,255,255,0.62);
    font-size: 0.87rem; line-height: 1.8;
    margin-bottom: 24px;
    flex: 1 1 0;
    min-height: 150px;
    overflow-y: auto;
    padding-right: 6px;
}
.aw-modal-desc::-webkit-scrollbar { width: 3px; }
.aw-modal-desc::-webkit-scrollbar-track { background: transparent; }
.aw-modal-desc::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
.aw-modal-person {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
}
.aw-modal-person-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(196,146,42,0.12);
    border: 1px solid rgba(196,146,42,0.25);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-light, #c4922a); font-size: 1rem;
    flex-shrink: 0;
}
.aw-modal-person-label {
    font-size: 0.68rem; font-weight: 700;
    color: var(--gold-light, #c4922a);
    text-transform: uppercase; letter-spacing: 0.07em;
    margin-bottom: 4px;
}
.aw-modal-person-name {
    font-size: 0.9rem; font-weight: 700; color: #fff;
    margin-bottom: 3px;
}
.aw-modal-person-pos {
    font-size: 0.75rem; color: rgba(255,255,255,0.42);
    line-height: 1.4;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .ach-slide { grid-template-columns: 1fr; grid-template-rows: auto; }
    .ach-slide-img { height: 300px; min-height: 0; max-height: 300px; }
    .ach-slide-info { padding: 32px 28px; }
    .ach-slide-title { font-size: 1.5rem; }
    .ach-year-stamp { font-size: 4rem; }
    .ach-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .aw-modal-shell {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }
    .aw-modal-info {
        overflow: visible;
        min-height: 0;
    }
    .aw-modal-info-inner {
        height: auto;
        min-height: 0;
    }
    /* .aw-modal-desc {
        overflow-y: visible;
        flex: none;
    } */
    .aw-modal-gallery {
        /* Fixed height on tablet, no stretching based on info panel */
        height: 320px;
        min-height: 320px;
    }
    .aw-gallery-track {
        height: 100%;
        min-height: 0;   /* reset desktop min-height */
    }
    .aw-modal-info-inner { padding: 28px 24px; height: 100%; }
    .aw-modal-title { font-size: 1.35rem; }
}
@media (max-width: 580px) {
    .ach-slide-info { padding: 24px 20px; }
    .ach-cards-grid { grid-template-columns: 1fr; }
    .aw-modal { padding: 12px; }
    .aw-modal-shell { border-radius: 14px; }
    .aw-modal-gallery {
        height: 260px;
        min-height: 260px;
    }
}
/* =====================================================
   PRODUCTS SECTION – REDESIGNED
   ===================================================== */
.products {
	padding: var(--section-pad) 0;
	background: var(--white);
}

/* ── Global ROI Summary Panel ── */
.global-roi-panel {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 36px;
	padding: 24px;
	background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
	border-radius: var(--r-lg);
	box-shadow: 0 8px 32px rgba(20,67,42,0.28);
}
.groi-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 12px 16px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: var(--r-md);
	backdrop-filter: blur(4px);
	transition: background 0.2s;
}
.groi-card:hover {
	background: rgba(255,255,255,0.16);
}
.groi-card-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255,255,255,0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	color: var(--gold-light);
	margin-bottom: 4px;
}
.groi-card-label {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255,255,255,0.65);
}
.groi-card-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--white);
	line-height: 1;
}
.groi-card-value.highlight {
	color: var(--gold-light);
	font-size: 1.4rem;
}

/* ── Products Toolbar ── */
.products-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}
.toolbar-search {
	position: relative;
	display: flex;
	align-items: center;
}
.toolbar-search i {
	position: absolute;
	left: 12px;
	color: var(--text-muted);
	font-size: 0.85rem;
}
.toolbar-search input {
	padding: 9px 12px 9px 34px;
	border: 1.5px solid var(--border-mid);
	border-radius: var(--r-sm);
	font-family: var(--font-body);
	font-size: 0.84rem;
	background: var(--off-white);
	width: 220px;
	transition: border-color 0.2s, background 0.2s;
	color: var(--text);
}
.toolbar-search input:focus {
	outline: none;
	border-color: var(--forest-mid);
	background: var(--white);
}
.toolbar-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.toolbar-filters select {
	padding: 9px 12px;
	border: 1.5px solid var(--border-mid);
	border-radius: var(--r-sm);
	background: var(--off-white);
	font-family: var(--font-body);
	font-size: 0.84rem;
	color: var(--text);
	min-width: 148px;
	cursor: pointer;
	transition: border-color 0.2s;
}
.toolbar-filters select:focus {
	outline: none;
	border-color: var(--forest-mid);
}

/* ── Coverflow Carousel ── */
.coverflow-outer {
	position: relative;
	padding: 20px 0 30px;
}
/* Left fade overlay */
.coverflow-outer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, var(--white), transparent);
  z-index: 10;
  pointer-events: none;
}
/* Right fade overlay */
.coverflow-outer::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to left, var(--white), transparent);
  z-index: 10;
  pointer-events: none;
}
.coverflow-track {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 12px 0;
	overflow-x: scroll;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	will-change: scroll-position;
	scroll-snap-type: x mandatory;
}
.coverflow-track::-webkit-scrollbar {
	display: none;
}
.product-card {
	flex: 0 0 270px;
	height: 340px;
	scroll-snap-align: center;
	background-size: cover;
	background-position: center;
	border-radius: var(--r-lg);
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: transform 0.55s cubic-bezier(0.4,0,0.2,1),
				box-shadow 0.45s ease,
				opacity 0.45s ease;
	transform: scale(0.82);
	opacity: 0.6;
	box-shadow: var(--shadow-sm);
	will-change: transform, opacity;
}
.product-card.cf-center {
	transform: scale(1.06);
	opacity: 1;
	box-shadow: 0 24px 64px rgba(14,30,20,0.28);
	z-index: 5;
}
.product-card.cf-adjacent {
	transform: scale(0.9);
	opacity: 0.78;
}

/* Gradient overlay */
.product-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10,25,15,0.82) 30%, rgba(10,25,15,0.25) 60%, transparent 100%);
	border-radius: var(--r-lg);
	z-index: 1;
	pointer-events: none;
}

/* Glass panel at bottom */
.product-glass {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 14px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.glass-text {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 2px;
}

.product-title {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}
.product-category {
	font-size: 0.68rem;
	color: var(--gold-light);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
}
.product-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	width: 100%;
}
.summary-stat {
	font-size: 0.68rem;
	font-weight: 700;
	background: rgba(255,255,255,0.14);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: rgba(255,255,255,0.92);
	padding: 3px 9px;
	border-radius: 20px;
	border: 1px solid rgba(255,255,255,0.18);
	white-space: nowrap;
}
.card-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 5px 5px 5px 14px;
	background: rgba(255,255,255,0.16);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.3);
	border-radius: var(--r-full);
	color: #fff;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.78rem;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
	letter-spacing: 0.03em;
}
.card-btn:hover {
	background: rgba(255,255,255,0.28);
	border-color: rgba(255,255,255,0.55);
}
.btn-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: rgba(255,255,255,0.25);
	font-size: 0.75rem;
}
.arrows-btn {
	display: flex;
	align-items: center;
	margin-left: auto;
}

/* Carousel nav buttons */
.btn-carousel {
	display: flex;
	align-items: center;
	justify-content: center;
    flex-direction: row;
    gap: 0.8rem;
}

.carousel-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--white);
	border: 1.5px solid var(--border-mid);
	box-shadow: var(--shadow-md);
	color: var(--dark);
	font-size: 1rem;
	cursor: pointer;
	z-index: 20;
	transition: all 0.22s;
	opacity: 0.92;
}
.carousel-btn:hover {
	background: var(--forest);
	color: var(--white);
	border-color: var(--forest);
	opacity: 1;
}

/* =====================================================
   PRODUCT MODAL – REDESIGNED
   ===================================================== */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(10,22,15,0.65);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.modal-content {
	background: var(--white);
	border-radius: var(--r-md);
	width: 100%;
	max-width: 1000px;
	position: relative;
	box-shadow: 0 40px 100px rgba(0,0,0,0.4);
	animation: fadeInUp 0.3s cubic-bezier(0.4,0,0.2,1) both;
	max-height: 92vh;
	overflow: hidden;
}
/* ── Responsive Modal (for admin pages) ── */
.modal-box-responsive {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    z-index: 1001;
    position: relative;
}
.modal-box-responsive .modal-box-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    flex-shrink: 0;
}
.modal-box-responsive .modal-box-body {
    background: #fff;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.modal-box-responsive .modal-box-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(0,0,0,0.12);
	border: none;
	cursor: pointer;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	color: var(--white);
	transition: all 0.2s;
	z-index: 10;
	line-height: 1;
}
.modal-close:hover {
	background: rgba(0,0,0,0.35);
}

/* Split layout */
.modal-split {
	max-height: 92vh;
	overflow-y: scroll;
}
.modal-left {
	width: 100%;
	background: linear-gradient(160deg, var(--forest) 0%, var(--dark) 100%);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: start;
	padding: 32px 24px;
	gap: 20px;
	position: relative;
	flex-shrink: 0;
}
.modal-left::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 70% 40%, rgba(30,107,58,0.4) 0%, transparent 60%),
		radial-gradient(ellipse 50% 50% at 20% 80%, rgba(196,146,42,0.12) 0%, transparent 60%),
		radial-gradient(ellipse 40% 40% at 85% 85%, rgba(20,67,42,0.6) 0%, transparent 70%);
}
.modal-left::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
	pointer-events: none;
}
.modal-product-img-wrap {
	width: 230px;
	height: 230px;
	border-radius: var(--r-sm);
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0,0,0,0.45);
	border: 3px solid rgba(255,255,255,0.2);
	flex-shrink: 0;
	z-index: 1;
}
.modal-product-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wrap {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 1;          /* take remaining space beside image */
	min-width: 0;     /* allow shrinking below content size */
	z-index: 1;
}
.modal-product-meta {
	z-index: 1;
	text-align: start;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;      /* let badge drop below name if it doesn't fit */
	align-items: center;
	gap: 6px;
}
.modal-product-meta h2 {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--white);
	margin-right: 8px;
	word-break: break-word;
}
.modal-product-type-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.2);
	color: var(--gold-light);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 4px 12px;
	border-radius: var(--r-full);
}
.modal-key-stats {
	display: flex;
	line-height: 1.2;
	font-weight: 500;
	gap: 10px;
	width: 100%;
	z-index: 1;
	color: var(--white);
}
.summary-stat-modal {
	display: flex;
	justify-content: center;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	font-size: 0.8rem;
	font-weight: 700;
	background: rgba(255,255,255,0.14);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: rgba(255,255,255,0.92);
	padding: 3px 9px;
	border-radius: 20px;
	border: 1px solid rgba(255,255,255,0.18);
	white-space: normal;    /* allow wrapping on tiny screens */
	flex-wrap: wrap;
	gap: 4px;
}
.summary-stat-modal span {
	font-weight: 500;
	margin-right: 10px;
}
.mks-item {
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: var(--r-sm);
	padding: 10px 12px;
	text-align: center;
}
.mks-item .mks-label {
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255,255,255,0.55);
	display: block;
	margin-bottom: 3px;
}
.mks-item .mks-val {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--white);
	line-height: 1;
}
.mks-item .mks-val.good {
	color: #6adc8a;
}
.mks-item .mks-val.gold {
	color: var(--gold-light);
}

/* Right side */
.modal-right {
	flex: 1;
	overflow-y: auto;
	padding: 24px 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.modal-right::-webkit-scrollbar {
	width: 5px;
}
.modal-right::-webkit-scrollbar-track {
	background: transparent;
}
.modal-right::-webkit-scrollbar-thumb {
	background: var(--border-mid);
	border-radius: 3px;
}

/* Stats grid inside modal */
.modal-stats-section {}
.modal-section-title {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.modal-section-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.stat-box {
	background: var(--off-white);
	border-radius: var(--r-sm);
	padding: 12px 14px;
	border: 1px solid var(--border);
	transition: border-color 0.2s;
}
.stat-box:hover {
	border-color: var(--forest-light);
}
.stat-box .label {
	font-size: 0.62rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 4px;
	display: block;
}
.stat-box .value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--dark);
	line-height: 1;
}
.stat-box .value.profit {
	color: var(--forest-mid);
}
.stat-box .value.roi-val {
	color: var(--gold);
}

/* Year bar in modal */
.modal-year-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 8px 14px;
	margin-bottom: 14px;
}
.modal-year-label {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-muted);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 5px;
}
.modal-year-select {
	padding: 5px 10px;
	border: 1.5px solid var(--border-mid);
	border-radius: var(--r-sm);
	font-family: var(--font-body);
	font-size: 0.82rem;
	background: var(--white);
	color: var(--text);
	cursor: pointer;
}
.modal-year-select:focus {
	outline: none;
	border-color: var(--forest-mid);
}

/* Modal charts */
.modal-charts-section {}
.modal-charts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.chart-box {
	background: var(--off-white);
	border-radius: var(--r-sm);
	padding: 12px 14px 10px;
	border: 1px solid var(--border);
}
.chart-box h3 {
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 8px;
}
/* Fixed height wrapper so charts don't blow up at 125% zoom */
.chart-canvas-wrap {
	position: relative;
	height: 190px;
	width: 100%;
}

/* Modal controls */
.modal-data-tools {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}
.modal-data-tools input,
.modal-data-tools select {
	padding: 7px 10px;
	border: 1.5px solid var(--border-mid);
	border-radius: var(--r-sm);
	font-size: 0.82rem;
	font-family: var(--font-body);
	background: var(--off-white);
	color: var(--text);
	flex: 1;
	min-width: 90px;
	transition: border-color 0.2s;
}
.modal-data-tools input:focus,
.modal-data-tools select:focus {
	outline: none;
	border-color: var(--forest-mid);
}

/* Monthly table */
.monthly-table-wrapper {
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	overflow: hidden;
	max-height: 220px;
	overflow-y: auto;
}
.monthly-table-wrapper::-webkit-scrollbar {
	width: 4px;
}
.monthly-table-wrapper::-webkit-scrollbar-thumb {
	background: var(--border-mid);
}
.monthly-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
}
.monthly-table th {
	background: var(--mint);
	text-align: left;
	padding: 8px 10px;
	color: var(--forest);
	font-weight: 700;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	position: sticky;
	top: 0;
	z-index: 2;
}
.monthly-table td {
	padding: 7px 10px;
	border-bottom: 1px solid var(--border);
	color: var(--text);
}
.monthly-table tbody tr:hover {
	background: var(--mint);
}
.monthly-table tbody tr:last-child td {
	border-bottom: none;
}

/* =====================================================
   ROI DASHBOARD PAGE – MAJOR REDESIGN
   ===================================================== */
.roi-dashboard-page {
	background: var(--off-white);
	min-height: 100vh;
	padding-bottom: 80px;
}

/* Dashboard top strip (executive summary) */
.dash-exec-strip {
	background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 50%, var(--forest-light) 100%);
	padding: 20px 0;
	margin-bottom: 0;
}
.dash-exec-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.dash-exec-title {
	color: rgba(255,255,255,0.85);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
.dash-exec-kpis {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	align-items: center;
}
.exec-kpi {
	text-align: center;
}
.exec-kpi-label {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(255,255,255,0.6);
	display: block;
}
.exec-kpi-value {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--white);
	line-height: 1.1;
}
.exec-kpi-value.gold {
	color: var(--gold-light);
}
.exec-kpi-sep {
	width: 1px;
	height: 36px;
	background: rgba(255,255,255,0.2);
	align-self: center;
}

/* Dashboard main container layout */
.dash-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 18px;
}
.dash-layout-three {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18px;
	margin-bottom: 18px;
}
.dash-layout.one-col {
	grid-template-columns: 1fr;
}
.dash-layout.three-col {
	grid-template-columns: repeat(3, 1fr);
}
.dash-layout.four-col {
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

/* KPI metric cards */
.metric-card {
	background: var(--white);
	border-radius: var(--r-md);
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: var(--shadow-xs);
	border: 1px solid var(--border);
	transition: box-shadow 0.2s, transform 0.2s;
}
.metric-card:hover {
	box-shadow: var(--shadow-sm);
	transform: translateY(-1px);
}
.metric-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
}
.metric-icon.green  { background: rgba(45,144,80,0.12); color: var(--forest-mid); }
.metric-icon.gold   { background: rgba(196,146,42,0.13); color: var(--gold); }
.metric-icon.teal   { background: rgba(0,150,136,0.1); color: #00897b; }
.metric-icon.amber  { background: rgba(245,124,0,0.1); color: #e07b00; }
.metric-icon.blue   { background: rgba(25,118,210,0.1); color: #1976d2; }
.metric-icon.purple { background: rgba(123,31,162,0.1); color: #7b1fa2; }
.metric-info {
	flex: 1;
	min-width: 0;
}
.metric-label {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	display: block;
	margin-bottom: 3px;
}
.metric-value {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--dark);
	line-height: 1;
	white-space: nowrap;
}
.metric-value.roi-highlight {
	color: var(--gold);
}
.metric-sub {
	font-size: 0.7rem;
	color: var(--text-muted);
	margin-top: 2px;
	display: block;
}

/* Section card (wraps charts or breakdowns) */
.dash-section-card {
	background: var(--white);
	border-radius: var(--r-md);
	padding: 20px 22px;
	box-shadow: var(--shadow-xs);
	border: 1px solid var(--border);
}
.dash-section-card.full-width {
	grid-column: 1 / -1;
}
/* Controlled chart heights for dashboard (prevents 125% zoom blowup) */
.dash-chart-wrap {
	position: relative;
	width: 100%;
}
.dash-chart-wrap.h-sm  { height: 250px; }
.dash-chart-wrap.h-md  { height: 280px; }
.dash-chart-wrap.h-lg  { height: 300px; }
.dash-chart-wrap.h-xl  { height: 260px; } /* Monthly Sales Trend — needs room to breathe */
.dash-chart-wrap canvas {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
}
.dsc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	gap: 10px;
	flex-wrap: wrap;
}
.dsc-title {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--dark);
	display: flex;
	align-items: center;
	gap: 7px;
}
.dsc-title i {
	color: var(--forest-mid);
	font-size: 0.95rem;
}
.dsc-badge {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 10px;
	background: var(--mint);
	color: var(--forest);
	border-radius: var(--r-full);
}

/* Dashboard search/filter/sort bar */
.dash-controls {
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	padding: 16px 18px;
	background: var(--white);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-xs);
	border: 1px solid var(--border);
}
.dash-controls input,
.dash-controls select {
	padding: 8px 12px;
	border: 1.5px solid var(--border-mid);
	border-radius: var(--r-sm);
	font-family: var(--font-body);
	font-size: 0.82rem;
	background: var(--off-white);
	color: var(--text);
	flex: 1;
	min-width: 140px;
	transition: border-color 0.2s;
}
.dash-controls input:focus,
.dash-controls select:focus {
	outline: none;
	border-color: var(--forest-mid);
	background: var(--white);
}
.dash-controls label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-muted);
	align-self: center;
}

/* Ops breakdown list */
.ops-list {
	list-style: none;
}
.ops-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.87rem;
}
.ops-list li:last-child {
	border-bottom: none;
}
.ops-list .ops-name {
	color: var(--text);
	font-weight: 500;
}
.ops-list .ops-val {
	font-weight: 700;
	color: var(--dark);
}
.ops-list .ops-badge {
	font-size: 0.68rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
	background: var(--mint);
	color: var(--forest-mid);
}

/* ROI Focus cards */
.roi-focus-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.rof-card {
	border-radius: var(--r-md);
	padding: 18px;
	border: none;
	position: relative;
	overflow: hidden;
}
.rof-card.non-food {
    background: linear-gradient(135deg, #ede7f6, #d1c4e9);
}
.rof-card.non-food .rof-card-icon {
    background: rgba(81,45,168,0.15);
    color: #512da8;
}
.rof-card.non-food .rof-card-best { color: #512da8; }

.rof-card.naturalproducts {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
}
.rof-card.naturalproducts .rof-card-icon {
    background: rgba(0,121,107,0.15);
    color: #00796b;
}
.rof-card.naturalproducts .rof-card-best { color: #00796b; }
.dtbl-type-badge.non-food {
    background: #ede7f6;
    color: #512da8;
}
.dtbl-type-badge.naturalproducts {
    background: #e0f7fa;
    color: #00796b;
}

.rof-card.crops  { background: linear-gradient(135deg, #e8f5ec, #d4edd9); }
.rof-card.livestock { background: linear-gradient(135deg, #fdf6e7, #f5e6c0); }
.rof-card.processedgoods  { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.rof-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	margin-bottom: 10px;
}
.rof-card.crops  .rof-card-icon { background: rgba(30,107,58,0.15); color: var(--forest-mid); }
.rof-card.livestock .rof-card-icon { background: rgba(196,146,42,0.2); color: var(--gold); }
.rof-card.processedgoods  .rof-card-icon { background: rgba(224,123,0,0.15); color: #e07b00; }
.rof-card-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-muted);
	margin-bottom: 4px;
}
.rof-card-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--dark);
	line-height: 1;
}
.rof-card-sub {
	font-size: 0.8rem;
	color: var(--text-muted);
	margin-top: 4px;
}
.rof-card-best {
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: 8px;
}
.rof-card.crops  .rof-card-best { color: var(--forest); }
.rof-card.livestock .rof-card-best { color: var(--gold); }
.rof-card.feeds  .rof-card-best { color: #e07b00; }

/* Dashboard product table */
.dash-table-wrap {
	overflow-x: auto;
	border-radius: var(--r-sm);
}
.dash-product-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}
.dash-product-table thead tr {
	background: var(--mint);
}
.dash-product-table th {
	padding: 10px 12px;
	text-align: left;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--forest);
	border-bottom: 2px solid var(--border-mid);
}
.dash-product-table td {
	padding: 9px 12px;
	border-bottom: 1px solid var(--border);
	color: var(--text);
}
.dash-product-table tbody tr:hover {
	background: var(--off-white);
}
.dash-product-table tbody tr:last-child td {
	border-bottom: none;
}
.dtbl-roi-high  { color: var(--forest-mid); font-weight: 700; }
.dtbl-roi-mid   { color: var(--gold); font-weight: 700; }
.dtbl-roi-low   { color: #e07b00; font-weight: 700; }
.dtbl-type-badge {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
}
.dtbl-type-badge.crops    { background: var(--mint); color: var(--forest); }
.dtbl-type-badge.livestock { background: #fdf6e7; color: var(--gold); }
.dtbl-type-badge.processedgoods { background: #fce4ec; color: #e91e63; }

/* Section top padding for fixed nav */
.dash-page-top {
	padding-top: 95px;
	padding-bottom: 10px;
}

/* ─── Contact Section ─── */
.contact {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info p {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Contact items list */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--mint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-mid);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item-text .label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item-text .value {
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.6;
}

.contact-item-text .value a {
    color: var(--forest-mid);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-item-text .value a:hover {
    color: var(--forest);
}

/* Map frame */
.map-frame {
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--off-white);
}
.map-frame iframe {
    display: block;
    border: none;
}

.map-action {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.map-action p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.map-action p strong {
    display: block;
    color: var(--dark);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .map-frame {
        order: -1;   /* show map above info on tablet */
    }
}

@media (max-width: 640px) {
    .map-action {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-item-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* ─── Footer ─── */
.footer {
	background: var(--dark);
	padding-top: 64px;
}
.footer-top {
	display: grid;
	grid-template-columns: 1fr 1fr 1.5fr;
	gap: 60px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.footer-brand-logo img {
	width: 38px;
}
.footer-brand-logo span {
	font-weight: 700;
	font-size: 0.88rem;
	color: var(--white);
	line-height: 1.3;
}
.footer-brand p {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.45);
	line-height: 1.8;
	margin-bottom: 20px;
}
.footer-socials {
	display: flex;
	gap: 8px;
}
.footer-social-link {
	width: 36px;
	height: 36px;
	border-radius: var(--r-sm);
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.5);
	font-size: 0.85rem;
	transition: all 0.2s;
}
.footer-social-link:hover {
	background: var(--forest-mid);
	color: var(--white);
	border-color: var(--forest-mid);
}
.footer-col h4 {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--white);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.footer-col ul a {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.45);
	transition: color 0.2s;
}
.footer-col ul a:hover {
	color: var(--white);
}
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	gap: 16px;
}
.footer-bottom p {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.35);
}
.footer-bottom-links {
	display: flex;
	gap: 20px;
}
.footer-bottom-links a {
	font-size: 0.78rem;
	color: rgba(255,255,255,0.35);
	transition: color 0.2s;
}
.footer-bottom-links a:hover {
	color: rgba(255,255,255,0.7);
}

/* ─── Responsive ─── */

@media (max-width: 1200px) {
	.container {
		padding: 0 20px;
	}
	.hero-inner {
		gap: 40px;
	}
	.about-grid {
		gap: 50px;
	}
	.awards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	.hero-inner {
		gap: 40px;
	}
	.global-roi-panel {
		grid-template-columns: repeat(1, 1fr);
	}
	.dash-layout.four-col {
		grid-template-columns: repeat(2, 1fr);
	}
	.product-card {
		flex: 0 0 250px;
		height: 330px;
	}
}

@media (max-width: 900px) {
	.nav-links,
	.nav-actions {
		display: none;
	}
	.hamburger {
		display: flex;
	}
	.hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.hero-text {
		align-items: center;
	}
	.hero-actions {
		justify-content: center;
		z-index: 1000;
	}
	.hero-visual {
		max-width: 380px;
		margin: 0 auto;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.about-image {
		order: -1;
	}
	.about-image-main {
		height: 300px;
	}
	.about-reg-card {
		position: static;
		margin-top: 16px;
		/* make it full-width and readable */
		right: auto;
		bottom: auto;
		width: 100%;
		border-radius: var(--r-md);
		box-shadow: var(--shadow-sm);
	}
	.about-text {
		text-align: center;
	}
	.about-text .section-badge {
		margin-left: auto;
		margin-right: auto;
	}
	.about-pillars {
		grid-template-columns: 1fr 1fr;
		text-align: left;
	}
	.awards-grid {
		grid-template-columns: 1fr 1fr;
	}

	/* Modal mobile */
	.modal {
		padding: 0;
		align-items: flex-end;
	}
	.modal-content {
		border-radius: var(--r-lg) var(--r-lg) 0 0;
		max-height: 94vh;
	}
	.modal-split {
		flex-direction: column;
		max-height: 85vh;
	}
	.modal-left {
		width: 100%;
		min-height: auto;
		padding: 16px 18px;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 14px;
		align-items: center;
		justify-content: flex-start;
	}
	.modal-product-img-wrap {
		width: 180px;
		height: 180px;
		flex-shrink: 0;
	}
	.modal-right {
		padding: 14px 16px;
		overflow-y: auto;
	}
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.modal-charts {
		grid-template-columns: 1fr;
	}
	.chart-canvas-wrap {
		height: 150px;
	}
	.modal-year-bar {
		flex-wrap: wrap;
	}
	.modal-data-tools {
		gap: 6px;
	}
	.modal-data-tools input,
	.modal-data-tools select {
		min-width: 0;
		flex: 1 1 45%;
		font-size: 0.78rem;
	}

	/* Dashboard */
	.dash-layout {
		grid-template-columns: 1fr;
	}
	.dash-layout-three {
		grid-template-columns: 1fr 1fr; /* 2-col grid on tablet, collapses fully at 640px */
	}
	.roi-focus-bar {
		grid-template-columns: 1fr;
	}
	.dash-exec-kpis {
		gap: 16px;
	}
	.exec-kpi-sep {
		display: none;
	}
	.dash-chart-wrap.h-md {
		height: 220px;
	}
	.dash-chart-wrap.h-lg {
		height: 240px;
	}
	.dash-chart-wrap.h-xl {
		height: 240px; /* Monthly Sales Trend — keep readable on tablet */
	}
	.metric-card {
		padding: 14px 16px;
	}
	.metric-value {
		font-size: 1.1rem;
	}
}

@media (max-width: 640px) {
	.container {
		padding: 0 12px;
	}
	:root {
		--section-pad: 60px;
	}
	.section-title {
		font-size: 1.6rem;
	}
	.hero-title {
		font-size: 2rem;
	}
	.hero-subtitle {
		font-size: 0.95rem;
	}
    .header .nav-logo .logo-long {
		display: none;
	}
	.header .nav-logo .logo-short {
		display: inline;
	}

	/* Floating Cards */
	.float-card:nth-child(1) {
		top: 20px;
		right: 0px;
		animation: float 5s ease-in-out infinite;
	}
	.float-card:nth-child(2) {
		bottom: 90px;
		left: -20px;
		animation: float 5s ease-in-out 0.6s infinite;
	}

	/* Carousel */
	.coverflow-outer .carousel-btn {
		width: 36px;
		height: 36px;
		font-size: 0.85rem;
	}
	.coverflow-outer .carousel-btn.prev {
		left: 2px;
	}
	.coverflow-outer .carousel-btn.next {
		right: 2px;
	}
	.product-glass {
		padding: 10px;
	}

	/* Products toolbar */
	.products-toolbar {
		flex-direction: column;
		gap: 8px;
	}
	.toolbar-search {
		width: 100%;
	}
	.toolbar-search input {
		width: 100%;
	}
	.toolbar-filters {
		width: 100%;
	}
	.toolbar-filters select {
		flex: 1;
		min-width: 0;
	}

	/* Modal */
	.modal-content {
		border-radius: var(--r-md) var(--r-md) 0 0;
	}
    .modal-close {
        position: absolute;
        top: 40px;
        right: 40px;
        background: rgba(0, 0, 0, 0.295);
    }
	.modal-left {
		width: 100%;
		min-height: auto;
		padding: 0.5rem 18px 2rem;
		flex-direction: column;
		gap: 14px;
		align-items: center;
		justify-content: flex-start;
	}
	.modal-product-img-wrap {
		width: 350px;
		height: 350px;
		margin-bottom: 1rem;
	}
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 7px;
	}
	.stat-box {
		padding: 9px 10px;
	}
	.stat-box .value {
		font-size: 0.82rem;
	}
	.modal-charts {
		grid-template-columns: 1fr;
	}
	.chart-canvas-wrap {
		height: 130px;
	}

	/* Global ROI panel */
	.global-roi-panel {
		grid-template-columns: repeat(1, 1fr);
		padding: 14px;
		gap: 10px;
	}
	.groi-card-value {
		font-size: 1.15rem;
	}

	/* Dashboard */
	.dash-layout-three {
		grid-template-columns: 1fr;
	}
	.dash-layout.three-col {
		grid-template-columns: 1fr;
	}
	.dash-layout.four-col {
		grid-template-columns: 1fr 1fr;
	}
	.roi-focus-bar {
		grid-template-columns: 1fr;
	}
	.metric-card {
		padding: 12px 13px;
		gap: 10px;
	}
	.metric-icon {
		width: 38px;
		height: 38px;
		font-size: 1rem;
	}
	.metric-value {
		font-size: 0.95rem;
	}
	.metric-label {
		font-size: 0.6rem;
	}
	.dash-controls {
		flex-direction: column;
		gap: 8px;
	}
	.dash-controls input,
	.dash-controls select {
		min-width: 0;
		width: 100%;
	}
	.dsc-title {
		font-size: 0.88rem;
	}
	.rof-card-value {
		font-size: 1.5rem;
	}
	/* Chart heights on mobile  */
	.dash-chart-wrap.h-sm {
		height: 200px;
	}
	.dash-chart-wrap.h-md {
		height: 210px;
	}
	.dash-chart-wrap.h-lg {
		height: 220px;
	}
	.dash-chart-wrap.h-xl {
		height: 230px;
	}
	.dash-table-wrap {
		overflow-x: auto;
	}
	.dash-product-table {
		font-size: 0.75rem;
	}
	.dash-product-table th,
	.dash-product-table td {
		padding: 7px 8px;
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* ─── Scroll Reveal ─── */
.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
	opacity: 1;
	transform: none;
}

/* =====================================================
   AUTH MODAL (Login)
   ===================================================== */
.modal {
    display: none;
}

.modal-content-login {
    background: var(--white); 
    border-radius: var(--r-lg);
    width: 100%; 
    max-width: 520px;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    animation: fadeInUp 0.3s ease both;
}

.auth-modal .modal-content {
    max-width: 460px;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    animation: fadeInUp 0.3s cubic-bezier(0.4,0,0.2,1) both;
}

.login-header {
    padding: 36px 36px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.login-header img {
    width: 52px;
    margin: 0 auto 14px;
}

.login-header h1 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.login-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.login-body {
    padding: 28px 36px 36px;
}

.message {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5b7b1;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 500;
}

.row {
    margin-bottom: 14px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.875rem;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--forest-mid);
    box-shadow: 0 0 0 3px rgba(30,107,58,0.1);
    background: var(--white);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.password-wrapper .toggle-password:hover {
    color: var(--forest-mid);
}

.password-input {
    padding-right: 40px !important; /* space for eye icon */
}

.btn-third {
    background: var(--forest);
    color: var(--white);
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.9rem;
    border-radius: var(--r-sm);
    box-shadow: 0 4px 16px rgba(20,67,42,0.28);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: background 0.25s, transform 0.25s;
}

.btn-third:hover {
    background: var(--forest-mid);
    transform: translateY(-2px);
}

/* ── Responsive adjustments ── */
@media (max-width: 640px) {
    .login-header,
    .login-body {
        padding-left: 24px;
        padding-right: 24px;
    }
    .achievement-card-inner {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 24px 20px;
    }
    .achievement-left {
        text-align: center;
    }
    .achieve-year-big {
        font-size: 3rem;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        line-height: 1;
    }
    .achieve-award-img {
        margin: 0 auto 16px;
    }
    .achievement-category {
        text-align: center;
    }
    .achievement-title {
        font-size: 1.2rem;
        text-align: center;
    }
    .achievement-description {
        text-align: center;
    }
    .achievement-year-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .achievement-right {
        text-align: center;
    }
    /* Reduce secondary grid to single column */
    .achieve-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* ─── Small mobile (≤ 480px) ─── */
@media (max-width: 480px) {
    .about-image-main {
        height: 250px;
    }
    .about-pillars {
        grid-template-columns: 1fr;
    }
    .about-reg-card .reg-row {
        font-size: 0.78rem;
    }

    /* Product modal */
    .modal-left {
        flex-direction: column;
        padding: 20px 16px;
    }
	.modal-product-meta {
		align-items: flex-start;
		flex-direction: column;
		
	}
    .modal-product-meta h2 {
        margin-right: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK SECTION  –  Trustpilot-inspired layout
   ═══════════════════════════════════════════════════════════════ */

/* ── Section shell ── */
.feedback-section {
    padding: var(--section-pad) 0;
    background: var(--off-white);
    overflow: hidden;
}

/* ── Centred header (badge + title + count pill) ── */
.feedback-header {
    text-align: center;
    margin-bottom: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.feedback-header .section-title {
    margin-bottom: 0;
}

.feedback-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--mint);
    color: var(--forest);
    border: 1px solid rgba(20,67,42,0.18);
    padding: 6px 16px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Two-column body ── */
.feedback-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 52px;
    align-items: center;
}

/* ── Left panel ── */
.feedback-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feedback-left-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Dot indicators ── */
.feedback-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fb-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: var(--border-mid);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.fb-dot.active {
    width: 48px;
    background: var(--forest-mid);
}

.fb-dot:hover:not(.active) {
    background: var(--sage);
}

/* ── Arrow controls (side by side, no line) ── */
.feedback-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border-mid);
    background: var(--white);
    color: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.22s ease;
    flex-shrink: 0;
}

.feedback-arrow:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feedback-arrow.disabled,
.feedback-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.feedback-cta {
    margin-top: 4px;
}

/* ── Right panel track ── */
.feedback-right {
    overflow: hidden;
}

.feedback-track-outer {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.feedback-track-outer:active { cursor: grabbing; }

.feedback-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}

/* ── Individual card ── */
.feedback-card-v2 {
    flex: 0 0 288px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feedback-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-light), var(--gold));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.feedback-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feedback-card-v2:hover::before { opacity: 1; }

.feedback-card-quote {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-weight: 700;
    margin-bottom: -6px;
}

.feedback-card-text {
    font-size: 0.875rem;
    line-height: 1.72;
    color: var(--text);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feedback-card-images {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feedback-card-images img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feedback-card-images img:hover { transform: scale(1.08); box-shadow: var(--shadow-sm); }

.feedback-card-more {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--mint);
    border: 1px solid rgba(20,67,42,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--forest);
    cursor: pointer;
    transition: background 0.2s;
}

.feedback-card-more:hover { background: var(--forest); color: var(--white); }

.feedback-card-divider { height: 1px; background: var(--border); }

.feedback-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.feedback-card-author { display: flex; flex-direction: column; gap: 2px; }

.feedback-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--forest);
}

.feedback-card-date {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.feedback-card-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--mint);
    border: 1px solid rgba(20,67,42,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--forest-mid);
    flex-shrink: 0;
}

/* ── Empty state ── */
.feedback-empty-v2 {
    text-align: center;
    padding: 64px 32px;
    background: var(--white);
    border-radius: var(--r-lg);
    color: var(--text-muted);
    border: 1px dashed var(--border-mid);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK MODAL
   ═══════════════════════════════════════════════════════════════ */

.feedback-modal-v2 {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,22,14,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.feedback-modal-v2.is-open { display: flex; }

.feedback-modal-v2-box {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(10,22,14,0.35);
    animation: fbModalIn 0.32s cubic-bezier(0.34,1.3,0.64,1) both;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes fbModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

/* Header strip — horizontal layout so it stays compact at 125% zoom */
.fb-modal-strip {
    position: relative;
    background: var(--forest);
    padding: 20px 24px;
    overflow: hidden;
    flex-shrink: 0;
}

.fb-modal-strip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(196,146,42,0.22) 0%, transparent 60%);
    pointer-events: none;
}

.fb-modal-strip-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: repeating-linear-gradient(45deg, var(--white) 0, var(--white) 1px, transparent 0, transparent 50%);
    background-size: 16px 16px;
    pointer-events: none;
}

/* Row: icon + text side by side (saves vertical space) */
.fb-modal-strip-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
    padding-right: 36px; /* room for close btn */
}

.fb-modal-strip-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}

.fb-modal-strip h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
    line-height: 1.2;
}

.fb-modal-strip p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.4;
    margin: 0;
}

.fb-modal-close-v2 {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
    flex-shrink: 0;
}

.fb-modal-close-v2:hover { background: rgba(229,57,53,0.85); border-color: transparent; }

/* Body */
.fb-modal-body {
    padding: 24px 28px 28px;
    overflow-y: auto;
    flex: 1;
}

.fb-field { margin-bottom: 18px; }

.fb-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.fb-field input,
.fb-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--dark);
    background: var(--off-white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: none;
}

.fb-field input:focus,
.fb-field textarea:focus {
    border-color: var(--forest-mid);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30,107,58,0.1);
}

.fb-anon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: var(--mint);
    border-radius: var(--r-sm);
    border: 1px solid rgba(20,67,42,0.1);
}

.fb-anon-row input[type="checkbox"] { accent-color: var(--forest); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.fb-anon-label { font-size: 0.83rem; font-weight: 600; color: var(--forest); cursor: pointer; }
.fb-anon-hint  { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; }

.fb-upload-zone {
    border: 2px dashed var(--border-mid);
    border-radius: var(--r-sm);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    background: var(--off-white);
    transition: border-color 0.2s, background 0.2s;
}

.fb-upload-zone:hover { border-color: var(--forest-mid); background: var(--mint); }

.fb-upload-icon { font-size: 1.4rem; color: var(--text-muted); margin-bottom: 6px; }

.fb-upload-text { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.fb-upload-text strong { color: var(--forest-mid); }

.fb-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.fb-preview-wrap { position: relative; }

.fb-preview-wrap img {
    width: 64px; height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid var(--border-mid);
    display: block;
}

.fb-preview-rm {
    position: absolute; top: -7px; right: -7px;
    width: 19px; height: 19px;
    background: #e53935; color: #fff;
    border: none; border-radius: 50%; font-size: 11px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.fb-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--forest);
    color: var(--white);
    border: none;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
    box-shadow: 0 4px 18px rgba(20,67,42,0.3);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.fb-submit-btn:hover { background: var(--forest-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(20,67,42,0.4); }

.fb-success-msg {
    background: var(--mint);
    color: var(--forest);
    border: 1px solid rgba(20,67,42,0.2);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX (with prev / next)
   ═══════════════════════════════════════════════════════════════ */

.fb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 16px;
    animation: fbModalIn 0.2s ease both;
}

.fb-lb-img-wrap {
    max-width: min(800px, 80vw);
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-lb-img-wrap img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--r-md);
    object-fit: contain;
    box-shadow: 0 0 80px rgba(0,0,0,0.6);
    display: block;
    transition: opacity 0.2s ease;
}

.fb-lb-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.fb-lb-nav:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.fb-lb-nav:disabled { opacity: 0.25; cursor: not-allowed; transform: none; }

.fb-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.fb-lb-close:hover { background: #e53935; }

.fb-lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(0,0,0,0.4);
    padding: 4px 14px;
    border-radius: var(--r-full);
}

.fb-required-asterisk { color: #e53935; }
.fb-error-msg { font-size: 0.75rem; color: #e53935; margin-top: 4px; display: block; }
.fb-field-hint { font-weight: 400; color: var(--text-muted); }
.fb-hidden-input { display: none; }
.fb-empty-icon { font-size: 2.5rem; opacity: 0.25; margin-bottom: 14px; display: block; text-align: center; }
.fb-empty-cta-wrap { text-align: center; margin-top: 32px; }
.fb-submit-icon { margin-right: 8px; }

/* Lightbox Base Override */
.fb-lightbox {
    display: none;
}
.fb-lightbox.is-open {
    display: flex;
}

/* ═══════════════════════════════════════════════════════════════
   FEEDBACK MOBILE RESPONSE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .feedback-layout {
        display: grid;
        grid-template-columns: 1fr auto auto 1fr;
        gap: 28px 16px;
        width: 100%;
        align-items: center;
    }
    
    .feedback-left {
        display: contents; 
    }
    
    .feedback-left-subtitle {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }
    
    .feedback-right {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
    }
    
    .feedback-dots {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-content: center;
    }
    
    .feedback-nav {
        grid-column: 2;
        grid-row: 4;
    }
    
    .feedback-cta {
        grid-column: 3;
        grid-row: 4;
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .feedback-card-v2 { flex: 0 0 260px; }

    .fb-modal-body { padding: 18px 18px 24px; }

    .fb-modal-strip { padding: 16px 18px; }

    .fb-modal-strip h2 { font-size: 1.05rem; }

    .feedback-modal-v2-box {
        max-height: 96vh;
        border-radius: 18px;
    }

    .fb-lightbox { padding: 12px 8px; gap: 8px; }

    .fb-lb-nav { width: 38px; height: 38px; font-size: 0.85rem; }
}
/* ══════════════════════════════════════════════════════════════════
   ACTIVITIES SECTION — Magazine Editorial Layout (from scratch)
   ══════════════════════════════════════════════════════════════════ */

/* ── Section shell ─────────────────────────────────────────────── */
.activities-section {
    padding: var(--section-pad) 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative texture overlay */
.activities-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196,146,42,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 0% 100%, rgba(20,67,42,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Decorative ruled lines — editorial feel */
.activities-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--forest-light) 70%, transparent 100%);
    opacity: 0.45;
}

/* ── Layout: header strip + body ───────────────────────────────── */
.act-inner {
    position: relative;
    z-index: 1;
}

/* ── Header row ────────────────────────────────────────────────── */
.act-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-mid);
}

.act-header-left {}

.act-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.act-header-eyebrow i { font-size: 9px; }

.act-header-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
}

.act-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.act-heading em {
    font-style: italic;
    color: var(--forest-light);
}

.act-header-right {
    flex-shrink: 0;
    text-align: right;
}

.act-header-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 280px;
}

/* ── Body: Feature + List split ────────────────────────────────── */
.act-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    border: 1px solid var(--border-mid);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

/* ── Feature panel (left) ──────────────────────────────────────── */
.act-feature {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    min-height: 540px;
    background: var(--dark);
}

/* Photo */
.act-feature-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.act-feature:hover .act-feature-photo {
    transform: scale(1.04);
}

/* Gradient overlay — editorial dark-to-transparent */
.act-feature-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(9,22,13,0.92) 0%, rgba(9,22,13,0.55) 45%, rgba(9,22,13,0.12) 100%),
        linear-gradient(90deg, rgba(9,22,13,0.3) 0%, transparent 60%);
}

/* "FEATURED" stamp — top right */
.act-feature-stamp {
    position: absolute;
    top: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--r-full);
    z-index: 2;
}

/* Image counter pill */
.act-feature-count {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.75);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--r-full);
    z-index: 2;
}

/* Content pinned to bottom */
.act-feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 36px;
    z-index: 2;
}

.act-feature-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196,146,42,0.18);
    border: 1px solid rgba(196,146,42,0.35);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: var(--r-full);
    margin-bottom: 12px;
}

.act-feature-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.act-feature-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    margin-bottom: 10px;
    max-width: 480px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.act-feature-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.act-feature-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.42);
    font-weight: 500;
}

.act-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--forest-mid);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: var(--r-full);
    border: none;
    cursor: pointer;
    transition: background 0.25s, gap 0.2s, transform 0.2s;
}

.act-feature:hover .act-feature-cta {
    background: var(--forest-light);
    gap: 11px;
    transform: translateY(-1px);
}

.act-feature-cta i { font-size: 0.7rem; }

/* No-image fallback for feature */
.act-feature-noimg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.act-feature-noimg i {
    font-size: 5rem;
    color: rgba(196,146,42,0.15);
}

/* ── List panel (right) ─────────────────────────────────────────── */
.act-list {
    border-left: 1px solid var(--border-mid);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 600px;
}
/* Filter bar styles */
.act-filter-bar {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    flex-wrap: wrap;
}
.act-filter-search,
.act-filter-year {
    position: relative;
    flex: 1;
    min-width: 140px;
}
.act-filter-search i,
.act-filter-year i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
}
.act-filter-search input,
.act-filter-year select {
    width: 100%;
    padding: 8px 12px 8px 34px;
    border: 1px solid var(--border-mid);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.8rem;
	color: var(--text);
    background: var(--off-white);
    transition: border-color 0.2s;
}
.act-filter-search input:focus,
.act-filter-year select:focus {
    outline: none;
    border-color: var(--forest-mid);
}

/* Empty state inside scroll container */
.act-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    min-height: 200px;
    height: 100%;
}
.act-list-empty i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    opacity: 0.5;
}
.act-list-empty p {
    font-size: 0.85rem;
    margin: 0;
}

/* List header */
.act-list-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: var(--off-white);
}

.act-list-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
}

.act-list-count-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--mint);
    color: var(--forest);
    border: 1px solid rgba(20,67,42,0.14);
    padding: 2px 9px;
    border-radius: var(--r-full);
}

/* Scrollable list */
.act-list-scroll {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.act-list-scroll::-webkit-scrollbar { width: 4px; }
.act-list-scroll::-webkit-scrollbar-track { background: transparent; }
.act-list-scroll::-webkit-scrollbar-thumb {
    background: var(--border-mid);
    border-radius: 2px;
}

/* Individual list item */
.act-list-item {
    display: flex;
    gap: 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    position: relative;
}

.act-list-item:last-child { border-bottom: none; }

.act-list-item:hover {
    background: var(--mint);
}

/* Active/selected state */
.act-list-item.is-active {
    background: var(--mint);
}

.act-list-item.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--forest-light);
    border-radius: 0 2px 2px 0;
}

/* Thumbnail */
.act-item-thumb {
    width: 88px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--border);
    position: relative;
    overflow: hidden;
}

.act-item-thumb-noimg {
    width: 100%;
    height: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint);
    color: var(--leaf);
    font-size: 1.6rem;
    opacity: 0.5;
}

/* Item content */
.act-item-body {
    flex: 1;
    padding: 14px 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.act-item-date {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

.act-item-title {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.act-list-item.is-active .act-item-title {
    color: var(--forest);
}

.act-item-loc {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow indicator */
.act-item-arrow {
    display: flex;
    align-items: center;
    padding-right: 12px;
    color: var(--border-mid);
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.act-list-item:hover .act-item-arrow,
.act-list-item.is-active .act-item-arrow {
    color: var(--forest-light);
    transform: translateX(2px);
}

/* ── Empty state ─────────────────────────────────────────────────── */
.act-empty-state {
    padding: 80px 24px;
    text-align: center;
    border: 2px dashed var(--border-mid);
    border-radius: var(--r-lg);
    margin-top: 40px;
    background: var(--white);
}

.act-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--r-lg);
    background: var(--gold-pale);
    border: 1px solid rgba(196,146,42,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    margin: 0 auto 20px;
}

.act-empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.act-empty-state p {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   ACTIVITY DETAIL MODAL — Light-forward split panel
   ══════════════════════════════════════════════════════════════════ */

.act-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.act-modal.active { display: flex; }

.act-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9,22,13,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.act-modal-box {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: var(--r-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--white);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.5),
        0 0 0 1px rgba(20,67,42,0.12);
    animation: actModalIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes actModalIn {
    from { opacity: 0; transform: scale(0.93) translateY(14px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Close button */
.act-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.38);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.act-modal-close:hover {
    background: rgba(229,57,53,0.75);
    color: #fff;
    border-color: transparent;
}

/* ── Modal gallery panel (left) ─────────────────────────────────── */
.act-modal-gallery {
    position: relative;
    background: var(--dark);
    overflow: hidden;
    height: 100%;
    min-height: 460px;
}

.act-modal-gallery-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 460px;
}

.act-modal-gallery-track img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.42s ease;
}

.act-modal-gallery-track img.active { opacity: 1; }

.act-modal-no-img {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--forest) 0%, var(--dark) 100%);
    color: rgba(255,255,255,0.2);
    font-size: 3.5rem;
}

.act-modal-no-img span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
}

/* Gallery nav arrows */
.act-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
}

.act-modal-nav:hover { background: rgba(0,0,0,0.72); }
.act-modal-nav--prev { left: 12px; }
.act-modal-nav--next { right: 12px; }

/* Gallery dots */
.act-modal-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.act-modal-dots .am-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.22s;
}

.act-modal-dots .am-dot.active {
    background: var(--gold-light);
    width: 18px;
    border-radius: 3px;
}

/* Photo counter */
.act-modal-photo-count {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    background: rgba(0,0,0,0.48);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.75);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-full);
}

/* ── Modal info panel (right) ───────────────────────────────────── */
.act-modal-info {
    background: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--border);
}

.act-modal-info-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 36px 32px 32px;
}

.act-modal-info-scroll::-webkit-scrollbar { width: 4px; }
.act-modal-info-scroll::-webkit-scrollbar-track { background: transparent; }
.act-modal-info-scroll::-webkit-scrollbar-thumb {
    background: var(--border-mid);
    border-radius: 2px;
}

.act-modal-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-pale);
    border: 1px solid rgba(196,146,42,0.22);
    color: var(--gold);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: var(--r-full);
    margin-bottom: 16px;
    width: fit-content;
}

.act-modal-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

/* Horizontal rule with icon */
.act-modal-rule {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.act-modal-rule::before,
.act-modal-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.act-modal-desc {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.8;
    max-height: 170px;
    overflow-y: auto;
    margin-bottom: 24px;
}

/* Meta info block */
.act-modal-meta-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}

.act-modal-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.act-meta-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background: var(--mint);
    border: 1px solid rgba(20,67,42,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-mid);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.act-meta-text-label {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
}

.act-meta-text-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .act-body {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 860px) {
    .act-body {
        grid-template-columns: 1fr;
    }

    .act-feature {
        min-height: 380px;
    }

    .act-list {
        border-left: none;
        border-top: 1px solid var(--border-mid);
        max-height: 340px;
    }

    .act-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
		margin-bottom: 1rem;
		padding-bottom: 1rem;
    }

    .act-header-right {
        text-align: left;
    }

    .act-header-desc {
        max-width: 100%;
    }

    .act-modal-box {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }

    .act-modal-info {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .act-modal-info-scroll {
        overflow-y: visible;
        padding: 24px 22px;
    }
}

@media (max-width: 540px) {
    .act-feature-content {
        padding: 28px 22px;
    }

    .act-feature-title {
        font-size: 1.3rem;
    }

    .act-modal { padding: 10px; }

    .act-modal-box {
        border-radius: var(--r-md);
    }

    .act-modal-info-scroll {
        padding: 20px 18px;
    }

    .act-modal-title {
        font-size: 1.25rem;
    }

    .act-item-thumb {
        width: 72px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   NAV DROPDOWN — Data & Sales
   ═══════════════════════════════════════════════════════════════════ */

/* ── Wrapper ──────────────────────────────────────────────────────── */
.nav-dropdown-wrap {
    position: relative;
    list-style: none;
}

/* ── Trigger button ───────────────────────────────────────────────── */
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
    padding: 0;
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}

.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-light);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-dropdown-wrap:hover .nav-dropdown-trigger::after,
.nav-dropdown-trigger[aria-expanded="true"]::after {
    width: 100%;
}

.nav-dropdown-icon {
    font-size: 0.75rem;
    opacity: 0.75;
}

.nav-dropdown-caret {
    font-size: 0.6rem;
    opacity: 0.6;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
    margin-left: 1px;
}

.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-caret {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Panel ────────────────────────────────────────────────────────── */
.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%) translateY(-6px);
    width: 290px;
    padding-top: 18px;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
}

.nav-dropdown-card {
    background: var(--white);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.nav-dropdown-card::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 11px;
    height: 11px;
    background: var(--white);
    border-left: 1px solid var(--border-mid);
    border-top: 1px solid var(--border-mid);
    rotate: 45deg;
    border-radius: 2px 0 0 0;
}

.nav-dropdown-wrap:hover .nav-dropdown-panel,
.nav-dropdown-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
}

/* ── Inner layout ─────────────────────────────────────────────────── */
.nav-dropdown-inner {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-md);
    overflow: hidden;
}

/* Items list */
.nav-dropdown-items {
    display: flex;
    flex-direction: column;
    padding: 8px 8px;
    gap: 4px;
}

/* ── Individual item ──────────────────────────────────────────────── */
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    text-decoration: none;
    color: var(--text);
    transition: background 0.18s, color 0.18s, transform 0.18s;
    cursor: pointer;
    position: relative;
}

/* Text block */
.nav-dropdown-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-dropdown-item-text strong {
    font-size: 0.855rem;
    font-weight: 600;
    color: var(--dark);
    display: block;
    line-height: 1.2;
    transition: color 0.18s;
}

.nav-dropdown-item:hover .nav-dropdown-item-text strong {
    color: var(--forest);
}

.nav-dropdown-item--accent:hover .nav-dropdown-item-text strong {
    color: var(--gold);
}

.nav-dropdown-item-text small {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    line-height: 1.3;
    transition: color 0.18s;
}

.nav-dropdown-item:hover .nav-dropdown-item-text small {
    color: var(--sage);
}

/* Trailing arrow */
.nav-dropdown-arrow {
    font-size: 0.65rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s, transform 0.18s, color 0.18s;
    flex-shrink: 0;
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── White-text header state (not scrolled) ───────────────────────── */
.header:not(.scrolled):not(.page-dashboard .header) .nav-dropdown-trigger {
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE NAV GROUP (accordion)
   ═══════════════════════════════════════════════════════════════════ */

.mobile-nav-group {
    display: flex;
    flex-direction: column;
	margin-bottom: 1rem;
}

.mobile-nav-group-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    justify-content: flex-start; /* override any center default */
}

/* Push caret to the right */
.mobile-nav-group-trigger span {
    flex: 1;
}

.mobile-nav-group-caret {
    font-size: 0.65rem;
    opacity: 0.55;
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.mobile-nav-group-trigger[aria-expanded="true"] .mobile-nav-group-caret {
    transform: rotate(180deg);
}

/* Accordion panel */
.mobile-nav-group-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
    opacity: 0;
}

.mobile-nav-group-panel.open {
    max-height: 200px;
    opacity: 1;
}

/* Sub-items indented */
.mobile-nav-sub-item {
    border-left: 1px solid #dddddd;
    margin-left: 2.3rem;
    color: var(--text-sidebar);
    font-size: 0.85rem !important;
}

.mobile-nav-sub-item--accent i {
    color: var(--gold) !important;
}

.mobile-nav-sub-item--accent:hover,
.mobile-nav-sub-item--accent.active {
    background: var(--gold-pale) !important;
    color: var(--gold) !important;
}

/* Divider above the group */
.mobile-nav-group {
    border-top: 1px solid var(--border);
    padding-top: 4px;
    margin-top: 2px;
}