/**
 * ============================================================================
 * SETU Global Assurance — style.css
 * ============================================================================
 * @project     SETU Global Assurance Corporate Website
 * @description Single stylesheet for entire static site (no preprocessor)
 *
 * FILE MAP (search these markers to jump to sections)
 * -------------------------------------------------
 * :root              Design tokens (colors, spacing, nav height)
 * #progress          Top scroll progress bar
 * nav                Fixed header + mobile menu (≤768px)
 * .hero              Full-viewport video hero + overlay
 * .stats-band        Trust highlights below hero
 * .section-*         Shared section typography
 * #about             About grid + logo card
 * #services          Service cards grid
 * .process-*         How-it-works steps
 * .agri-*            Agricultural product tabs (10 panels)
 * #gallery           Gallery + #lightbox
 * #contact           Form + social buttons
 * footer             Site footer
 * .float-actions     Chatbot toggle button
 * .chat-*            QA assistant widget panel
 * @media             Breakpoints: 1024, 768, 480, 360px
 *
 * DESIGN TOKENS — edit :root to retheme globally
 * --------------------------------------------
 * --primary #1a56a8   Brand blue
 * --accent  #e67e22   CTA orange
 * --nav-h   78px      Fixed nav height (70px @768, 64px @480)
 *
 * FONTS: Inter (body), Playfair Display (headings) — loaded via Google Fonts
 * ICONS: Font Awesome 6 — loaded in index.html CDN
 *
 * MOBILE NOTES
 * ------------
 * - Hero uses frosted .hero-content card + darker overlay @768px
 * - Form inputs use 16px font to prevent iOS/Android zoom on focus
 * - safe-area-inset-* for notched phones
 * ============================================================================
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ─── Design tokens — change colors/spacing here ─── */
:root {
	--bg: #f8fafc;
	--text: #0f172a;
	--text-muted: #475569;
	--card: #ffffff;
	--primary: #1a56a8;
	--primary-dark: #0d3d7a;
	--primary-light: #e8f0fb;
	--accent: #e67e22;
	--accent-light: #fef3e7;
	--navy: #0a2540;
	--border: rgba(15, 23, 42, 0.08);
	--shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
	--radius: 12px;
	--radius-lg: 20px;
	--nav-h: 78px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	font-family: 'Inter', system-ui, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	min-width: 0;
	width: 100%;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
video.cover-video,
.hero-bg {
	max-width: none;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; }

/* Progress bar */
#progress {
	position: fixed; top: 0; left: 0; height: 3px;
	background: linear-gradient(90deg, var(--accent), #f39c4d);
	width: 0; z-index: 10000; transition: width 0.1s linear;
}

/* ─── Navigation (HQTS-style) ─── */
nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
	height: var(--nav-h);
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 max(4%, env(safe-area-inset-right)) 0 max(4%, env(safe-area-inset-left));
	padding-top: env(safe-area-inset-top);
	background: #fff;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	transition: box-shadow var(--transition);
}
nav.sticky { box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06); }

nav .logo {
	display: flex; align-items: center;
	text-decoration: none; flex-shrink: 0;
	height: 100%;
	padding: 0;
}
nav .logo .site-logo {
	height: 68px;
	width: auto;
	display: block;
	object-fit: contain;
	transition: opacity var(--transition);
}
.site-logo-footer {
	height: 72px;
	margin-bottom: 16px;
}

