/* ============================================================
   Krupa INVISIBLE GRILLS — MAIN STYLESHEET
   All colors/fonts come from CSS variables set in head.php
   (generated from includes/config.php)
============================================================ */

/* ====== RESET ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: var(--lh-body);
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ====== CONTAINER ====== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ====== TYPOGRAPHY ====== */
.section-label {
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-mid); margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2); font-weight: 700;
  line-height: var(--lh-heading); color: var(--text);
}
.section-title .accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 3px; margin: 14px 0 20px;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-body);
  border-radius: var(--rp); padding: 13px 26px;
  transition: var(--t); cursor: pointer; white-space: nowrap;
  text-decoration: none; border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.btn-wa {
  background: linear-gradient(135deg, var(--btn-wa-start), var(--btn-wa-end));
  color: #fff; box-shadow: 0 4px 18px rgba(37,211,102,0.25);
}
.btn-wa:hover { transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.18); color: #fff;
  border: 1px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.28); }
.btn-outline {
  border: 2px solid var(--gold-mid); color: var(--gold-mid); background: transparent;
}
.btn-outline:hover { background: var(--gold-mid); color: #fff; }
.btn-submit {
  width: 100%; background: linear-gradient(135deg, var(--gold), var(--copper));
  color: #fff; padding: 13px; border-radius: var(--rp);
  font-size: var(--fs-body); font-weight: 700; font-family: var(--font-body);
  border: none; transition: var(--t); cursor: pointer; margin-top: 4px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ====== TOPBAR ====== */
.topbar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 9px 0; font-size: 18px; color: var(--text3);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--gold-mid); font-weight: 600; transition: color .2s; }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; gap: 18px; align-items: center; }

/* ====== NAVBAR ====== */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.logo-shield {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-bright), #8B5A00);
  border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 3px 12px rgba(0,0,0,0.15); flex-shrink: 0;
}
.logo-text-wrap { line-height: 24px; }
.logo-vjm {
  font-family: var(--font-heading); font-size: 21px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 2px;
}
.logo-sub { font-size: 18px; color: var(--text3); letter-spacing: 3px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; flex: 1; justify-content: center; }
.nav-links a {
  font-family: var(--font-body); color: var(--text2); font-size: 18px; font-weight: 500;
  padding: 7px 13px; border-radius: var(--rs); transition: var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-mid); background: var(--primary-10); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--copper)) !important;
  color: #fff !important; padding: 9px 18px !important;
  border-radius: var(--rp) !important; font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12); animation: pulse-gold 2.5s ease-in-out infinite;
}
@keyframes pulse-gold {
  0%,100% { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
  50%      { box-shadow: 0 6px 22px rgba(0,0,0,0.2); }
}
/* hamburger base — see animations section for full styles */
.hamburger { display: none; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--t);
}

/* Mobile Menu Overlay */
/* Mobile menu styles moved to animations section below */
.mobile-close-old { display: none; } /* placeholder */

/* ====== HERO SLIDER ====== */
.slider-section {
  position: relative; width: 100%; overflow: hidden; background: #0A1628;
  height: 540px;
}
.slider-wrapper {
  display: flex; height: 100%; width: 100%; will-change: transform;
}
.slide {
  position: relative; min-width: 100%; height: 100%;
  display: flex; align-items: center; overflow: hidden; flex-shrink: 0;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: scale(1.04); transition: transform 7s ease-out; will-change: transform;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; pointer-events: none; }
.slide-inner {
  position: relative; z-index: 3; width: 100%;
  padding: 60px 0 80px;
}
.slide-content { max-width: 580px; padding-right: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; padding: 7px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 20px;
}
.slide-anim { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.slide.active .slide-anim { opacity: 1; transform: none; }
.slide h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 18px;
  word-break: break-word; hyphens: none; letter-spacing: -0.02em;
}
.slide h1 .accent {
  color: #4DC84D;
  -webkit-text-fill-color: #4DC84D;
  background: none;
  display: inline;
  padding: 0 2px;
}
.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.88); line-height: 1.7; margin-bottom: 32px;
  max-width: 540px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── Responsive slider ── */
@media(max-width: 900px) { .slider-section { height: 480px; } }
@media(max-width: 600px) {
  .slider-section { height: auto; min-height: 420px; }
  .slide { height: auto; min-height: 420px; align-items: flex-end; padding-bottom: 20px; }
  .slide-inner { padding: 40px 0 50px; }
  .slide h1 { font-size: clamp(26px, 8vw, 36px); }
  .hero-sub { font-size: 15px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
}
@media(max-width: 400px) {
  .slider-section { min-height: 380px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}

/* Slider Controls */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20; width: 48px; height: 48px;
  background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; border-radius: 50%; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t);
  -webkit-tap-highlight-color: transparent;
}
.slider-arrow:hover { background: rgba(255,255,255,0.38); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; gap: 8px; align-items: center;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--t); border: none;
}
.slider-dot.active { background: #fff; transform: scale(1.45); }
.slider-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.15); z-index: 20;
}
.slider-progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold-bright), #fff); width: 0%; }
.slider-counter {
  position: absolute; bottom: 16px; right: 18px; z-index: 20;
  font-size: 18px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 1px;
}
.slider-counter #slideCurrentNum { color: #fff; font-size: 18px; }

/* ====== STATS BAND ====== */
.stats-band {
  background: linear-gradient(135deg, var(--gold), #005096, var(--copper));
  padding: 26px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center; padding: 8px 14px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-heading); font-size: 32px;
  font-weight: 800; color: #fff; line-height: 24px;
}
.stat-label {
  font-size: 18px; font-weight: 600;
  color: rgba(255,255,255,0.85); margin-top: 4px;
  text-transform: uppercase; letter-spacing: 1px;
}

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  padding: 60px 0 50px; text-align: center; color: #fff;
}
.page-hero h1 {
  font-family: var(--font-heading); font-size: var(--fs-h2);
  font-weight: 800; color: #fff; margin-bottom: 12px;
}
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 18px; color: rgba(255,255,255,0.7); margin-top: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ====== INNER PAGE LAYOUT (with sidebar) ====== */
.inner-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 36px; padding: 60px 0;
}
.inner-main { min-width: 0; }
.inner-sidebar { min-width: 0; }

/* SIDEBAR */
.sidebar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.sidebar-head {
  background: linear-gradient(135deg, var(--gold), var(--copper));
  padding: 14px 20px; color: #fff;
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
}
.sidebar-links { list-style: none; }
.sidebar-links li a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; font-size: 18px; font-weight: 500;
  color: var(--text2); border-bottom: 1px solid var(--border);
  transition: var(--t);
}
.sidebar-links li:last-child a { border-bottom: none; }
.sidebar-links li a:hover, .sidebar-links li a.active {
  color: var(--gold-mid); background: var(--primary-10);
  padding-left: 24px;
}
.sidebar-links li a::before { content: '›'; color: var(--gold-mid); font-size: 18px; }
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--primary-10), rgba(160,72,26,0.05));
  border: 1px solid var(--border-gold); border-radius: var(--r);
  padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.sidebar-cta-card h4 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  margin-bottom: 8px; color: var(--text);
}
.sidebar-cta-card p { color: var(--text3); font-size: 18px; margin-bottom: 16px; line-height: 24px; }
.sidebar-cta-card .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.sidebar-info { padding: 16px 20px; }
.sidebar-info .contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 18px; color: var(--text2);
}
.sidebar-info .contact-row:last-child { border-bottom: none; }
.sidebar-info .contact-row .ci { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-10), var(--primary-10)); border: 1px solid var(--primary-15); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.sidebar-info .contact-row a { color: var(--gold-mid); font-weight: 600; }

