/* ============================================================
   VAIBERON TECHNOLOGY SOLUTIONS — style.css
   vaiberontech.in | Fresh build 2026
   Mobile-first | Single media query blocks | No duplicates
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --purple:        #4A0FA0;
  --purple-dark:   #3A0880;
  --purple-darker: #1A0860;
  --purple-darkest:#100828;
  --purple-mid:    #7C3AE8;
  --purple-light:  #9B6FF0;
  --purple-tint:   #EDE5FF;
  --purple-bg:     #F4F1FB;
  --gold:          #F5C518;
  --gold-dark:     #D4A800;
  --white:         #FFFFFF;
  --text:          #1A1030;
  --text-muted:    #5A4F7A;
  --text-light:    #8577A8;
  --border:        #DDD5F5;
  --border-light:  #EDE5FF;
  --page-bg:       #F8F6FF;
  --shadow-sm:     0 2px 8px rgba(74,15,160,0.08);
  --shadow-md:     0 4px 20px rgba(74,15,160,0.12);
  --shadow-lg:     0 8px 40px rgba(74,15,160,0.18);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    all 0.3s ease;
  --font:         'Sora', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.7; }

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

/* ---- UTILITY ---- */
.text-purple { color: var(--purple); }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; border: 2px solid transparent;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--purple); color: var(--white); border-color: var(--purple);
}
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--gold); color: var(--purple-darkest); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--purple); border-color: var(--purple);
}
.btn-outline:hover { background: var(--purple); color: white; transform: translateY(-2px); }
.btn-outline-white {
  background: transparent; color: white; border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---- SECTION SPACING ---- */
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--purple-darkest); }
.section-purple { background: var(--purple); }
.section-tint { background: var(--purple-tint); }
.section-white { background: white; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; background: var(--purple-tint); color: var(--purple);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 14px;
}
.section-label-white {
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ---- GRID UTILITIES ---- */
.grid-2col   { display: grid; grid-template-columns: 1fr 1fr; }
.grid-3col   { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4col   { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-sidebar { display: grid; grid-template-columns: 1fr 320px; }
.grid-blog-post { display: grid; grid-template-columns: 1fr 300px; }

/* ---- CARDS ---- */
.card {
  background: white; border-radius: var(--radius-md); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition); overflow: hidden;
}
.card-body { padding: 28px 24px; }

/* ---- REVEAL ANIMATION ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--purple-darkest) 0%, var(--purple-dark) 60%, var(--purple) 100%);
  padding: 72px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--purple-darkest);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar-left a { color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar-left a:hover { color: var(--gold); }
.topbar-right { color: var(--gold); font-weight: 500; font-size: 11px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 var(--border-light);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-wrap img { height: 40px; width: auto; }
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-size: 18px; font-weight: 800; color: var(--purple); letter-spacing: -0.3px; }
.logo-text span { font-size: 10px; color: var(--text-muted); font-weight: 400; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text); border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover { color: var(--purple); background: var(--purple-tint); }
.nav-link.active { color: var(--purple); font-weight: 600; }
.nav-item.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition);
  z-index: 300;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  font-size: 13px; color: var(--text); border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-dropdown a:hover { background: var(--purple-tint); color: var(--purple); }
.nav-dropdown a .dd-icon { font-size: 16px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; background: var(--purple-tint);
  border: none; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: var(--purple);
  border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Drawer ---- */
.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: 300px; max-width: 85vw; height: 100vh;
  background: white; z-index: 500; box-shadow: var(--shadow-lg);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(16,8,40,0.6); z-index: 490;
  opacity: 0; visibility: hidden; transition: var(--transition);
  backdrop-filter: blur(3px);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border-light);
}
.drawer-close {
  width: 36px; height: 36px; background: var(--purple-tint); border: none;
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--purple); cursor: pointer;
}
.drawer-nav { padding: 16px 0; flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  font-size: 14px; font-weight: 500; color: var(--text); transition: var(--transition);
  border-left: 3px solid transparent;
}
.drawer-nav a:hover, .drawer-nav a.active {
  color: var(--purple); background: var(--purple-tint); border-left-color: var(--purple);
}
.drawer-sub { padding-left: 20px; border-top: 1px solid var(--border-light); }
.drawer-sub a { font-size: 13px; padding: 10px 20px; }
.drawer-footer { padding: 16px 20px; border-top: 1px solid var(--border-light); }
.drawer-footer .btn { width: 100%; justify-content: center; }
.drawer-contact { margin-top: 12px; font-size: 12px; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; }
.drawer-contact a { color: var(--purple); display: flex; align-items: center; gap: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--purple-darkest) 0%, var(--purple-darker) 50%, var(--purple-dark) 100%);
  min-height: 88vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: var(--page-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
                    radial-gradient(circle at 50% 80%, white 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,232,0.3) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,0.15); border: 1px solid rgba(245,197,24,0.3);
  color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .5px;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 .highlight {
  color: var(--gold); position: relative; display: inline-block;
}
.hero-sub { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat .num { font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat .lbl { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl);
  padding: 28px; position: relative;
}
.hero-card-img {
  width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 280px;
}
.hero-floating-badge {
  position: absolute; bottom: -16px; left: 24px;
  background: white; border-radius: var(--radius-md); padding: 12px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.hero-floating-badge .icon { font-size: 24px; }
.hero-floating-badge strong { display: block; font-size: 14px; color: var(--text); }
.hero-floating-badge span { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--gold); padding: 36px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.stat-item {
  text-align: center; padding: 12px 8px; position: relative;
}
.stat-item::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(74,15,160,0.2);
}
.stat-item:last-child::after { display: none; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--purple-darkest); line-height: 1; }
.stat-label { font-size: 11px; color: var(--purple-dark); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; border-radius: var(--radius-xl); object-fit: cover; height: 420px;
  box-shadow: var(--shadow-lg);
}
.about-badge-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--purple); color: white;
  padding: 20px 24px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge-card .big { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
.about-badge-card .small { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 20px; }
.about-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.about-feature {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px;
  background: var(--purple-tint); border-radius: var(--radius-sm); font-size: 14px;
}
.about-feature .icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.about-feature span { font-weight: 500; color: var(--text); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; transition: var(--transition);
  position: relative; overflow: hidden; cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s ease; z-index: 0;
}
.service-icon {
  width: 64px; height: 64px; background: var(--purple-tint);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px; transition: var(--transition); position: relative; z-index: 1;
}
.service-card h3 { margin-bottom: 10px; position: relative; z-index: 1; transition: var(--transition); }
.service-card p { font-size: 14px; position: relative; z-index: 1; transition: var(--transition); }
.service-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; font-weight: 600; color: var(--purple); transition: var(--transition);
  position: relative; z-index: 1;
}