.nav-links {
	display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
	text-decoration: none; font-weight: 500; font-size: 0.9rem;
	color: #334155; padding: 8px 16px; border-radius: 0;
	transition: color var(--transition);
	position: relative;
	background: none;
}
.nav-links a:hover { color: var(--primary); background: none; }
.nav-links a::after {
	content: '';
	position: absolute; bottom: 4px; left: 16px; right: 16px;
	height: 2px; background: var(--accent);
	transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-cta {
	background: var(--primary); color: #fff !important;
	padding: 10px 22px; border-radius: 4px; font-weight: 600;
	margin-left: 8px;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }

.nav-toggle {
	display: none; flex-direction: column; gap: 5px;
	background: none; border: none; cursor: pointer; padding: 10px;
	min-width: 44px; min-height: 44px;
	align-items: center; justify-content: center;
	-webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
	display: block; width: 24px; height: 2px;
	background: var(--text); border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
	position: relative; min-height: 100vh; min-height: 100dvh; min-height: 100svh;
	display: flex; align-items: flex-start; justify-content: center;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin-top: calc(-1 * var(--nav-h));
	padding-top: calc(var(--nav-h) + 32px);
}
.hero-bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	min-width: 100%; min-height: 100%;
	object-fit: cover; object-position: center 58%;
	z-index: 0;
	filter: brightness(0.62) contrast(1.06) saturate(1.05);
	transform: scale(1.01);
}
.hero-bg.kb-zoom { animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns {
	0%   { transform: scale(1.01) translate(0, 0); }
	100% { transform: scale(1.07) translate(-8px, -4px); }
}

.hero-overlay {
	position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(180deg, rgba(10, 37, 64, 0.45) 0%, rgba(10, 37, 64, 0.25) 45%, rgba(10, 37, 64, 0.55) 100%),
		radial-gradient(ellipse at center, transparent 30%, rgba(10, 37, 64, 0.35) 100%);
}

.hero-inner {
	position: relative; z-index: 2;
	width: 100%; max-width: 900px;
	padding: 32px 5% 80px; text-align: center;
}

.hero-eyebrow {
	display: inline-block; font-size: 0.85rem; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 12px; margin-bottom: 20px;
}
.hero-content h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	font-weight: 700; color: #fff; line-height: 1.15;
	margin-bottom: 20px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.hero-content h1 .highlight {
	color: #f5c882;
	background: linear-gradient(135deg, #f5c882, #e8a838);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: none;
}
.hero-content .subtitle {
	color: rgba(255, 255, 255, 0.88); font-size: 1.1rem;
	max-width: 640px; margin: 0 auto 32px; line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px; border-radius: 8px;
	font-weight: 600; font-size: 0.95rem;
	text-decoration: none; border: 2px solid transparent;
	cursor: pointer; transition: all var(--transition);
}
.btn-primary {
	background: var(--accent); color: #fff;
	box-shadow: 0 8px 24px rgba(230, 126, 34, 0.35);
}
.btn-primary:hover {
	background: #d35400; transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(230, 126, 34, 0.4);
}
.btn-outline {
	background: transparent; color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

.trust-badges {
	display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.trust-badges .badge {
	display: flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 10px 18px; border-radius: 50px;
	color: rgba(255, 255, 255, 0.92); font-size: 0.88rem; font-weight: 500;
}

.hero-scroll {
	position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
	z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
	color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; letter-spacing: 0.08em;
	animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(6px); }
}

.wave { display: block; margin-top: -1px; width: 100%; }

/* ─── Stats Band (floating trust bar) ─── */
.stats-band {
	position: relative;
	z-index: 5;
	margin-top: -56px;
	padding: 0 5% 50px;
}
.stats-band-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	max-width: 1140px;
	margin: 0 auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(10, 37, 64, 0.14), 0 2px 8px rgba(10, 37, 64, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.9);
	overflow: hidden;
}
.stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 28px 26px;
	position: relative;
	transition: all var(--transition);
}
.stat-card:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 22%;
	height: 56%;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(26, 86, 168, 0.15), transparent);
}
.stat-card:hover {
	background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
	transform: translateY(-2px);
}
.stat-icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.25rem;
	box-shadow: 0 8px 20px rgba(26, 86, 168, 0.28);
	transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover .stat-icon {
	transform: scale(1.06);
	box-shadow: 0 10px 28px rgba(230, 126, 34, 0.3);
	background: linear-gradient(135deg, var(--accent) 0%, #d35400 100%);
}
.stat-text strong {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 1.05rem;
	color: var(--primary-dark);
	margin-bottom: 3px;
	letter-spacing: 0.01em;
}
.stat-text span {
	font-size: 0.8rem;
	color: var(--text-muted);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.stat-card.visible {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* ─── Sections ─── */
section { padding: 90px 5%; }
.section-alt { background: #fff; }
.section-dark {
	background: linear-gradient(135deg, var(--navy) 0%, #0d3d7a 100%);
	color: #fff;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header.light .section-tag { color: rgba(255,255,255,0.6); }
.section-header.light h2 { color: #fff; }
.section-tag {
	display: inline-block; font-size: 0.8rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--accent); margin-bottom: 12px;
}
.section-header h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	color: var(--primary-dark); margin-bottom: 14px;
}
.section-lead { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

#about {
	padding-top: 40px;
}
.about-grid {
	display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px;
	align-items: center; max-width: 1100px; margin: 0 auto;
}
nav .logo:hover .site-logo { opacity: 0.88; }

.about-visual {
	text-align: center;
}
.about-logo-card {
	display: inline-block;
	width: 100%;
	max-width: 360px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	box-shadow: var(--shadow);
	margin: 0 auto 24px;
}
.about-logo {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}
.about-highlight {
	display: flex; gap: 14px; align-items: flex-start;
	background: var(--primary-light); padding: 20px;
	border-radius: var(--radius); border-left: 4px solid var(--primary);
}
.about-highlight i { font-size: 1.4rem; color: var(--primary); margin-top: 2px; }
.about-highlight p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.about-text p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.75; }
.about-values {
	display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.value-chip {
	display: flex; align-items: center; gap: 6px;
	background: var(--primary-light); color: var(--primary-dark);
	padding: 8px 16px; border-radius: 50px;
	font-size: 0.85rem; font-weight: 600;
}

/* ─── Services ─── */
.services-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
	max-width: 1100px; margin: 0 auto;
}
.service-card {
	background: var(--card); border: 1px solid var(--border);
	border-radius: var(--radius-lg); padding: 32px 28px;
	transition: all var(--transition); position: relative;
}
.service-card:hover {
	transform: translateY(-6px); box-shadow: var(--shadow-lg);
	border-color: rgba(26, 86, 168, 0.2);
}
.service-card.featured {
	border-color: var(--accent); background: linear-gradient(180deg, #fff, var(--accent-light));
}
.service-badge {
	position: absolute; top: -12px; right: 20px;
	background: var(--accent); color: #fff;
	font-size: 0.72rem; font-weight: 700;
	padding: 4px 12px; border-radius: 50px;
	text-transform: uppercase; letter-spacing: 0.05em;
}
.service-icon {
	width: 56px; height: 56px; border-radius: 14px;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px; font-size: 1.4rem; color: #fff;
}
.service-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.6; }
.service-card ul { list-style: none; }
.service-card ul li {
	font-size: 0.85rem; color: var(--text-muted); padding: 4px 0;
	padding-left: 18px; position: relative;
}
.service-card ul li::before {
	content: '✓'; position: absolute; left: 0;
	color: var(--accent); font-weight: 700;
}

/* ─── Process (How It Works) ─── */
.process-section {
	padding: 90px 5%;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 50%, #f8fafc 100%);
	overflow: hidden;
}
.process-wrap {
	max-width: 1140px;
	margin: 0 auto;
}
.process-flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	position: relative;
	margin-top: 10px;
}
.process-line {
	display: none;
}
.process-step-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 36px 24px 28px;
	text-align: center;
	box-shadow: var(--shadow);
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.6s ease,
		transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
		box-shadow 0.4s ease,
		border-color 0.3s ease;
}
.process-flow.in-view .process-step-card:nth-child(2) { transition-delay: 0.1s; }
.process-flow.in-view .process-step-card:nth-child(3) { transition-delay: 0.25s; }
.process-flow.in-view .process-step-card:nth-child(4) { transition-delay: 0.4s; }
.process-flow.in-view .process-step-card:nth-child(5) { transition-delay: 0.55s; }
.process-step-card.in-view {
	opacity: 1;
	transform: translateY(0);
}
.process-step-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(26, 86, 168, 0.2);
}
.step-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 5px 14px;
	border-radius: 50px;
	box-shadow: 0 4px 14px rgba(230, 126, 34, 0.35);
}
.step-icon {
	width: 64px;
	height: 64px;
	margin: 8px auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.4rem;
	box-shadow: 0 8px 24px rgba(26, 86, 168, 0.28);
	transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.process-step-card.in-view .step-icon {
	animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.process-step-card:hover .step-icon {
	background: linear-gradient(135deg, var(--accent), #d35400);
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 10px 28px rgba(230, 126, 34, 0.35);
}
@keyframes iconPop {
	0% { transform: scale(0.5); opacity: 0; }
	70% { transform: scale(1.12); }
	100% { transform: scale(1); opacity: 1; }
}
.process-step-card h3 {
	font-size: 1.05rem;
	color: var(--primary-dark);
	margin-bottom: 10px;
}
.process-step-card p {
	font-size: 0.88rem;
	color: var(--text-muted);
	line-height: 1.6;
}
.process-cta {
	text-align: center;
	margin-top: 48px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.process-cta.in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Desktop animated connector line */
@media (min-width: 901px) {
	.process-flow {
		padding-top: 20px;
	}
	.process-line {
		display: block;
		position: absolute;
		top: 58px;
		left: 12%;
		right: 12%;
		height: 3px;
		background: rgba(26, 86, 168, 0.12);
		border-radius: 3px;
		z-index: 0;
	}
	.process-line-fill {
		display: block;
		height: 100%;
		width: 0;
		background: linear-gradient(90deg, var(--primary), var(--accent));
		border-radius: 3px;
		transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
	}
	.process-flow.in-view .process-line-fill {
		width: 100%;
	}
	.process-step-card {
		z-index: 1;
	}
}

/* Product cards entrance */
.agri-tabs {
	display: flex; flex-wrap: nowrap; gap: 8px;
	justify-content: flex-start; max-width: 1100px; margin: 0 auto 32px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 4px 2px 12px;
}
.agri-tabs::-webkit-scrollbar { display: none; }
.agri-tab { flex-shrink: 0; }
.agri-tab {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 18px; border-radius: 50px;
	background: #fff; border: 1.5px solid var(--border);
	font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
	cursor: pointer; transition: all var(--transition);
	white-space: nowrap;
}
.agri-tab span { font-size: 1rem; }
.agri-tab:hover { border-color: var(--primary); color: var(--primary); }
.agri-tab.active {
	background: var(--primary); color: #fff; border-color: var(--primary);
	box-shadow: 0 4px 16px rgba(26, 86, 168, 0.3);
}

.agri-panels { max-width: 1100px; margin: 0 auto; }
.agri-panel {
	display: none; background: #fff;
	border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: 36px; box-shadow: var(--shadow);
	animation: fadeUp 0.4s ease;
}
.agri-panel.active { display: block; }
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

.panel-header { margin-bottom: 24px; }
.panel-header h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 8px;
	display: flex; align-items: center; gap: 10px;
}
.panel-header p { color: var(--text-muted); font-size: 0.95rem; }

.product-tags {
	display: flex; flex-wrap: wrap; gap: 10px;
}
.product-tags .tag {
	background: var(--primary-light); color: var(--primary-dark);
	padding: 10px 18px; border-radius: 8px;
	font-size: 0.88rem; font-weight: 500;
	border: 1px solid rgba(26, 86, 168, 0.12);
	transition: all var(--transition);
}
.product-tags .tag:hover {
	background: var(--primary); color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(26, 86, 168, 0.25);
}

.agri-cta { max-width: 1100px; margin: 40px auto 0; }
.agri-cta-box {
	display: flex; align-items: center; gap: 20px;
	background: linear-gradient(135deg, var(--primary-dark), var(--primary));
	padding: 28px 32px; border-radius: var(--radius-lg);
	color: #fff;
}
.agri-cta-box i { font-size: 2.2rem; opacity: 0.8; flex-shrink: 0; }
.agri-cta-box h4 { font-size: 1.1rem; margin-bottom: 4px; }
.agri-cta-box p { font-size: 0.9rem; opacity: 0.85; }
.agri-cta-box .btn { margin-left: auto; flex-shrink: 0; white-space: nowrap; }

/* ─── Products Grid ─── */
.products-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px; max-width: 1100px; margin: 0 auto;
}
.product-card {
	background: #fff; border: 1px solid var(--border);
	border-radius: var(--radius-lg); padding: 32px;
	text-align: center; transition: all var(--transition);
}
.product-card:hover {
	transform: translateY(-6px); box-shadow: var(--shadow-lg);
	border-color: rgba(26, 86, 168, 0.2);
}
.product-icon {
	width: 64px; height: 64px; border-radius: 16px;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 18px; font-size: 1.5rem; color: #fff;
	transition: all var(--transition);
}
.product-card:hover .product-icon {
	background: linear-gradient(135deg, var(--accent), #d35400);
}
.product-card h3 { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 8px; }
.product-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Why Choose Us ─── */
.why-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	max-width: 1100px; margin: 0 auto;
}
.why-card {
	text-align: center; padding: 32px 20px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	transition: all var(--transition);
}
.why-card:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-4px);
}
.why-icon {
	width: 56px; height: 56px; border-radius: 50%;
	background: rgba(230, 126, 34, 0.2);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 16px; font-size: 1.3rem; color: var(--accent);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; opacity: 0.8; line-height: 1.6; }