/* ====== ABOUT SECTION ====== */
.about-section { padding: 80px 0; background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.about-badge {
  display: inline-block; background: linear-gradient(135deg, var(--gold), var(--copper));
  color: #fff; padding: 5px 16px; border-radius: var(--rp);
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 12px;
}
.about-text p { color: var(--text2); line-height: var(--lh-body); font-size: var(--fs-body); margin-bottom: 16px; }
.about-text p strong { color: var(--gold-mid); }
.about-features {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 9px; margin: 18px 0 26px;
}
.about-features li {
  display: flex; align-items: center; gap: 7px;
  color: var(--text2); font-size: 18px; font-weight: 500;
}
.about-features li::before { content: '✦'; color: var(--gold-mid); font-size: 18px; flex-shrink: 0; }

/* ====== ENQUIRY CARD ====== */
.enquiry-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px;
  box-shadow: var(--shadow-md); position: sticky; top: 88px;
}
.enquiry-card h3 {
  font-family: var(--font-heading); font-size: 19px; font-weight: 700;
  color: var(--text); margin-bottom: 3px;
}
.enquiry-card > p { color: var(--text3); font-size: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-size: var(--fs-label); font-weight: 700;
  color: var(--gold-mid); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); padding: 11px 13px; border-radius: var(--rs);
  font-family: var(--font-body); font-size: 18px; outline: none;
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold-mid); background: #fff;
}
.success-msg {
  display: none; background: #F0FFF4; border: 1px solid #22C55E;
  color: #166534; padding: 10px 14px; border-radius: var(--rs);
  margin-top: 10px; font-size: 18px; font-weight: 600; text-align: center;
}

/* ====== SERVICES ====== */
.services-section { padding: 80px 0; background: var(--bg); }
.services-header { text-align: center; margin-bottom: 46px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 200px; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-badge {
  position: absolute; top: 11px; left: 11px;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  color: #fff; padding: 4px 11px; border-radius: var(--rp);
  font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.service-body { padding: 20px; }
.service-body h3 {
  font-family: var(--font-heading); font-size: var(--fs-h3);
  font-weight: 700; color: var(--text); margin-bottom: 7px;
}
.service-body p { color: var(--text3); font-size: 18px; line-height: 24px; margin-bottom: 14px; }
.service-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--gold-mid); font-weight: 700; font-size: 18px; transition: gap .2s;
}
.service-link:hover { gap: 9px; }

/* ====== PRODUCT ====== */
.product-section { padding: 80px 0; background: var(--bg2); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-grid.reverse { direction: rtl; }
.product-grid.reverse > * { direction: ltr; }
.product-visual { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.product-visual img { width: 100%; height: 400px; object-fit: cover; }
.product-features { list-style: none; margin-bottom: 22px; }
.product-features li {
  padding: 11px 0; border-bottom: 1px solid var(--border);
  color: var(--text2); font-size: var(--fs-body); display: flex; gap: 11px; align-items: flex-start;
}
.product-features li::before { content: '▸'; color: var(--gold-mid); flex-shrink: 0; margin-top: 1px; }
.product-features li strong { color: var(--text); }
.product-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 24px; }
.spec-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 13px; text-align: center;
}
.spec-val {
  font-family: var(--font-heading); font-size: 18px;
  font-weight: 700; color: var(--gold-mid); margin-bottom: 2px;
}
.spec-key { font-size: 18px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ====== ALL SERVICES LIST ====== */
.all-services { padding: 80px 0; background: var(--bg); }
.services-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.service-list-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rs); padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 12px;
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.service-list-item:hover {
  border-color: var(--gold-mid); transform: translateX(3px); box-shadow: var(--shadow-md);
}
.service-num {
  font-family: var(--font-heading); font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 24px; flex-shrink: 0; min-width: 26px;
}
.service-list-item h4 { color: var(--text); font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.service-list-item p { color: var(--text3); font-size: 18px; }

/* ====== WHY ====== */
.why-section { padding: 80px 0; background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 20px; text-align: center;
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.why-card:hover { border-color: var(--gold-mid); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary-10), var(--primary-10));
  border: 1px solid var(--primary-20); border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 13px; font-size: 22px;
}
.why-card h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.why-card p { color: var(--text3); font-size: 18px; line-height: 24px; }

/* ====== COMPARISON ====== */
.comparison-section { padding: 80px 0; background: var(--bg); }
.compare-header { text-align: center; margin-bottom: 46px; }
.compare-table-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
.compare-col { border-radius: var(--r); overflow: hidden; border: 2px solid var(--border); box-shadow: var(--shadow-sm); }
.compare-col.us { border-color: var(--gold-mid); box-shadow: 0 0 0 3px var(--primary-10), var(--shadow-md); }
.compare-head {
  padding: 16px 20px; background: var(--surface2);
  font-size: 18px; font-weight: 800; text-align: center;
  color: var(--text3); text-transform: uppercase; letter-spacing: 1px;
}
.compare-col.us .compare-head { background: linear-gradient(135deg, var(--gold), var(--copper)); color: #fff; }
.compare-item {
  padding: 11px 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 9px;
  font-size: 18px; color: var(--text2); background: var(--surface);
}
.check-icon { color: #22C55E; font-size: 18px; flex-shrink: 0; }
.cross-icon { color: #EF4444; font-size: 18px; flex-shrink: 0; }

/* ====== GALLERY SLIDER ====== */
.gallery-section { padding: 80px 0; background: var(--bg2); overflow: hidden; }
.gallery-header { text-align: center; margin-bottom: 36px; }
.gallery-track-wrap { overflow: hidden; cursor: grab; user-select: none; -webkit-user-select: none; }
.gallery-track-wrap:active { cursor: grabbing; }
.gallery-track {
  display: flex; gap: 14px; padding: 0 24px 4px;
  will-change: transform; transition: transform .55s cubic-bezier(0.4,0,0.2,1);
}
.gallery-card { flex-shrink: 0; width: 220px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.gallery-card img { width: 100%; height: 330px; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  padding: 22px 12px 12px; color: #fff;
  font-size: 18px; font-weight: 600; text-align: center;
}
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t); box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--gold-mid); color: #fff; border-color: var(--gold-mid); }

/* Gallery Grid (gallery page) */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  padding: 22px 14px 14px; color: #fff; font-size: 18px; font-weight: 600;
}

/* ====== TESTIMONIALS ====== */
.testimonials { padding: 80px 0; background: var(--bg); }
.testimonials-header { text-align: center; margin-bottom: 40px; }
.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; transition: transform .6s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.testi-slide { flex-shrink: 0; width: 100%; padding: 0 4px; }
.testi-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px 20px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold-bright); font-size: 18px; margin-bottom: 11px; letter-spacing: 2px; }
.testimonial-text { color: var(--text2); font-size: 18px; line-height: 24px; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: #fff; flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 18px; color: var(--text); }
.author-loc { font-size: 18px; color: var(--text3); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.12); cursor: pointer; transition: var(--t); border: none; }
.testi-dot.active { background: var(--gold-mid); transform: scale(1.4); }

/* Testimonials page grid */
.testimonials-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }

/* ====== FAQ ====== */
.faq-section { padding: 80px 0; background: var(--bg2); }
.faq-header { text-align: center; margin-bottom: 46px; }
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rs); margin-bottom: 9px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-question {
  padding: 17px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: var(--fs-body); color: var(--text); transition: color .2s; user-select: none;
}
.faq-question:hover, .faq-question.active { color: var(--gold-mid); }
.faq-chevron { color: var(--gold-mid); font-size: 18px; transition: transform .3s; flex-shrink: 0; }
.faq-question.active .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 20px 17px; padding-top: 13px;
  color: var(--text3); font-size: 18px; line-height: 24px; border-top: 1px solid var(--border);
}

/* ====== CONTACT ====== */
.contact-section { padding: 80px 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h3 {
  font-family: var(--font-heading); font-size: 26px; font-weight: 700;
  margin-bottom: 16px; color: var(--text);
}
.contact-info > p { color: var(--text3); font-size: var(--fs-body); line-height: 24px; margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 20px; }
.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary-10), var(--primary-10));
  border: 1px solid var(--primary-20); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.contact-item h5 {
  font-size: var(--fs-label); font-weight: 700; color: var(--gold-mid);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}
.contact-item a { color: var(--text); font-size: 18px; font-weight: 600; transition: color .2s; }
.contact-item a:hover { color: var(--gold-mid); }
.contact-item p { color: var(--text2); font-size: var(--fs-body); }
.cta-strip {
  background: linear-gradient(135deg, var(--primary-10), rgba(160,72,26,0.05));
  border: 1px solid var(--border-gold); border-radius: var(--r);
  padding: 24px; margin-top: 18px;
}
.cta-strip h4 {
  font-family: var(--font-heading); font-size: 19px; font-weight: 700; margin-bottom: 6px;
}
.cta-strip p { color: var(--text3); font-size: 18px; margin-bottom: 16px; }
.cta-strip-btns { display: flex; gap: 9px; flex-wrap: wrap; }

/* ====== FOOTER ====== */
footer { background: var(--footer-bg); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 36px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 18px; line-height: 24px; margin: 13px 0 16px; max-width: 270px; }
.footer-social { display: flex; gap: 9px; }
.social-btn {
  width: 34px; height: 34px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--rs);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 18px; transition: var(--t); text-decoration: none;
}
.social-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.footer-col h5 {
  font-size: 18px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.35); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55); font-size: 18px; transition: color .2s;
  display: flex; align-items: center; gap: 5px;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a::before { content: '›'; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 18px; }
.footer-bottom a { color: var(--gold-bright); }
footer .logo-vjm { background: linear-gradient(135deg, var(--primary-bright), var(--primary-bright)); -webkit-background-clip: text; background-clip: text; }
footer .logo-sub { color: rgba(255,255,255,0.3); }

/* ====== FLOAT BUTTONS ====== */
.float-wa {
  position: fixed; bottom: 22px; right: 20px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--btn-wa-start), var(--btn-wa-end));
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  text-decoration: none; box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  animation: float-bounce 2.2s ease-in-out infinite;
}
.float-call {
  position: fixed; bottom: 86px; right: 20px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--copper));
  display: flex; align-items: center; justify-content: center; font-size: 19px;
  text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
@keyframes float-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ====== REVEAL ANIMATION ====== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .enquiry-card { position: static; }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-grid.reverse { direction: ltr; }
  .product-visual img { height: 260px; }
  .product-specs { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .testi-inner { grid-template-columns: 1fr 1fr; }
  .compare-table-wrap { grid-template-columns: 1fr; }
  .inner-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
  }
  .inner-main    { order: 1 !important; width: 100% !important; }
  .inner-sidebar { order: 2 !important; width: 100% !important; position: static !important; top: auto !important; }
  .enquiry-card { position: static; }
}
@media (max-width: 860px) {
  .services-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .services-list-grid { grid-template-columns: 1fr 1fr; }
  .testi-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.2); }
  .topbar-left { display: none; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .services-list-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: repeat(2, 1fr); }
  .compare-table-wrap { grid-template-columns: 1fr; }
  .gallery-card { width: 180px; }
  .gallery-card img { height: 270px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .slider-arrow { width: 38px; height: 38px; font-size: 20px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .hero-btns { gap: 8px; }
  .btn { padding: 11px 18px; font-size: 18px; }
  .inner-layout { padding: 36px 0; }
  .page-hero { padding: 40px 0 34px; }
}
@media (max-width: 400px) { .slider-arrow { display: none; } }

/* ============================================================
   ANIMATIONS — HAMBURGER + MOBILE MENU + SECTION REVEALS
   ============================================================ */

/* -------- HAMBURGER ANIMATED -------- */
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px 6px;
  cursor: pointer; flex-shrink: 0; background: none; border: none;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: var(--rs);
  transition: background var(--t);
}
.hamburger:hover { background: var(--surface2); }
.ham-line {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity   0.25s ease,
              width     0.3s ease;
}
/* Open state — X shape */
.hamburger.is-open .ham-top {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .ham-mid {
  opacity: 0; width: 0;
}
.hamburger.is-open .ham-bot {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------- MOBILE MENU OVERLAY -------- */
.mobile-menu {
  display: flex;         /* always in DOM, visibility via opacity+pointer-events */
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.is-open {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}

/* Blurred backdrop */
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.mobile-menu.is-open .mobile-menu-backdrop { opacity: 1; }

/* Sliding panel from right */
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg2);
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
  padding: 24px 0 32px;
  overflow-y: auto; overflow-x: hidden;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.1,1);
  will-change: transform;
}
.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

/* Close button */
.mobile-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid var(--border);
  transition: background var(--t), transform var(--t);
  z-index: 2;
}
.mobile-close:hover { background: var(--gold-mid); color: #fff; transform: rotate(90deg); }

/* Logo row inside panel */
.mobile-menu-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

/* Nav items with stagger animation */
.mobile-nav { display: flex; flex-direction: column; padding: 4px 0; flex: 1; }
.mobile-nav-item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; font-weight: 600; color: var(--text);
  padding: 15px 24px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background var(--t), color var(--t), padding-left var(--t);
  /* stagger */
  opacity: 0;
  transform: translateX(20px);
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease,
              opacity 0.3s ease calc(var(--i) * 0.05s),
              transform 0.35s cubic-bezier(0.4,0,0.2,1) calc(var(--i) * 0.05s);
}
.mobile-menu.is-open .mobile-nav-item {
  opacity: 1; transform: translateX(0);
}
.mobile-nav-item:hover { background: var(--surface2); color: var(--gold-mid); padding-left: 30px; }
.mobile-nav-item.active { color: var(--gold-mid); background: var(--primary-10); }
.mnav-arrow {
  font-size: 18px; color: var(--text3); transition: transform var(--t), color var(--t);
}
.mobile-nav-item:hover .mnav-arrow { transform: translateX(4px); color: var(--gold-mid); }

/* CTA buttons at bottom of panel */
.mobile-cta-wrap {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 24px 12px;
}
.mobile-cta-btn {
  width: 100%; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease calc(var(--i) * 0.05s),
              transform 0.35s cubic-bezier(0.4,0,0.2,1) calc(var(--i) * 0.05s);
}
.mobile-menu.is-open .mobile-cta-btn {
  opacity: 1; transform: none;
}

/* Contact strip */
.mobile-contact-strip {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 24px 0;
  font-size: 18px; color: var(--text3); border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease calc(var(--i) * 0.05s),
              transform 0.3s ease calc(var(--i) * 0.05s);
}
.mobile-menu.is-open .mobile-contact-strip { opacity: 1; transform: none; }