@media (hover: hover) {
  .service-card:hover::before { transform: scaleY(1); }
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .service-card:hover h3 { color: white; }
  .service-card:hover p { color: rgba(255,255,255,0.75); }
  .service-card:hover .service-link { color: var(--gold); }
  .service-card:hover .service-icon { background: rgba(255,255,255,0.15); }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--purple-tint), var(--purple), var(--purple-tint));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; background: var(--purple);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: white; margin: 0 auto 16px;
  border: 4px solid var(--page-bg); box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.process-step:hover .step-num { background: var(--gold); color: var(--purple-darkest); transform: scale(1.1); }
.process-step h4 { margin-bottom: 8px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { height: 200px; perspective: 1000px; cursor: pointer; }
.why-card-inner {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.why-card.flipped .why-card-inner,
.why-card:focus-within .why-card-inner { transform: rotateY(180deg); }
@media (hover: hover) {
  .why-card:hover .why-card-inner { transform: rotateY(180deg); }
}
.why-front, .why-back {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: 12px;
}
.why-front {
  background: white; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.why-front .wi { font-size: 32px; }
.why-front h4 { color: var(--text); font-size: 15px; }
.why-back {
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  transform: rotateY(180deg);
}
.why-back .wb-icon { font-size: 28px; }
.why-back h4 { color: white; font-size: 14px; margin-bottom: 6px; }
.why-back p { color: rgba(255,255,255,0.75); font-size: 12px; line-height: 1.5; }

/* ============================================================
   CASE STUDY
   ============================================================ */
.case-study-box {
  background: linear-gradient(135deg, var(--purple-darkest), var(--purple-dark));
  border-radius: var(--radius-xl); padding: 48px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.cs-tag {
  display: inline-block; background: rgba(245,197,24,0.2); color: var(--gold);
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
}
.case-study-box h3 { color: white; font-size: 1.5rem; margin-bottom: 14px; }
.cs-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cs-detail { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.cs-detail .dl { font-weight: 600; color: var(--gold); min-width: 90px; }
.cs-detail .dv { color: rgba(255,255,255,0.75); }
.cs-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-metric {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 20px 16px; text-align: center;
}
.cs-metric .cm-num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.cs-metric .cm-label { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 6px; text-transform: uppercase; letter-spacing: .5px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-wrap { overflow: hidden; position: relative; }
.testimonials-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px); background: white;
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.tc-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.tc-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.tc-name { font-weight: 600; font-size: 14px; color: var(--text); }
.tc-role { font-size: 12px; color: var(--text-muted); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
  border: none; cursor: pointer; transition: var(--transition); padding: 0;
}
.slider-dot.active { background: var(--purple); transform: scale(1.3); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center; transition: var(--transition);
}
.industry-icon { font-size: 28px; margin-bottom: 10px; }
.industry-card h4 { font-size: 13px; color: var(--text); margin-bottom: 4px; }
.industry-card span { font-size: 11px; color: var(--text-muted); }
@media (hover: hover) {
  .industry-card:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .industry-card:hover h4, .industry-card:hover span { color: white; }
}

/* ============================================================
   BRANDS MARQUEE
   ============================================================ */
.brands-section { background: white; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.brands-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 25s linear infinite;
}
.brands-section:hover .brands-track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.brand-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-muted); white-space: nowrap; opacity: 0.6; transition: opacity 0.2s; }
.brand-item:hover { opacity: 1; color: var(--purple); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
@media (hover: hover) {
  .blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
  .blog-card:hover .blog-img img { transform: scale(1.06); }
}
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-body { padding: 20px; }
.blog-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
.blog-cat {
  background: var(--purple-tint); color: var(--purple);
  padding: 2px 10px; border-radius: 20px; font-weight: 600; font-size: 11px;
}
.blog-card h3 { font-size: 15px; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
.blog-card p { font-size: 13px; margin-bottom: 14px; }
.blog-read { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--purple); transition: var(--transition); }
.blog-read:hover { gap: 10px; }

/* Blog post listing card (horizontal) */
.blog-card-h { display: grid; grid-template-columns: 240px 1fr; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card-h .bch-img { height: 100%; min-height: 180px; overflow: hidden; }
.blog-card-h .bch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card-h .bch-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
@media (hover: hover) {
  .blog-card-h:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .blog-card-h:hover .bch-img img { transform: scale(1.05); }
}

/* ============================================================
   MAP + CTA
   ============================================================ */
.map-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { width: 100%; height: 400px; border: none; display: block; }
.cta-box {
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  padding: 56px 40px; display: flex; flex-direction: column; justify-content: center;
}
.cta-box h2 { color: white; margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.cta-box-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--purple-darkest); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .logo-wrap strong { color: white; }
.footer-brand .logo-wrap span { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  color: rgba(255,255,255,0.6); transition: var(--transition); text-decoration: none;
}
.social-btn:hover { background: var(--purple); border-color: var(--purple); color: white; }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.social-btn.wa-btn { background: #25D366; border-color: #25D366; }
.social-btn.wa-btn svg { fill: white; }
.social-btn.wa-btn:hover { background: #20c05a; border-color: #20c05a; }
.social-btn.li-btn { background: #0A66C2; border-color: #0A66C2; }
.social-btn.li-btn svg { fill: white; }
.social-btn.li-btn:hover { background: #004182; border-color: #004182; }
.social-btn.fb-btn { background: #1877F2; border-color: #1877F2; }
.social-btn.fb-btn svg { fill: white; }
.social-btn.fb-btn:hover { background: #0C5DC7; border-color: #0C5DC7; }
.footer h4 { color: white; font-size: 14px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item .fc-icon { color: var(--gold); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 48px; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-links-bottom { display: flex; gap: 20px; }
.footer-links-bottom a { font-size: 12px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links-bottom a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  width: 56px; height: 56px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition); text-decoration: none;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: white; display: block; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); background: #20c05a; }
.whatsapp-float::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.45); animation: wa-ring 2s infinite;
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 88px; right: 24px; z-index: 399;
  width: 42px; height: 42px; background: var(--purple); color: white;
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow-md); transition: var(--transition);
  opacity: 0; visibility: hidden; cursor: pointer; border: none; text-decoration: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--purple-dark); transform: translateY(-2px); }

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-sticky {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 450;
  background: white; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.mobile-sticky-inner { display: flex; }
.mobile-sticky-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 10px 8px; text-decoration: none; font-size: 11px; font-weight: 600;
  transition: var(--transition); border: none; cursor: pointer; font-family: var(--font);
}
.mobile-sticky-btn span { font-size: 18px; }
.mobile-sticky-btn.call { background: var(--purple); color: white; }
.mobile-sticky-btn.quote { background: var(--gold); color: var(--purple-darkest); }
.mobile-sticky-btn:hover { opacity: 0.9; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 480;
  background: var(--purple-darkest); color: white; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; }
.cookie-banner a { color: var(--gold); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: white; transition: var(--transition);
  font-family: var(--font); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(74,15,160,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-message { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 12px; display: none; }
.form-message.success { background: #E8FFF2; color: #0F6A3A; border: 1px solid #A8F0C0; display: block; }
.form-message.error { background: #FFF0F0; color: #A00; border: 1px solid #FFB3B3; display: block; }
.contact-info-card { background: var(--purple); border-radius: var(--radius-xl); padding: 36px; color: white; }
.contact-info-card h3 { color: white; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ci-item:last-of-type { border: none; margin-bottom: 0; padding-bottom: 0; }
.ci-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ci-text strong { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 2px; font-weight: 500; }
.ci-text a, .ci-text span { font-size: 15px; color: white; font-weight: 600; }
.ci-text a:hover { color: var(--gold); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 15px;
  background: white; transition: var(--transition); user-select: none;
}
.faq-q:hover { background: var(--purple-tint); color: var(--purple); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple-tint); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--purple); color: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 20px; border: 1px solid var(--border); background: white;
  border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--text);
  cursor: pointer; transition: var(--transition); font-family: var(--font);
}
.filter-btn.active, .filter-btn:hover { background: var(--purple); color: white; border-color: var(--purple); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(74,15,160,0.7);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  opacity: 0; transition: opacity 0.3s; color: white; gap: 8px;
}
.gallery-overlay span { font-size: 24px; }
.gallery-overlay p { font-size: 13px; font-weight: 600; }
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.08); }
  .gallery-item:hover .gallery-overlay { opacity: 1; }
}
.gallery-item.hidden { display: none; }

/* ============================================================
   CAREERS
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.benefit-icon { font-size: 32px; margin-bottom: 12px; }
.benefit-card h4 { margin-bottom: 8px; }
.benefit-card p { font-size: 13px; }
.job-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; transition: var(--transition); }
.job-card:hover { border-color: var(--purple); box-shadow: var(--shadow-sm); }
.job-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-tag { background: var(--purple-tint); color: var(--purple); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 20px; }

/* ============================================================
   BLOG POST
   ============================================================ */
.blog-post-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.blog-post-content { }
.blog-post-hero { width: 100%; border-radius: var(--radius-xl); margin-bottom: 32px; max-height: 440px; object-fit: cover; }
.post-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; font-size: 13px; color: var(--text-muted); }
.post-content h2 { font-size: 1.4rem; color: var(--text); margin: 32px 0 14px; }
.post-content h3 { font-size: 1.15rem; color: var(--text); margin: 24px 0 10px; }
.post-content p { margin-bottom: 16px; font-size: 15px; line-height: 1.8; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.7; }
.post-content strong { color: var(--text); }
.post-share { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-share h4 { margin-bottom: 12px; }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: var(--transition); }
.share-wa { background: #E8FFF2; color: #128C7E; }
.share-li { background: #E8F4FD; color: #0A66C2; }
.share-tw { background: #F0F8FF; color: #1DA1F2; }
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.sidebar-card h4 { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-post { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.sidebar-post:last-child { border: none; margin: 0; padding: 0; }
.sp-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.sp-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.sp-date { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   PROJECTS / CASE STUDIES
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project-card { background: linear-gradient(135deg, var(--purple-darkest), var(--purple-dark)); border-radius: var(--radius-xl); padding: 32px; transition: var(--transition); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card h3 { color: white; margin-bottom: 8px; }
.project-card .pc-sub { color: rgba(255,255,255,0.5); font-size: 12px; margin-bottom: 16px; }
.pc-details { margin-bottom: 20px; }
.pc-row { display: flex; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.pc-row .pk { font-weight: 600; color: var(--gold); min-width: 80px; }
.pc-row .pv { color: rgba(255,255,255,0.7); }
.pc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-metric { background: rgba(255,255,255,0.07); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.pc-metric .pm-num { font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.pc-metric .pm-label { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .5px; }

/* ============================================================
   ABOUT PAGE EXTRAS
   ============================================================ */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; }
.mvv-icon { font-size: 36px; margin-bottom: 14px; }
.mvv-card h3 { margin-bottom: 10px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: white;
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--text-muted); }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cred-card { background: var(--purple-tint); border-radius: var(--radius-md); padding: 20px; display: flex; align-items: flex-start; gap: 14px; }
.cred-icon { font-size: 28px; flex-shrink: 0; }
.cred-card h4 { margin-bottom: 4px; color: var(--purple); }
.cred-card p { font-size: 13px; }

/* ============================================================
   PRIVACY / TERMS PAGES
   ============================================================ */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--text); }
.legal-content p { margin-bottom: 14px; font-size: 15px; line-height: 1.8; }
.legal-content ul { padding-left: 24px; margin-bottom: 14px; }
.legal-content li { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.7; }
.legal-content .update-date { background: var(--purple-tint); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; color: var(--purple); font-weight: 600; margin-bottom: 28px; display: inline-block; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.nf-num { font-size: 8rem; font-weight: 800; color: var(--purple-tint); line-height: 1; margin-bottom: 8px; }
.nf-title { font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.nf-sub { color: var(--text-muted); margin-bottom: 28px; }
.nf-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE — TABLET 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(3)::after { display: none; }
  .hero-content { gap: 40px; }
  .about-grid { gap: 40px; }
  .case-study-box { padding: 36px; gap: 32px; }
  .grid-sidebar { grid-template-columns: 1.5fr 1fr; }
  .blog-post-grid { grid-template-columns: 1fr 260px; gap: 32px; }
  .projects-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 36px; }
}

/* ============================================================
   RESPONSIVE — BLOG SIDEBAR 860px
   ============================================================ */
@media (max-width: 860px) {
  .blog-post-grid { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE 768px
   ============================================================ */
@media (max-width: 768px) {

  /* Topbar — HIDE completely */
  .topbar { display: none !important; height: 0 !important; overflow: hidden !important; visibility: hidden !important; max-height: 0 !important; }

  /* Body */
  html, body { overflow-x: hidden; }
  body { padding-bottom: 64px; }
  .container { padding: 0 16px; }

  /* Header */
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 12px 0; }

  /* Mobile sticky */
  .mobile-sticky { display: block; }

  /* Hero */
  .hero { min-height: auto; padding: 56px 0 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-visual { display: none; }
  .hero-btns { justify-content: center; flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-stats { justify-content: center; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* Stats */
  .stats-bar { padding: 20px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item::after { display: none; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 9px; }
  .stat-item { padding: 10px 4px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-img { height: 240px; }
  .about-badge-card { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { padding: 20px 14px; }
  .service-icon { width: 52px; height: 52px; font-size: 22px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-grid::before { display: none; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { height: auto; }
  .why-card-inner { position: relative; transform: none !important; }
  .why-front { position: relative; transform: none; backface-visibility: visible; }
  .why-back { display: none; }
  .why-card.flipped .why-front { display: none; }
  .why-card.flipped .why-back { display: flex; position: relative; transform: none; backface-visibility: visible; border-radius: var(--radius-lg); }

  /* Case study */
  .case-study-box { grid-template-columns: 1fr; padding: 24px; gap: 24px; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 85vw; }

  /* Industries */
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-h { grid-template-columns: 1fr; }
  .blog-card-h .bch-img { height: 180px; }

  /* Map CTA */
  .map-cta-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 240px; }
  .cta-box { padding: 32px 20px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links-bottom { flex-wrap: wrap; justify-content: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* Grids */
  .grid-2col { grid-template-columns: 1fr; }
  .grid-3col { grid-template-columns: 1fr; }
  .grid-4col { grid-template-columns: 1fr 1fr; }
  .grid-sidebar { grid-template-columns: 1fr; }
  .blog-post-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* Page hero */
  .page-hero { padding: 48px 0 36px; }
  .page-hero h1 { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 15px 16px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* Popups */
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Case study metrics */
  .cs-metrics { grid-template-columns: 1fr 1fr; }

  /* Back to top - above sticky */
  .back-to-top { bottom: 76px; }
  .whatsapp-float { bottom: 76px; right: 16px; width: 48px; height: 48px; font-size: 20px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE 480px
   ============================================================ */
@media (max-width: 480px) {
  .topbar { display: none !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .grid-4col { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .btn { padding: 12px 22px; }
  .hero-btns .btn { max-width: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box-actions { flex-direction: column; }
  .cta-box-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL 380px
   ============================================================ */
@media (max-width: 380px) {
  .topbar { display: none !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.6rem; }
  .hero-btns .btn { max-width: 220px; }
  .mobile-sticky-btn { font-size: 10px; padding: 8px 4px; }
}