/* ─── Industries ─── */
.industries-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	max-width: 1100px; margin: 0 auto;
}
.industry-card {
	background: #fff; border: 1px solid var(--border);
	border-radius: var(--radius-lg); padding: 32px 24px;
	text-align: center; transition: all var(--transition);
}
.industry-card:hover {
	transform: translateY(-4px); box-shadow: var(--shadow);
	border-color: var(--primary);
}
.industry-card i {
	font-size: 2rem; color: var(--primary); margin-bottom: 16px;
}
.industry-card h3 { font-size: 1.05rem; color: var(--primary-dark); margin-bottom: 8px; }
.industry-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ─── Gallery ─── */
.gallery {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
	max-width: 1100px; margin: 0 auto;
}
.gallery-item {
	position: relative; border-radius: var(--radius-lg);
	overflow: hidden; cursor: pointer; aspect-ratio: 4/3;
	box-shadow: var(--shadow);
}
.gallery-item img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(10, 37, 64, 0.8) 100%);
	display: flex; align-items: flex-end; padding: 20px;
	color: #fff; font-weight: 600; font-size: 0.95rem;
	opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

#lightbox {
	display: none; position: fixed; inset: 0;
	background: rgba(0, 0, 0, 0.85);
	justify-content: center; align-items: center; z-index: 10001;
}
#lightbox img { max-width: 90%; max-height: 85vh; border-radius: 8px; }
#lightbox span {
	position: absolute; top: 20px; right: 30px;
	color: #fff; font-size: 36px; cursor: pointer;
}