/* -------- PAGE LOAD — NAV ITEMS FADE IN -------- */
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links li {
  animation: navFadeIn 0.4s ease both;
}
.nav-links li:nth-child(1) { animation-delay: 0.05s; }
.nav-links li:nth-child(2) { animation-delay: 0.10s; }
.nav-links li:nth-child(3) { animation-delay: 0.15s; }
.nav-links li:nth-child(4) { animation-delay: 0.20s; }
.nav-links li:nth-child(5) { animation-delay: 0.25s; }
.nav-links li:nth-child(6) { animation-delay: 0.30s; }
.nav-links li:nth-child(7) { animation-delay: 0.35s; }
.nav-links li:nth-child(8) { animation-delay: 0.40s; }

/* -------- SECTION REVEAL ANIMATIONS -------- */
/* Base state */
.reveal             { opacity: 0; transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal.from-bottom { transform: translateY(40px); }
.reveal.from-left   { transform: translateX(-40px); }
.reveal.from-right  { transform: translateX(40px); }
.reveal.scale-in    { transform: scale(0.92); }
.reveal.fade-only   { transform: none; }

/* Visible state */
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Default if no modifier given */
.reveal:not(.from-left):not(.from-right):not(.scale-in):not(.fade-only) {
  transform: translateY(32px);
}

/* Stagger children — applied to grid parents */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.13s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.21s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.29s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.37s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.45s; }
.reveal-stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:0.53s; }
.reveal-stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:0.61s; }

/* Stats band counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-item.visible .stat-num {
  animation: countUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.stat-item:nth-child(1).visible .stat-num { animation-delay: 0.0s; }
.stat-item:nth-child(2).visible .stat-num { animation-delay: 0.1s; }
.stat-item:nth-child(3).visible .stat-num { animation-delay: 0.2s; }
.stat-item:nth-child(4).visible .stat-num { animation-delay: 0.3s; }

/* Page hero entrance */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero h1 { animation: heroEnter 0.6s cubic-bezier(0.4,0,0.2,1) 0.1s both; }
.page-hero p  { animation: heroEnter 0.6s cubic-bezier(0.4,0,0.2,1) 0.2s both; }
.breadcrumb   { animation: heroEnter 0.6s cubic-bezier(0.4,0,0.2,1) 0.3s both; }

/* Sidebar slide in */
.inner-sidebar {
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s cubic-bezier(0.4,0,0.2,1) 0.25s;
}
.inner-sidebar.visible {
  opacity: 1; transform: none;
}

