/* ==========================================================================
   Nexfin Technologies - Main Stylesheet
   ========================================================================== */

:root{
	--red: #FF0000;
	--red-dark: #d40000;
	--black: #111111;
	--white: #FFFFFF;
	--gray-50: #fafafa;
	--gray-100: #f5f5f6;
	--gray-200: #ececee;
	--gray-400: #a3a3a8;
	--gray-600: #6b6b72;
	--gray-800: #26262a;
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow-sm: 0 2px 10px rgba(17,17,17,0.05);
	--shadow-md: 0 10px 30px rgba(17,17,17,0.08);
	--shadow-lg: 0 20px 50px rgba(17,17,17,0.12);
	--container: 1240px;
	--transition: all .35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
	margin:0;
	font-family: var(--font-body);
	color: var(--black);
	background: var(--white);
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-heading); font-weight:700; margin:0 0 .5em; line-height:1.2; color:var(--black); }
p{ margin:0 0 1em; color: var(--gray-600); }
button{ font-family: inherit; cursor:pointer; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section{ padding: 100px 0; position: relative; }
.text-red{ color: var(--red); }
.text-white{ color: var(--white) !important; }
.text-white-70{ color: rgba(255,255,255,.7) !important; }

/* ---------- Loader ---------- */
.top-loader{ position:fixed; top:0; left:0; height:3px; width:0; background: var(--red); z-index:9999; transition: width .2s ease; }

/* ---------- Buttons ---------- */
.btn{
	display:inline-flex; align-items:center; gap:10px; justify-content:center;
	padding: 14px 26px; border-radius: 100px; font-weight:600; font-size:15px;
	border: 2px solid transparent; transition: var(--transition); position:relative; overflow:hidden;
	white-space: nowrap;
}
.btn svg{ transition: transform .3s ease; flex-shrink:0; }
.btn:hover svg{ transform: translateX(4px); }
.btn-primary{ background: var(--red); color:var(--white); box-shadow: 0 8px 20px rgba(255,0,0,.25); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,0,0,.32); }
.btn-outline{ background: transparent; color: var(--black); border-color: var(--gray-200); }
.btn-outline:hover{ border-color: var(--black); background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-outline-light{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover{ border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-dark{ background: var(--black); color: var(--white); }
.btn-dark:hover{ background:#000; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.btn-lg{ padding: 16px 32px; font-size: 16px; }
.btn-pulse{ position:relative; }
.btn-pulse::after{
	content:''; position:absolute; inset:0; border-radius:100px; border:2px solid var(--red);
	opacity:0; animation: pulseRing 2.4s ease-out infinite;
}
.btn-outline.btn-pulse::after, .btn-dark.btn-pulse::after{ border-color: var(--black); }
@keyframes pulseRing{
	0%{ opacity:.5; transform:scale(1); }
	100%{ opacity:0; transform:scale(1.15); }
}

/* ---------- Header ---------- */
.site-header{
	position: fixed; top:0; left:0; right:0; z-index: 1000;
	background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(17,17,17,.06);
	transition: var(--transition);
}
.header-inner{
	display:flex; align-items:center; justify-content:space-between;
	padding: 16px 24px; gap: 24px;
}
.brand-link{ display:flex; align-items:center; gap:10px; }
.brand-mark{ display:flex; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-name{ font-family: var(--font-heading); font-weight:800; font-size:19px; letter-spacing:.5px; color: var(--black); }
.brand-name.light{ color: var(--white); }
.brand-sub{ font-size:9px; letter-spacing:2.5px; color: var(--gray-600); font-weight:600; }
.brand-sub.light{ color: rgba(255,255,255,.6); }
.custom-logo{ max-height:44px; width:auto; }

.primary-menu{ display:flex; align-items:center; gap: 34px; }
.primary-menu li a{
	font-size:14.5px; font-weight:500; color: var(--black); position:relative; padding: 6px 0;
	transition: var(--transition);
}
.primary-menu li:first-child a{ color: var(--red); }
.primary-menu li a::after{
	content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background: var(--red);
	transition: width .3s ease;
}
.primary-menu li a:hover::after{ width:100%; }
.primary-menu li a:hover{ color: var(--red); }

.site-header.scrolled{ box-shadow: var(--shadow-sm); background: rgba(255,255,255,.96); }

.mobile-toggle{
	display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;
}
.mobile-toggle span{ width:24px; height:2px; background: var(--black); border-radius:2px; transition: var(--transition); }
.mobile-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2){ opacity:0; }
.mobile-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
	display:none; flex-direction:column; padding: 20px 24px 28px; gap: 4px;
	background: var(--white); border-top:1px solid var(--gray-200);
}
.mobile-menu.open{ display:flex; }
.mobile-menu-list{ display:flex; flex-direction:column; }
.mobile-menu-list li a{ display:block; padding: 12px 0; font-weight:500; border-bottom:1px solid var(--gray-100); }
.mobile-cta{ margin-top:16px; width:100%; }

/* ---------- Section Header ---------- */
.eyebrow{
	display:inline-block; color: var(--red); font-weight:700; font-size:13px; letter-spacing:2px;
	margin-bottom:14px; text-transform:uppercase;
}
.eyebrow-light{ color: var(--red); }
.section-header{ margin-bottom: 56px; }
.section-header-flex{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; flex-wrap:wrap; }
.section-header h2{ font-size: clamp(28px, 3.4vw, 40px); max-width: 620px; }
.section-header-desc{ max-width: 380px; color: var(--gray-600); font-size:15.5px; }
.section-header.centered .section-header-flex{ flex-direction:column; align-items:center; text-align:center; }
.section-header.centered .section-header-desc{ max-width:560px; }
.section-header.centered{ text-align:center; }
.section-header.light h2, .section-header.light p{ color: var(--white); }

/* ---------- Reveal animations ---------- */
.reveal-up{ opacity:0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal-up.in-view{ opacity:1; transform: translateY(0); }

/* ---------- Hero ---------- */
.hero-section{ padding-top: 160px; padding-bottom: 80px; background: var(--gray-50); overflow:hidden; }
.hero-bg-grid{
	position:absolute; inset:0; z-index:0; opacity:.5;
	background-image: linear-gradient(rgba(17,17,17,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.035) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
}
.hero-inner{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items:center; position:relative; z-index:1; }
.badge{
	display:inline-flex; align-items:center; gap:8px; background: var(--white); border:1px solid var(--gray-200);
	padding: 8px 16px; border-radius:100px; font-size:12.5px; font-weight:600; color: var(--black); box-shadow: var(--shadow-sm);
	margin-bottom: 24px;
}
.badge-dot{ width:7px; height:7px; border-radius:50%; background: var(--red); animation: dotPulse 1.8s ease infinite; }
@keyframes dotPulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.4; transform:scale(1.4);} }
.hero-title{ font-size: clamp(34px, 4.6vw, 56px); letter-spacing:-.5px; margin-bottom:20px; }
.hero-desc{ font-size:17px; max-width:520px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 48px; }
.trusted-label{ font-size:12.5px; color: var(--gray-400); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:16px; }
.trusted-logos{ display:flex; gap:28px; flex-wrap:wrap; align-items:center; }
.trust-logo{ font-family: var(--font-heading); font-weight:700; font-size:15px; color: var(--gray-400); letter-spacing:1px; opacity:.8; transition: var(--transition); }
.trust-logo:hover{ opacity:1; color: var(--black); }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; min-height:440px; }
.hero-orbit-wrap{ position:relative; width:100%; max-width:440px; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.orbit-ring{ position:absolute; border:1.5px dashed rgba(255,0,0,.25); border-radius:50%; }
.ring-1{ inset: 6%; animation: spin 30s linear infinite; }
.ring-2{ inset: 20%; animation: spin 22s linear infinite reverse; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.globe-glow{
	position:absolute; inset:14%; border-radius:50%;
	background: radial-gradient(circle, rgba(255,0,0,.12), transparent 70%);
}
.hero-lion{ position:relative; z-index:2; animation: floatY 5s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(255,0,0,.18)); }
@keyframes floatY{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

.floating-tag{
	position:absolute; display:flex; align-items:center; gap:8px; background: var(--white);
	padding:10px 16px; border-radius:12px; font-size:12.5px; font-weight:600; box-shadow: var(--shadow-md);
	border:1px solid var(--gray-100); animation: floatY 4s ease-in-out infinite;
}
.tag-dot{ width:6px; height:6px; border-radius:50%; background: var(--red); }
.tag-1{ top: 4%; right: 2%; animation-delay:.2s; }
.tag-2{ top: 20%; left: -4%; animation-delay: .8s; }
.tag-3{ bottom: 16%; left: 4%; animation-delay: 1.4s; }
.tag-4{ bottom: 0%; right: -2%; animation-delay: .5s; }

/* ---------- Trust / Stats ---------- */
.trust-section{ padding: 0; margin-top: -40px; position:relative; z-index:2; }
.stats-bar{
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	display:grid; grid-template-columns: repeat(4, 1fr); padding: 36px 20px;
	border:1px solid var(--gray-100);
}
.stat-item{ display:flex; align-items:center; gap:16px; justify-content:center; padding: 0 12px; position:relative; }
.stat-item:not(:last-child)::after{ content:''; position:absolute; right:0; top:10%; height:80%; width:1px; background: var(--gray-200); }
.stat-icon{ width:50px; height:50px; border-radius:50%; background: rgba(255,0,0,.08); color:var(--red); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.stat-text h3{ font-size:26px; margin-bottom:2px; }
.stat-text p{ margin:0; font-size:13.5px; color: var(--gray-600); }

/* ---------- Services ---------- */
.services-section{ background: var(--white); }
.services-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:22px; }
.service-card{
	background: var(--gray-50); border:1px solid var(--gray-100); border-radius: var(--radius);
	padding: 32px 26px; transition: var(--transition); position:relative;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); background: var(--white); border-color: var(--gray-200); }
.service-icon{
	width:56px; height:56px; border-radius:14px; background: var(--white); color: var(--red);
	display:flex; align-items:center; justify-content:center; margin-bottom:20px; box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.service-card:hover .service-icon{ background: var(--red); color: var(--white); transform: rotate(-6deg) scale(1.05); }
.service-card h3{ font-size:18px; margin-bottom:10px; }
.service-card p{ font-size:14px; margin-bottom:20px; }
.service-arrow{
	display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%;
	background: var(--white); color: var(--red); border:1px solid var(--gray-200); transition: var(--transition);
}
.service-card:hover .service-arrow{ background: var(--red); color:var(--white); border-color: var(--red); transform: translateX(4px); }

/* ---------- About ---------- */
.about-section{ background: var(--gray-50); }
.about-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:60px; align-items:center; }
.about-desc{ max-width:520px; }
.checklist{ display:flex; flex-direction:column; gap:14px; margin: 28px 0 34px; }
.checklist li{ display:flex; align-items:center; gap:12px; font-weight:600; font-size:15px; color: var(--black); }
.check-icon{
	width:24px; height:24px; border-radius:50%; background: var(--red); color:var(--white); font-size:12px;
	display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

.dashboard-mock{
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border:1px solid var(--gray-100);
	display:grid; grid-template-columns: 56px 1.4fr 1fr; gap:16px; padding: 18px;
}
.dash-sidebar{ background: var(--gray-50); border-radius: var(--radius-sm); display:flex; flex-direction:column; align-items:center; gap:16px; padding: 18px 0; }
.dash-dot{ width:10px; height:10px; border-radius:4px; background: var(--gray-200); transition: var(--transition); }
.dash-dot.active{ background: var(--red); width:14px; height:14px; }
.dash-main{ display:flex; flex-direction:column; gap:14px; }
.dash-card{ background: var(--gray-50); border-radius: var(--radius-sm); padding:16px; }
.dash-card-title{ font-size:12.5px; font-weight:700; color: var(--black); margin:0 0 10px; display:flex; justify-content:space-between; align-items:center; }
.dash-overview-row{ display:flex; gap:24px; }
.dash-overview-row h4{ font-size:20px; margin:2px 0; }
.dash-label{ font-size:11px; color: var(--gray-600); text-transform:uppercase; letter-spacing:.5px; }
.dash-up{ font-size:11px; color:#0a9d4c; font-weight:600; }
.dash-chip{ background: rgba(255,0,0,.1); color:var(--red); font-size:10.5px; padding:3px 8px; border-radius:100px; }
.dash-line-chart{ width:100%; height:70px; }
.dash-mini-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.dash-mini-row h4{ font-size:20px; margin:4px 0 2px; }
.dash-automated{ background: var(--red); }
.dash-automated .dash-label, .dash-automated h4{ color: var(--white); }
.dash-automated .dash-up{ color: rgba(255,255,255,.85); }
.dash-side-panel{ background: var(--gray-50); border-radius: var(--radius-sm); padding:16px; }
.dash-auto-list li{ display:flex; align-items:center; gap:10px; padding:9px 0; font-size:13px; border-bottom:1px solid var(--gray-200); color: var(--black); font-weight:500; }
.dash-auto-list li:last-child{ border-bottom:none; }
.auto-dot{ width:7px; height:7px; border-radius:50%; background: var(--red); flex-shrink:0; }

/* ---------- Industries ---------- */
.industries-section{ background: var(--white); }
.industries-grid{ display:grid; grid-template-columns: repeat(5, 1fr); gap:18px; }
.industry-card{
	display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center;
	background: var(--gray-50); border:1px solid var(--gray-100); border-radius: var(--radius);
	padding: 28px 14px; transition: var(--transition); cursor:default;
}
.industry-card:hover{ transform: translateY(-6px); background: var(--black); border-color: var(--black); }
.industry-icon{ width:50px; height:50px; border-radius:50%; background: var(--white); color: var(--red); display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.industry-card:hover .industry-icon{ background: var(--red); color: var(--white); }
.industry-card span{ font-weight:600; font-size:14px; color: var(--black); transition: var(--transition); }
.industry-card:hover span{ color: var(--white); }

/* ---------- Process ---------- */
.process-section{ background: var(--gray-50); }
.process-timeline{ position:relative; display:grid; grid-template-columns: repeat(5, 1fr); gap:24px; }
.timeline-line{ position:absolute; top:24px; left:5%; right:5%; height:2px; background: var(--gray-200); z-index:0; }
.timeline-line-fill{ display:block; height:100%; width:0%; background: var(--red); transition: width 1.6s cubic-bezier(.4,0,.2,1); }
.process-step{ position:relative; z-index:1; text-align:center; }
.process-num{
	width:48px; height:48px; border-radius:50%; background: var(--white); border:2px solid var(--red); color:var(--red);
	display:flex; align-items:center; justify-content:center; font-family: var(--font-heading); font-weight:700; font-size:15px;
	margin: 0 auto 20px; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.process-step:hover .process-num{ background: var(--red); color: var(--white); transform: scale(1.1); }
.process-step h3{ font-size:17px; margin-bottom:8px; }
.process-step p{ font-size:13.5px; max-width:200px; margin:0 auto; }

/* ---------- Technology ---------- */
.tech-section{ background: var(--white); overflow:hidden; }
.tech-marquee-wrap{ overflow:hidden; margin: 20px 0 60px; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.tech-marquee{ display:flex; gap:16px; width:max-content; animation: marquee 34s linear infinite; }
.tech-chip{ display:flex; align-items:center; gap:8px; background: var(--gray-50); border:1px solid var(--gray-100); padding:12px 22px; border-radius:100px; font-weight:600; font-size:14px; white-space:nowrap; }
.tech-dot{ width:7px; height:7px; border-radius:50%; background: var(--red); }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

.tech-floating-wrap{ position:relative; height:260px; display:flex; align-items:center; justify-content:center; }
.tech-center-badge{ background: var(--black); color: var(--white); padding:18px 34px; border-radius:100px; font-weight:600; font-size:15px; box-shadow: var(--shadow-lg); z-index:2; }
.tech-float{
	position:absolute; background: var(--white); border:1px solid var(--gray-200); box-shadow: var(--shadow-md);
	border-radius:16px; padding: 14px 20px; font-weight:700; font-family: var(--font-heading); color: var(--red);
	animation: floatY 5s ease-in-out infinite;
}
.f1{ top:0; left: 10%; animation-delay:.1s; }
.f2{ top: 10%; right: 12%; animation-delay:.6s; }
.f3{ bottom: 6%; left: 18%; animation-delay: 1.1s; }
.f4{ bottom: 0%; right: 20%; animation-delay: .4s; }
.f5{ top: 42%; left: 2%; animation-delay: .9s; }

/* ---------- Video Showcase ---------- */
.video-section{ background: var(--gray-50); }
.video-showcase-wrap{ max-width: 940px; margin: 0 auto; }
.video-frame{ position:relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-lg); background: var(--black); aspect-ratio: 16/9; }
.video-poster{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background: linear-gradient(135deg, #1a1a1a, #000); }
.video-poster-grid{
	position:absolute; inset:0; opacity:.15;
	background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
	background-size: 40px 40px;
}
.video-play-btn{
	width:84px; height:84px; border-radius:50%; background: var(--white); border:none; display:flex; align-items:center; justify-content:center;
	box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: videoPulse 2.2s ease infinite; z-index:2; transition: var(--transition);
}
.video-play-btn:hover{ transform: scale(1.08); }
@keyframes videoPulse{ 0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.35);} 70%{ box-shadow: 0 0 0 26px rgba(255,255,255,0);} 100%{ box-shadow:0 0 0 0 rgba(255,255,255,0);} }
.video-stats-float{ position:absolute; bottom:20px; left:20px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); padding:8px 16px; border-radius:100px; }
.video-stat{ color: var(--white); font-size:13px; }
.video-embed-placeholder{ display:flex; align-items:center; justify-content:center; height:100%; color: var(--white); padding: 40px; text-align:center; }

/* ---------- Command Center ---------- */
.command-section{ background: var(--black); color: var(--white); overflow:hidden; }
.command-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; margin-bottom:50px; }
.command-card{ background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding:26px; transition: var(--transition); }
.command-card:hover{ background: rgba(255,0,0,.08); border-color: rgba(255,0,0,.3); transform: translateY(-6px); }
.command-icon{ width:48px; height:48px; border-radius:12px; background: rgba(255,0,0,.15); color: var(--red); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.command-card h3{ color: var(--white); font-size:16.5px; margin-bottom:8px; }
.command-card p{ color: rgba(255,255,255,.55); font-size:13.5px; margin:0; }

.command-visual{ max-width:760px; margin:0 auto; }
.command-screen{ background:#181818; border-radius: var(--radius); overflow:hidden; border:1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.command-screen-header{ display:flex; align-items:center; gap:8px; padding:14px 18px; background:#0f0f0f; border-bottom:1px solid rgba(255,255,255,.06); }
.dot{ width:10px; height:10px; border-radius:50%; }
.dot-red{ background:#FF5F57; } .dot-yellow{ background:#FEBC2E; } .dot-green{ background:#28C840; }
.command-screen-title{ margin-left:10px; font-size:12.5px; color: rgba(255,255,255,.5); font-family: monospace; }
.command-screen-body{ padding: 26px; }
.cmd-metric{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.06); font-size:14px; color: rgba(255,255,255,.7); }
.cmd-metric strong{ color: var(--white); }
.cmd-bars{ display:flex; align-items:flex-end; gap:8px; height:80px; margin-top:20px; }
.cmd-bars span{ flex:1; height:var(--h); background: linear-gradient(180deg, var(--red), rgba(255,0,0,.3)); border-radius:4px 4px 0 0; animation: barGrow 1.4s ease forwards; transform-origin: bottom; }
@keyframes barGrow{ from{ transform: scaleY(0);} to{ transform: scaleY(1);} }

/* ---------- FAQ ---------- */
.faq-section{ background: var(--white); }
.faq-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap:60px; align-items:flex-start; }
.faq-intro h2{ font-size: clamp(26px, 3vw, 36px); }
.faq-list{ display:flex; flex-direction:column; gap:14px; }
.faq-item{ border:1px solid var(--gray-200); border-radius: var(--radius-sm); overflow:hidden; transition: var(--transition); background: var(--gray-50); }
.faq-item.active{ border-color: var(--red); background: var(--white); box-shadow: var(--shadow-sm); }
.faq-question{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; background:none; border:none; padding:20px 22px; text-align:left; font-weight:600; font-size:15.5px; color: var(--black); }
.faq-icon{ width:32px; height:32px; border-radius:50%; background: var(--gray-100); color: var(--black); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: var(--transition); }
.faq-item.active .faq-icon{ background: var(--red); color: var(--white); transform: rotate(135deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height .4s ease; }
.faq-item.active .faq-answer{ max-height:220px; }
.faq-answer p{ padding: 0 22px 20px; margin:0; font-size:14.5px; }

/* ---------- Contact ---------- */
.contact-section{ background: var(--gray-50); }
.contact-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap:60px; }
.contact-details{ display:flex; flex-direction:column; gap:20px; margin-top:32px; }
.contact-details li{ display:flex; align-items:center; gap:16px; }
.contact-icon{ width:48px; height:48px; border-radius:50%; background: var(--white); color:var(--red); display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm); flex-shrink:0; }
.contact-label{ display:block; font-size:12px; color: var(--gray-600); text-transform:uppercase; letter-spacing:.5px; }
.contact-details strong{ font-size:15.5px; }

.contact-form-wrap{ background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-md); border:1px solid var(--gray-100); }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; }
.form-group input, .form-group select, .form-group textarea{
	width:100%; padding: 13px 16px; border-radius: 10px; border:1.5px solid var(--gray-200); font-family: inherit; font-size:14.5px;
	background: var(--gray-50); transition: var(--transition); resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ outline:none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(255,0,0,.08); }
.form-submit{ width:100%; position:relative; }
.btn-loader{ display:none; width:18px; height:18px; border-radius:50%; border:2px solid rgba(255,255,255,.4); border-top-color:#fff; animation: spin .7s linear infinite; }
.form-submit.loading .btn-text{ opacity:.5; }
.form-submit.loading .btn-loader{ display:inline-block; }
.form-response{ margin-top:14px; font-size:14px; font-weight:600; display:none; padding:12px 16px; border-radius:10px; }
.form-response.success{ display:block; background: rgba(10,157,76,.08); color:#0a9d4c; }
.form-response.error{ display:block; background: rgba(255,0,0,.08); color: var(--red); }

/* ---------- Blog ---------- */
.blog-section{ background: var(--white); }
.blog-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:26px; margin-bottom:40px; }
.blog-card{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--gray-100); background: var(--gray-50); transition: var(--transition); }
.blog-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-card-thumb{ display:block; position:relative; aspect-ratio: 16/10; overflow:hidden; background: var(--gray-200); }
.blog-card-thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-thumb img{ transform: scale(1.08); }
.blog-card-thumb-fallback{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; color: var(--gray-400); background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); }
.blog-card-cat{ position:absolute; top:14px; left:14px; background: var(--white); color: var(--black); font-size:11.5px; font-weight:700; padding:5px 12px; border-radius:100px; }
.blog-card-body{ padding: 24px; }
.blog-card-body h3{ font-size:17px; margin-bottom:10px; }
.blog-card-body h3 a:hover{ color: var(--red); }
.blog-card-body p{ font-size:14px; }
.blog-read-more{ display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:14px; color: var(--red); }
.blog-read-more.disabled{ color: var(--gray-400); pointer-events:none; }
.blog-view-all{ text-align:center; }

/* ---------- Final CTA ---------- */
.final-cta-section{ background: var(--black); color: var(--white); text-align:center; overflow:hidden; position:relative; }
.cta-bg-grid{
	position:absolute; inset:0;
	background-image: radial-gradient(circle at 20% 20%, rgba(255,0,0,.18), transparent 45%), radial-gradient(circle at 80% 80%, rgba(255,0,0,.14), transparent 45%);
}
.final-cta-inner{ position:relative; z-index:1; max-width:720px; margin:0 auto; }
.badge-light{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: var(--white); }
.final-cta-inner h2{ color: var(--white); font-size: clamp(28px, 4vw, 44px); margin: 20px 0 16px; }
.final-cta-inner p{ color: rgba(255,255,255,.65); font-size:16.5px; max-width:560px; margin: 0 auto 34px; }
.final-cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer{ background: #0c0c0c; color: rgba(255,255,255,.65); }
.footer-top{ padding: 70px 0 40px; }
.footer-grid{ display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap:40px; }
.footer-brand-col .footer-brand{ margin-bottom:18px; }
.footer-desc{ font-size:14px; color: rgba(255,255,255,.5); max-width:320px; }
.social-links{ display:flex; gap:12px; margin-top:20px; }
.social-links a{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.7); transition: var(--transition); }
.social-links a:hover{ background: var(--red); color: var(--white); transform: translateY(-3px); }
.footer-heading{ color: var(--white); font-size:15px; margin-bottom:20px; }
.footer-links li, .footer-contact li{ margin-bottom:12px; font-size:14px; }
.footer-links a:hover{ color: var(--red); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg{ flex-shrink:0; margin-top:2px; color: var(--red); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom-inner{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; }
.footer-widget{ margin-bottom:16px; }
.footer-widget-title{ color:var(--white); font-size:14px; }

.back-to-top{
	position:fixed; bottom:28px; right:28px; width:48px; height:48px; border-radius:50%; background: var(--red);
	color: var(--white); display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-lg);
	opacity:0; visibility:hidden; transform: translateY(10px); transition: var(--transition); z-index:900;
}
.back-to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--red-dark); transform: translateY(-3px); }

/* ---------- Inner Pages (About/Contact/generic page, blog single) ---------- */
.inner-page{ padding: 160px 0 100px; }
.inner-header{ text-align:center; margin-bottom:40px; }
.inner-thumb{ border-radius: var(--radius); overflow:hidden; margin-bottom:40px; }
.inner-body{ max-width:780px; margin:0 auto; font-size:16px; }
.inner-body img{ border-radius: var(--radius); margin: 20px 0; }
.post-meta{ color: var(--gray-400); font-size:13.5px; }
.post-tags{ margin-top:30px; font-size:13.5px; }
.back-to-blog{ max-width:780px; margin: 30px auto 0; }
.archive-header{ text-align:center; margin-bottom:50px; }
.blog-archive{ padding: 160px 0 100px; }
.archive-grid{ margin-bottom:40px; }
.archive-pagination{ text-align:center; }
.error-404-page{ padding: 200px 0; text-align:center; }
.error-code{ font-family: var(--font-heading); font-size:120px; font-weight:800; color: var(--red); line-height:1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
	.hero-inner{ grid-template-columns:1fr; }
	.hero-visual{ order:-1; min-height:340px; }
	.services-grid{ grid-template-columns: repeat(2, 1fr); }
	.industries-grid{ grid-template-columns: repeat(3, 1fr); }
	.process-timeline{ grid-template-columns: repeat(2, 1fr); }
	.timeline-line{ display:none; }
	.command-grid{ grid-template-columns: repeat(2, 1fr); }
	.about-grid, .faq-grid, .contact-grid{ grid-template-columns: 1fr; }
	.footer-grid{ grid-template-columns: 1fr 1fr; }
	.blog-grid{ grid-template-columns: repeat(2, 1fr); }
	.stats-bar{ grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
	.stat-item:nth-child(2)::after{ display:none; }
}

@media (max-width: 782px){
	.primary-menu, .header-cta{ display:none; }
	.mobile-toggle{ display:flex; }
	.hero-section{ padding-top:130px; }
	.section{ padding: 70px 0; }
	.section-header-flex{ flex-direction:column; align-items:flex-start; }
	.services-grid, .industries-grid, .process-timeline, .command-grid, .blog-grid{ grid-template-columns: 1fr 1fr; }
	.footer-grid{ grid-template-columns: 1fr; }
	.form-row{ grid-template-columns: 1fr; }
	.stats-bar{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px){
	.services-grid, .industries-grid, .process-timeline, .command-grid, .blog-grid, .stats-bar{ grid-template-columns: 1fr; }
	.stat-item::after{ display:none; }
	.hero-actions .btn, .final-cta-actions .btn{ width:100%; }
	.trusted-logos{ gap:18px; }
	.error-code{ font-size:80px; }
}