/* ─── Contact ─── */
.contact-container {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
	max-width: 1000px; margin: 0 auto;
}
.contact-form {
	background: #fff; padding: 36px; border-radius: var(--radius-lg);
	border: 1px solid var(--border); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input,
.contact-form textarea {
	width: 100%; padding: 14px 16px; border: 1.5px solid var(--border);
	border-radius: 8px; font-family: inherit; font-size: 16px;
	transition: border-color var(--transition); margin-bottom: 12px;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none; border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(26, 86, 168, 0.1);
}
.contact-form button { width: 100%; border: none; margin-top: 4px; }

.info-item {
	display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start;
}
.info-item i {
	font-size: 1.3rem; color: var(--accent);
	width: 36px; text-align: center; margin-top: 2px;
}
.info-item h4 { color: var(--primary-dark); margin-bottom: 4px; font-size: 0.95rem; }
.info-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.info-item a { color: var(--primary); text-decoration: none; }
.info-item a:hover { color: var(--accent); }

.contact-socials { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.social-btn {
	display: flex; align-items: center; gap: 10px; justify-content: center;
	padding: 12px 20px; border-radius: 8px;
	text-decoration: none; font-weight: 600; font-size: 0.9rem;
	transition: all var(--transition);
}
.social-btn.whatsapp { background: #25D366; color: #fff; }
.social-btn.whatsapp:hover { background: #1da851; }
.social-btn.telegram { background: #0088cc; color: #fff; }
.social-btn.telegram:hover { background: #006da3; }
.social-btn.instagram {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
	color: #fff;
}
.social-btn.instagram:hover { opacity: 0.92; }
.social-btn.email { background: var(--accent); color: #fff; }
.social-btn.email:hover { background: #d35400; }

/* ─── Footer ─── */
footer {
	background: var(--navy); color: rgba(255, 255, 255, 0.8);
	padding: 60px 5% 0;
}
.footer-grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
	max-width: 1100px; margin: 0 auto; padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .site-logo-footer { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; opacity: 0.7; }
.footer-links h4, .footer-contact h4 {
	color: #fff; font-size: 0.95rem; margin-bottom: 16px;
}
.footer-links a {
	display: block; color: rgba(255, 255, 255, 0.65);
	text-decoration: none; font-size: 0.88rem;
	padding: 4px 0; transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p {
	font-size: 0.88rem; margin-bottom: 8px;
	display: flex; align-items: center; gap: 8px;
}
.footer-bottom {
	text-align: center; padding: 24px 0;
	font-size: 0.82rem; opacity: 0.5;
}
.footer-bottom p { margin-bottom: 4px; }

/* Float chat button */
.float-actions {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 999;
}
.chat-toggle {
	width: 56px; height: 56px; border-radius: 50%;
	padding: 0;
	overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
	transition: transform var(--transition);
	-webkit-tap-highlight-color: transparent;
	border: 2px solid #fff;
	cursor: pointer;
	background: #fff;
}
.chat-toggle-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.chat-toggle:hover { transform: scale(1.08); }

/* Chat widget */
.chat-widget {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: calc(max(16px, env(safe-area-inset-bottom)) + 72px);
	z-index: 998;
	width: min(380px, calc(100vw - 32px));
	max-height: min(520px, calc(100dvh - max(16px, env(safe-area-inset-bottom)) - 160px));
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px) scale(0.96);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.chat-widget.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}
.chat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff;
}
.chat-header-info {
	display: flex;
	align-items: center;
	gap: 10px;
}
.chat-header-info strong {
	display: block;
	font-size: 0.95rem;
	line-height: 1.2;
}
.chat-header-info span {
	font-size: 0.75rem;
	opacity: 0.85;
}
.chat-avatar {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	display: flex; align-items: center; justify-content: center;
	font-size: 1rem;
}
.chat-close {
	background: none; border: none; color: #fff;
	width: 32px; height: 32px; border-radius: 8px;
	cursor: pointer; font-size: 1rem;
	display: flex; align-items: center; justify-content: center;
	transition: background var(--transition);
}
.chat-close:hover { background: rgba(255, 255, 255, 0.15); }
.chat-messages {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 200px;
	max-height: 320px;
	-webkit-overflow-scrolling: touch;
}
.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-msg-bot { justify-content: flex-start; }
.chat-bubble {
	max-width: 88%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 0.88rem;
	line-height: 1.55;
	word-break: break-word;
}
.chat-msg-user .chat-bubble {
	background: var(--primary);
	color: #fff;
	border-bottom-right-radius: 4px;
}
.chat-msg-bot .chat-bubble {
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--border);
	border-bottom-left-radius: 4px;
}
.chat-bubble a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: underline;
}
.chat-msg-user .chat-bubble a { color: #fff; }
.chat-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0 16px 10px;
}
.chat-quick-btn {
	background: var(--primary-light);
	color: var(--primary);
	border: 1px solid rgba(26, 86, 168, 0.15);
	border-radius: 50px;
	padding: 6px 12px;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--transition), color var(--transition);
	font-family: inherit;
}
.chat-quick-btn:hover {
	background: var(--primary);
	color: #fff;
}
.chat-form {
	display: flex;
	gap: 8px;
	padding: 12px 16px;
	border-top: 1px solid var(--border);
	background: #fff;
}
.chat-form input {
	flex: 1;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 16px;
	font-family: inherit;
	outline: none;
	transition: border-color var(--transition);
}
.chat-form input:focus { border-color: var(--primary); }
.chat-form button {
	width: 42px; height: 42px;
	border: none; border-radius: 10px;
	background: var(--accent);
	color: #fff;
	cursor: pointer;
	font-size: 0.95rem;
	display: flex; align-items: center; justify-content: center;
	transition: background var(--transition);
	flex-shrink: 0;
}
.chat-form button:hover { background: #d35400; }

/* ─── Animations ─── */
.reveal {
	opacity: 0; transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.process-flow { grid-template-columns: repeat(2, 1fr); }
	.why-grid { grid-template-columns: repeat(2, 1fr); }
	.industries-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-band { margin-top: -40px; padding: 0 4% 40px; }
	.stats-band-inner { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
	.stat-card:nth-child(2)::after { display: none; }
	.stat-card { padding: 22px 20px; }
}

@media (max-width: 768px) {
	:root { --nav-h: 70px; }
	nav .logo .site-logo { height: 50px; max-width: 140px; object-fit: contain; }

	.nav-toggle { display: flex; }
	.nav-links {
		position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
		background: #fff; flex-direction: column;
		padding: 16px max(20px, env(safe-area-inset-right)) 24px max(20px, env(safe-area-inset-left));
		gap: 4px;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow);
		transform: translateY(-120%); opacity: 0;
		transition: transform var(--transition), opacity var(--transition);
		pointer-events: none;
		max-height: calc(100dvh - var(--nav-h));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.nav-links.open {
		transform: translateY(0); opacity: 1; pointer-events: auto;
	}
	.nav-links a {
		width: 100%; text-align: center; padding: 14px 12px;
		min-height: 48px; display: flex; align-items: center; justify-content: center;
		font-size: 1rem;
	}
	.nav-links a.nav-cta { margin-left: 0; margin-top: 8px; }

	.about-logo-card { max-width: min(300px, 92vw); padding: 20px 16px; }

	.hero {
		min-height: auto;
		align-items: flex-start;
		padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 20px);
		padding-bottom: 32px;
	}
	.hero-inner { padding: 12px 4% 40px; }
	.hero-content {
		background: rgba(10, 37, 64, 0.55);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		border-radius: 16px;
		padding: 22px 16px 20px;
		border: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	}
	.hero-content h1 { font-size: clamp(1.55rem, 7.5vw, 2.2rem); line-height: 1.28; margin-bottom: 14px; }
	.hero-content h1 .highlight {
		background: none;
		-webkit-text-fill-color: #f5c882;
		color: #f5c882;
	}
	.hero-content .subtitle { font-size: 0.86rem; line-height: 1.55; margin-bottom: 18px; }
	.hero-eyebrow {
		font-size: 0.68rem; letter-spacing: 0.06em;
		margin-top: 0; margin-bottom: 14px;
		line-height: 1.4;
	}
	.hero-cta { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 16px; }
	.hero-cta .btn { width: 100%; justify-content: center; min-height: 44px; padding: 11px 18px; font-size: 0.9rem; }
	.hero-bg {
		filter: brightness(0.35) contrast(1.08) saturate(0.9);
		object-position: center 75%;
	}
	.hero-overlay {
		background:
			linear-gradient(180deg, rgba(10, 37, 64, 0.75) 0%, rgba(10, 37, 64, 0.6) 45%, rgba(10, 37, 64, 0.85) 100%),
			radial-gradient(ellipse at center, rgba(10, 37, 64, 0.2) 0%, rgba(10, 37, 64, 0.55) 100%);
	}
	.hero-bg.kb-zoom { animation: none; }
	.hero-scroll { display: none; }
	.trust-badges { flex-direction: row; flex-wrap: wrap; gap: 6px; justify-content: center; }
	.trust-badges .badge {
		flex: 1 1 calc(50% - 6px);
		justify-content: center;
		font-size: 0.72rem;
		padding: 8px 10px;
		min-width: 0;
	}
	.trust-badges .badge:last-child { flex: 1 1 100%; }

	.stats-band { margin-top: 0; padding: 0 4% 32px; }
	.stat-card { padding: 18px 16px; }

	.section-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
	.section-lead { font-size: 0.95rem; }

	.about-grid { grid-template-columns: 1fr; gap: 28px; }
	.services-grid { grid-template-columns: 1fr; }
	.process-flow { grid-template-columns: 1fr; gap: 16px; }
	.process-step-card { padding: 28px 20px 24px; }
	.why-grid { grid-template-columns: 1fr; }
	.industries-grid { grid-template-columns: 1fr; }
	.products-grid { grid-template-columns: 1fr; }
	.contact-container { grid-template-columns: 1fr; gap: 28px; }
	.contact-form { padding: 24px 20px; }
	.form-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
	.footer-brand .site-logo-footer { margin: 0 auto 16px; }
	.footer-links a, .footer-contact p { justify-content: center; }
	.stats-band-inner { grid-template-columns: 1fr; }
	.stat-card::after { display: none; }
	.stat-card:not(:last-child) { border-bottom: 1px solid var(--border); }

	.agri-cta-box { flex-direction: column; text-align: center; padding: 22px 18px; }
	.agri-cta-box .btn { margin-left: 0; width: 100%; justify-content: center; }
	.product-tags .tag { font-size: 0.82rem; padding: 8px 14px; }

	.gallery { grid-template-columns: 1fr; gap: 12px; }

	section { padding: 52px max(4%, env(safe-area-inset-left)); }
}

@media (max-width: 480px) {
	:root { --nav-h: 64px; }
	nav .logo .site-logo { height: 44px; max-width: 120px; }

	.agri-tabs { margin-bottom: 20px; }
	.agri-tab { padding: 10px 14px; font-size: 0.8rem; }
	.agri-panel { padding: 20px 16px; }
	.product-tags { gap: 8px; }

	.btn { padding: 13px 20px; font-size: 0.92rem; }
	.service-card { padding: 24px 20px; }
	.stat-card { gap: 12px; }
	.stat-text strong { font-size: 0.9rem; }

	.chat-toggle { width: 50px; height: 50px; }
	.chat-widget {
		right: max(8px, env(safe-area-inset-right));
		left: max(8px, env(safe-area-inset-left));
		width: auto;
		bottom: calc(max(16px, env(safe-area-inset-bottom)) + 66px);
		max-height: min(480px, calc(100dvh - max(16px, env(safe-area-inset-bottom)) - 100px));
	}
}

@media (max-width: 360px) {
	nav .logo .site-logo { height: 40px; max-width: 108px; }
	.hero-content h1 { font-size: 1.5rem; }
	.section-header h2 { font-size: 1.4rem; }
	.about-logo-card { padding: 16px 12px; }
}