/* Service/Why/Testimonial card hover lift */
.service-card, .why-card, .testimonial-card {
  transition: transform var(--t), box-shadow var(--t), border-color var(--t),
              opacity 0.55s ease, transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

/* FAQ item open animation */
.faq-answer {
  animation: none;
}
.faq-answer.opening {
  animation: faqOpen 0.3s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-to-top micro animation for logo click */
@keyframes logoHover {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.08) rotate(-3deg); }
  60%  { transform: scale(1.05) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.logo:hover .logo-shield { animation: logoHover 0.5s ease; }

/* Section title underline animation */
.section-title { position: relative; }
@keyframes accentSlide {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}
.reveal.visible .section-title .accent {
  animation: accentSlide 0.5s ease 0.2s both;
}

/* Floating buttons entrance */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.float-call { animation: floatIn 0.5s cubic-bezier(0.4,0,0.2,1) 1.0s both; }
.float-wa   { animation: floatIn 0.5s cubic-bezier(0.4,0,0.2,1) 1.2s both, float-bounce 2.2s ease-in-out 2s infinite; }

/* Topbar slide down on load */
@keyframes topbarIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.topbar { animation: topbarIn 0.4s ease both; }

/* Nav slide down after topbar */
@keyframes navSlideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
nav { animation: navSlideDown 0.45s cubic-bezier(0.4,0,0.2,1) 0.1s both; }

/* ================================================================
   Krupa v6 — ELEGANCE OVERHAUL
   DM Serif Display headings · Hind Siliguri body
   Richer shadows · Refined spacing · Polished components
================================================================ */

/* ── Typography refinement ── */
body { font-family: var(--font-body); font-size: 18px; line-height: 24px; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1,h2,h3,h4,.section-title { font-family: var(--font-heading); }
.section-label {
  font-size: 18px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-mid);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.section-label::before, .section-label::after {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--gold-mid); opacity: .5;
}
.section-title { font-size: clamp(26px,4vw,46px); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; }
.section-title .accent {
  font-style: italic;
  background: linear-gradient(135deg,var(--gold),var(--gold-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.divider { width: 40px; height: 2px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); border-radius: 2px; margin: 16px 0 24px; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn { font-size: 18px; font-weight: 600; letter-spacing: 0.2px; padding: 13px 28px; border-radius: 50px; gap: 8px; }
.btn-gold { background: linear-gradient(135deg,var(--gold) 0%,var(--copper) 100%); color: #fff; box-shadow: 0 4px 20px var(--primary-30); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--primary-30); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.35); }
.btn-outline { border: 1.5px solid var(--gold-mid); color: var(--gold-mid); background: transparent; }
.btn-outline:hover { background: var(--gold-mid); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px var(--primary-20); }
.btn-submit { border-radius: 50px; font-size: 18px; letter-spacing: 0.3px; transition: transform .25s, box-shadow .25s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--primary-30); }

/* ── Navbar ── */
nav { background: rgba(255,255,255,0.94); backdrop-filter: saturate(200%) blur(24px); -webkit-backdrop-filter: saturate(200%) blur(24px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-links a { font-size: 18px; font-weight: 500; padding: 8px 14px; border-radius: 8px; letter-spacing: 0.1px; }
.nav-links a:hover,.nav-links a.active { color: var(--gold-mid); background: var(--primary-10); }
.nav-cta { font-size: 18px !important; padding: 9px 20px !important; letter-spacing: 0.2px; }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg,var(--dark-bg) 0%,var(--dark-bg2) 40%,#1e1408 100%);
  padding: 52px 0 44px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 120% at 30% 50%, var(--primary-20) 0%, transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(30px,5vw,52px); font-weight: 400; color: #fff; margin-bottom: 10px; letter-spacing: -0.02em; }
.page-hero p { color: rgba(255,255,255,0.68); font-size: 18px; margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 18px; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--gold-bright); font-weight: 500; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Stats Band ── */
.stats-band { background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 20px rgba(0,0,0,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 24px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-heading); font-size: 32px; font-weight: 400; color: var(--gold-mid); line-height: 1.1; margin-bottom: 4px; }
.stat-label { font-size: 18px; color: var(--text3); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* ── Section padding ── */
.about-section,.services-section,.all-services,.why-section,.comparison-section,
.portfolio-section,.testimonials,.faq-section,.builders-section,
.ba-home-section,.process-home-section,.product-section { padding: 80px 0; }
.services-section { background: var(--bg); }
.portfolio-section { background: linear-gradient(180deg,#fff 0%,var(--bg) 100%); }
.why-section { background: var(--bg2); }
.comparison-section { background: var(--bg); }
.testimonials { background: linear-gradient(135deg,var(--dark-bg) 0%,var(--dark-bg2) 100%); }
.faq-section { background: var(--bg2); }

/* ── Service Cards ── */
.featured-lp-grid { gap: 20px; }
.lp-card { border-radius: 20px; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.lp-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(0,0,0,0.14); }
.lp-card-img { aspect-ratio: 3/4; }
.lp-card-badge { font-size: 18px; letter-spacing: 1.8px; padding: 5px 14px; top: 16px; left: 16px; }
.lp-card-body { padding: 20px 22px 26px; }
.lp-card-body h3 { font-size: 18px; font-weight: 700; line-height: 24px; margin-bottom: 6px; }
.lp-card-body p { font-size: 18px; line-height: 24px; }
.lp-card-cta { font-size: 18px; color: var(--gold-mid); font-weight: 600; margin-top: 12px; }

/* ── Sidebar cards ── */
.sidebar-card { border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.05); margin-bottom: 20px; overflow: hidden; }
.sidebar-head { background: linear-gradient(135deg,var(--dark-bg),var(--dark-bg2)); color: #fff; padding: 14px 20px; font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.sidebar-links li a { font-size: 18px; padding: 10px 20px; display: block; border-bottom: 1px solid var(--border); color: var(--text2); transition: color .2s, background .2s; }
.sidebar-links li:last-child a { border-bottom: none; }
.sidebar-links li a:hover { color: var(--gold-mid); background: var(--primary-10); padding-left: 26px; }
.sidebar-links li a.active { color: var(--gold-mid); font-weight: 600; background: var(--primary-10); }
.sidebar-cta-card { border-radius: 16px; background: linear-gradient(135deg,var(--dark-bg),var(--dark-bg2)); color: #fff; padding: 24px 20px; margin-bottom: 20px; border: 1px solid var(--primary-20); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.sidebar-cta-card h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 400; margin-bottom: 8px; color: #fff; }
.sidebar-cta-card p { font-size: 18px; color: rgba(255,255,255,0.65); margin-bottom: 16px; line-height: 24px; }

/* ── Gallery Portrait Carousel ── */
.port-card { border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.10); }
.port-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 56px rgba(0,0,0,0.18); }
.port-card-overlay { background: linear-gradient(180deg,transparent 40%,rgba(0,0,0,0.78) 100%); }
.port-zoom-icon { font-size: 28px; }
.port-caption { font-size: 18px; font-weight: 600; letter-spacing: 0.3px; }
.port-arrow { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 2px 16px rgba(0,0,0,0.14); }
.port-dot { width: 7px; height: 7px; }
.port-dot.active { background: var(--gold-mid); width: 22px; border-radius: 4px; }

/* ── Why cards ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: box-shadow .3s, transform .3s; }
.why-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.why-icon { font-size: 36px; margin-bottom: 14px; }
.why-card h4 { font-family: var(--font-heading); font-size: 18px; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 18px; color: var(--text3); line-height: 24px; }

/* ── Testimonials on dark bg ── */
.testimonials .section-label { color: var(--gold-bright); }
.testimonials .section-label::before, .testimonials .section-label::after { background: var(--gold-bright); }
.testimonials .section-title { color: #fff; }
.testimonials .section-title .accent { background: linear-gradient(135deg,var(--gold-bright),var(--primary-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 26px; backdrop-filter: blur(8px); }
.stars { color: var(--gold-bright); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 24px; margin-bottom: 18px; }
.avatar { background: linear-gradient(135deg,var(--gold),var(--copper)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; width: 44px; height: 44px; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 2px; }
.author-loc { font-size: 18px; color: rgba(255,255,255,0.5); }

/* ── Testimonial dots ── */
.testi-dots { text-align: center; margin-top: 28px; display: flex; justify-content: center; gap: 8px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: background .2s, transform .2s; }
.testi-dot.active { background: var(--gold-bright); transform: scale(1.4); }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; transition: box-shadow .25s; }
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.faq-question { padding: 18px 22px; font-size: 18px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .2s; }
.faq-question:hover { background: var(--primary-10); }
.faq-question.active { color: var(--gold-mid); background: var(--primary-10); }
.faq-chevron { color: var(--gold-mid); font-size: 18px; transition: transform .3s; flex-shrink: 0; }
.faq-question.active .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 22px 18px; font-size: 18px; color: var(--text2); line-height: 24px; border-top: 1px solid var(--border); padding-top: 14px; }
.faq-answer.opening { animation: fadeSlide .3s ease both; }
@keyframes fadeSlide { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:none} }

/* ── Comparison ── */
.compare-table-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.1); max-width: 800px; margin: 0 auto; }
.compare-col { padding: 0; }
.compare-head { padding: 18px 24px; font-size: 18px; font-weight: 700; letter-spacing: 0.3px; text-align: center; }
.compare-col.us .compare-head { background: linear-gradient(135deg,var(--gold),var(--copper)); color: #fff; }
.compare-col:not(.us) .compare-head { background: #2d2d2d; color: rgba(255,255,255,0.6); }
.compare-item { padding: 12px 24px; font-size: 18px; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; gap: 10px; }
.compare-col.us .compare-item { background: #fffdf7; color: var(--text2); }
.compare-col:not(.us) .compare-item { background: #f8f8f8; color: var(--text3); }
.check-icon { color: #2e7d32; font-weight: 700; font-size: 18px; }
.cross-icon { color: #c62828; font-weight: 700; font-size: 18px; }

/* ── Footer ── */
footer { background: var(--dark-bg); border-top: 1px solid var(--primary-15); }
footer .footer-grid { display: grid; gap: 40px; padding: 60px 0 40px; }
footer .footer-brand p { font-size: 18px; color: rgba(255,255,255,0.45); line-height: 24px; margin: 16px 0 20px; }
footer .footer-col h5 { font-family: var(--font-heading); font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
footer .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer .footer-col ul li a { font-size: 18px; color: rgba(255,255,255,0.55); transition: color .2s; }
footer .footer-col ul li a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 18px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold-bright); }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: background .2s; }
.social-btn:hover { background: var(--primary-30); }

/* ── Float buttons ── */
.float-call,.float-wa {
  position: fixed; right: 20px; width: 52px; height: 52px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; z-index: 900; box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.float-wa   { bottom: 88px; background: linear-gradient(135deg,#25D366,#128C7E); }
.float-call { bottom: 148px; background: linear-gradient(135deg,var(--gold),var(--copper)); }
.float-call:hover,.float-wa:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(0,0,0,0.28); }

/* ── Inner layout ── */
.inner-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.inner-main { min-width: 0; }
.inner-sidebar { position: sticky; top: 90px; }

/* ── Product section ── */
.product-section { background: var(--bg2); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.product-visual img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.product-features { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.product-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; color: var(--text2); }
.product-features li::before { content: '✓'; color: var(--gold-mid); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.product-specs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 28px; }
.spec-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 14px 10px; text-align: center; }
.spec-val { font-family: var(--font-heading); font-size: 18px; font-weight: 400; color: var(--gold-mid); }
.spec-key { font-size: 18px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }

/* ── All services list ── */
.all-services { background: var(--bg2); }
.services-list-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.service-list-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: box-shadow .2s, transform .2s; }
.service-list-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-num { font-family: var(--font-heading); font-size: 28px; font-weight: 400; color: var(--gold-bright); opacity: .35; flex-shrink: 0; line-height: 1.1; }
.service-list-item h4 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.service-list-item p { font-size: 18px; color: var(--text3); line-height: 24px; }

/* ── Builders track ── */
.builder-logo-box { width: 180px; height: 90px; padding: 14px 24px; border-right: 1px solid rgba(0,0,0,0.06); }
.builder-logo-box img { max-width: 130px; max-height: 54px; filter: grayscale(1) opacity(0.5); transition: filter .35s; }
.builder-logo-box:hover img { filter: grayscale(0) opacity(1); }

/* ── Form inputs ── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.form-group input,.form-group select,.form-group textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 11px 14px; font-size: 18px; color: var(--text);
  font-family: var(--font-body); background: var(--surface2);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  border-color: var(--gold-mid); box-shadow: 0 0 0 3px rgba(200,146,15,0.12); background: #fff;
}
.success-msg { display: none; color: #2e7d32; background: #e8f5e9; border-radius: 10px; padding: 12px 16px; font-size: 18px; font-weight: 600; margin-top: 12px; text-align: center; }

/* ── Gallery page ── */
.gal-thumb { border-radius: 16px; }
.gal-thumb:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.16); }

/* ── Responsive ── */
@media(max-width:960px){
  .inner-layout { grid-template-columns: 1fr; }
  .inner-sidebar { position: static; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .services-list-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: 1fr; }
}
@media(max-width:640px){
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .services-list-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .port-card { flex: 0 0 calc((100% - 18px) / 2) !important; }
}


/* ================================================================
   MOBILE FIXES v8
================================================================ */

/* ── 1. Slider height cap on mobile ── */
@media(max-width:768px){
  .slide h1 { font-size: clamp(22px, 7vw, 36px); line-height: 1.2; margin-bottom: 16px; }
  .hero-sub { font-size: 18px; }
  .hero-btns .btn { padding: 11px 18px; font-size: 18px; }
}
@media(max-width:480px){
  .slide h1 { font-size: 22px; }
  .hero-btns { gap: 8px; }
}

/* ── 2. Inner layout: mobile stacks main FIRST, sidebar SECOND ── */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
@media(max-width:960px){
  .inner-layout {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .inner-main   { order: 1; width: 100%; }
  .inner-sidebar { order: 2; width: 100%; position: static; }
}

/* ── 3. Specs / stat cards responsive ── */
.product-specs {
  grid-template-columns: repeat(4,1fr);
}
@media(max-width:640px){
  .product-specs { grid-template-columns: repeat(2,1fr); }
  .spec-card { padding: 12px 8px; }
  .spec-val { font-size: 18px; }
  .spec-key { font-size: 18px; }
}
/* About stats band */
@media(max-width:560px){
  .about-stats-band { grid-template-columns: repeat(2,1fr) !important; }
  .ab-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ab-stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.08); }
}

/* ── 4. Mobile menu sub-items animation trigger ── */
.mobile-menu.is-open .mob-sub-toggle { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav-item { opacity: 1; transform: none; }

/* ── 5. Contact tiles → 2 cols on mobile ── */
@media(max-width:640px){
  .contact-tile-grid { grid-template-columns: 1fr 1fr; }
  .ct-icon { font-size: 26px; }
  .contact-tile { padding: 18px 14px; }
}
@media(max-width:360px){
  .contact-tile-grid { grid-template-columns: 1fr; }
}

/* ── 6. Process steps responsive ── */
@media(max-width:720px){
  .process-grid, .proc-home-grid { grid-template-columns: repeat(2,1fr) !important; gap: 24px 12px !important; }
  .ps-connector, .ph-connector { display: none !important; }
  .ps-circle, .ph-bubble { width: 52px; height: 52px; }
  .ps-icon, .ph-bubble { font-size: 22px; }
}
@media(max-width:400px){
  .process-grid, .proc-home-grid { grid-template-columns: 1fr !important; }
}

/* ── 7. Services grid on mobile ── */
@media(max-width:640px){
  .featured-lp-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .lp-card-img { aspect-ratio: 3/4; }
  .lp-card-body { padding: 14px 16px 18px; }
  .lp-card-body h3 { font-size: 18px; }
  .lp-card-body p { display: none; } /* hide desc on small screens */
}
@media(max-width:360px){
  .featured-lp-grid { grid-template-columns: 1fr !important; }
  .lp-card-img { aspect-ratio: 16/9; }
}

/* ── 8. Stats band ── */
@media(max-width:560px){
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-num { font-size: 26px; }
}

/* ── 9. Why cards mobile ── */
@media(max-width:640px){
  .why-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .why-card { padding: 18px 16px; }
  .why-icon { font-size: 28px; margin-bottom: 10px; }
}
@media(max-width:380px){
  .why-grid { grid-template-columns: 1fr !important; }
}

/* ── 10. Gallery mobile ── */
@media(max-width:540px){
  .port-card { flex: 0 0 calc(50% - 9px) !important; }
  .port-carousel-outer { padding: 0 32px; }
}
@media(max-width:360px){
  .port-card { flex: 0 0 calc(100% - 0px) !important; }
  .port-carousel-outer { padding: 0 28px; }
}

/* ── 11. LPF features grid mobile ── */
@media(max-width:560px){
  .lp-features { grid-template-columns: 1fr !important; }
  .flash-ribbon-inner { flex-direction: column; text-align: center; }
  .flash-ribbon-btns { justify-content: center; }
}

/* ── 12. BA section mobile ── */
@media(max-width:640px){
  .ba-home-grid, .ba-grid { grid-template-columns: 1fr !important; }
  .bah-vs, .ba-vs-badge { display: none !important; }
}

/* ── 13. Footer mobile ── */
@media(max-width:640px){
  footer .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; padding-top: 36px !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* ── 14. Builders track mobile ── */
@media(max-width:480px){
  .builder-logo-box { width: 140px; height: 72px; padding: 10px 14px; }
  .builder-logo-box img { max-width: 110px; max-height: 46px; }
}

/* ── 15. About intro mobile ── */
@media(max-width:768px){
  .about-intro-grid { grid-template-columns: 1fr !important; }
  .about-featured-img-wrap { max-width: 340px; margin: 0 auto; }
  .about-img-badge { right: 0; }
  .mv-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr 1fr !important; }
  .about-testi-grid { grid-template-columns: 1fr !important; }
  .acta-inner { flex-direction: column; text-align: center; }
  .acta-btns { justify-content: center; flex-wrap: wrap; }
  .acta-btn { width: 100%; justify-content: center; }
}

/* ── 16. Comparison table mobile ── */
@media(max-width:560px){
  .compare-table-wrap { grid-template-columns: 1fr !important; }
  .compare-item { padding: 10px 16px; font-size: 18px; }
}

/* ── 17. Contact form mobile ── */
@media(max-width:640px){
  .contact-main-grid { grid-template-columns: 1fr !important; }
  .cf2-row { grid-template-columns: 1fr !important; }
  .cfw-body { padding: 18px 16px; }
  .sa-grid { grid-template-columns: 1fr 1fr !important; }
  .ba-section .ba-grid { grid-template-columns: 1fr !important; }
  .ba-section .ba-vs-badge { display: none; }
}

/* ── 18. Float buttons — don't overlap content on very small ── */
@media(max-width:400px){
  .float-wa   { right: 12px; bottom: 72px; width: 46px; height: 46px; font-size: 18px; }
  .float-call { right: 12px; bottom: 128px; width: 46px; height: 46px; font-size: 18px; }
}

/* ── 19. Page hero mobile ── */
@media(max-width:640px){
  .page-hero { padding: 36px 0 28px; }
  .page-hero h1 { font-size: clamp(22px, 7vw, 36px); }
}

/* ── 20. Serving areas 2-col on mobile ── */
@media(max-width:480px){
  .sa-grid { grid-template-columns: 1fr 1fr !important; }
  .sa-trust-row { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── 21. Testimonials on dark — mobile padding ── */
@media(max-width:640px){
  .testimonial-card { padding: 18px; }
  .testimonial-text { font-size: 18px; }
  .testi-inner { grid-template-columns: 1fr !important; }
}

/* ── 22. Inner sidebar on mobile ── */
@media(max-width:960px){
  .inner-sidebar .sidebar-card { margin-bottom: 14px; }
  .sidebar-links li a { padding: 8px 16px; font-size: 18px; }
}


/* ================================================================
   v8 FINAL FIXES — Mobile layout, specs, drawer cleanup
================================================================ */

/* ── Remove old mobile-menu styles that conflict ── */
.mobile-menu { display: none !important; }

/* ── Inner layout: CONTENT first, sidebar second on mobile ── */
@media(max-width:960px) {
  .inner-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  .inner-main   { order: 1 !important; width: 100% !important; }
  .inner-sidebar { order: 2 !important; width: 100% !important; position: static !important; top: auto !important; }
}

/* ── Slider ── */
@media(max-width:768px){
  .slide h1 { font-size: clamp(20px,6.5vw,36px) !important; line-height: 1.2 !important; }
  .hero-sub  { font-size: 18px !important; }
  .hero-btns .btn { padding: 10px 16px !important; font-size: 18px !important; }
  .hero-btns { gap: 8px; flex-wrap: wrap; }
}
@media(max-width:480px){
  .hero-badge { font-size: 18px !important; padding: 4px 12px !important; }
}

/* ── Spec cards — mobile 2-col ── */
.product-specs { display: grid !important; }
@media(max-width:640px){
  .product-specs { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .spec-card { padding: 14px 10px !important; }
  .spec-val  { font-size: 18px !important; }
  .spec-key  { font-size: 18px !important; letter-spacing: .8px; }
}

/* ── Stats ── */
@media(max-width:560px){
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-num   { font-size: 26px !important; }
}
@media(max-width:560px){
  .about-stats-band { grid-template-columns: repeat(3,1fr) !important; }
  .ab-stat { padding: 16px 10px !important; }
  .ab-stat-num { font-size: 18px !important; }
}

/* ── LP Features grid ── */
@media(max-width:560px){
  .lp-features { grid-template-columns: 1fr !important; }
}

/* ── Why grid ── */
@media(max-width:640px){
  .why-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}
@media(max-width:380px){
  .why-grid { grid-template-columns: 1fr !important; }
}

/* ── Services grid ── */
@media(max-width:640px){
  .featured-lp-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .lp-card-body p { display: none; }
  .lp-card-img { aspect-ratio: 3/4 !important; }
}
@media(max-width:360px){
  .featured-lp-grid { grid-template-columns: 1fr !important; }
}

/* ── Services list ── */
@media(max-width:640px){
  .services-list-grid { grid-template-columns: 1fr !important; }
  .service-list-item  { padding: 14px; }
}

/* ── Process steps ── */
@media(max-width:720px){
  .process-grid, .proc-home-grid { grid-template-columns: repeat(2,1fr) !important; gap: 20px !important; }
  .ps-connector, .ph-connector { display: none !important; }
}
@media(max-width:400px){
  .process-grid, .proc-home-grid { grid-template-columns: 1fr !important; }
}

/* ── BA before/after ── */
@media(max-width:640px){
  .ba-home-grid  { grid-template-columns: 1fr !important; }
  .bah-vs        { display: none !important; }
  .ba-grid       { grid-template-columns: 1fr !important; }
  .ba-vs-badge   { display: none !important; }
}

/* ── Comparison ── */
@media(max-width:560px){
  .compare-table-wrap { grid-template-columns: 1fr !important; }
}

/* ── Testimonials ── */
@media(max-width:640px){
  .testi-inner    { grid-template-columns: 1fr !important; }
  .testimonial-card { padding: 18px; }
  .testimonial-text { font-size: 18px; }
}

/* ── Contact tiles ── */
@media(max-width:640px){
  .contact-tile-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .contact-tile { padding: 18px 14px; }
  .ct-icon { font-size: 26px; margin-bottom: 10px; }
}

/* ── Contact form / areas ── */
@media(max-width:900px){
  .contact-main-grid { grid-template-columns: 1fr !important; }
  .cf2-row { grid-template-columns: 1fr !important; }
}
@media(max-width:480px){
  .sa-grid { grid-template-columns: 1fr 1fr !important; }
  .sa-trust-row { grid-template-columns: 1fr 1fr 1fr !important; }
}

/* ── About page ── */
@media(max-width:768px){
  .about-intro-grid   { grid-template-columns: 1fr !important; }
  .mv-grid            { grid-template-columns: 1fr !important; }
  .values-grid        { grid-template-columns: 1fr 1fr !important; }
  .about-testi-grid   { grid-template-columns: 1fr !important; }
  .acta-inner         { flex-direction: column; text-align: center; }
  .acta-btns          { justify-content: center; }
  .acta-btn           { width: 100%; justify-content: center; }
  .about-img-badge    { right: 4px; }
}
@media(max-width:480px){
  .values-grid { grid-template-columns: 1fr !important; }
  .about-stats-band { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── Gallery carousel ── */
@media(max-width:540px){
  .port-card { flex: 0 0 calc(50% - 9px) !important; }
  .port-carousel-outer { padding: 0 34px !important; }
  .gal-row { grid-template-columns: 1fr 1fr !important; }
}

/* ── Product deep dive ── */
@media(max-width:768px){
  .product-grid { grid-template-columns: 1fr !important; }
}

/* ── Footer ── */
@media(max-width:640px){
  footer .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; padding: 32px 0 24px !important; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* ── Float buttons ── */
@media(max-width:400px){
  .float-wa, .float-call { width: 46px; height: 46px; font-size: 18px; }
  .float-wa   { bottom: 68px; right: 12px; }
  .float-call { bottom: 124px; right: 12px; }
}

/* ── Page hero ── */
@media(max-width:480px){
  .page-hero { padding: 32px 0 24px !important; }
  .page-hero h1 { font-size: clamp(20px,7vw,34px) !important; }
}

/* ── Flash ribbon ── */
@media(max-width:560px){
  .flash-ribbon-inner { flex-direction: column !important; text-align: center !important; }
  .flash-ribbon-btns  { justify-content: center !important; }
  .flash-ribbon-text  { font-size: 18px !important; }
}

/* ── Builders ── */
@media(max-width:480px){
  .builder-logo-box { width: 130px; height: 68px; padding: 10px 12px; }
}

/* ── Sidebar on mobile ── */
@media(max-width:960px){
  .inner-sidebar .sidebar-card { margin-bottom: 12px; }
  .sidebar-links li a { padding: 9px 16px; font-size: 18px; }
  .sidebar-cta-card { padding: 18px 16px; }
}

/* ── Krupa Nav overrides: prevent global 18px from breaking nav ── */
.kn-link, .kn-mega-item, .kn-mob-row, .kn-mob-sub-link,
.kn-ticker-item, .kn-ticker-cta, .kn-cta,
.kn-mega-card p, .kn-mega-card h4, .kn-mega-feats li, .kn-mega-btn { font-size: unset !important; line-height: unset !important; }

/* ── Global white text fixes (always enforced) ── */
.btn-wa,
.btn-wa:hover,
.btn-wa:visited { color: #fff !important; }

.kn-ticker-cta,
.kn-ticker-cta:hover { color: #fff !important; }

/* ── Ticker: theme-matched blue background ── */
.kn-ticker { background: var(--dark-bg) !important; }
.kn-ticker-item { font-size: 14px !important; color: rgba(255,255,255,.88) !important; }
.kn-ticker-item:nth-child(even) { color: var(--gold-bright) !important; }

/* ── Card descriptions: slightly taller for 4-5 line content ── */
.lp-card-body p {
  line-height: 1.65 !important;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════════
   SLIDER TITLE — definitive fix (must be last)
   Solid accent color, no gradient clip issues
══════════════════════════════════════════════ */
.slide h1 {
  font-size: clamp(30px, 4vw, 52px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.02em !important;
  word-break: normal !important;
}
.slide h1 .accent {
  color: #4DC84D !important;
  -webkit-text-fill-color: #4DC84D !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  display: inline !important;
}
.slide h1 br { line-height: inherit; display: block; content: ''; }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px) !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,0.88) !important;
  margin-bottom: 30px !important;
  max-width: 520px !important;
}
.hero-badge {
  font-size: 12px !important;
  padding: 6px 16px !important;
  letter-spacing: 1px !important;
  margin-bottom: 18px !important;
}
.hero-btns .btn { font-size: 15px !important; padding: 12px 26px !important; }

@media(max-width: 900px) {
  .slide h1 { font-size: clamp(26px, 5.5vw, 38px) !important; }
}
@media(max-width: 600px) {
  .slide h1 { font-size: clamp(22px, 7vw, 30px) !important; letter-spacing: -0.01em !important; }
  .hero-sub { font-size: 14px !important; line-height: 1.6 !important; }
  .hero-badge { font-size: 11px !important; }
  .hero-btns .btn { font-size: 14px !important; padding: 10px 20px !important; }
}

/* ══════════════════════════════════════════════
   TICKER — logo blue bg, light blue text (final)
══════════════════════════════════════════════ */
.kn-ticker,
.topbar.kn-ticker { background: #0054AB !important; }

.kn-ticker-item { 
  color: #D6EEFF !important; 
  font-size: 14px !important;
}
.kn-ticker-item:nth-child(even) { color: #A0D8FF !important; }

.kn-ticker-cta,
.kn-ticker-cta:hover { color: #fff !important; }

/* ── Sidebar star icon colour matches primary ── */
.sb-star-icon svg { fill: var(--gold) !important; }
.sb-star-link:hover .sb-star-icon svg,
.sb-star-link.active .sb-star-icon svg { fill: var(--gold-mid) !important; }

/* ── Footer star spin on hover ── */
.footer-col ul li a:hover .ft-star { 
  opacity: 1; 
  fill: #A0D8FF !important;
  transform: rotate(45deg) scale(1.15);
}

/* ══════════════════════════════════════════════════
   STATS BAND — gradient blue-to-green (logo colors)
══════════════════════════════════════════════════ */
.stats-band--gradient {
  background: linear-gradient(135deg, #0054AB 0%, #023E82 40%, #0A6B2A 80%, #2D7A14 100%) !important;
  position: relative; overflow: hidden;
}
.stats-band--gradient::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stats-band--gradient .stat-item { border-color: rgba(255,255,255,0.15) !important; }
.stats-band--gradient .stat-num  { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.stats-band--gradient .stat-label{ color: rgba(255,255,255,0.82) !important; letter-spacing: 1.5px; }

/* ── 4-column service grid ── */
.featured-lp-grid--4col {
  grid-template-columns: repeat(4, 1fr) !important;
}
@media(max-width:1100px){ .featured-lp-grid--4col { grid-template-columns: repeat(3,1fr) !important; } }
@media(max-width:768px) { .featured-lp-grid--4col { grid-template-columns: repeat(2,1fr) !important; } }
@media(max-width:480px) { .featured-lp-grid--4col { grid-template-columns: 1fr !important; } }

/* ── Builder logos — colorful (no grayscale) ── */
.builder-logo-box img { filter: none !important; opacity: 1 !important; }
.builder-logo-box { 
  background: #fff; border: 1px solid rgba(0,84,171,0.10);
  border-radius: 12px; padding: 16px 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,84,171,0.08);
  transition: box-shadow .2s, transform .2s;
  min-width: 160px;
}
.builder-logo-box:hover { box-shadow: 0 6px 24px rgba(0,84,171,0.16); transform: translateY(-2px); }
.builder-name-fallback {
  font-weight: 700; color: var(--text2); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}

/* ══════════════════════════════════════════════════
   BEFORE / AFTER — 2-column layout
══════════════════════════════════════════════════ */
.ba-home-section--2col { padding: 72px 0; background: var(--bg); }

.ba-two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}

/* Left: stacked before/after */
.ba-left { display: flex; flex-direction: column; gap: 0; }
.ba-left .bah-card { border-radius: 0; box-shadow: none; }
.ba-left .bah-card:first-child { border-radius: 16px 16px 0 0; overflow: hidden; }
.ba-left .bah-card:last-child  { border-radius: 0 0 16px 16px; overflow: hidden; }
.ba-vs-divider {
  display: flex; align-items: center; justify-content: center;
  height: 40px; background: #fff; position: relative;
}
.ba-vs-divider::before,
.ba-vs-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.ba-vs-divider span {
  padding: 0 14px; font-size: 13px; font-weight: 800;
  color: var(--gold-mid); letter-spacing: 2px;
  background: #fff;
}

/* Right: benefits image with overlay */
.ba-right { position: sticky; top: 100px; }
.ba-benefits-img-wrap {
  border-radius: 20px; overflow: hidden; position: relative;
  box-shadow: 0 16px 56px rgba(0,84,171,0.18);
  min-height: 520px; display: flex; flex-direction: column;
}
.ba-benefits-img {
  width: 100%; height: 280px; object-fit: cover; display: block; flex-shrink: 0;
}
.ba-img-placeholder {
  width: 100%; height: 280px; background: var(--surface2);
  border-bottom: 1px dashed rgba(0,84,171,0.2);
  flex-shrink: 0;
}
.ba-placeholder-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 20px; text-align: center;
}
.ba-placeholder-inner p { font-size: 14px; color: var(--text3); margin: 0; }
.ba-placeholder-inner span { font-size: 12px; color: rgba(0,84,171,0.5); font-family: monospace; }

.ba-benefits-overlay {
  background: linear-gradient(135deg, #0054AB 0%, #023E82 50%, #0A6B2A 100%);
  padding: 28px 28px 32px; flex: 1;
}
.ba-benefits-overlay h3 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  color: #fff; margin-bottom: 20px; line-height: 1.3;
}
.ba-benefits-overlay h3 span { color: #90D8FF; }
.ba-benefit-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ba-benefit-list li {
  display: flex; align-items: flex-start; gap: 14px;
}
.ba-benefit-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ba-benefit-list li div strong { display: block; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.ba-benefit-list li div p   { color: rgba(255,255,255,0.78); font-size: 13px; margin: 0; line-height: 1.55; }

/* bah-card styles for 2-col version */
.ba-left .bah-card img { height: 180px; }
.ba-left .bah-body { padding: 16px 20px; background: #fff; }
.ba-left .bah-points { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.ba-left .bah-neg, .ba-left .bah-pos { font-size: 14px; color: var(--text2); }

@media(max-width:900px){
  .ba-two-col { grid-template-columns: 1fr; }
  .ba-right { position: static; }
  .ba-benefits-img-wrap { min-height: auto; }
}
